From 18678307362dd359c210d7f6f90f9a654bd569d5 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 3 Sep 2020 12:23:30 -0400 Subject: [PATCH] - adds missing put methods --- .../extensions/CallRecordRequest.java | 21 +++++++++++++++++++ .../extensions/ICallRecordRequest.java | 17 +++++++++++++++ .../requests/extensions/ISegmentRequest.java | 17 +++++++++++++++ .../requests/extensions/ISessionRequest.java | 17 +++++++++++++++ .../requests/extensions/SegmentRequest.java | 21 +++++++++++++++++++ .../requests/extensions/SessionRequest.java | 21 +++++++++++++++++++ .../AadUserConversationMemberRequest.java | 21 +++++++++++++++++++ .../ActivityBasedTimeoutPolicyRequest.java | 21 +++++++++++++++++++ .../ActivityHistoryItemRequest.java | 21 +++++++++++++++++++ .../extensions/AdministrativeUnitRequest.java | 21 +++++++++++++++++++ .../requests/extensions/AlertRequest.java | 21 +++++++++++++++++++ .../AndroidCompliancePolicyRequest.java | 21 +++++++++++++++++++ .../AndroidCustomConfigurationRequest.java | 21 +++++++++++++++++++ ...roidGeneralDeviceConfigurationRequest.java | 21 +++++++++++++++++++ .../extensions/AndroidLobAppRequest.java | 21 +++++++++++++++++++ .../AndroidManagedAppProtectionRequest.java | 21 +++++++++++++++++++ .../AndroidManagedAppRegistrationRequest.java | 21 +++++++++++++++++++ .../extensions/AndroidStoreAppRequest.java | 21 +++++++++++++++++++ ...oidWorkProfileCompliancePolicyRequest.java | 21 +++++++++++++++++++ ...WorkProfileCustomConfigurationRequest.java | 21 +++++++++++++++++++ ...fileGeneralDeviceConfigurationRequest.java | 21 +++++++++++++++++++ .../extensions/AppCatalogsRequest.java | 21 +++++++++++++++++++ .../extensions/AppRoleAssignmentRequest.java | 21 +++++++++++++++++++ ...eviceFeaturesConfigurationBaseRequest.java | 21 +++++++++++++++++++ ...plePushNotificationCertificateRequest.java | 21 +++++++++++++++++++ .../extensions/ApplicationRequest.java | 21 +++++++++++++++++++ .../extensions/AttachmentRequest.java | 21 +++++++++++++++++++ .../extensions/AuditLogRootRequest.java | 21 +++++++++++++++++++ .../requests/extensions/BaseItemRequest.java | 21 +++++++++++++++++++ .../extensions/BaseItemVersionRequest.java | 21 +++++++++++++++++++ .../extensions/CalendarGroupRequest.java | 21 +++++++++++++++++++ .../extensions/CalendarPermissionRequest.java | 21 +++++++++++++++++++ .../requests/extensions/CalendarRequest.java | 21 +++++++++++++++++++ .../CalendarSharingMessageRequest.java | 21 +++++++++++++++++++ .../requests/extensions/CallRequest.java | 21 +++++++++++++++++++ ...CancelMediaProcessingOperationRequest.java | 21 +++++++++++++++++++ ...tificateBasedAuthConfigurationRequest.java | 21 +++++++++++++++++++ .../ChangeTrackedEntityRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ChannelRequest.java | 21 +++++++++++++++++++ .../ChatMessageHostedContentRequest.java | 21 +++++++++++++++++++ .../extensions/ChatMessageRequest.java | 21 +++++++++++++++++++ .../ClaimsMappingPolicyRequest.java | 21 +++++++++++++++++++ .../CloudCommunicationsRequest.java | 21 +++++++++++++++++++ .../extensions/ColumnDefinitionRequest.java | 21 +++++++++++++++++++ .../extensions/ColumnLinkRequest.java | 21 +++++++++++++++++++ .../extensions/CommsOperationRequest.java | 21 +++++++++++++++++++ .../ComplianceManagementPartnerRequest.java | 21 +++++++++++++++++++ .../ConditionalAccessPolicyRequest.java | 21 +++++++++++++++++++ .../ConditionalAccessRootRequest.java | 21 +++++++++++++++++++ .../extensions/ContactFolderRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ContactRequest.java | 21 +++++++++++++++++++ .../extensions/ContentTypeRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ContractRequest.java | 21 +++++++++++++++++++ .../extensions/ConversationMemberRequest.java | 21 +++++++++++++++++++ .../extensions/ConversationRequest.java | 21 +++++++++++++++++++ .../extensions/ConversationThreadRequest.java | 21 +++++++++++++++++++ .../CountryNamedLocationRequest.java | 21 +++++++++++++++++++ .../DataPolicyOperationRequest.java | 21 +++++++++++++++++++ .../DefaultManagedAppProtectionRequest.java | 21 +++++++++++++++++++ .../extensions/DetectedAppRequest.java | 21 +++++++++++++++++++ ...AndAppManagementRoleAssignmentRequest.java | 21 +++++++++++++++++++ ...AndAppManagementRoleDefinitionRequest.java | 21 +++++++++++++++++++ .../DeviceAppManagementRequest.java | 21 +++++++++++++++++++ .../extensions/DeviceCategoryRequest.java | 21 +++++++++++++++++++ .../DeviceComplianceActionItemRequest.java | 21 +++++++++++++++++++ ...DeviceComplianceDeviceOverviewRequest.java | 21 +++++++++++++++++++ .../DeviceComplianceDeviceStatusRequest.java | 21 +++++++++++++++++++ ...viceCompliancePolicyAssignmentRequest.java | 21 +++++++++++++++++++ ...liancePolicyDeviceStateSummaryRequest.java | 21 +++++++++++++++++++ .../DeviceCompliancePolicyRequest.java | 21 +++++++++++++++++++ ...iancePolicySettingStateSummaryRequest.java | 21 +++++++++++++++++++ .../DeviceCompliancePolicyStateRequest.java | 21 +++++++++++++++++++ ...mplianceScheduledActionForRuleRequest.java | 21 +++++++++++++++++++ .../DeviceComplianceSettingStateRequest.java | 21 +++++++++++++++++++ .../DeviceComplianceUserOverviewRequest.java | 21 +++++++++++++++++++ .../DeviceComplianceUserStatusRequest.java | 21 +++++++++++++++++++ .../DeviceConfigurationAssignmentRequest.java | 21 +++++++++++++++++++ ...iceConfigurationDeviceOverviewRequest.java | 21 +++++++++++++++++++ ...onfigurationDeviceStateSummaryRequest.java | 21 +++++++++++++++++++ ...eviceConfigurationDeviceStatusRequest.java | 21 +++++++++++++++++++ .../DeviceConfigurationRequest.java | 21 +++++++++++++++++++ .../DeviceConfigurationStateRequest.java | 21 +++++++++++++++++++ ...eviceConfigurationUserOverviewRequest.java | 21 +++++++++++++++++++ .../DeviceConfigurationUserStatusRequest.java | 21 +++++++++++++++++++ .../DeviceEnrollmentConfigurationRequest.java | 21 +++++++++++++++++++ ...ceEnrollmentLimitConfigurationRequest.java | 21 +++++++++++++++++++ ...tformRestrictionsConfigurationRequest.java | 21 +++++++++++++++++++ ...sHelloForBusinessConfigurationRequest.java | 21 +++++++++++++++++++ .../extensions/DeviceInstallStateRequest.java | 21 +++++++++++++++++++ ...iceManagementExchangeConnectorRequest.java | 21 +++++++++++++++++++ .../DeviceManagementPartnerRequest.java | 21 +++++++++++++++++++ .../extensions/DeviceManagementRequest.java | 21 +++++++++++++++++++ ...ManagementTroubleshootingEventRequest.java | 21 +++++++++++++++++++ .../requests/extensions/DeviceRequest.java | 21 +++++++++++++++++++ .../extensions/DirectoryAuditRequest.java | 21 +++++++++++++++++++ ...irectoryObjectPartnerReferenceRequest.java | 21 +++++++++++++++++++ .../extensions/DirectoryObjectRequest.java | 21 +++++++++++++++++++ .../requests/extensions/DirectoryRequest.java | 21 +++++++++++++++++++ .../extensions/DirectoryRoleRequest.java | 21 +++++++++++++++++++ .../DirectoryRoleTemplateRequest.java | 21 +++++++++++++++++++ .../DomainDnsCnameRecordRequest.java | 21 +++++++++++++++++++ .../extensions/DomainDnsMxRecordRequest.java | 21 +++++++++++++++++++ .../extensions/DomainDnsRecordRequest.java | 21 +++++++++++++++++++ .../extensions/DomainDnsSrvRecordRequest.java | 21 +++++++++++++++++++ .../extensions/DomainDnsTxtRecordRequest.java | 21 +++++++++++++++++++ .../DomainDnsUnavailableRecordRequest.java | 21 +++++++++++++++++++ .../requests/extensions/DomainRequest.java | 21 +++++++++++++++++++ .../requests/extensions/DriveItemRequest.java | 21 +++++++++++++++++++ .../extensions/DriveItemVersionRequest.java | 21 +++++++++++++++++++ .../requests/extensions/DriveRequest.java | 21 +++++++++++++++++++ .../EBookInstallSummaryRequest.java | 21 +++++++++++++++++++ .../EditionUpgradeConfigurationRequest.java | 21 +++++++++++++++++++ .../extensions/EducationClassRequest.java | 21 +++++++++++++++++++ .../EducationOrganizationRequest.java | 21 +++++++++++++++++++ .../extensions/EducationRootRequest.java | 21 +++++++++++++++++++ .../extensions/EducationSchoolRequest.java | 21 +++++++++++++++++++ .../extensions/EducationUserRequest.java | 21 +++++++++++++++++++ .../EmailFileAssessmentRequestRequest.java | 21 +++++++++++++++++++ .../requests/extensions/EndpointRequest.java | 21 +++++++++++++++++++ ...ollmentConfigurationAssignmentRequest.java | 21 +++++++++++++++++++ ...EnrollmentTroubleshootingEventRequest.java | 21 +++++++++++++++++++ .../extensions/EventMessageRequest.java | 21 +++++++++++++++++++ .../EventMessageRequestRequest.java | 21 +++++++++++++++++++ .../EventMessageResponseRequest.java | 21 +++++++++++++++++++ .../requests/extensions/EventRequest.java | 21 +++++++++++++++++++ .../extensions/ExtensionPropertyRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ExtensionRequest.java | 21 +++++++++++++++++++ .../extensions/FieldValueSetRequest.java | 21 +++++++++++++++++++ .../FileAssessmentRequestRequest.java | 21 +++++++++++++++++++ .../extensions/FileAttachmentRequest.java | 21 +++++++++++++++++++ .../GroupLifecyclePolicyRequest.java | 21 +++++++++++++++++++ .../requests/extensions/GroupRequest.java | 21 +++++++++++++++++++ .../extensions/GroupSettingRequest.java | 21 +++++++++++++++++++ .../GroupSettingTemplateRequest.java | 21 +++++++++++++++++++ .../HomeRealmDiscoveryPolicyRequest.java | 21 +++++++++++++++++++ .../IAadUserConversationMemberRequest.java | 17 +++++++++++++++ .../IActivityBasedTimeoutPolicyRequest.java | 17 +++++++++++++++ .../IActivityHistoryItemRequest.java | 17 +++++++++++++++ .../IAdministrativeUnitRequest.java | 17 +++++++++++++++ .../requests/extensions/IAlertRequest.java | 17 +++++++++++++++ .../IAndroidCompliancePolicyRequest.java | 17 +++++++++++++++ .../IAndroidCustomConfigurationRequest.java | 17 +++++++++++++++ ...roidGeneralDeviceConfigurationRequest.java | 17 +++++++++++++++ .../extensions/IAndroidLobAppRequest.java | 17 +++++++++++++++ .../IAndroidManagedAppProtectionRequest.java | 17 +++++++++++++++ ...IAndroidManagedAppRegistrationRequest.java | 17 +++++++++++++++ .../extensions/IAndroidStoreAppRequest.java | 17 +++++++++++++++ ...oidWorkProfileCompliancePolicyRequest.java | 17 +++++++++++++++ ...WorkProfileCustomConfigurationRequest.java | 17 +++++++++++++++ ...fileGeneralDeviceConfigurationRequest.java | 17 +++++++++++++++ .../extensions/IAppCatalogsRequest.java | 17 +++++++++++++++ .../extensions/IAppRoleAssignmentRequest.java | 17 +++++++++++++++ ...eviceFeaturesConfigurationBaseRequest.java | 17 +++++++++++++++ ...plePushNotificationCertificateRequest.java | 17 +++++++++++++++ .../extensions/IApplicationRequest.java | 17 +++++++++++++++ .../extensions/IAttachmentRequest.java | 17 +++++++++++++++ .../extensions/IAuditLogRootRequest.java | 17 +++++++++++++++ .../requests/extensions/IBaseItemRequest.java | 17 +++++++++++++++ .../extensions/IBaseItemVersionRequest.java | 17 +++++++++++++++ .../extensions/ICalendarGroupRequest.java | 17 +++++++++++++++ .../ICalendarPermissionRequest.java | 17 +++++++++++++++ .../requests/extensions/ICalendarRequest.java | 17 +++++++++++++++ .../ICalendarSharingMessageRequest.java | 17 +++++++++++++++ .../requests/extensions/ICallRequest.java | 17 +++++++++++++++ ...CancelMediaProcessingOperationRequest.java | 17 +++++++++++++++ ...tificateBasedAuthConfigurationRequest.java | 17 +++++++++++++++ .../IChangeTrackedEntityRequest.java | 17 +++++++++++++++ .../requests/extensions/IChannelRequest.java | 17 +++++++++++++++ .../IChatMessageHostedContentRequest.java | 17 +++++++++++++++ .../extensions/IChatMessageRequest.java | 17 +++++++++++++++ .../IClaimsMappingPolicyRequest.java | 17 +++++++++++++++ .../ICloudCommunicationsRequest.java | 17 +++++++++++++++ .../extensions/IColumnDefinitionRequest.java | 17 +++++++++++++++ .../extensions/IColumnLinkRequest.java | 17 +++++++++++++++ .../extensions/ICommsOperationRequest.java | 17 +++++++++++++++ .../IComplianceManagementPartnerRequest.java | 17 +++++++++++++++ .../IConditionalAccessPolicyRequest.java | 17 +++++++++++++++ .../IConditionalAccessRootRequest.java | 17 +++++++++++++++ .../extensions/IContactFolderRequest.java | 17 +++++++++++++++ .../requests/extensions/IContactRequest.java | 17 +++++++++++++++ .../extensions/IContentTypeRequest.java | 17 +++++++++++++++ .../requests/extensions/IContractRequest.java | 17 +++++++++++++++ .../IConversationMemberRequest.java | 17 +++++++++++++++ .../extensions/IConversationRequest.java | 17 +++++++++++++++ .../IConversationThreadRequest.java | 17 +++++++++++++++ .../ICountryNamedLocationRequest.java | 17 +++++++++++++++ .../IDataPolicyOperationRequest.java | 17 +++++++++++++++ .../IDefaultManagedAppProtectionRequest.java | 17 +++++++++++++++ .../extensions/IDetectedAppRequest.java | 17 +++++++++++++++ ...AndAppManagementRoleAssignmentRequest.java | 17 +++++++++++++++ ...AndAppManagementRoleDefinitionRequest.java | 17 +++++++++++++++ .../IDeviceAppManagementRequest.java | 17 +++++++++++++++ .../extensions/IDeviceCategoryRequest.java | 17 +++++++++++++++ .../IDeviceComplianceActionItemRequest.java | 17 +++++++++++++++ ...DeviceComplianceDeviceOverviewRequest.java | 17 +++++++++++++++ .../IDeviceComplianceDeviceStatusRequest.java | 17 +++++++++++++++ ...viceCompliancePolicyAssignmentRequest.java | 17 +++++++++++++++ ...liancePolicyDeviceStateSummaryRequest.java | 17 +++++++++++++++ .../IDeviceCompliancePolicyRequest.java | 17 +++++++++++++++ ...iancePolicySettingStateSummaryRequest.java | 17 +++++++++++++++ .../IDeviceCompliancePolicyStateRequest.java | 17 +++++++++++++++ ...mplianceScheduledActionForRuleRequest.java | 17 +++++++++++++++ .../IDeviceComplianceSettingStateRequest.java | 17 +++++++++++++++ .../IDeviceComplianceUserOverviewRequest.java | 17 +++++++++++++++ .../IDeviceComplianceUserStatusRequest.java | 17 +++++++++++++++ ...IDeviceConfigurationAssignmentRequest.java | 17 +++++++++++++++ ...iceConfigurationDeviceOverviewRequest.java | 17 +++++++++++++++ ...onfigurationDeviceStateSummaryRequest.java | 17 +++++++++++++++ ...eviceConfigurationDeviceStatusRequest.java | 17 +++++++++++++++ .../IDeviceConfigurationRequest.java | 17 +++++++++++++++ .../IDeviceConfigurationStateRequest.java | 17 +++++++++++++++ ...eviceConfigurationUserOverviewRequest.java | 17 +++++++++++++++ ...IDeviceConfigurationUserStatusRequest.java | 17 +++++++++++++++ ...IDeviceEnrollmentConfigurationRequest.java | 17 +++++++++++++++ ...ceEnrollmentLimitConfigurationRequest.java | 17 +++++++++++++++ ...tformRestrictionsConfigurationRequest.java | 17 +++++++++++++++ ...sHelloForBusinessConfigurationRequest.java | 17 +++++++++++++++ .../IDeviceInstallStateRequest.java | 17 +++++++++++++++ ...iceManagementExchangeConnectorRequest.java | 17 +++++++++++++++ .../IDeviceManagementPartnerRequest.java | 17 +++++++++++++++ .../extensions/IDeviceManagementRequest.java | 17 +++++++++++++++ ...ManagementTroubleshootingEventRequest.java | 17 +++++++++++++++ .../requests/extensions/IDeviceRequest.java | 17 +++++++++++++++ .../extensions/IDirectoryAuditRequest.java | 17 +++++++++++++++ ...irectoryObjectPartnerReferenceRequest.java | 17 +++++++++++++++ .../extensions/IDirectoryObjectRequest.java | 17 +++++++++++++++ .../extensions/IDirectoryRequest.java | 17 +++++++++++++++ .../extensions/IDirectoryRoleRequest.java | 17 +++++++++++++++ .../IDirectoryRoleTemplateRequest.java | 17 +++++++++++++++ .../IDomainDnsCnameRecordRequest.java | 17 +++++++++++++++ .../extensions/IDomainDnsMxRecordRequest.java | 17 +++++++++++++++ .../extensions/IDomainDnsRecordRequest.java | 17 +++++++++++++++ .../IDomainDnsSrvRecordRequest.java | 17 +++++++++++++++ .../IDomainDnsTxtRecordRequest.java | 17 +++++++++++++++ .../IDomainDnsUnavailableRecordRequest.java | 17 +++++++++++++++ .../requests/extensions/IDomainRequest.java | 17 +++++++++++++++ .../extensions/IDriveItemRequest.java | 17 +++++++++++++++ .../extensions/IDriveItemVersionRequest.java | 17 +++++++++++++++ .../requests/extensions/IDriveRequest.java | 17 +++++++++++++++ .../IEBookInstallSummaryRequest.java | 17 +++++++++++++++ .../IEditionUpgradeConfigurationRequest.java | 17 +++++++++++++++ .../extensions/IEducationClassRequest.java | 17 +++++++++++++++ .../IEducationOrganizationRequest.java | 17 +++++++++++++++ .../extensions/IEducationRootRequest.java | 17 +++++++++++++++ .../extensions/IEducationSchoolRequest.java | 17 +++++++++++++++ .../extensions/IEducationUserRequest.java | 17 +++++++++++++++ .../IEmailFileAssessmentRequestRequest.java | 17 +++++++++++++++ .../requests/extensions/IEndpointRequest.java | 17 +++++++++++++++ ...ollmentConfigurationAssignmentRequest.java | 17 +++++++++++++++ ...EnrollmentTroubleshootingEventRequest.java | 17 +++++++++++++++ .../extensions/IEventMessageRequest.java | 17 +++++++++++++++ .../IEventMessageRequestRequest.java | 17 +++++++++++++++ .../IEventMessageResponseRequest.java | 17 +++++++++++++++ .../requests/extensions/IEventRequest.java | 17 +++++++++++++++ .../extensions/IExtensionPropertyRequest.java | 17 +++++++++++++++ .../extensions/IExtensionRequest.java | 17 +++++++++++++++ .../extensions/IFieldValueSetRequest.java | 17 +++++++++++++++ .../IFileAssessmentRequestRequest.java | 17 +++++++++++++++ .../extensions/IFileAttachmentRequest.java | 17 +++++++++++++++ .../IGroupLifecyclePolicyRequest.java | 17 +++++++++++++++ .../requests/extensions/IGroupRequest.java | 17 +++++++++++++++ .../extensions/IGroupSettingRequest.java | 17 +++++++++++++++ .../IGroupSettingTemplateRequest.java | 17 +++++++++++++++ .../IHomeRealmDiscoveryPolicyRequest.java | 17 +++++++++++++++ .../extensions/IIdentityContainerRequest.java | 17 +++++++++++++++ .../extensions/IIdentityProviderRequest.java | 17 +++++++++++++++ ...urityDefaultsEnforcementPolicyRequest.java | 17 +++++++++++++++ ...nferenceClassificationOverrideRequest.java | 17 +++++++++++++++ .../IInferenceClassificationRequest.java | 17 +++++++++++++++ .../IInformationProtectionRequest.java | 17 +++++++++++++++ .../extensions/IInvitationRequest.java | 17 +++++++++++++++ .../IInviteParticipantsOperationRequest.java | 17 +++++++++++++++ .../IIosCertificateProfileRequest.java | 17 +++++++++++++++ .../IIosCompliancePolicyRequest.java | 17 +++++++++++++++ .../IIosCustomConfigurationRequest.java | 17 +++++++++++++++ ...IosDeviceFeaturesConfigurationRequest.java | 17 +++++++++++++++ ...IIosGeneralDeviceConfigurationRequest.java | 17 +++++++++++++++ .../extensions/IIosLobAppRequest.java | 17 +++++++++++++++ .../IIosManagedAppProtectionRequest.java | 17 +++++++++++++++ .../IIosManagedAppRegistrationRequest.java | 17 +++++++++++++++ .../IIosMobileAppConfigurationRequest.java | 17 +++++++++++++++ .../extensions/IIosStoreAppRequest.java | 17 +++++++++++++++ .../IIosUpdateConfigurationRequest.java | 17 +++++++++++++++ .../IIosUpdateDeviceStatusRequest.java | 17 +++++++++++++++ .../extensions/IIosVppAppRequest.java | 17 +++++++++++++++ .../IIosVppEBookAssignmentRequest.java | 17 +++++++++++++++ .../extensions/IIosVppEBookRequest.java | 17 +++++++++++++++ .../extensions/IIpNamedLocationRequest.java | 17 +++++++++++++++ .../extensions/IItemActivityRequest.java | 17 +++++++++++++++ .../extensions/IItemActivityStatRequest.java | 17 +++++++++++++++ .../extensions/IItemAnalyticsRequest.java | 17 +++++++++++++++ .../extensions/IItemAttachmentRequest.java | 17 +++++++++++++++ .../extensions/ILicenseDetailsRequest.java | 17 +++++++++++++++ .../requests/extensions/IListItemRequest.java | 17 +++++++++++++++ .../extensions/IListItemVersionRequest.java | 17 +++++++++++++++ .../requests/extensions/IListRequest.java | 17 +++++++++++++++ .../ILocalizedNotificationMessageRequest.java | 17 +++++++++++++++ .../IMacOSCompliancePolicyRequest.java | 17 +++++++++++++++ .../IMacOSCustomConfigurationRequest.java | 17 +++++++++++++++ ...cOSDeviceFeaturesConfigurationRequest.java | 17 +++++++++++++++ ...acOSGeneralDeviceConfigurationRequest.java | 17 +++++++++++++++ .../IMacOSOfficeSuiteAppRequest.java | 17 +++++++++++++++ .../IMailAssessmentRequestRequest.java | 17 +++++++++++++++ .../extensions/IMailFolderRequest.java | 17 +++++++++++++++ .../extensions/IMailSearchFolderRequest.java | 17 +++++++++++++++ .../IManagedAndroidLobAppRequest.java | 17 +++++++++++++++ .../IManagedAndroidStoreAppRequest.java | 17 +++++++++++++++ .../IManagedAppConfigurationRequest.java | 17 +++++++++++++++ .../IManagedAppOperationRequest.java | 17 +++++++++++++++ ...agedAppPolicyDeploymentSummaryRequest.java | 17 +++++++++++++++ .../extensions/IManagedAppPolicyRequest.java | 17 +++++++++++++++ .../IManagedAppProtectionRequest.java | 17 +++++++++++++++ .../IManagedAppRegistrationRequest.java | 17 +++++++++++++++ .../extensions/IManagedAppRequest.java | 17 +++++++++++++++ .../IManagedAppStatusRawRequest.java | 17 +++++++++++++++ .../extensions/IManagedAppStatusRequest.java | 17 +++++++++++++++ ...bileAppConfigurationAssignmentRequest.java | 17 +++++++++++++++ ...leAppConfigurationDeviceStatusRequest.java | 17 +++++++++++++++ ...eAppConfigurationDeviceSummaryRequest.java | 17 +++++++++++++++ ...edDeviceMobileAppConfigurationRequest.java | 17 +++++++++++++++ ...bileAppConfigurationUserStatusRequest.java | 17 +++++++++++++++ ...ileAppConfigurationUserSummaryRequest.java | 17 +++++++++++++++ .../IManagedDeviceOverviewRequest.java | 17 +++++++++++++++ .../extensions/IManagedDeviceRequest.java | 17 +++++++++++++++ .../IManagedEBookAssignmentRequest.java | 17 +++++++++++++++ .../extensions/IManagedEBookRequest.java | 17 +++++++++++++++ .../extensions/IManagedIOSLobAppRequest.java | 17 +++++++++++++++ .../IManagedIOSStoreAppRequest.java | 17 +++++++++++++++ .../extensions/IManagedMobileAppRequest.java | 17 +++++++++++++++ .../IManagedMobileLobAppRequest.java | 17 +++++++++++++++ ...owsInformationProtectionPolicyRequest.java | 17 +++++++++++++++ .../requests/extensions/IMessageRequest.java | 17 +++++++++++++++ .../extensions/IMessageRuleRequest.java | 17 +++++++++++++++ .../IMicrosoftStoreForBusinessAppRequest.java | 17 +++++++++++++++ .../IMobileAppAssignmentRequest.java | 17 +++++++++++++++ .../extensions/IMobileAppCategoryRequest.java | 17 +++++++++++++++ .../IMobileAppContentFileRequest.java | 17 +++++++++++++++ .../extensions/IMobileAppContentRequest.java | 17 +++++++++++++++ .../extensions/IMobileAppRequest.java | 17 +++++++++++++++ .../extensions/IMobileLobAppRequest.java | 17 +++++++++++++++ .../IMobileThreatDefenseConnectorRequest.java | 17 +++++++++++++++ ...ltiValueLegacyExtendedPropertyRequest.java | 17 +++++++++++++++ .../IMuteParticipantOperationRequest.java | 17 +++++++++++++++ .../extensions/INamedLocationRequest.java | 17 +++++++++++++++ .../requests/extensions/INotebookRequest.java | 17 +++++++++++++++ .../INotificationMessageTemplateRequest.java | 17 +++++++++++++++ .../IOAuth2PermissionGrantRequest.java | 17 +++++++++++++++ .../extensions/IOfferShiftRequestRequest.java | 17 +++++++++++++++ .../IOfficeGraphInsightsRequest.java | 17 +++++++++++++++ ...misesConditionalAccessSettingsRequest.java | 17 +++++++++++++++ .../IOnenoteEntityBaseModelRequest.java | 17 +++++++++++++++ .../IOnenoteEntityHierarchyModelRequest.java | 17 +++++++++++++++ ...OnenoteEntitySchemaObjectModelRequest.java | 17 +++++++++++++++ .../extensions/IOnenoteOperationRequest.java | 17 +++++++++++++++ .../extensions/IOnenotePageRequest.java | 17 +++++++++++++++ .../requests/extensions/IOnenoteRequest.java | 17 +++++++++++++++ .../extensions/IOnenoteResourceRequest.java | 17 +++++++++++++++ .../extensions/IOnenoteSectionRequest.java | 17 +++++++++++++++ .../extensions/IOnlineMeetingRequest.java | 17 +++++++++++++++ .../IOpenShiftChangeRequestRequest.java | 17 +++++++++++++++ .../extensions/IOpenShiftRequest.java | 17 +++++++++++++++ .../extensions/IOpenTypeExtensionRequest.java | 17 +++++++++++++++ .../extensions/IOperationRequest.java | 17 +++++++++++++++ .../extensions/IOrgContactRequest.java | 17 +++++++++++++++ .../extensions/IOrganizationRequest.java | 17 +++++++++++++++ .../extensions/IOutlookCategoryRequest.java | 17 +++++++++++++++ .../extensions/IOutlookItemRequest.java | 17 +++++++++++++++ .../extensions/IOutlookUserRequest.java | 17 +++++++++++++++ .../extensions/IParticipantRequest.java | 17 +++++++++++++++ .../extensions/IPermissionRequest.java | 17 +++++++++++++++ .../requests/extensions/IPersonRequest.java | 17 +++++++++++++++ .../requests/extensions/IPlaceRequest.java | 17 +++++++++++++++ ...rAssignedToTaskBoardTaskFormatRequest.java | 17 +++++++++++++++ .../extensions/IPlannerBucketRequest.java | 17 +++++++++++++++ ...annerBucketTaskBoardTaskFormatRequest.java | 17 +++++++++++++++ .../extensions/IPlannerGroupRequest.java | 17 +++++++++++++++ .../IPlannerPlanDetailsRequest.java | 17 +++++++++++++++ .../extensions/IPlannerPlanRequest.java | 17 +++++++++++++++ ...nerProgressTaskBoardTaskFormatRequest.java | 17 +++++++++++++++ .../requests/extensions/IPlannerRequest.java | 17 +++++++++++++++ .../IPlannerTaskDetailsRequest.java | 17 +++++++++++++++ .../extensions/IPlannerTaskRequest.java | 17 +++++++++++++++ .../extensions/IPlannerUserRequest.java | 17 +++++++++++++++ .../IPlayPromptOperationRequest.java | 17 +++++++++++++++ .../extensions/IPolicyBaseRequest.java | 17 +++++++++++++++ .../extensions/IPolicyRootRequest.java | 17 +++++++++++++++ .../requests/extensions/IPostRequest.java | 17 +++++++++++++++ .../extensions/IProfilePhotoRequest.java | 17 +++++++++++++++ .../extensions/IRecordOperationRequest.java | 17 +++++++++++++++ .../IReferenceAttachmentRequest.java | 17 +++++++++++++++ .../IRemoteAssistancePartnerRequest.java | 17 +++++++++++++++ .../extensions/IReportRootRequest.java | 17 +++++++++++++++ .../extensions/IResourceOperationRequest.java | 17 +++++++++++++++ .../extensions/IRestrictedSignInRequest.java | 17 +++++++++++++++ .../extensions/IRoleAssignmentRequest.java | 17 +++++++++++++++ .../extensions/IRoleDefinitionRequest.java | 17 +++++++++++++++ .../requests/extensions/IRoomListRequest.java | 17 +++++++++++++++ .../requests/extensions/IRoomRequest.java | 17 +++++++++++++++ .../IScheduleChangeRequestRequest.java | 17 +++++++++++++++ .../requests/extensions/IScheduleRequest.java | 17 +++++++++++++++ .../extensions/ISchedulingGroupRequest.java | 17 +++++++++++++++ .../extensions/ISchemaExtensionRequest.java | 17 +++++++++++++++ .../extensions/ISectionGroupRequest.java | 17 +++++++++++++++ .../ISecureScoreControlProfileRequest.java | 17 +++++++++++++++ .../extensions/ISecureScoreRequest.java | 17 +++++++++++++++ .../requests/extensions/ISecurityRequest.java | 17 +++++++++++++++ .../extensions/IServicePrincipalRequest.java | 17 +++++++++++++++ .../ISettingStateDeviceSummaryRequest.java | 17 +++++++++++++++ .../extensions/ISharedDriveItemRequest.java | 17 +++++++++++++++ .../extensions/ISharedInsightRequest.java | 17 +++++++++++++++ .../ISharedPCConfigurationRequest.java | 17 +++++++++++++++ .../extensions/IShiftPreferencesRequest.java | 17 +++++++++++++++ .../requests/extensions/IShiftRequest.java | 17 +++++++++++++++ .../requests/extensions/ISignInRequest.java | 17 +++++++++++++++ ...gleValueLegacyExtendedPropertyRequest.java | 17 +++++++++++++++ .../requests/extensions/ISiteRequest.java | 17 +++++++++++++++ .../ISoftwareUpdateStatusSummaryRequest.java | 17 +++++++++++++++ .../extensions/IStsPolicyRequest.java | 17 +++++++++++++++ .../ISubscribeToToneOperationRequest.java | 17 +++++++++++++++ .../extensions/ISubscribedSkuRequest.java | 17 +++++++++++++++ .../extensions/ISubscriptionRequest.java | 17 +++++++++++++++ .../ISwapShiftsChangeRequestRequest.java | 17 +++++++++++++++ ...argetedManagedAppConfigurationRequest.java | 17 +++++++++++++++ ...etedManagedAppPolicyAssignmentRequest.java | 17 +++++++++++++++ .../ITargetedManagedAppProtectionRequest.java | 17 +++++++++++++++ .../requests/extensions/ITeamRequest.java | 17 +++++++++++++++ .../ITeamsAppDefinitionRequest.java | 17 +++++++++++++++ .../ITeamsAppInstallationRequest.java | 17 +++++++++++++++ .../requests/extensions/ITeamsAppRequest.java | 17 +++++++++++++++ .../ITeamsAsyncOperationRequest.java | 17 +++++++++++++++ .../requests/extensions/ITeamsTabRequest.java | 17 +++++++++++++++ .../extensions/ITeamsTemplateRequest.java | 17 +++++++++++++++ .../requests/extensions/ITeamworkRequest.java | 17 +++++++++++++++ ...elecomExpenseManagementPartnerRequest.java | 17 +++++++++++++++ ...sAndConditionsAcceptanceStatusRequest.java | 17 +++++++++++++++ .../ITermsAndConditionsAssignmentRequest.java | 17 +++++++++++++++ .../ITermsAndConditionsRequest.java | 17 +++++++++++++++ .../IThreatAssessmentRequestRequest.java | 17 +++++++++++++++ .../IThreatAssessmentResultRequest.java | 17 +++++++++++++++ .../extensions/IThumbnailRequest.java | 17 +++++++++++++++ .../extensions/IThumbnailSetRequest.java | 17 +++++++++++++++ .../extensions/ITimeOffReasonRequest.java | 17 +++++++++++++++ .../requests/extensions/ITimeOffRequest.java | 17 +++++++++++++++ .../extensions/ITimeOffRequestRequest.java | 17 +++++++++++++++ .../ITokenIssuancePolicyRequest.java | 17 +++++++++++++++ .../ITokenLifetimePolicyRequest.java | 17 +++++++++++++++ .../requests/extensions/ITrendingRequest.java | 17 +++++++++++++++ .../IUnmuteParticipantOperationRequest.java | 17 +++++++++++++++ ...UpdateRecordingStatusOperationRequest.java | 17 +++++++++++++++ .../IUrlAssessmentRequestRequest.java | 17 +++++++++++++++ .../extensions/IUsedInsightRequest.java | 17 +++++++++++++++ .../extensions/IUserActivityRequest.java | 17 +++++++++++++++ .../IUserInstallStateSummaryRequest.java | 17 +++++++++++++++ .../requests/extensions/IUserRequest.java | 17 +++++++++++++++ .../extensions/IUserSettingsRequest.java | 17 +++++++++++++++ .../requests/extensions/IVppTokenRequest.java | 17 +++++++++++++++ .../requests/extensions/IWebAppRequest.java | 17 +++++++++++++++ .../IWindows10CompliancePolicyRequest.java | 17 +++++++++++++++ .../IWindows10CustomConfigurationRequest.java | 17 +++++++++++++++ ...ndpointProtectionConfigurationRequest.java | 17 +++++++++++++++ ...dernAppManagementConfigurationRequest.java | 17 +++++++++++++++ ...IWindows10GeneralConfigurationRequest.java | 17 +++++++++++++++ ...indows10MobileCompliancePolicyRequest.java | 17 +++++++++++++++ ...0SecureAssessmentConfigurationRequest.java | 17 +++++++++++++++ ...dows10TeamGeneralConfigurationRequest.java | 17 +++++++++++++++ .../IWindows81CompliancePolicyRequest.java | 17 +++++++++++++++ ...IWindows81GeneralConfigurationRequest.java | 17 +++++++++++++++ ...dThreatProtectionConfigurationRequest.java | 17 +++++++++++++++ ...onProtectionAppLearningSummaryRequest.java | 17 +++++++++++++++ ...rmationProtectionAppLockerFileRequest.java | 17 +++++++++++++++ ...otectionNetworkLearningSummaryRequest.java | 17 +++++++++++++++ ...owsInformationProtectionPolicyRequest.java | 17 +++++++++++++++ .../IWindowsInformationProtectionRequest.java | 17 +++++++++++++++ .../extensions/IWindowsMobileMSIRequest.java | 17 +++++++++++++++ ...WindowsPhone81CompliancePolicyRequest.java | 17 +++++++++++++++ ...dowsPhone81CustomConfigurationRequest.java | 17 +++++++++++++++ ...owsPhone81GeneralConfigurationRequest.java | 17 +++++++++++++++ .../IWindowsUniversalAppXRequest.java | 17 +++++++++++++++ ...UpdateForBusinessConfigurationRequest.java | 17 +++++++++++++++ .../IWorkbookApplicationRequest.java | 17 +++++++++++++++ .../IWorkbookChartAreaFormatRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookChartAxesRequest.java | 17 +++++++++++++++ .../IWorkbookChartAxisFormatRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookChartAxisRequest.java | 17 +++++++++++++++ .../IWorkbookChartAxisTitleFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartAxisTitleRequest.java | 17 +++++++++++++++ .../IWorkbookChartDataLabelFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartDataLabelsRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookChartFillRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookChartFontRequest.java | 17 +++++++++++++++ .../IWorkbookChartGridlinesFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartGridlinesRequest.java | 17 +++++++++++++++ .../IWorkbookChartLegendFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartLegendRequest.java | 17 +++++++++++++++ .../IWorkbookChartLineFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartPointFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartPointRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookChartRequest.java | 17 +++++++++++++++ .../IWorkbookChartSeriesFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartSeriesRequest.java | 17 +++++++++++++++ .../IWorkbookChartTitleFormatRequest.java | 17 +++++++++++++++ .../IWorkbookChartTitleRequest.java | 17 +++++++++++++++ .../IWorkbookCommentReplyRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookCommentRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookFilterRequest.java | 17 +++++++++++++++ .../IWorkbookFormatProtectionRequest.java | 17 +++++++++++++++ .../IWorkbookFunctionResultRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookFunctionsRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookNamedItemRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookOperationRequest.java | 17 +++++++++++++++ .../IWorkbookPivotTableRequest.java | 17 +++++++++++++++ .../IWorkbookRangeBorderRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookRangeFillRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookRangeFontRequest.java | 17 +++++++++++++++ .../IWorkbookRangeFormatRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookRangeRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookRangeSortRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookRangeViewRequest.java | 17 +++++++++++++++ .../requests/extensions/IWorkbookRequest.java | 17 +++++++++++++++ .../IWorkbookTableColumnRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookTableRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookTableRowRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookTableSortRequest.java | 17 +++++++++++++++ .../IWorkbookWorksheetProtectionRequest.java | 17 +++++++++++++++ .../extensions/IWorkbookWorksheetRequest.java | 17 +++++++++++++++ .../IWorkforceIntegrationRequest.java | 17 +++++++++++++++ .../extensions/IdentityContainerRequest.java | 21 +++++++++++++++++++ .../extensions/IdentityProviderRequest.java | 21 +++++++++++++++++++ ...urityDefaultsEnforcementPolicyRequest.java | 21 +++++++++++++++++++ ...nferenceClassificationOverrideRequest.java | 21 +++++++++++++++++++ .../InferenceClassificationRequest.java | 21 +++++++++++++++++++ .../InformationProtectionRequest.java | 21 +++++++++++++++++++ .../extensions/InvitationRequest.java | 21 +++++++++++++++++++ .../InviteParticipantsOperationRequest.java | 21 +++++++++++++++++++ .../IosCertificateProfileRequest.java | 21 +++++++++++++++++++ .../IosCompliancePolicyRequest.java | 21 +++++++++++++++++++ .../IosCustomConfigurationRequest.java | 21 +++++++++++++++++++ ...IosDeviceFeaturesConfigurationRequest.java | 21 +++++++++++++++++++ .../IosGeneralDeviceConfigurationRequest.java | 21 +++++++++++++++++++ .../requests/extensions/IosLobAppRequest.java | 21 +++++++++++++++++++ .../IosManagedAppProtectionRequest.java | 21 +++++++++++++++++++ .../IosManagedAppRegistrationRequest.java | 21 +++++++++++++++++++ .../IosMobileAppConfigurationRequest.java | 21 +++++++++++++++++++ .../extensions/IosStoreAppRequest.java | 21 +++++++++++++++++++ .../IosUpdateConfigurationRequest.java | 21 +++++++++++++++++++ .../IosUpdateDeviceStatusRequest.java | 21 +++++++++++++++++++ .../requests/extensions/IosVppAppRequest.java | 21 +++++++++++++++++++ .../IosVppEBookAssignmentRequest.java | 21 +++++++++++++++++++ .../extensions/IosVppEBookRequest.java | 21 +++++++++++++++++++ .../extensions/IpNamedLocationRequest.java | 21 +++++++++++++++++++ .../extensions/ItemActivityRequest.java | 21 +++++++++++++++++++ .../extensions/ItemActivityStatRequest.java | 21 +++++++++++++++++++ .../extensions/ItemAnalyticsRequest.java | 21 +++++++++++++++++++ .../extensions/ItemAttachmentRequest.java | 21 +++++++++++++++++++ .../extensions/LicenseDetailsRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ListItemRequest.java | 21 +++++++++++++++++++ .../extensions/ListItemVersionRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ListRequest.java | 21 +++++++++++++++++++ .../LocalizedNotificationMessageRequest.java | 21 +++++++++++++++++++ .../MacOSCompliancePolicyRequest.java | 21 +++++++++++++++++++ .../MacOSCustomConfigurationRequest.java | 21 +++++++++++++++++++ ...cOSDeviceFeaturesConfigurationRequest.java | 21 +++++++++++++++++++ ...acOSGeneralDeviceConfigurationRequest.java | 21 +++++++++++++++++++ .../MacOSOfficeSuiteAppRequest.java | 21 +++++++++++++++++++ .../MailAssessmentRequestRequest.java | 21 +++++++++++++++++++ .../extensions/MailFolderRequest.java | 21 +++++++++++++++++++ .../extensions/MailSearchFolderRequest.java | 21 +++++++++++++++++++ .../ManagedAndroidLobAppRequest.java | 21 +++++++++++++++++++ .../ManagedAndroidStoreAppRequest.java | 21 +++++++++++++++++++ .../ManagedAppConfigurationRequest.java | 21 +++++++++++++++++++ .../ManagedAppOperationRequest.java | 21 +++++++++++++++++++ ...agedAppPolicyDeploymentSummaryRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedAppPolicyRequest.java | 21 +++++++++++++++++++ .../ManagedAppProtectionRequest.java | 21 +++++++++++++++++++ .../ManagedAppRegistrationRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedAppRequest.java | 21 +++++++++++++++++++ .../ManagedAppStatusRawRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedAppStatusRequest.java | 21 +++++++++++++++++++ ...bileAppConfigurationAssignmentRequest.java | 21 +++++++++++++++++++ ...leAppConfigurationDeviceStatusRequest.java | 21 +++++++++++++++++++ ...eAppConfigurationDeviceSummaryRequest.java | 21 +++++++++++++++++++ ...edDeviceMobileAppConfigurationRequest.java | 21 +++++++++++++++++++ ...bileAppConfigurationUserStatusRequest.java | 21 +++++++++++++++++++ ...ileAppConfigurationUserSummaryRequest.java | 21 +++++++++++++++++++ .../ManagedDeviceOverviewRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedDeviceRequest.java | 21 +++++++++++++++++++ .../ManagedEBookAssignmentRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedEBookRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedIOSLobAppRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedIOSStoreAppRequest.java | 21 +++++++++++++++++++ .../extensions/ManagedMobileAppRequest.java | 21 +++++++++++++++++++ .../ManagedMobileLobAppRequest.java | 21 +++++++++++++++++++ ...owsInformationProtectionPolicyRequest.java | 21 +++++++++++++++++++ .../requests/extensions/MessageRequest.java | 21 +++++++++++++++++++ .../extensions/MessageRuleRequest.java | 21 +++++++++++++++++++ .../MicrosoftStoreForBusinessAppRequest.java | 21 +++++++++++++++++++ .../MobileAppAssignmentRequest.java | 21 +++++++++++++++++++ .../extensions/MobileAppCategoryRequest.java | 21 +++++++++++++++++++ .../MobileAppContentFileRequest.java | 21 +++++++++++++++++++ .../extensions/MobileAppContentRequest.java | 21 +++++++++++++++++++ .../requests/extensions/MobileAppRequest.java | 21 +++++++++++++++++++ .../extensions/MobileLobAppRequest.java | 21 +++++++++++++++++++ .../MobileThreatDefenseConnectorRequest.java | 21 +++++++++++++++++++ ...ltiValueLegacyExtendedPropertyRequest.java | 21 +++++++++++++++++++ .../MuteParticipantOperationRequest.java | 21 +++++++++++++++++++ .../extensions/NamedLocationRequest.java | 21 +++++++++++++++++++ .../requests/extensions/NotebookRequest.java | 21 +++++++++++++++++++ .../NotificationMessageTemplateRequest.java | 21 +++++++++++++++++++ .../OAuth2PermissionGrantRequest.java | 21 +++++++++++++++++++ .../extensions/OfferShiftRequestRequest.java | 21 +++++++++++++++++++ .../OfficeGraphInsightsRequest.java | 21 +++++++++++++++++++ ...misesConditionalAccessSettingsRequest.java | 21 +++++++++++++++++++ .../OnenoteEntityBaseModelRequest.java | 21 +++++++++++++++++++ .../OnenoteEntityHierarchyModelRequest.java | 21 +++++++++++++++++++ ...OnenoteEntitySchemaObjectModelRequest.java | 21 +++++++++++++++++++ .../extensions/OnenoteOperationRequest.java | 21 +++++++++++++++++++ .../extensions/OnenotePageRequest.java | 21 +++++++++++++++++++ .../requests/extensions/OnenoteRequest.java | 21 +++++++++++++++++++ .../extensions/OnenoteResourceRequest.java | 21 +++++++++++++++++++ .../extensions/OnenoteSectionRequest.java | 21 +++++++++++++++++++ .../extensions/OnlineMeetingRequest.java | 21 +++++++++++++++++++ .../OpenShiftChangeRequestRequest.java | 21 +++++++++++++++++++ .../requests/extensions/OpenShiftRequest.java | 21 +++++++++++++++++++ .../extensions/OpenTypeExtensionRequest.java | 21 +++++++++++++++++++ .../requests/extensions/OperationRequest.java | 21 +++++++++++++++++++ .../extensions/OrgContactRequest.java | 21 +++++++++++++++++++ .../extensions/OrganizationRequest.java | 21 +++++++++++++++++++ .../extensions/OutlookCategoryRequest.java | 21 +++++++++++++++++++ .../extensions/OutlookItemRequest.java | 21 +++++++++++++++++++ .../extensions/OutlookUserRequest.java | 21 +++++++++++++++++++ .../extensions/ParticipantRequest.java | 21 +++++++++++++++++++ .../extensions/PermissionRequest.java | 21 +++++++++++++++++++ .../requests/extensions/PersonRequest.java | 21 +++++++++++++++++++ .../requests/extensions/PlaceRequest.java | 21 +++++++++++++++++++ ...rAssignedToTaskBoardTaskFormatRequest.java | 21 +++++++++++++++++++ .../extensions/PlannerBucketRequest.java | 21 +++++++++++++++++++ ...annerBucketTaskBoardTaskFormatRequest.java | 21 +++++++++++++++++++ .../extensions/PlannerGroupRequest.java | 21 +++++++++++++++++++ .../extensions/PlannerPlanDetailsRequest.java | 21 +++++++++++++++++++ .../extensions/PlannerPlanRequest.java | 21 +++++++++++++++++++ ...nerProgressTaskBoardTaskFormatRequest.java | 21 +++++++++++++++++++ .../requests/extensions/PlannerRequest.java | 21 +++++++++++++++++++ .../extensions/PlannerTaskDetailsRequest.java | 21 +++++++++++++++++++ .../extensions/PlannerTaskRequest.java | 21 +++++++++++++++++++ .../extensions/PlannerUserRequest.java | 21 +++++++++++++++++++ .../PlayPromptOperationRequest.java | 21 +++++++++++++++++++ .../extensions/PolicyBaseRequest.java | 21 +++++++++++++++++++ .../extensions/PolicyRootRequest.java | 21 +++++++++++++++++++ .../requests/extensions/PostRequest.java | 21 +++++++++++++++++++ .../extensions/ProfilePhotoRequest.java | 21 +++++++++++++++++++ .../extensions/RecordOperationRequest.java | 21 +++++++++++++++++++ .../ReferenceAttachmentRequest.java | 21 +++++++++++++++++++ .../RemoteAssistancePartnerRequest.java | 21 +++++++++++++++++++ .../extensions/ReportRootRequest.java | 21 +++++++++++++++++++ .../extensions/ResourceOperationRequest.java | 21 +++++++++++++++++++ .../extensions/RestrictedSignInRequest.java | 21 +++++++++++++++++++ .../extensions/RoleAssignmentRequest.java | 21 +++++++++++++++++++ .../extensions/RoleDefinitionRequest.java | 21 +++++++++++++++++++ .../requests/extensions/RoomListRequest.java | 21 +++++++++++++++++++ .../requests/extensions/RoomRequest.java | 21 +++++++++++++++++++ .../ScheduleChangeRequestRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ScheduleRequest.java | 21 +++++++++++++++++++ .../extensions/SchedulingGroupRequest.java | 21 +++++++++++++++++++ .../extensions/SchemaExtensionRequest.java | 21 +++++++++++++++++++ .../extensions/SectionGroupRequest.java | 21 +++++++++++++++++++ .../SecureScoreControlProfileRequest.java | 21 +++++++++++++++++++ .../extensions/SecureScoreRequest.java | 21 +++++++++++++++++++ .../requests/extensions/SecurityRequest.java | 21 +++++++++++++++++++ .../extensions/ServicePrincipalRequest.java | 21 +++++++++++++++++++ .../SettingStateDeviceSummaryRequest.java | 21 +++++++++++++++++++ .../extensions/SharedDriveItemRequest.java | 21 +++++++++++++++++++ .../extensions/SharedInsightRequest.java | 21 +++++++++++++++++++ .../SharedPCConfigurationRequest.java | 21 +++++++++++++++++++ .../extensions/ShiftPreferencesRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ShiftRequest.java | 21 +++++++++++++++++++ .../requests/extensions/SignInRequest.java | 21 +++++++++++++++++++ ...gleValueLegacyExtendedPropertyRequest.java | 21 +++++++++++++++++++ .../requests/extensions/SiteRequest.java | 21 +++++++++++++++++++ .../SoftwareUpdateStatusSummaryRequest.java | 21 +++++++++++++++++++ .../requests/extensions/StsPolicyRequest.java | 21 +++++++++++++++++++ .../SubscribeToToneOperationRequest.java | 21 +++++++++++++++++++ .../extensions/SubscribedSkuRequest.java | 21 +++++++++++++++++++ .../extensions/SubscriptionRequest.java | 21 +++++++++++++++++++ .../SwapShiftsChangeRequestRequest.java | 21 +++++++++++++++++++ ...argetedManagedAppConfigurationRequest.java | 21 +++++++++++++++++++ ...etedManagedAppPolicyAssignmentRequest.java | 21 +++++++++++++++++++ .../TargetedManagedAppProtectionRequest.java | 21 +++++++++++++++++++ .../requests/extensions/TeamRequest.java | 21 +++++++++++++++++++ .../extensions/TeamsAppDefinitionRequest.java | 21 +++++++++++++++++++ .../TeamsAppInstallationRequest.java | 21 +++++++++++++++++++ .../requests/extensions/TeamsAppRequest.java | 21 +++++++++++++++++++ .../TeamsAsyncOperationRequest.java | 21 +++++++++++++++++++ .../requests/extensions/TeamsTabRequest.java | 21 +++++++++++++++++++ .../extensions/TeamsTemplateRequest.java | 21 +++++++++++++++++++ .../requests/extensions/TeamworkRequest.java | 21 +++++++++++++++++++ ...elecomExpenseManagementPartnerRequest.java | 21 +++++++++++++++++++ ...sAndConditionsAcceptanceStatusRequest.java | 21 +++++++++++++++++++ .../TermsAndConditionsAssignmentRequest.java | 21 +++++++++++++++++++ .../extensions/TermsAndConditionsRequest.java | 21 +++++++++++++++++++ .../ThreatAssessmentRequestRequest.java | 21 +++++++++++++++++++ .../ThreatAssessmentResultRequest.java | 21 +++++++++++++++++++ .../requests/extensions/ThumbnailRequest.java | 21 +++++++++++++++++++ .../extensions/ThumbnailSetRequest.java | 21 +++++++++++++++++++ .../extensions/TimeOffReasonRequest.java | 21 +++++++++++++++++++ .../requests/extensions/TimeOffRequest.java | 21 +++++++++++++++++++ .../extensions/TimeOffRequestRequest.java | 21 +++++++++++++++++++ .../TokenIssuancePolicyRequest.java | 21 +++++++++++++++++++ .../TokenLifetimePolicyRequest.java | 21 +++++++++++++++++++ .../requests/extensions/TrendingRequest.java | 21 +++++++++++++++++++ .../UnmuteParticipantOperationRequest.java | 21 +++++++++++++++++++ ...UpdateRecordingStatusOperationRequest.java | 21 +++++++++++++++++++ .../UrlAssessmentRequestRequest.java | 21 +++++++++++++++++++ .../extensions/UsedInsightRequest.java | 21 +++++++++++++++++++ .../extensions/UserActivityRequest.java | 21 +++++++++++++++++++ .../UserInstallStateSummaryRequest.java | 21 +++++++++++++++++++ .../requests/extensions/UserRequest.java | 21 +++++++++++++++++++ .../extensions/UserSettingsRequest.java | 21 +++++++++++++++++++ .../requests/extensions/VppTokenRequest.java | 21 +++++++++++++++++++ .../requests/extensions/WebAppRequest.java | 21 +++++++++++++++++++ .../Windows10CompliancePolicyRequest.java | 21 +++++++++++++++++++ .../Windows10CustomConfigurationRequest.java | 21 +++++++++++++++++++ ...ndpointProtectionConfigurationRequest.java | 21 +++++++++++++++++++ ...dernAppManagementConfigurationRequest.java | 21 +++++++++++++++++++ .../Windows10GeneralConfigurationRequest.java | 21 +++++++++++++++++++ ...indows10MobileCompliancePolicyRequest.java | 21 +++++++++++++++++++ ...0SecureAssessmentConfigurationRequest.java | 21 +++++++++++++++++++ ...dows10TeamGeneralConfigurationRequest.java | 21 +++++++++++++++++++ .../Windows81CompliancePolicyRequest.java | 21 +++++++++++++++++++ .../Windows81GeneralConfigurationRequest.java | 21 +++++++++++++++++++ ...dThreatProtectionConfigurationRequest.java | 21 +++++++++++++++++++ ...onProtectionAppLearningSummaryRequest.java | 21 +++++++++++++++++++ ...rmationProtectionAppLockerFileRequest.java | 21 +++++++++++++++++++ ...otectionNetworkLearningSummaryRequest.java | 21 +++++++++++++++++++ ...owsInformationProtectionPolicyRequest.java | 21 +++++++++++++++++++ .../WindowsInformationProtectionRequest.java | 21 +++++++++++++++++++ .../extensions/WindowsMobileMSIRequest.java | 21 +++++++++++++++++++ ...WindowsPhone81CompliancePolicyRequest.java | 21 +++++++++++++++++++ ...dowsPhone81CustomConfigurationRequest.java | 21 +++++++++++++++++++ ...owsPhone81GeneralConfigurationRequest.java | 21 +++++++++++++++++++ .../WindowsUniversalAppXRequest.java | 21 +++++++++++++++++++ ...UpdateForBusinessConfigurationRequest.java | 21 +++++++++++++++++++ .../WorkbookApplicationRequest.java | 21 +++++++++++++++++++ .../WorkbookChartAreaFormatRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookChartAxesRequest.java | 21 +++++++++++++++++++ .../WorkbookChartAxisFormatRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookChartAxisRequest.java | 21 +++++++++++++++++++ .../WorkbookChartAxisTitleFormatRequest.java | 21 +++++++++++++++++++ .../WorkbookChartAxisTitleRequest.java | 21 +++++++++++++++++++ .../WorkbookChartDataLabelFormatRequest.java | 21 +++++++++++++++++++ .../WorkbookChartDataLabelsRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookChartFillRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookChartFontRequest.java | 21 +++++++++++++++++++ .../WorkbookChartGridlinesFormatRequest.java | 21 +++++++++++++++++++ .../WorkbookChartGridlinesRequest.java | 21 +++++++++++++++++++ .../WorkbookChartLegendFormatRequest.java | 21 +++++++++++++++++++ .../WorkbookChartLegendRequest.java | 21 +++++++++++++++++++ .../WorkbookChartLineFormatRequest.java | 21 +++++++++++++++++++ .../WorkbookChartPointFormatRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookChartPointRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookChartRequest.java | 21 +++++++++++++++++++ .../WorkbookChartSeriesFormatRequest.java | 21 +++++++++++++++++++ .../WorkbookChartSeriesRequest.java | 21 +++++++++++++++++++ .../WorkbookChartTitleFormatRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookChartTitleRequest.java | 21 +++++++++++++++++++ .../WorkbookCommentReplyRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookCommentRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookFilterRequest.java | 21 +++++++++++++++++++ .../WorkbookFormatProtectionRequest.java | 21 +++++++++++++++++++ .../WorkbookFunctionResultRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookFunctionsRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookNamedItemRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookOperationRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookPivotTableRequest.java | 21 +++++++++++++++++++ .../WorkbookRangeBorderRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookRangeFillRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookRangeFontRequest.java | 21 +++++++++++++++++++ .../WorkbookRangeFormatRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookRangeRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookRangeSortRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookRangeViewRequest.java | 21 +++++++++++++++++++ .../requests/extensions/WorkbookRequest.java | 21 +++++++++++++++++++ .../WorkbookTableColumnRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookTableRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookTableRowRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookTableSortRequest.java | 21 +++++++++++++++++++ .../WorkbookWorksheetProtectionRequest.java | 21 +++++++++++++++++++ .../extensions/WorkbookWorksheetRequest.java | 21 +++++++++++++++++++ .../WorkforceIntegrationRequest.java | 21 +++++++++++++++++++ 788 files changed, 14972 insertions(+) diff --git a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordRequest.java index 728ea3774b2..37e3bd9aa95 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordRequest.java @@ -115,6 +115,27 @@ public CallRecord post(final CallRecord newCallRecord) throws ClientException { return send(HttpMethod.POST, newCallRecord); } + /** + * Creates a CallRecord with a new object + * + * @param newCallRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CallRecord newCallRecord, final ICallback callback) { + send(HttpMethod.PUT, callback, newCallRecord); + } + + /** + * Creates a CallRecord with a new object + * + * @param newCallRecord the object to create/update + * @return the created CallRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CallRecord put(final CallRecord newCallRecord) throws ClientException { + return send(HttpMethod.PUT, newCallRecord); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordRequest.java index 5f4af6ffad3..3fccb6a9393 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordRequest.java @@ -79,6 +79,23 @@ public interface ICallRecordRequest extends IHttpRequest { */ CallRecord post(final CallRecord newCallRecord) throws ClientException; + /** + * Posts a CallRecord with a new object + * + * @param newCallRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CallRecord newCallRecord, final ICallback callback); + + /** + * Posts a CallRecord with a new object + * + * @param newCallRecord the object to create/update + * @return the created CallRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CallRecord put(final CallRecord newCallRecord) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentRequest.java index b4c87038e67..8278a7d7aa6 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentRequest.java @@ -79,6 +79,23 @@ public interface ISegmentRequest extends IHttpRequest { */ Segment post(final Segment newSegment) throws ClientException; + /** + * Posts a Segment with a new object + * + * @param newSegment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Segment newSegment, final ICallback callback); + + /** + * Posts a Segment with a new object + * + * @param newSegment the object to create/update + * @return the created Segment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Segment put(final Segment newSegment) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionRequest.java index bca542480ad..7fb711e7791 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionRequest.java @@ -79,6 +79,23 @@ public interface ISessionRequest extends IHttpRequest { */ Session post(final Session newSession) throws ClientException; + /** + * Posts a Session with a new object + * + * @param newSession the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Session newSession, final ICallback callback); + + /** + * Posts a Session with a new object + * + * @param newSession the object to create/update + * @return the created Session + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Session put(final Session newSession) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentRequest.java index 0508c4cc86b..191d2134fe4 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentRequest.java @@ -111,6 +111,27 @@ public Segment post(final Segment newSegment) throws ClientException { return send(HttpMethod.POST, newSegment); } + /** + * Creates a Segment with a new object + * + * @param newSegment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Segment newSegment, final ICallback callback) { + send(HttpMethod.PUT, callback, newSegment); + } + + /** + * Creates a Segment with a new object + * + * @param newSegment the object to create/update + * @return the created Segment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Segment put(final Segment newSegment) throws ClientException { + return send(HttpMethod.PUT, newSegment); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionRequest.java index aa7334876bd..1797c4cdb77 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionRequest.java @@ -115,6 +115,27 @@ public Session post(final Session newSession) throws ClientException { return send(HttpMethod.POST, newSession); } + /** + * Creates a Session with a new object + * + * @param newSession the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Session newSession, final ICallback callback) { + send(HttpMethod.PUT, callback, newSession); + } + + /** + * Creates a Session with a new object + * + * @param newSession the object to create/update + * @return the created Session + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Session put(final Session newSession) throws ClientException { + return send(HttpMethod.PUT, newSession); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AadUserConversationMemberRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AadUserConversationMemberRequest.java index 4f859a6d7ea..47a6e86fc0c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AadUserConversationMemberRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AadUserConversationMemberRequest.java @@ -113,6 +113,27 @@ public AadUserConversationMember post(final AadUserConversationMember newAadUser return send(HttpMethod.POST, newAadUserConversationMember); } + /** + * Creates a AadUserConversationMember with a new object + * + * @param newAadUserConversationMember the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AadUserConversationMember newAadUserConversationMember, final ICallback callback) { + send(HttpMethod.PUT, callback, newAadUserConversationMember); + } + + /** + * Creates a AadUserConversationMember with a new object + * + * @param newAadUserConversationMember the object to create/update + * @return the created AadUserConversationMember + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AadUserConversationMember put(final AadUserConversationMember newAadUserConversationMember) throws ClientException { + return send(HttpMethod.PUT, newAadUserConversationMember); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ActivityBasedTimeoutPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ActivityBasedTimeoutPolicyRequest.java index c7d3e41c6e3..3f6a53140cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ActivityBasedTimeoutPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityBasedTimeoutPolicyRequest.java @@ -111,6 +111,27 @@ public ActivityBasedTimeoutPolicy post(final ActivityBasedTimeoutPolicy newActiv return send(HttpMethod.POST, newActivityBasedTimeoutPolicy); } + /** + * Creates a ActivityBasedTimeoutPolicy with a new object + * + * @param newActivityBasedTimeoutPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ActivityBasedTimeoutPolicy newActivityBasedTimeoutPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newActivityBasedTimeoutPolicy); + } + + /** + * Creates a ActivityBasedTimeoutPolicy with a new object + * + * @param newActivityBasedTimeoutPolicy the object to create/update + * @return the created ActivityBasedTimeoutPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ActivityBasedTimeoutPolicy put(final ActivityBasedTimeoutPolicy newActivityBasedTimeoutPolicy) throws ClientException { + return send(HttpMethod.PUT, newActivityBasedTimeoutPolicy); + } + /** * Sets the select clause for the request * 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 9935e4bef55..4b2d728b263 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ActivityHistoryItemRequest.java @@ -113,6 +113,27 @@ public ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem return send(HttpMethod.POST, newActivityHistoryItem); } + /** + * Creates a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newActivityHistoryItem); + } + + /** + * Creates a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the object to create/update + * @return the created ActivityHistoryItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ActivityHistoryItem put(final ActivityHistoryItem newActivityHistoryItem) throws ClientException { + return send(HttpMethod.PUT, newActivityHistoryItem); + } + /** * Sets the select clause for the request * 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 c71013dfa94..af03ef745c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AdministrativeUnitRequest.java @@ -111,6 +111,27 @@ public AdministrativeUnit post(final AdministrativeUnit newAdministrativeUnit) t return send(HttpMethod.POST, newAdministrativeUnit); } + /** + * Creates a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AdministrativeUnit newAdministrativeUnit, final ICallback callback) { + send(HttpMethod.PUT, callback, newAdministrativeUnit); + } + + /** + * Creates a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the object to create/update + * @return the created AdministrativeUnit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AdministrativeUnit put(final AdministrativeUnit newAdministrativeUnit) throws ClientException { + return send(HttpMethod.PUT, newAdministrativeUnit); + } + /** * Sets the select clause for the request * 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 fe841b5b779..30d241d1d19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AlertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AlertRequest.java @@ -111,6 +111,27 @@ public Alert post(final Alert newAlert) throws ClientException { return send(HttpMethod.POST, newAlert); } + /** + * Creates a Alert with a new object + * + * @param newAlert the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Alert newAlert, final ICallback callback) { + send(HttpMethod.PUT, callback, newAlert); + } + + /** + * Creates a Alert with a new object + * + * @param newAlert the object to create/update + * @return the created Alert + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Alert put(final Alert newAlert) throws ClientException { + return send(HttpMethod.PUT, newAlert); + } + /** * Sets the select clause for the request * 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 e29a81fb320..5fc0df59513 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCompliancePolicyRequest.java @@ -111,6 +111,27 @@ public AndroidCompliancePolicy post(final AndroidCompliancePolicy newAndroidComp return send(HttpMethod.POST, newAndroidCompliancePolicy); } + /** + * Creates a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidCompliancePolicy newAndroidCompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidCompliancePolicy); + } + + /** + * Creates a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the object to create/update + * @return the created AndroidCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCompliancePolicy put(final AndroidCompliancePolicy newAndroidCompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newAndroidCompliancePolicy); + } + /** * Sets the select clause for the request * 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 27ee50d196c..3100a7ca123 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidCustomConfigurationRequest.java @@ -111,6 +111,27 @@ public AndroidCustomConfiguration post(final AndroidCustomConfiguration newAndro return send(HttpMethod.POST, newAndroidCustomConfiguration); } + /** + * Creates a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidCustomConfiguration newAndroidCustomConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidCustomConfiguration); + } + + /** + * Creates a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the object to create/update + * @return the created AndroidCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidCustomConfiguration put(final AndroidCustomConfiguration newAndroidCustomConfiguration) throws ClientException { + return send(HttpMethod.PUT, newAndroidCustomConfiguration); + } + /** * Sets the select clause for the request * 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 30d58e26207..7db4967686b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidGeneralDeviceConfigurationRequest.java @@ -111,6 +111,27 @@ public AndroidGeneralDeviceConfiguration post(final AndroidGeneralDeviceConfigur return send(HttpMethod.POST, newAndroidGeneralDeviceConfiguration); } + /** + * Creates a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidGeneralDeviceConfiguration); + } + + /** + * Creates a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the object to create/update + * @return the created AndroidGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidGeneralDeviceConfiguration put(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PUT, newAndroidGeneralDeviceConfiguration); + } + /** * Sets the select clause for the request * 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 70b90a2b2d2..85de0769775 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidLobAppRequest.java @@ -111,6 +111,27 @@ public AndroidLobApp post(final AndroidLobApp newAndroidLobApp) throws ClientExc return send(HttpMethod.POST, newAndroidLobApp); } + /** + * Creates a AndroidLobApp with a new object + * + * @param newAndroidLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidLobApp newAndroidLobApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidLobApp); + } + + /** + * Creates a AndroidLobApp with a new object + * + * @param newAndroidLobApp the object to create/update + * @return the created AndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidLobApp put(final AndroidLobApp newAndroidLobApp) throws ClientException { + return send(HttpMethod.PUT, newAndroidLobApp); + } + /** * Sets the select clause for the request * 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 d86e98d0310..054820858cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppProtectionRequest.java @@ -117,6 +117,27 @@ public AndroidManagedAppProtection post(final AndroidManagedAppProtection newAnd return send(HttpMethod.POST, newAndroidManagedAppProtection); } + /** + * Creates a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidManagedAppProtection); + } + + /** + * Creates a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the object to create/update + * @return the created AndroidManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppProtection put(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException { + return send(HttpMethod.PUT, newAndroidManagedAppProtection); + } + /** * Sets the select clause for the request * 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 d580583c717..1cbfaf0958e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidManagedAppRegistrationRequest.java @@ -111,6 +111,27 @@ public AndroidManagedAppRegistration post(final AndroidManagedAppRegistration ne return send(HttpMethod.POST, newAndroidManagedAppRegistration); } + /** + * Creates a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidManagedAppRegistration newAndroidManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidManagedAppRegistration); + } + + /** + * Creates a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the object to create/update + * @return the created AndroidManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidManagedAppRegistration put(final AndroidManagedAppRegistration newAndroidManagedAppRegistration) throws ClientException { + return send(HttpMethod.PUT, newAndroidManagedAppRegistration); + } + /** * Sets the select clause for the request * 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 9f006478d92..edd14bb040f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidStoreAppRequest.java @@ -111,6 +111,27 @@ public AndroidStoreApp post(final AndroidStoreApp newAndroidStoreApp) throws Cli return send(HttpMethod.POST, newAndroidStoreApp); } + /** + * Creates a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidStoreApp newAndroidStoreApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidStoreApp); + } + + /** + * Creates a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the object to create/update + * @return the created AndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidStoreApp put(final AndroidStoreApp newAndroidStoreApp) throws ClientException { + return send(HttpMethod.PUT, newAndroidStoreApp); + } + /** * Sets the select clause for the request * 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 3ea66a7e846..56c02c16fa0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCompliancePolicyRequest.java @@ -111,6 +111,27 @@ public AndroidWorkProfileCompliancePolicy post(final AndroidWorkProfileComplianc return send(HttpMethod.POST, newAndroidWorkProfileCompliancePolicy); } + /** + * Creates a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidWorkProfileCompliancePolicy); + } + + /** + * Creates a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the object to create/update + * @return the created AndroidWorkProfileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCompliancePolicy put(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newAndroidWorkProfileCompliancePolicy); + } + /** * Sets the select clause for the request * 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 50fca00ad30..b2e93ac239e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileCustomConfigurationRequest.java @@ -111,6 +111,27 @@ public AndroidWorkProfileCustomConfiguration post(final AndroidWorkProfileCustom return send(HttpMethod.POST, newAndroidWorkProfileCustomConfiguration); } + /** + * Creates a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidWorkProfileCustomConfiguration); + } + + /** + * Creates a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the object to create/update + * @return the created AndroidWorkProfileCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileCustomConfiguration put(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration) throws ClientException { + return send(HttpMethod.PUT, newAndroidWorkProfileCustomConfiguration); + } + /** * Sets the select clause for the request * 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 49fbd335351..ab55d65ff84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AndroidWorkProfileGeneralDeviceConfigurationRequest.java @@ -111,6 +111,27 @@ public AndroidWorkProfileGeneralDeviceConfiguration post(final AndroidWorkProfil return send(HttpMethod.POST, newAndroidWorkProfileGeneralDeviceConfiguration); } + /** + * Creates a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newAndroidWorkProfileGeneralDeviceConfiguration); + } + + /** + * Creates a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the object to create/update + * @return the created AndroidWorkProfileGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AndroidWorkProfileGeneralDeviceConfiguration put(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PUT, newAndroidWorkProfileGeneralDeviceConfiguration); + } + /** * Sets the select clause for the request * 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 596257c6701..443cc58cfb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AppCatalogsRequest.java @@ -115,6 +115,27 @@ public AppCatalogs post(final AppCatalogs newAppCatalogs) throws ClientException return send(HttpMethod.POST, newAppCatalogs); } + /** + * Creates a AppCatalogs with a new object + * + * @param newAppCatalogs the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AppCatalogs newAppCatalogs, final ICallback callback) { + send(HttpMethod.PUT, callback, newAppCatalogs); + } + + /** + * Creates a AppCatalogs with a new object + * + * @param newAppCatalogs the object to create/update + * @return the created AppCatalogs + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppCatalogs put(final AppCatalogs newAppCatalogs) throws ClientException { + return send(HttpMethod.PUT, newAppCatalogs); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AppRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AppRoleAssignmentRequest.java index 15eaf98e50e..211a1261f00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AppRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AppRoleAssignmentRequest.java @@ -111,6 +111,27 @@ public AppRoleAssignment post(final AppRoleAssignment newAppRoleAssignment) thro return send(HttpMethod.POST, newAppRoleAssignment); } + /** + * Creates a AppRoleAssignment with a new object + * + * @param newAppRoleAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AppRoleAssignment newAppRoleAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newAppRoleAssignment); + } + + /** + * Creates a AppRoleAssignment with a new object + * + * @param newAppRoleAssignment the object to create/update + * @return the created AppRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppRoleAssignment put(final AppRoleAssignment newAppRoleAssignment) throws ClientException { + return send(HttpMethod.PUT, newAppRoleAssignment); + } + /** * Sets the select clause for the request * 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 5506fb2ed0c..8e87fabb379 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AppleDeviceFeaturesConfigurationBaseRequest.java @@ -126,6 +126,27 @@ public AppleDeviceFeaturesConfigurationBase post(final AppleDeviceFeaturesConfig return send(HttpMethod.POST, newAppleDeviceFeaturesConfigurationBase); } + /** + * Creates a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase, final ICallback callback) { + send(HttpMethod.PUT, callback, newAppleDeviceFeaturesConfigurationBase); + } + + /** + * Creates a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the object to create/update + * @return the created AppleDeviceFeaturesConfigurationBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AppleDeviceFeaturesConfigurationBase put(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase) throws ClientException { + return send(HttpMethod.PUT, newAppleDeviceFeaturesConfigurationBase); + } + /** * Sets the select clause for the 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 b497b6de5f1..d0616db4826 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ApplePushNotificationCertificateRequest.java @@ -111,6 +111,27 @@ public ApplePushNotificationCertificate post(final ApplePushNotificationCertific return send(HttpMethod.POST, newApplePushNotificationCertificate); } + /** + * Creates a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ApplePushNotificationCertificate newApplePushNotificationCertificate, final ICallback callback) { + send(HttpMethod.PUT, callback, newApplePushNotificationCertificate); + } + + /** + * Creates a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the object to create/update + * @return the created ApplePushNotificationCertificate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ApplePushNotificationCertificate put(final ApplePushNotificationCertificate newApplePushNotificationCertificate) throws ClientException { + return send(HttpMethod.PUT, newApplePushNotificationCertificate); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ApplicationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ApplicationRequest.java index 478111be3a0..03a7733257c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ApplicationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ApplicationRequest.java @@ -133,6 +133,27 @@ public Application post(final Application newApplication) throws ClientException return send(HttpMethod.POST, newApplication); } + /** + * Creates a Application with a new object + * + * @param newApplication the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Application newApplication, final ICallback callback) { + send(HttpMethod.PUT, callback, newApplication); + } + + /** + * Creates a Application with a new object + * + * @param newApplication the object to create/update + * @return the created Application + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Application put(final Application newApplication) throws ClientException { + return send(HttpMethod.PUT, newApplication); + } + /** * Sets the select clause for the request * 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 0a243081a22..6f60d19a32b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AttachmentRequest.java @@ -128,6 +128,27 @@ public Attachment post(final Attachment newAttachment) throws ClientException { return send(HttpMethod.POST, newAttachment); } + /** + * Creates a Attachment with a new object + * + * @param newAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Attachment newAttachment, final ICallback callback) { + send(HttpMethod.PUT, callback, newAttachment); + } + + /** + * Creates a Attachment with a new object + * + * @param newAttachment the object to create/update + * @return the created Attachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Attachment put(final Attachment newAttachment) throws ClientException { + return send(HttpMethod.PUT, newAttachment); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/AuditLogRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/AuditLogRootRequest.java index c2dd62ca0e9..d606411f2c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/AuditLogRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/AuditLogRootRequest.java @@ -123,6 +123,27 @@ public AuditLogRoot post(final AuditLogRoot newAuditLogRoot) throws ClientExcept return send(HttpMethod.POST, newAuditLogRoot); } + /** + * Creates a AuditLogRoot with a new object + * + * @param newAuditLogRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final AuditLogRoot newAuditLogRoot, final ICallback callback) { + send(HttpMethod.PUT, callback, newAuditLogRoot); + } + + /** + * Creates a AuditLogRoot with a new object + * + * @param newAuditLogRoot the object to create/update + * @return the created AuditLogRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public AuditLogRoot put(final AuditLogRoot newAuditLogRoot) throws ClientException { + return send(HttpMethod.PUT, newAuditLogRoot); + } + /** * Sets the select clause for the request * 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 3807089ad2a..d0965c6f8b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemRequest.java @@ -128,6 +128,27 @@ public BaseItem post(final BaseItem newBaseItem) throws ClientException { return send(HttpMethod.POST, newBaseItem); } + /** + * Creates a BaseItem with a new object + * + * @param newBaseItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final BaseItem newBaseItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newBaseItem); + } + + /** + * Creates a BaseItem with a new object + * + * @param newBaseItem the object to create/update + * @return the created BaseItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItem put(final BaseItem newBaseItem) throws ClientException { + return send(HttpMethod.PUT, newBaseItem); + } + /** * Sets the select clause for the request * 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 6cdcb43a646..db50f3eac8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/BaseItemVersionRequest.java @@ -126,6 +126,27 @@ public BaseItemVersion post(final BaseItemVersion newBaseItemVersion) throws Cli return send(HttpMethod.POST, newBaseItemVersion); } + /** + * Creates a BaseItemVersion with a new object + * + * @param newBaseItemVersion the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final BaseItemVersion newBaseItemVersion, final ICallback callback) { + send(HttpMethod.PUT, callback, newBaseItemVersion); + } + + /** + * Creates a BaseItemVersion with a new object + * + * @param newBaseItemVersion the object to create/update + * @return the created BaseItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public BaseItemVersion put(final BaseItemVersion newBaseItemVersion) throws ClientException { + return send(HttpMethod.PUT, newBaseItemVersion); + } + /** * Sets the select clause for the request * 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 17b863b8ef6..f01cb4b3fc7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarGroupRequest.java @@ -115,6 +115,27 @@ public CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientExc return send(HttpMethod.POST, newCalendarGroup); } + /** + * Creates a CalendarGroup with a new object + * + * @param newCalendarGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CalendarGroup newCalendarGroup, final ICallback callback) { + send(HttpMethod.PUT, callback, newCalendarGroup); + } + + /** + * Creates a CalendarGroup with a new object + * + * @param newCalendarGroup the object to create/update + * @return the created CalendarGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CalendarGroup put(final CalendarGroup newCalendarGroup) throws ClientException { + return send(HttpMethod.PUT, newCalendarGroup); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarPermissionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarPermissionRequest.java index 06d22213d00..8577c4de97a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarPermissionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarPermissionRequest.java @@ -111,6 +111,27 @@ public CalendarPermission post(final CalendarPermission newCalendarPermission) t return send(HttpMethod.POST, newCalendarPermission); } + /** + * Creates a CalendarPermission with a new object + * + * @param newCalendarPermission the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CalendarPermission newCalendarPermission, final ICallback callback) { + send(HttpMethod.PUT, callback, newCalendarPermission); + } + + /** + * Creates a CalendarPermission with a new object + * + * @param newCalendarPermission the object to create/update + * @return the created CalendarPermission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CalendarPermission put(final CalendarPermission newCalendarPermission) throws ClientException { + return send(HttpMethod.PUT, newCalendarPermission); + } + /** * Sets the select clause for the request * 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 1510ce568bd..b13b6adc9af 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarRequest.java @@ -130,6 +130,27 @@ public Calendar post(final Calendar newCalendar) throws ClientException { return send(HttpMethod.POST, newCalendar); } + /** + * Creates a Calendar with a new object + * + * @param newCalendar the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Calendar newCalendar, final ICallback callback) { + send(HttpMethod.PUT, callback, newCalendar); + } + + /** + * Creates a Calendar with a new object + * + * @param newCalendar the object to create/update + * @return the created Calendar + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Calendar put(final Calendar newCalendar) throws ClientException { + return send(HttpMethod.PUT, newCalendar); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CalendarSharingMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CalendarSharingMessageRequest.java index 9474b1b018d..67dd19d41fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CalendarSharingMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CalendarSharingMessageRequest.java @@ -112,6 +112,27 @@ public CalendarSharingMessage post(final CalendarSharingMessage newCalendarShari return send(HttpMethod.POST, newCalendarSharingMessage); } + /** + * Creates a CalendarSharingMessage with a new object + * + * @param newCalendarSharingMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CalendarSharingMessage newCalendarSharingMessage, final ICallback callback) { + send(HttpMethod.PUT, callback, newCalendarSharingMessage); + } + + /** + * Creates a CalendarSharingMessage with a new object + * + * @param newCalendarSharingMessage the object to create/update + * @return the created CalendarSharingMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CalendarSharingMessage put(final CalendarSharingMessage newCalendarSharingMessage) throws ClientException { + return send(HttpMethod.PUT, newCalendarSharingMessage); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CallRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CallRequest.java index 63c0ceb52bc..efe4b9cc418 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CallRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CallRequest.java @@ -134,6 +134,27 @@ public Call post(final Call newCall) throws ClientException { return send(HttpMethod.POST, newCall); } + /** + * Creates a Call with a new object + * + * @param newCall the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Call newCall, final ICallback callback) { + send(HttpMethod.PUT, callback, newCall); + } + + /** + * Creates a Call with a new object + * + * @param newCall the object to create/update + * @return the created Call + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Call put(final Call newCall) throws ClientException { + return send(HttpMethod.PUT, newCall); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CancelMediaProcessingOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CancelMediaProcessingOperationRequest.java index e4c3dd8c2ad..e354c483359 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CancelMediaProcessingOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CancelMediaProcessingOperationRequest.java @@ -111,6 +111,27 @@ public CancelMediaProcessingOperation post(final CancelMediaProcessingOperation return send(HttpMethod.POST, newCancelMediaProcessingOperation); } + /** + * Creates a CancelMediaProcessingOperation with a new object + * + * @param newCancelMediaProcessingOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CancelMediaProcessingOperation newCancelMediaProcessingOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newCancelMediaProcessingOperation); + } + + /** + * Creates a CancelMediaProcessingOperation with a new object + * + * @param newCancelMediaProcessingOperation the object to create/update + * @return the created CancelMediaProcessingOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CancelMediaProcessingOperation put(final CancelMediaProcessingOperation newCancelMediaProcessingOperation) throws ClientException { + return send(HttpMethod.PUT, newCancelMediaProcessingOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CertificateBasedAuthConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CertificateBasedAuthConfigurationRequest.java index 79b1c5e87be..07e49c3827d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CertificateBasedAuthConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CertificateBasedAuthConfigurationRequest.java @@ -111,6 +111,27 @@ public CertificateBasedAuthConfiguration post(final CertificateBasedAuthConfigur return send(HttpMethod.POST, newCertificateBasedAuthConfiguration); } + /** + * Creates a CertificateBasedAuthConfiguration with a new object + * + * @param newCertificateBasedAuthConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CertificateBasedAuthConfiguration newCertificateBasedAuthConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newCertificateBasedAuthConfiguration); + } + + /** + * Creates a CertificateBasedAuthConfiguration with a new object + * + * @param newCertificateBasedAuthConfiguration the object to create/update + * @return the created CertificateBasedAuthConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CertificateBasedAuthConfiguration put(final CertificateBasedAuthConfiguration newCertificateBasedAuthConfiguration) throws ClientException { + return send(HttpMethod.PUT, newCertificateBasedAuthConfiguration); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChangeTrackedEntityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ChangeTrackedEntityRequest.java index bdec4ffc0ff..5af724665df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChangeTrackedEntityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChangeTrackedEntityRequest.java @@ -126,6 +126,27 @@ public ChangeTrackedEntity post(final ChangeTrackedEntity newChangeTrackedEntity return send(HttpMethod.POST, newChangeTrackedEntity); } + /** + * Creates a ChangeTrackedEntity with a new object + * + * @param newChangeTrackedEntity the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ChangeTrackedEntity newChangeTrackedEntity, final ICallback callback) { + send(HttpMethod.PUT, callback, newChangeTrackedEntity); + } + + /** + * Creates a ChangeTrackedEntity with a new object + * + * @param newChangeTrackedEntity the object to create/update + * @return the created ChangeTrackedEntity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ChangeTrackedEntity put(final ChangeTrackedEntity newChangeTrackedEntity) throws ClientException { + return send(HttpMethod.PUT, newChangeTrackedEntity); + } + /** * Sets the select clause for the request * 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 a06f44aee0e..5699e3dcc95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChannelRequest.java @@ -125,6 +125,27 @@ public Channel post(final Channel newChannel) throws ClientException { return send(HttpMethod.POST, newChannel); } + /** + * Creates a Channel with a new object + * + * @param newChannel the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Channel newChannel, final ICallback callback) { + send(HttpMethod.PUT, callback, newChannel); + } + + /** + * Creates a Channel with a new object + * + * @param newChannel the object to create/update + * @return the created Channel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Channel put(final Channel newChannel) throws ClientException { + return send(HttpMethod.PUT, newChannel); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageHostedContentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageHostedContentRequest.java index fc50c465f33..1e0d239c93d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageHostedContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageHostedContentRequest.java @@ -111,6 +111,27 @@ public ChatMessageHostedContent post(final ChatMessageHostedContent newChatMessa return send(HttpMethod.POST, newChatMessageHostedContent); } + /** + * Creates a ChatMessageHostedContent with a new object + * + * @param newChatMessageHostedContent the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ChatMessageHostedContent newChatMessageHostedContent, final ICallback callback) { + send(HttpMethod.PUT, callback, newChatMessageHostedContent); + } + + /** + * Creates a ChatMessageHostedContent with a new object + * + * @param newChatMessageHostedContent the object to create/update + * @return the created ChatMessageHostedContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ChatMessageHostedContent put(final ChatMessageHostedContent newChatMessageHostedContent) throws ClientException { + return send(HttpMethod.PUT, newChatMessageHostedContent); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageRequest.java index b05d9ca9962..a33dd543c35 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ChatMessageRequest.java @@ -119,6 +119,27 @@ public ChatMessage post(final ChatMessage newChatMessage) throws ClientException return send(HttpMethod.POST, newChatMessage); } + /** + * Creates a ChatMessage with a new object + * + * @param newChatMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ChatMessage newChatMessage, final ICallback callback) { + send(HttpMethod.PUT, callback, newChatMessage); + } + + /** + * Creates a ChatMessage with a new object + * + * @param newChatMessage the object to create/update + * @return the created ChatMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ChatMessage put(final ChatMessage newChatMessage) throws ClientException { + return send(HttpMethod.PUT, newChatMessage); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ClaimsMappingPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ClaimsMappingPolicyRequest.java index 569cb341619..0f1a85aee0e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ClaimsMappingPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ClaimsMappingPolicyRequest.java @@ -111,6 +111,27 @@ public ClaimsMappingPolicy post(final ClaimsMappingPolicy newClaimsMappingPolicy return send(HttpMethod.POST, newClaimsMappingPolicy); } + /** + * Creates a ClaimsMappingPolicy with a new object + * + * @param newClaimsMappingPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ClaimsMappingPolicy newClaimsMappingPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newClaimsMappingPolicy); + } + + /** + * Creates a ClaimsMappingPolicy with a new object + * + * @param newClaimsMappingPolicy the object to create/update + * @return the created ClaimsMappingPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ClaimsMappingPolicy put(final ClaimsMappingPolicy newClaimsMappingPolicy) throws ClientException { + return send(HttpMethod.PUT, newClaimsMappingPolicy); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CloudCommunicationsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CloudCommunicationsRequest.java index cac14a195b9..61f3fce8039 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CloudCommunicationsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CloudCommunicationsRequest.java @@ -123,6 +123,27 @@ public CloudCommunications post(final CloudCommunications newCloudCommunications return send(HttpMethod.POST, newCloudCommunications); } + /** + * Creates a CloudCommunications with a new object + * + * @param newCloudCommunications the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CloudCommunications newCloudCommunications, final ICallback callback) { + send(HttpMethod.PUT, callback, newCloudCommunications); + } + + /** + * Creates a CloudCommunications with a new object + * + * @param newCloudCommunications the object to create/update + * @return the created CloudCommunications + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CloudCommunications put(final CloudCommunications newCloudCommunications) throws ClientException { + return send(HttpMethod.PUT, newCloudCommunications); + } + /** * Sets the select clause for the request * 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 625ac271961..e4c44a6fc90 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnDefinitionRequest.java @@ -111,6 +111,27 @@ public ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws return send(HttpMethod.POST, newColumnDefinition); } + /** + * Creates a ColumnDefinition with a new object + * + * @param newColumnDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ColumnDefinition newColumnDefinition, final ICallback callback) { + send(HttpMethod.PUT, callback, newColumnDefinition); + } + + /** + * Creates a ColumnDefinition with a new object + * + * @param newColumnDefinition the object to create/update + * @return the created ColumnDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnDefinition put(final ColumnDefinition newColumnDefinition) throws ClientException { + return send(HttpMethod.PUT, newColumnDefinition); + } + /** * Sets the select clause for the request * 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 60a4b7c17f4..dc68db0e7a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ColumnLinkRequest.java @@ -111,6 +111,27 @@ public ColumnLink post(final ColumnLink newColumnLink) throws ClientException { return send(HttpMethod.POST, newColumnLink); } + /** + * Creates a ColumnLink with a new object + * + * @param newColumnLink the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ColumnLink newColumnLink, final ICallback callback) { + send(HttpMethod.PUT, callback, newColumnLink); + } + + /** + * Creates a ColumnLink with a new object + * + * @param newColumnLink the object to create/update + * @return the created ColumnLink + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ColumnLink put(final ColumnLink newColumnLink) throws ClientException { + return send(HttpMethod.PUT, newColumnLink); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CommsOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CommsOperationRequest.java index ab9a4920e27..326ecc78022 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CommsOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CommsOperationRequest.java @@ -126,6 +126,27 @@ public CommsOperation post(final CommsOperation newCommsOperation) throws Client return send(HttpMethod.POST, newCommsOperation); } + /** + * Creates a CommsOperation with a new object + * + * @param newCommsOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CommsOperation newCommsOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newCommsOperation); + } + + /** + * Creates a CommsOperation with a new object + * + * @param newCommsOperation the object to create/update + * @return the created CommsOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CommsOperation put(final CommsOperation newCommsOperation) throws ClientException { + return send(HttpMethod.PUT, newCommsOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ComplianceManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ComplianceManagementPartnerRequest.java index 7eee33540a2..186306a6f5a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ComplianceManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ComplianceManagementPartnerRequest.java @@ -111,6 +111,27 @@ public ComplianceManagementPartner post(final ComplianceManagementPartner newCom return send(HttpMethod.POST, newComplianceManagementPartner); } + /** + * Creates a ComplianceManagementPartner with a new object + * + * @param newComplianceManagementPartner the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ComplianceManagementPartner newComplianceManagementPartner, final ICallback callback) { + send(HttpMethod.PUT, callback, newComplianceManagementPartner); + } + + /** + * Creates a ComplianceManagementPartner with a new object + * + * @param newComplianceManagementPartner the object to create/update + * @return the created ComplianceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ComplianceManagementPartner put(final ComplianceManagementPartner newComplianceManagementPartner) throws ClientException { + return send(HttpMethod.PUT, newComplianceManagementPartner); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessPolicyRequest.java index 33ae2196cf3..1e4254eb8cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessPolicyRequest.java @@ -111,6 +111,27 @@ public ConditionalAccessPolicy post(final ConditionalAccessPolicy newConditional return send(HttpMethod.POST, newConditionalAccessPolicy); } + /** + * Creates a ConditionalAccessPolicy with a new object + * + * @param newConditionalAccessPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ConditionalAccessPolicy newConditionalAccessPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newConditionalAccessPolicy); + } + + /** + * Creates a ConditionalAccessPolicy with a new object + * + * @param newConditionalAccessPolicy the object to create/update + * @return the created ConditionalAccessPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ConditionalAccessPolicy put(final ConditionalAccessPolicy newConditionalAccessPolicy) throws ClientException { + return send(HttpMethod.PUT, newConditionalAccessPolicy); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessRootRequest.java index 3149f6fd477..9cb6cb50422 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConditionalAccessRootRequest.java @@ -119,6 +119,27 @@ public ConditionalAccessRoot post(final ConditionalAccessRoot newConditionalAcce return send(HttpMethod.POST, newConditionalAccessRoot); } + /** + * Creates a ConditionalAccessRoot with a new object + * + * @param newConditionalAccessRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ConditionalAccessRoot newConditionalAccessRoot, final ICallback callback) { + send(HttpMethod.PUT, callback, newConditionalAccessRoot); + } + + /** + * Creates a ConditionalAccessRoot with a new object + * + * @param newConditionalAccessRoot the object to create/update + * @return the created ConditionalAccessRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ConditionalAccessRoot put(final ConditionalAccessRoot newConditionalAccessRoot) throws ClientException { + return send(HttpMethod.PUT, newConditionalAccessRoot); + } + /** * Sets the select clause for the request * 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 9ec648afb9e..96cb7ac628f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactFolderRequest.java @@ -127,6 +127,27 @@ public ContactFolder post(final ContactFolder newContactFolder) throws ClientExc return send(HttpMethod.POST, newContactFolder); } + /** + * Creates a ContactFolder with a new object + * + * @param newContactFolder the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ContactFolder newContactFolder, final ICallback callback) { + send(HttpMethod.PUT, callback, newContactFolder); + } + + /** + * Creates a ContactFolder with a new object + * + * @param newContactFolder the object to create/update + * @return the created ContactFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContactFolder put(final ContactFolder newContactFolder) throws ClientException { + return send(HttpMethod.PUT, newContactFolder); + } + /** * Sets the select clause for the request * 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 277df2525f3..2912e497d08 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContactRequest.java @@ -125,6 +125,27 @@ public Contact post(final Contact newContact) throws ClientException { return send(HttpMethod.POST, newContact); } + /** + * Creates a Contact with a new object + * + * @param newContact the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Contact newContact, final ICallback callback) { + send(HttpMethod.PUT, callback, newContact); + } + + /** + * Creates a Contact with a new object + * + * @param newContact the object to create/update + * @return the created Contact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contact put(final Contact newContact) throws ClientException { + return send(HttpMethod.PUT, newContact); + } + /** * Sets the select clause for the request * 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 00cb01ea32e..01ddaba20d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContentTypeRequest.java @@ -115,6 +115,27 @@ public ContentType post(final ContentType newContentType) throws ClientException return send(HttpMethod.POST, newContentType); } + /** + * Creates a ContentType with a new object + * + * @param newContentType the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ContentType newContentType, final ICallback callback) { + send(HttpMethod.PUT, callback, newContentType); + } + + /** + * Creates a ContentType with a new object + * + * @param newContentType the object to create/update + * @return the created ContentType + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ContentType put(final ContentType newContentType) throws ClientException { + return send(HttpMethod.PUT, newContentType); + } + /** * Sets the select clause for the request * 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 7fc04d40e40..4fce947ca6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ContractRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ContractRequest.java @@ -111,6 +111,27 @@ public Contract post(final Contract newContract) throws ClientException { return send(HttpMethod.POST, newContract); } + /** + * Creates a Contract with a new object + * + * @param newContract the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Contract newContract, final ICallback callback) { + send(HttpMethod.PUT, callback, newContract); + } + + /** + * Creates a Contract with a new object + * + * @param newContract the object to create/update + * @return the created Contract + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Contract put(final Contract newContract) throws ClientException { + return send(HttpMethod.PUT, newContract); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ConversationMemberRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ConversationMemberRequest.java index 95a4827799c..cc9f3098424 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationMemberRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationMemberRequest.java @@ -126,6 +126,27 @@ public ConversationMember post(final ConversationMember newConversationMember) t return send(HttpMethod.POST, newConversationMember); } + /** + * Creates a ConversationMember with a new object + * + * @param newConversationMember the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ConversationMember newConversationMember, final ICallback callback) { + send(HttpMethod.PUT, callback, newConversationMember); + } + + /** + * Creates a ConversationMember with a new object + * + * @param newConversationMember the object to create/update + * @return the created ConversationMember + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ConversationMember put(final ConversationMember newConversationMember) throws ClientException { + return send(HttpMethod.PUT, newConversationMember); + } + /** * Sets the select clause for the request * 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 1aff67daa85..a095622bf8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationRequest.java @@ -115,6 +115,27 @@ public Conversation post(final Conversation newConversation) throws ClientExcept return send(HttpMethod.POST, newConversation); } + /** + * Creates a Conversation with a new object + * + * @param newConversation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Conversation newConversation, final ICallback callback) { + send(HttpMethod.PUT, callback, newConversation); + } + + /** + * Creates a Conversation with a new object + * + * @param newConversation the object to create/update + * @return the created Conversation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Conversation put(final Conversation newConversation) throws ClientException { + return send(HttpMethod.PUT, newConversation); + } + /** * Sets the select clause for the 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 7837c04639e..989dcf1036d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ConversationThreadRequest.java @@ -116,6 +116,27 @@ public ConversationThread post(final ConversationThread newConversationThread) t return send(HttpMethod.POST, newConversationThread); } + /** + * Creates a ConversationThread with a new object + * + * @param newConversationThread the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ConversationThread newConversationThread, final ICallback callback) { + send(HttpMethod.PUT, callback, newConversationThread); + } + + /** + * Creates a ConversationThread with a new object + * + * @param newConversationThread the object to create/update + * @return the created ConversationThread + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ConversationThread put(final ConversationThread newConversationThread) throws ClientException { + return send(HttpMethod.PUT, newConversationThread); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/CountryNamedLocationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/CountryNamedLocationRequest.java index db996305fa9..a7459719f49 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/CountryNamedLocationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/CountryNamedLocationRequest.java @@ -111,6 +111,27 @@ public CountryNamedLocation post(final CountryNamedLocation newCountryNamedLocat return send(HttpMethod.POST, newCountryNamedLocation); } + /** + * Creates a CountryNamedLocation with a new object + * + * @param newCountryNamedLocation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final CountryNamedLocation newCountryNamedLocation, final ICallback callback) { + send(HttpMethod.PUT, callback, newCountryNamedLocation); + } + + /** + * Creates a CountryNamedLocation with a new object + * + * @param newCountryNamedLocation the object to create/update + * @return the created CountryNamedLocation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public CountryNamedLocation put(final CountryNamedLocation newCountryNamedLocation) throws ClientException { + return send(HttpMethod.PUT, newCountryNamedLocation); + } + /** * Sets the select clause for the request * 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 a702c3388b6..71f49ce3952 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DataPolicyOperationRequest.java @@ -111,6 +111,27 @@ public DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation return send(HttpMethod.POST, newDataPolicyOperation); } + /** + * Creates a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DataPolicyOperation newDataPolicyOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newDataPolicyOperation); + } + + /** + * Creates a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the object to create/update + * @return the created DataPolicyOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DataPolicyOperation put(final DataPolicyOperation newDataPolicyOperation) throws ClientException { + return send(HttpMethod.PUT, newDataPolicyOperation); + } + /** * Sets the select clause for the request * 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 b490e74e102..a5f1503676e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DefaultManagedAppProtectionRequest.java @@ -117,6 +117,27 @@ public DefaultManagedAppProtection post(final DefaultManagedAppProtection newDef return send(HttpMethod.POST, newDefaultManagedAppProtection); } + /** + * Creates a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newDefaultManagedAppProtection); + } + + /** + * Creates a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the object to create/update + * @return the created DefaultManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DefaultManagedAppProtection put(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException { + return send(HttpMethod.PUT, newDefaultManagedAppProtection); + } + /** * Sets the select clause for the request * 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 fe7d01ccb81..00b50967395 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DetectedAppRequest.java @@ -115,6 +115,27 @@ public DetectedApp post(final DetectedApp newDetectedApp) throws ClientException return send(HttpMethod.POST, newDetectedApp); } + /** + * Creates a DetectedApp with a new object + * + * @param newDetectedApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DetectedApp newDetectedApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newDetectedApp); + } + + /** + * Creates a DetectedApp with a new object + * + * @param newDetectedApp the object to create/update + * @return the created DetectedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DetectedApp put(final DetectedApp newDetectedApp) throws ClientException { + return send(HttpMethod.PUT, newDetectedApp); + } + /** * Sets the select clause for the request * 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 08ae3b230af..a1c7b910e0b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleAssignmentRequest.java @@ -111,6 +111,27 @@ public DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRol return send(HttpMethod.POST, newDeviceAndAppManagementRoleAssignment); } + /** + * Creates a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceAndAppManagementRoleAssignment); + } + + /** + * Creates a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the object to create/update + * @return the created DeviceAndAppManagementRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleAssignment put(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException { + return send(HttpMethod.PUT, newDeviceAndAppManagementRoleAssignment); + } + /** * Sets the select clause for the request * 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 82c64130b78..9f27bad729e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAndAppManagementRoleDefinitionRequest.java @@ -111,6 +111,27 @@ public DeviceAndAppManagementRoleDefinition post(final DeviceAndAppManagementRol return send(HttpMethod.POST, newDeviceAndAppManagementRoleDefinition); } + /** + * Creates a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceAndAppManagementRoleDefinition); + } + + /** + * Creates a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the object to create/update + * @return the created DeviceAndAppManagementRoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAndAppManagementRoleDefinition put(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition) throws ClientException { + return send(HttpMethod.PUT, newDeviceAndAppManagementRoleDefinition); + } + /** * Sets the select clause for the request * 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 5ac113f0e1d..5654ea6c58e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceAppManagementRequest.java @@ -167,6 +167,27 @@ public DeviceAppManagement post(final DeviceAppManagement newDeviceAppManagement return send(HttpMethod.POST, newDeviceAppManagement); } + /** + * Creates a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceAppManagement newDeviceAppManagement, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceAppManagement); + } + + /** + * Creates a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the object to create/update + * @return the created DeviceAppManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceAppManagement put(final DeviceAppManagement newDeviceAppManagement) throws ClientException { + return send(HttpMethod.PUT, newDeviceAppManagement); + } + /** * Sets the select clause for the request * 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 cdb9b022485..4627ea8768c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCategoryRequest.java @@ -111,6 +111,27 @@ public DeviceCategory post(final DeviceCategory newDeviceCategory) throws Client return send(HttpMethod.POST, newDeviceCategory); } + /** + * Creates a DeviceCategory with a new object + * + * @param newDeviceCategory the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceCategory newDeviceCategory, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceCategory); + } + + /** + * Creates a DeviceCategory with a new object + * + * @param newDeviceCategory the object to create/update + * @return the created DeviceCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCategory put(final DeviceCategory newDeviceCategory) throws ClientException { + return send(HttpMethod.PUT, newDeviceCategory); + } + /** * Sets the select clause for the request * 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 4bbe727af86..c0183867a84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceActionItemRequest.java @@ -111,6 +111,27 @@ public DeviceComplianceActionItem post(final DeviceComplianceActionItem newDevic return send(HttpMethod.POST, newDeviceComplianceActionItem); } + /** + * Creates a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceComplianceActionItem); + } + + /** + * Creates a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the object to create/update + * @return the created DeviceComplianceActionItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceActionItem put(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException { + return send(HttpMethod.PUT, newDeviceComplianceActionItem); + } + /** * Sets the select clause for the request * 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 938a0eb18f6..5b60ff7a31f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceOverviewRequest.java @@ -111,6 +111,27 @@ public DeviceComplianceDeviceOverview post(final DeviceComplianceDeviceOverview return send(HttpMethod.POST, newDeviceComplianceDeviceOverview); } + /** + * Creates a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceComplianceDeviceOverview); + } + + /** + * Creates a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the object to create/update + * @return the created DeviceComplianceDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceOverview put(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview) throws ClientException { + return send(HttpMethod.PUT, newDeviceComplianceDeviceOverview); + } + /** * Sets the select clause for the request * 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 7ec82507b25..656010c1bd3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceDeviceStatusRequest.java @@ -111,6 +111,27 @@ public DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newD return send(HttpMethod.POST, newDeviceComplianceDeviceStatus); } + /** + * Creates a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceComplianceDeviceStatus); + } + + /** + * Creates a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the object to create/update + * @return the created DeviceComplianceDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceDeviceStatus put(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException { + return send(HttpMethod.PUT, newDeviceComplianceDeviceStatus); + } + /** * Sets the select clause for the request * 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 379c533f7bf..3b1273f587f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyAssignmentRequest.java @@ -111,6 +111,27 @@ public DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignm return send(HttpMethod.POST, newDeviceCompliancePolicyAssignment); } + /** + * Creates a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceCompliancePolicyAssignment); + } + + /** + * Creates a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the object to create/update + * @return the created DeviceCompliancePolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyAssignment put(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException { + return send(HttpMethod.PUT, newDeviceCompliancePolicyAssignment); + } + /** * Sets the select clause for the request * 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 66d711f375f..e06b077392b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyDeviceStateSummaryRequest.java @@ -111,6 +111,27 @@ public DeviceCompliancePolicyDeviceStateSummary post(final DeviceCompliancePolic return send(HttpMethod.POST, newDeviceCompliancePolicyDeviceStateSummary); } + /** + * Creates a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceCompliancePolicyDeviceStateSummary); + } + + /** + * Creates a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the object to create/update + * @return the created DeviceCompliancePolicyDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyDeviceStateSummary put(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary) throws ClientException { + return send(HttpMethod.PUT, newDeviceCompliancePolicyDeviceStateSummary); + } + /** * Sets the select clause for the request * 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 88ebc5f88b8..ed3d3922997 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyRequest.java @@ -152,6 +152,27 @@ public DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceComplia return send(HttpMethod.POST, newDeviceCompliancePolicy); } + /** + * Creates a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceCompliancePolicy); + } + + /** + * Creates a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the object to create/update + * @return the created DeviceCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicy put(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newDeviceCompliancePolicy); + } + /** * Sets the select clause for the request * 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 5e597524fe9..6b06b30edd1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicySettingStateSummaryRequest.java @@ -115,6 +115,27 @@ public DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePoli return send(HttpMethod.POST, newDeviceCompliancePolicySettingStateSummary); } + /** + * Creates a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceCompliancePolicySettingStateSummary); + } + + /** + * Creates a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the object to create/update + * @return the created DeviceCompliancePolicySettingStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicySettingStateSummary put(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException { + return send(HttpMethod.PUT, newDeviceCompliancePolicySettingStateSummary); + } + /** * Sets the select clause for the request * 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 16c2e84e5e7..581d0262b9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceCompliancePolicyStateRequest.java @@ -111,6 +111,27 @@ public DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDev return send(HttpMethod.POST, newDeviceCompliancePolicyState); } + /** + * Creates a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceCompliancePolicyState); + } + + /** + * Creates a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the object to create/update + * @return the created DeviceCompliancePolicyState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceCompliancePolicyState put(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException { + return send(HttpMethod.PUT, newDeviceCompliancePolicyState); + } + /** * Sets the select clause for the request * 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 edf55494d25..8520628898f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceScheduledActionForRuleRequest.java @@ -115,6 +115,27 @@ public DeviceComplianceScheduledActionForRule post(final DeviceComplianceSchedul return send(HttpMethod.POST, newDeviceComplianceScheduledActionForRule); } + /** + * Creates a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceComplianceScheduledActionForRule); + } + + /** + * Creates a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the object to create/update + * @return the created DeviceComplianceScheduledActionForRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceScheduledActionForRule put(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException { + return send(HttpMethod.PUT, newDeviceComplianceScheduledActionForRule); + } + /** * Sets the select clause for the request * 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 36f476777fd..12ce33104b6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceSettingStateRequest.java @@ -111,6 +111,27 @@ public DeviceComplianceSettingState post(final DeviceComplianceSettingState newD return send(HttpMethod.POST, newDeviceComplianceSettingState); } + /** + * Creates a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceComplianceSettingState); + } + + /** + * Creates a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the object to create/update + * @return the created DeviceComplianceSettingState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceSettingState put(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException { + return send(HttpMethod.PUT, newDeviceComplianceSettingState); + } + /** * Sets the select clause for the request * 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 6d4401c38c0..77e11d0094f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserOverviewRequest.java @@ -111,6 +111,27 @@ public DeviceComplianceUserOverview post(final DeviceComplianceUserOverview newD return send(HttpMethod.POST, newDeviceComplianceUserOverview); } + /** + * Creates a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceComplianceUserOverview newDeviceComplianceUserOverview, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceComplianceUserOverview); + } + + /** + * Creates a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the object to create/update + * @return the created DeviceComplianceUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserOverview put(final DeviceComplianceUserOverview newDeviceComplianceUserOverview) throws ClientException { + return send(HttpMethod.PUT, newDeviceComplianceUserOverview); + } + /** * Sets the select clause for the request * 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 fc257a14e09..6104fe3ccdc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceComplianceUserStatusRequest.java @@ -111,6 +111,27 @@ public DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDevic return send(HttpMethod.POST, newDeviceComplianceUserStatus); } + /** + * Creates a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceComplianceUserStatus); + } + + /** + * Creates a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the object to create/update + * @return the created DeviceComplianceUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceComplianceUserStatus put(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException { + return send(HttpMethod.PUT, newDeviceComplianceUserStatus); + } + /** * Sets the select clause for the request * 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 4cfeac0b166..9e109f2f0e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationAssignmentRequest.java @@ -111,6 +111,27 @@ public DeviceConfigurationAssignment post(final DeviceConfigurationAssignment ne return send(HttpMethod.POST, newDeviceConfigurationAssignment); } + /** + * Creates a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfigurationAssignment); + } + + /** + * Creates a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the object to create/update + * @return the created DeviceConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationAssignment put(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfigurationAssignment); + } + /** * Sets the select clause for the request * 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 6aa7691a867..da2cfaab779 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceOverviewRequest.java @@ -111,6 +111,27 @@ public DeviceConfigurationDeviceOverview post(final DeviceConfigurationDeviceOve return send(HttpMethod.POST, newDeviceConfigurationDeviceOverview); } + /** + * Creates a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfigurationDeviceOverview); + } + + /** + * Creates a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the object to create/update + * @return the created DeviceConfigurationDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceOverview put(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfigurationDeviceOverview); + } + /** * Sets the select clause for the request * 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 63e07fe0189..ff450155c4a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStateSummaryRequest.java @@ -111,6 +111,27 @@ public DeviceConfigurationDeviceStateSummary post(final DeviceConfigurationDevic return send(HttpMethod.POST, newDeviceConfigurationDeviceStateSummary); } + /** + * Creates a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfigurationDeviceStateSummary); + } + + /** + * Creates a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the object to create/update + * @return the created DeviceConfigurationDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStateSummary put(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfigurationDeviceStateSummary); + } + /** * Sets the select clause for the request * 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 e72fcbd8ba9..50deb97b80f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationDeviceStatusRequest.java @@ -111,6 +111,27 @@ public DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatu return send(HttpMethod.POST, newDeviceConfigurationDeviceStatus); } + /** + * Creates a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfigurationDeviceStatus); + } + + /** + * Creates a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the object to create/update + * @return the created DeviceConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationDeviceStatus put(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfigurationDeviceStatus); + } + /** * Sets the select clause for the request * 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 5dbec817925..975364e75e8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationRequest.java @@ -147,6 +147,27 @@ public DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration return send(HttpMethod.POST, newDeviceConfiguration); } + /** + * Creates a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfiguration newDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfiguration); + } + + /** + * Creates a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the object to create/update + * @return the created DeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfiguration put(final DeviceConfiguration newDeviceConfiguration) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfiguration); + } + /** * Sets the select clause for the request * 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 edd0857ba4b..f83828b42f2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationStateRequest.java @@ -111,6 +111,27 @@ public DeviceConfigurationState post(final DeviceConfigurationState newDeviceCon return send(HttpMethod.POST, newDeviceConfigurationState); } + /** + * Creates a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfigurationState); + } + + /** + * Creates a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the object to create/update + * @return the created DeviceConfigurationState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationState put(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfigurationState); + } + /** * Sets the select clause for the request * 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 e0ac3133ff1..d90e2389395 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserOverviewRequest.java @@ -111,6 +111,27 @@ public DeviceConfigurationUserOverview post(final DeviceConfigurationUserOvervie return send(HttpMethod.POST, newDeviceConfigurationUserOverview); } + /** + * Creates a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfigurationUserOverview); + } + + /** + * Creates a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the object to create/update + * @return the created DeviceConfigurationUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserOverview put(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfigurationUserOverview); + } + /** * Sets the select clause for the request * 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 b87d5c231c5..a7c0e26fa4c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceConfigurationUserStatusRequest.java @@ -111,6 +111,27 @@ public DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus ne return send(HttpMethod.POST, newDeviceConfigurationUserStatus); } + /** + * Creates a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceConfigurationUserStatus); + } + + /** + * Creates a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the object to create/update + * @return the created DeviceConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceConfigurationUserStatus put(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException { + return send(HttpMethod.PUT, newDeviceConfigurationUserStatus); + } + /** * Sets the select clause for the request * 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 bbf21c65085..c1bc1e3a433 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentConfigurationRequest.java @@ -131,6 +131,27 @@ public DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration ne return send(HttpMethod.POST, newDeviceEnrollmentConfiguration); } + /** + * Creates a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceEnrollmentConfiguration); + } + + /** + * Creates a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the object to create/update + * @return the created DeviceEnrollmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentConfiguration put(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException { + return send(HttpMethod.PUT, newDeviceEnrollmentConfiguration); + } + /** * Sets the select clause for the 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 8f563307a85..e93ef8489c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentLimitConfigurationRequest.java @@ -111,6 +111,27 @@ public DeviceEnrollmentLimitConfiguration post(final DeviceEnrollmentLimitConfig return send(HttpMethod.POST, newDeviceEnrollmentLimitConfiguration); } + /** + * Creates a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceEnrollmentLimitConfiguration); + } + + /** + * Creates a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the object to create/update + * @return the created DeviceEnrollmentLimitConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentLimitConfiguration put(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration) throws ClientException { + return send(HttpMethod.PUT, newDeviceEnrollmentLimitConfiguration); + } + /** * Sets the select clause for the request * 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 cf542044304..1f72fbe1595 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentPlatformRestrictionsConfigurationRequest.java @@ -111,6 +111,27 @@ public DeviceEnrollmentPlatformRestrictionsConfiguration post(final DeviceEnroll return send(HttpMethod.POST, newDeviceEnrollmentPlatformRestrictionsConfiguration); } + /** + * Creates a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceEnrollmentPlatformRestrictionsConfiguration); + } + + /** + * Creates a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the object to create/update + * @return the created DeviceEnrollmentPlatformRestrictionsConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentPlatformRestrictionsConfiguration put(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException { + return send(HttpMethod.PUT, newDeviceEnrollmentPlatformRestrictionsConfiguration); + } + /** * Sets the select clause for the request * 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 7dcb3de0457..d225bd6bbb7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java @@ -111,6 +111,27 @@ public DeviceEnrollmentWindowsHelloForBusinessConfiguration post(final DeviceEnr return send(HttpMethod.POST, newDeviceEnrollmentWindowsHelloForBusinessConfiguration); } + /** + * Creates a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceEnrollmentWindowsHelloForBusinessConfiguration); + } + + /** + * Creates a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the object to create/update + * @return the created DeviceEnrollmentWindowsHelloForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceEnrollmentWindowsHelloForBusinessConfiguration put(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException { + return send(HttpMethod.PUT, newDeviceEnrollmentWindowsHelloForBusinessConfiguration); + } + /** * Sets the select clause for the request * 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 5c5b636b1ba..d1679534387 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceInstallStateRequest.java @@ -111,6 +111,27 @@ public DeviceInstallState post(final DeviceInstallState newDeviceInstallState) t return send(HttpMethod.POST, newDeviceInstallState); } + /** + * Creates a DeviceInstallState with a new object + * + * @param newDeviceInstallState the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceInstallState newDeviceInstallState, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceInstallState); + } + + /** + * Creates a DeviceInstallState with a new object + * + * @param newDeviceInstallState the object to create/update + * @return the created DeviceInstallState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceInstallState put(final DeviceInstallState newDeviceInstallState) throws ClientException { + return send(HttpMethod.PUT, newDeviceInstallState); + } + /** * Sets the select clause for the request * 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 6fe321ad715..52c4fd13135 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementExchangeConnectorRequest.java @@ -112,6 +112,27 @@ public DeviceManagementExchangeConnector post(final DeviceManagementExchangeConn return send(HttpMethod.POST, newDeviceManagementExchangeConnector); } + /** + * Creates a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceManagementExchangeConnector); + } + + /** + * Creates a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the object to create/update + * @return the created DeviceManagementExchangeConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementExchangeConnector put(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException { + return send(HttpMethod.PUT, newDeviceManagementExchangeConnector); + } + /** * Sets the select clause for the request * 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 bd1a7def30a..b63ef0f69cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementPartnerRequest.java @@ -111,6 +111,27 @@ public DeviceManagementPartner post(final DeviceManagementPartner newDeviceManag return send(HttpMethod.POST, newDeviceManagementPartner); } + /** + * Creates a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceManagementPartner); + } + + /** + * Creates a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the object to create/update + * @return the created DeviceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementPartner put(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException { + return send(HttpMethod.PUT, newDeviceManagementPartner); + } + /** * Sets the select clause for the request * 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 643934a8a85..60e3abcade1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementRequest.java @@ -212,6 +212,27 @@ public DeviceManagement post(final DeviceManagement newDeviceManagement) throws return send(HttpMethod.POST, newDeviceManagement); } + /** + * Creates a DeviceManagement with a new object + * + * @param newDeviceManagement the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceManagement newDeviceManagement, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceManagement); + } + + /** + * Creates a DeviceManagement with a new object + * + * @param newDeviceManagement the object to create/update + * @return the created DeviceManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagement put(final DeviceManagement newDeviceManagement) throws ClientException { + return send(HttpMethod.PUT, newDeviceManagement); + } + /** * Sets the select clause for the request * 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 c4b77be56c5..5fb5a42931f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceManagementTroubleshootingEventRequest.java @@ -126,6 +126,27 @@ public DeviceManagementTroubleshootingEvent post(final DeviceManagementTroublesh return send(HttpMethod.POST, newDeviceManagementTroubleshootingEvent); } + /** + * Creates a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback) { + send(HttpMethod.PUT, callback, newDeviceManagementTroubleshootingEvent); + } + + /** + * Creates a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the object to create/update + * @return the created DeviceManagementTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DeviceManagementTroubleshootingEvent put(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException { + return send(HttpMethod.PUT, newDeviceManagementTroubleshootingEvent); + } + /** * Sets the select clause for the 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 4fb012646d0..b50d3c3e3f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DeviceRequest.java @@ -119,6 +119,27 @@ public Device post(final Device newDevice) throws ClientException { return send(HttpMethod.POST, newDevice); } + /** + * Creates a Device with a new object + * + * @param newDevice the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Device newDevice, final ICallback callback) { + send(HttpMethod.PUT, callback, newDevice); + } + + /** + * Creates a Device with a new object + * + * @param newDevice the object to create/update + * @return the created Device + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Device put(final Device newDevice) throws ClientException { + return send(HttpMethod.PUT, newDevice); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryAuditRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryAuditRequest.java index 08336c1caa2..2e1da8158f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryAuditRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryAuditRequest.java @@ -111,6 +111,27 @@ public DirectoryAudit post(final DirectoryAudit newDirectoryAudit) throws Client return send(HttpMethod.POST, newDirectoryAudit); } + /** + * Creates a DirectoryAudit with a new object + * + * @param newDirectoryAudit the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DirectoryAudit newDirectoryAudit, final ICallback callback) { + send(HttpMethod.PUT, callback, newDirectoryAudit); + } + + /** + * Creates a DirectoryAudit with a new object + * + * @param newDirectoryAudit the object to create/update + * @return the created DirectoryAudit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryAudit put(final DirectoryAudit newDirectoryAudit) throws ClientException { + return send(HttpMethod.PUT, newDirectoryAudit); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectPartnerReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectPartnerReferenceRequest.java index 28ab5f9a64d..a9c0fac1572 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectPartnerReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectPartnerReferenceRequest.java @@ -111,6 +111,27 @@ public DirectoryObjectPartnerReference post(final DirectoryObjectPartnerReferenc return send(HttpMethod.POST, newDirectoryObjectPartnerReference); } + /** + * Creates a DirectoryObjectPartnerReference with a new object + * + * @param newDirectoryObjectPartnerReference the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DirectoryObjectPartnerReference newDirectoryObjectPartnerReference, final ICallback callback) { + send(HttpMethod.PUT, callback, newDirectoryObjectPartnerReference); + } + + /** + * Creates a DirectoryObjectPartnerReference with a new object + * + * @param newDirectoryObjectPartnerReference the object to create/update + * @return the created DirectoryObjectPartnerReference + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryObjectPartnerReference put(final DirectoryObjectPartnerReference newDirectoryObjectPartnerReference) throws ClientException { + return send(HttpMethod.PUT, newDirectoryObjectPartnerReference); + } + /** * Sets the select clause for the request * 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 29bb52f4bf8..7b3ee42119d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryObjectRequest.java @@ -127,6 +127,27 @@ public DirectoryObject post(final DirectoryObject newDirectoryObject) throws Cli return send(HttpMethod.POST, newDirectoryObject); } + /** + * Creates a DirectoryObject with a new object + * + * @param newDirectoryObject the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DirectoryObject newDirectoryObject, final ICallback callback) { + send(HttpMethod.PUT, callback, newDirectoryObject); + } + + /** + * Creates a DirectoryObject with a new object + * + * @param newDirectoryObject the object to create/update + * @return the created DirectoryObject + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryObject put(final DirectoryObject newDirectoryObject) throws ClientException { + return send(HttpMethod.PUT, newDirectoryObject); + } + /** * Sets the select clause for the request * 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 944ab8e63b3..394fc35399b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRequest.java @@ -115,6 +115,27 @@ public Directory post(final Directory newDirectory) throws ClientException { return send(HttpMethod.POST, newDirectory); } + /** + * Creates a Directory with a new object + * + * @param newDirectory the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Directory newDirectory, final ICallback callback) { + send(HttpMethod.PUT, callback, newDirectory); + } + + /** + * Creates a Directory with a new object + * + * @param newDirectory the object to create/update + * @return the created Directory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Directory put(final Directory newDirectory) throws ClientException { + return send(HttpMethod.PUT, newDirectory); + } + /** * Sets the select clause for the request * 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 18b3c0010bf..c54401c1f4a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleRequest.java @@ -115,6 +115,27 @@ public DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientExc return send(HttpMethod.POST, newDirectoryRole); } + /** + * Creates a DirectoryRole with a new object + * + * @param newDirectoryRole the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DirectoryRole newDirectoryRole, final ICallback callback) { + send(HttpMethod.PUT, callback, newDirectoryRole); + } + + /** + * Creates a DirectoryRole with a new object + * + * @param newDirectoryRole the object to create/update + * @return the created DirectoryRole + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRole put(final DirectoryRole newDirectoryRole) throws ClientException { + return send(HttpMethod.PUT, newDirectoryRole); + } + /** * Sets the select clause for the request * 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 c143f807952..df7a78af187 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DirectoryRoleTemplateRequest.java @@ -111,6 +111,27 @@ public DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTe return send(HttpMethod.POST, newDirectoryRoleTemplate); } + /** + * Creates a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback) { + send(HttpMethod.PUT, callback, newDirectoryRoleTemplate); + } + + /** + * Creates a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the object to create/update + * @return the created DirectoryRoleTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DirectoryRoleTemplate put(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException { + return send(HttpMethod.PUT, newDirectoryRoleTemplate); + } + /** * Sets the select clause for the request * 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 017dc7a853d..3a86395f280 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsCnameRecordRequest.java @@ -111,6 +111,27 @@ public DomainDnsCnameRecord post(final DomainDnsCnameRecord newDomainDnsCnameRec return send(HttpMethod.POST, newDomainDnsCnameRecord); } + /** + * Creates a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DomainDnsCnameRecord newDomainDnsCnameRecord, final ICallback callback) { + send(HttpMethod.PUT, callback, newDomainDnsCnameRecord); + } + + /** + * Creates a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the object to create/update + * @return the created DomainDnsCnameRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsCnameRecord put(final DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException { + return send(HttpMethod.PUT, newDomainDnsCnameRecord); + } + /** * Sets the select clause for the request * 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 571e9dd257b..71f8191716a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsMxRecordRequest.java @@ -111,6 +111,27 @@ public DomainDnsMxRecord post(final DomainDnsMxRecord newDomainDnsMxRecord) thro return send(HttpMethod.POST, newDomainDnsMxRecord); } + /** + * Creates a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DomainDnsMxRecord newDomainDnsMxRecord, final ICallback callback) { + send(HttpMethod.PUT, callback, newDomainDnsMxRecord); + } + + /** + * Creates a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the object to create/update + * @return the created DomainDnsMxRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsMxRecord put(final DomainDnsMxRecord newDomainDnsMxRecord) throws ClientException { + return send(HttpMethod.PUT, newDomainDnsMxRecord); + } + /** * Sets the select clause for the request * 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 9560c35f072..86962d16973 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsRecordRequest.java @@ -126,6 +126,27 @@ public DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws Cli return send(HttpMethod.POST, newDomainDnsRecord); } + /** + * Creates a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DomainDnsRecord newDomainDnsRecord, final ICallback callback) { + send(HttpMethod.PUT, callback, newDomainDnsRecord); + } + + /** + * Creates a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the object to create/update + * @return the created DomainDnsRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsRecord put(final DomainDnsRecord newDomainDnsRecord) throws ClientException { + return send(HttpMethod.PUT, newDomainDnsRecord); + } + /** * Sets the select clause for the request * 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 f7d00f28965..88bbd4a4b79 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsSrvRecordRequest.java @@ -111,6 +111,27 @@ public DomainDnsSrvRecord post(final DomainDnsSrvRecord newDomainDnsSrvRecord) t return send(HttpMethod.POST, newDomainDnsSrvRecord); } + /** + * Creates a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DomainDnsSrvRecord newDomainDnsSrvRecord, final ICallback callback) { + send(HttpMethod.PUT, callback, newDomainDnsSrvRecord); + } + + /** + * Creates a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the object to create/update + * @return the created DomainDnsSrvRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsSrvRecord put(final DomainDnsSrvRecord newDomainDnsSrvRecord) throws ClientException { + return send(HttpMethod.PUT, newDomainDnsSrvRecord); + } + /** * Sets the select clause for the request * 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 96be8a612c1..4421e7111e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsTxtRecordRequest.java @@ -111,6 +111,27 @@ public DomainDnsTxtRecord post(final DomainDnsTxtRecord newDomainDnsTxtRecord) t return send(HttpMethod.POST, newDomainDnsTxtRecord); } + /** + * Creates a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DomainDnsTxtRecord newDomainDnsTxtRecord, final ICallback callback) { + send(HttpMethod.PUT, callback, newDomainDnsTxtRecord); + } + + /** + * Creates a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the object to create/update + * @return the created DomainDnsTxtRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsTxtRecord put(final DomainDnsTxtRecord newDomainDnsTxtRecord) throws ClientException { + return send(HttpMethod.PUT, newDomainDnsTxtRecord); + } + /** * Sets the select clause for the request * 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 be4b7a0df81..5e5edb1dafe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainDnsUnavailableRecordRequest.java @@ -111,6 +111,27 @@ public DomainDnsUnavailableRecord post(final DomainDnsUnavailableRecord newDomai return send(HttpMethod.POST, newDomainDnsUnavailableRecord); } + /** + * Creates a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord, final ICallback callback) { + send(HttpMethod.PUT, callback, newDomainDnsUnavailableRecord); + } + + /** + * Creates a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the object to create/update + * @return the created DomainDnsUnavailableRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DomainDnsUnavailableRecord put(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord) throws ClientException { + return send(HttpMethod.PUT, newDomainDnsUnavailableRecord); + } + /** * Sets the select clause for the 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 42f32fc3b42..836edb4322c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DomainRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DomainRequest.java @@ -119,6 +119,27 @@ public Domain post(final Domain newDomain) throws ClientException { return send(HttpMethod.POST, newDomain); } + /** + * Creates a Domain with a new object + * + * @param newDomain the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Domain newDomain, final ICallback callback) { + send(HttpMethod.PUT, callback, newDomain); + } + + /** + * Creates a Domain with a new object + * + * @param newDomain the object to create/update + * @return the created Domain + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Domain put(final Domain newDomain) throws ClientException { + return send(HttpMethod.PUT, newDomain); + } + /** * Sets the select clause for the 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 5717905f229..5929286ed13 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemRequest.java @@ -144,6 +144,27 @@ public DriveItem post(final DriveItem newDriveItem) throws ClientException { return send(HttpMethod.POST, newDriveItem); } + /** + * Creates a DriveItem with a new object + * + * @param newDriveItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DriveItem newDriveItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newDriveItem); + } + + /** + * Creates a DriveItem with a new object + * + * @param newDriveItem the object to create/update + * @return the created DriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItem put(final DriveItem newDriveItem) throws ClientException { + return send(HttpMethod.PUT, newDriveItem); + } + /** * Sets the select clause for the request * 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 1c8ae5ac6d3..6efe058de92 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveItemVersionRequest.java @@ -111,6 +111,27 @@ public DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws return send(HttpMethod.POST, newDriveItemVersion); } + /** + * Creates a DriveItemVersion with a new object + * + * @param newDriveItemVersion the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final DriveItemVersion newDriveItemVersion, final ICallback callback) { + send(HttpMethod.PUT, callback, newDriveItemVersion); + } + + /** + * Creates a DriveItemVersion with a new object + * + * @param newDriveItemVersion the object to create/update + * @return the created DriveItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public DriveItemVersion put(final DriveItemVersion newDriveItemVersion) throws ClientException { + return send(HttpMethod.PUT, newDriveItemVersion); + } + /** * Sets the select clause for the request * 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 6321a7b3979..10d950dc9c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/DriveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/DriveRequest.java @@ -118,6 +118,27 @@ public Drive post(final Drive newDrive) throws ClientException { return send(HttpMethod.POST, newDrive); } + /** + * Creates a Drive with a new object + * + * @param newDrive the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Drive newDrive, final ICallback callback) { + send(HttpMethod.PUT, callback, newDrive); + } + + /** + * Creates a Drive with a new object + * + * @param newDrive the object to create/update + * @return the created Drive + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Drive put(final Drive newDrive) throws ClientException { + return send(HttpMethod.PUT, newDrive); + } + /** * Sets the select clause for the request * 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 acb6eeeb136..d76ed16db70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EBookInstallSummaryRequest.java @@ -111,6 +111,27 @@ public EBookInstallSummary post(final EBookInstallSummary newEBookInstallSummary return send(HttpMethod.POST, newEBookInstallSummary); } + /** + * Creates a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EBookInstallSummary newEBookInstallSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newEBookInstallSummary); + } + + /** + * Creates a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the object to create/update + * @return the created EBookInstallSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EBookInstallSummary put(final EBookInstallSummary newEBookInstallSummary) throws ClientException { + return send(HttpMethod.PUT, newEBookInstallSummary); + } + /** * Sets the select clause for the request * 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 2a592febd53..6916988303c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EditionUpgradeConfigurationRequest.java @@ -111,6 +111,27 @@ public EditionUpgradeConfiguration post(final EditionUpgradeConfiguration newEdi return send(HttpMethod.POST, newEditionUpgradeConfiguration); } + /** + * Creates a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EditionUpgradeConfiguration newEditionUpgradeConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newEditionUpgradeConfiguration); + } + + /** + * Creates a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the object to create/update + * @return the created EditionUpgradeConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EditionUpgradeConfiguration put(final EditionUpgradeConfiguration newEditionUpgradeConfiguration) throws ClientException { + return send(HttpMethod.PUT, newEditionUpgradeConfiguration); + } + /** * Sets the select clause for the request * 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 79e3f3e7687..4cf305ad35b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationClassRequest.java @@ -121,6 +121,27 @@ public EducationClass post(final EducationClass newEducationClass) throws Client return send(HttpMethod.POST, newEducationClass); } + /** + * Creates a EducationClass with a new object + * + * @param newEducationClass the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EducationClass newEducationClass, final ICallback callback) { + send(HttpMethod.PUT, callback, newEducationClass); + } + + /** + * Creates a EducationClass with a new object + * + * @param newEducationClass the object to create/update + * @return the created EducationClass + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationClass put(final EducationClass newEducationClass) throws ClientException { + return send(HttpMethod.PUT, newEducationClass); + } + /** * Sets the select clause for the request * 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 a2ab80cd3ec..004b43c5d30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationOrganizationRequest.java @@ -126,6 +126,27 @@ public EducationOrganization post(final EducationOrganization newEducationOrgani return send(HttpMethod.POST, newEducationOrganization); } + /** + * Creates a EducationOrganization with a new object + * + * @param newEducationOrganization the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EducationOrganization newEducationOrganization, final ICallback callback) { + send(HttpMethod.PUT, callback, newEducationOrganization); + } + + /** + * Creates a EducationOrganization with a new object + * + * @param newEducationOrganization the object to create/update + * @return the created EducationOrganization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationOrganization put(final EducationOrganization newEducationOrganization) throws ClientException { + return send(HttpMethod.PUT, newEducationOrganization); + } + /** * Sets the select clause for the request * 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 bfaa831ddb4..2e0009bfdab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationRootRequest.java @@ -123,6 +123,27 @@ public EducationRoot post(final EducationRoot newEducationRoot) throws ClientExc return send(HttpMethod.POST, newEducationRoot); } + /** + * Creates a EducationRoot with a new object + * + * @param newEducationRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EducationRoot newEducationRoot, final ICallback callback) { + send(HttpMethod.PUT, callback, newEducationRoot); + } + + /** + * Creates a EducationRoot with a new object + * + * @param newEducationRoot the object to create/update + * @return the created EducationRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationRoot put(final EducationRoot newEducationRoot) throws ClientException { + return send(HttpMethod.PUT, newEducationRoot); + } + /** * Sets the select clause for the request * 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 17a3f6203d6..f911359fc42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationSchoolRequest.java @@ -119,6 +119,27 @@ public EducationSchool post(final EducationSchool newEducationSchool) throws Cli return send(HttpMethod.POST, newEducationSchool); } + /** + * Creates a EducationSchool with a new object + * + * @param newEducationSchool the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EducationSchool newEducationSchool, final ICallback callback) { + send(HttpMethod.PUT, callback, newEducationSchool); + } + + /** + * Creates a EducationSchool with a new object + * + * @param newEducationSchool the object to create/update + * @return the created EducationSchool + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationSchool put(final EducationSchool newEducationSchool) throws ClientException { + return send(HttpMethod.PUT, newEducationSchool); + } + /** * Sets the select clause for the request * 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 1c53fdf1671..86f6aa738ef 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EducationUserRequest.java @@ -121,6 +121,27 @@ public EducationUser post(final EducationUser newEducationUser) throws ClientExc return send(HttpMethod.POST, newEducationUser); } + /** + * Creates a EducationUser with a new object + * + * @param newEducationUser the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EducationUser newEducationUser, final ICallback callback) { + send(HttpMethod.PUT, callback, newEducationUser); + } + + /** + * Creates a EducationUser with a new object + * + * @param newEducationUser the object to create/update + * @return the created EducationUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EducationUser put(final EducationUser newEducationUser) throws ClientException { + return send(HttpMethod.PUT, newEducationUser); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EmailFileAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EmailFileAssessmentRequestRequest.java index 5d2a7ab076b..a959a6b7b9a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EmailFileAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EmailFileAssessmentRequestRequest.java @@ -111,6 +111,27 @@ public EmailFileAssessmentRequest post(final EmailFileAssessmentRequest newEmail return send(HttpMethod.POST, newEmailFileAssessmentRequest); } + /** + * Creates a EmailFileAssessmentRequest with a new object + * + * @param newEmailFileAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EmailFileAssessmentRequest newEmailFileAssessmentRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newEmailFileAssessmentRequest); + } + + /** + * Creates a EmailFileAssessmentRequest with a new object + * + * @param newEmailFileAssessmentRequest the object to create/update + * @return the created EmailFileAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EmailFileAssessmentRequest put(final EmailFileAssessmentRequest newEmailFileAssessmentRequest) throws ClientException { + return send(HttpMethod.PUT, newEmailFileAssessmentRequest); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EndpointRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EndpointRequest.java index c3536503f2a..3827209b2de 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EndpointRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EndpointRequest.java @@ -111,6 +111,27 @@ public Endpoint post(final Endpoint newEndpoint) throws ClientException { return send(HttpMethod.POST, newEndpoint); } + /** + * Creates a Endpoint with a new object + * + * @param newEndpoint the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Endpoint newEndpoint, final ICallback callback) { + send(HttpMethod.PUT, callback, newEndpoint); + } + + /** + * Creates a Endpoint with a new object + * + * @param newEndpoint the object to create/update + * @return the created Endpoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Endpoint put(final Endpoint newEndpoint) throws ClientException { + return send(HttpMethod.PUT, newEndpoint); + } + /** * Sets the select clause for the request * 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 c808351eb57..90262183133 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentConfigurationAssignmentRequest.java @@ -111,6 +111,27 @@ public EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssig return send(HttpMethod.POST, newEnrollmentConfigurationAssignment); } + /** + * Creates a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newEnrollmentConfigurationAssignment); + } + + /** + * Creates a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the object to create/update + * @return the created EnrollmentConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentConfigurationAssignment put(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException { + return send(HttpMethod.PUT, newEnrollmentConfigurationAssignment); + } + /** * Sets the select clause for the request * 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 e1f64dd0b3a..8397fbd442e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EnrollmentTroubleshootingEventRequest.java @@ -111,6 +111,27 @@ public EnrollmentTroubleshootingEvent post(final EnrollmentTroubleshootingEvent return send(HttpMethod.POST, newEnrollmentTroubleshootingEvent); } + /** + * Creates a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent, final ICallback callback) { + send(HttpMethod.PUT, callback, newEnrollmentTroubleshootingEvent); + } + + /** + * Creates a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the object to create/update + * @return the created EnrollmentTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EnrollmentTroubleshootingEvent put(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent) throws ClientException { + return send(HttpMethod.PUT, newEnrollmentTroubleshootingEvent); + } + /** * Sets the select clause for the 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 7e8c57a8476..816923f1c3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequest.java @@ -128,6 +128,27 @@ public EventMessage post(final EventMessage newEventMessage) throws ClientExcept return send(HttpMethod.POST, newEventMessage); } + /** + * Creates a EventMessage with a new object + * + * @param newEventMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EventMessage newEventMessage, final ICallback callback) { + send(HttpMethod.PUT, callback, newEventMessage); + } + + /** + * Creates a EventMessage with a new object + * + * @param newEventMessage the object to create/update + * @return the created EventMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EventMessage put(final EventMessage newEventMessage) throws ClientException { + return send(HttpMethod.PUT, newEventMessage); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestRequest.java index 6c0f198c0c7..742532e4b65 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageRequestRequest.java @@ -111,6 +111,27 @@ public EventMessageRequest post(final EventMessageRequest newEventMessageRequest return send(HttpMethod.POST, newEventMessageRequest); } + /** + * Creates a EventMessageRequest with a new object + * + * @param newEventMessageRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EventMessageRequest newEventMessageRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newEventMessageRequest); + } + + /** + * Creates a EventMessageRequest with a new object + * + * @param newEventMessageRequest the object to create/update + * @return the created EventMessageRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EventMessageRequest put(final EventMessageRequest newEventMessageRequest) throws ClientException { + return send(HttpMethod.PUT, newEventMessageRequest); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageResponseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageResponseRequest.java index d3dac9da873..071510ee3d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventMessageResponseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventMessageResponseRequest.java @@ -111,6 +111,27 @@ public EventMessageResponse post(final EventMessageResponse newEventMessageRespo return send(HttpMethod.POST, newEventMessageResponse); } + /** + * Creates a EventMessageResponse with a new object + * + * @param newEventMessageResponse the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final EventMessageResponse newEventMessageResponse, final ICallback callback) { + send(HttpMethod.PUT, callback, newEventMessageResponse); + } + + /** + * Creates a EventMessageResponse with a new object + * + * @param newEventMessageResponse the object to create/update + * @return the created EventMessageResponse + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public EventMessageResponse put(final EventMessageResponse newEventMessageResponse) throws ClientException { + return send(HttpMethod.PUT, newEventMessageResponse); + } + /** * Sets the select clause for the request * 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 088bb8cf196..261567b8eff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/EventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/EventRequest.java @@ -134,6 +134,27 @@ public Event post(final Event newEvent) throws ClientException { return send(HttpMethod.POST, newEvent); } + /** + * Creates a Event with a new object + * + * @param newEvent the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Event newEvent, final ICallback callback) { + send(HttpMethod.PUT, callback, newEvent); + } + + /** + * Creates a Event with a new object + * + * @param newEvent the object to create/update + * @return the created Event + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Event put(final Event newEvent) throws ClientException { + return send(HttpMethod.PUT, newEvent); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionPropertyRequest.java index af8e874e852..d9a3f62538d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionPropertyRequest.java @@ -111,6 +111,27 @@ public ExtensionProperty post(final ExtensionProperty newExtensionProperty) thro return send(HttpMethod.POST, newExtensionProperty); } + /** + * Creates a ExtensionProperty with a new object + * + * @param newExtensionProperty the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ExtensionProperty newExtensionProperty, final ICallback callback) { + send(HttpMethod.PUT, callback, newExtensionProperty); + } + + /** + * Creates a ExtensionProperty with a new object + * + * @param newExtensionProperty the object to create/update + * @return the created ExtensionProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ExtensionProperty put(final ExtensionProperty newExtensionProperty) throws ClientException { + return send(HttpMethod.PUT, newExtensionProperty); + } + /** * Sets the select clause for the request * 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 ddcf1b0d7a2..cf886f56b1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ExtensionRequest.java @@ -126,6 +126,27 @@ public Extension post(final Extension newExtension) throws ClientException { return send(HttpMethod.POST, newExtension); } + /** + * Creates a Extension with a new object + * + * @param newExtension the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Extension newExtension, final ICallback callback) { + send(HttpMethod.PUT, callback, newExtension); + } + + /** + * Creates a Extension with a new object + * + * @param newExtension the object to create/update + * @return the created Extension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Extension put(final Extension newExtension) throws ClientException { + return send(HttpMethod.PUT, newExtension); + } + /** * Sets the select clause for the request * 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 49ff29349d2..27b994c4245 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/FieldValueSetRequest.java @@ -111,6 +111,27 @@ public FieldValueSet post(final FieldValueSet newFieldValueSet) throws ClientExc return send(HttpMethod.POST, newFieldValueSet); } + /** + * Creates a FieldValueSet with a new object + * + * @param newFieldValueSet the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final FieldValueSet newFieldValueSet, final ICallback callback) { + send(HttpMethod.PUT, callback, newFieldValueSet); + } + + /** + * Creates a FieldValueSet with a new object + * + * @param newFieldValueSet the object to create/update + * @return the created FieldValueSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FieldValueSet put(final FieldValueSet newFieldValueSet) throws ClientException { + return send(HttpMethod.PUT, newFieldValueSet); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/FileAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/FileAssessmentRequestRequest.java index a979d6d7f91..1d636a2833e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/FileAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/FileAssessmentRequestRequest.java @@ -111,6 +111,27 @@ public FileAssessmentRequest post(final FileAssessmentRequest newFileAssessmentR return send(HttpMethod.POST, newFileAssessmentRequest); } + /** + * Creates a FileAssessmentRequest with a new object + * + * @param newFileAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final FileAssessmentRequest newFileAssessmentRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newFileAssessmentRequest); + } + + /** + * Creates a FileAssessmentRequest with a new object + * + * @param newFileAssessmentRequest the object to create/update + * @return the created FileAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FileAssessmentRequest put(final FileAssessmentRequest newFileAssessmentRequest) throws ClientException { + return send(HttpMethod.PUT, newFileAssessmentRequest); + } + /** * Sets the select clause for the request * 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 ae8f7dcc56c..98cd971e769 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/FileAttachmentRequest.java @@ -111,6 +111,27 @@ public FileAttachment post(final FileAttachment newFileAttachment) throws Client return send(HttpMethod.POST, newFileAttachment); } + /** + * Creates a FileAttachment with a new object + * + * @param newFileAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final FileAttachment newFileAttachment, final ICallback callback) { + send(HttpMethod.PUT, callback, newFileAttachment); + } + + /** + * Creates a FileAttachment with a new object + * + * @param newFileAttachment the object to create/update + * @return the created FileAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public FileAttachment put(final FileAttachment newFileAttachment) throws ClientException { + return send(HttpMethod.PUT, newFileAttachment); + } + /** * Sets the select clause for the 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 2bab881caa5..dd4e8a594cd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupLifecyclePolicyRequest.java @@ -111,6 +111,27 @@ public GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePol return send(HttpMethod.POST, newGroupLifecyclePolicy); } + /** + * Creates a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newGroupLifecyclePolicy); + } + + /** + * Creates a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the object to create/update + * @return the created GroupLifecyclePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupLifecyclePolicy put(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException { + return send(HttpMethod.PUT, newGroupLifecyclePolicy); + } + /** * Sets the select clause for the 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 517d3a7e481..19b8f13cb07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupRequest.java @@ -164,6 +164,27 @@ public Group post(final Group newGroup) throws ClientException { return send(HttpMethod.POST, newGroup); } + /** + * Creates a Group with a new object + * + * @param newGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Group newGroup, final ICallback callback) { + send(HttpMethod.PUT, callback, newGroup); + } + + /** + * Creates a Group with a new object + * + * @param newGroup the object to create/update + * @return the created Group + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Group put(final Group newGroup) throws ClientException { + return send(HttpMethod.PUT, newGroup); + } + /** * Sets the select clause for the request * 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 d8002423382..957f9bdb038 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingRequest.java @@ -111,6 +111,27 @@ public GroupSetting post(final GroupSetting newGroupSetting) throws ClientExcept return send(HttpMethod.POST, newGroupSetting); } + /** + * Creates a GroupSetting with a new object + * + * @param newGroupSetting the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final GroupSetting newGroupSetting, final ICallback callback) { + send(HttpMethod.PUT, callback, newGroupSetting); + } + + /** + * Creates a GroupSetting with a new object + * + * @param newGroupSetting the object to create/update + * @return the created GroupSetting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSetting put(final GroupSetting newGroupSetting) throws ClientException { + return send(HttpMethod.PUT, newGroupSetting); + } + /** * Sets the select clause for the request * 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 a8b9096e283..40b6097310c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/GroupSettingTemplateRequest.java @@ -111,6 +111,27 @@ public GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTempl return send(HttpMethod.POST, newGroupSettingTemplate); } + /** + * Creates a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback) { + send(HttpMethod.PUT, callback, newGroupSettingTemplate); + } + + /** + * Creates a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the object to create/update + * @return the created GroupSettingTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public GroupSettingTemplate put(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException { + return send(HttpMethod.PUT, newGroupSettingTemplate); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/HomeRealmDiscoveryPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/HomeRealmDiscoveryPolicyRequest.java index 5de6561b41c..54fd29c887f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/HomeRealmDiscoveryPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/HomeRealmDiscoveryPolicyRequest.java @@ -111,6 +111,27 @@ public HomeRealmDiscoveryPolicy post(final HomeRealmDiscoveryPolicy newHomeRealm return send(HttpMethod.POST, newHomeRealmDiscoveryPolicy); } + /** + * Creates a HomeRealmDiscoveryPolicy with a new object + * + * @param newHomeRealmDiscoveryPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final HomeRealmDiscoveryPolicy newHomeRealmDiscoveryPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newHomeRealmDiscoveryPolicy); + } + + /** + * Creates a HomeRealmDiscoveryPolicy with a new object + * + * @param newHomeRealmDiscoveryPolicy the object to create/update + * @return the created HomeRealmDiscoveryPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public HomeRealmDiscoveryPolicy put(final HomeRealmDiscoveryPolicy newHomeRealmDiscoveryPolicy) throws ClientException { + return send(HttpMethod.PUT, newHomeRealmDiscoveryPolicy); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAadUserConversationMemberRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAadUserConversationMemberRequest.java index 2f1f8e95211..06f2dda2496 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAadUserConversationMemberRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAadUserConversationMemberRequest.java @@ -79,6 +79,23 @@ public interface IAadUserConversationMemberRequest extends IHttpRequest { */ AadUserConversationMember post(final AadUserConversationMember newAadUserConversationMember) throws ClientException; + /** + * Posts a AadUserConversationMember with a new object + * + * @param newAadUserConversationMember the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AadUserConversationMember newAadUserConversationMember, final ICallback callback); + + /** + * Posts a AadUserConversationMember with a new object + * + * @param newAadUserConversationMember the object to create/update + * @return the created AadUserConversationMember + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AadUserConversationMember put(final AadUserConversationMember newAadUserConversationMember) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IActivityBasedTimeoutPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IActivityBasedTimeoutPolicyRequest.java index e67590b162c..98c689ffe98 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IActivityBasedTimeoutPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IActivityBasedTimeoutPolicyRequest.java @@ -79,6 +79,23 @@ public interface IActivityBasedTimeoutPolicyRequest extends IHttpRequest { */ ActivityBasedTimeoutPolicy post(final ActivityBasedTimeoutPolicy newActivityBasedTimeoutPolicy) throws ClientException; + /** + * Posts a ActivityBasedTimeoutPolicy with a new object + * + * @param newActivityBasedTimeoutPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ActivityBasedTimeoutPolicy newActivityBasedTimeoutPolicy, final ICallback callback); + + /** + * Posts a ActivityBasedTimeoutPolicy with a new object + * + * @param newActivityBasedTimeoutPolicy the object to create/update + * @return the created ActivityBasedTimeoutPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ActivityBasedTimeoutPolicy put(final ActivityBasedTimeoutPolicy newActivityBasedTimeoutPolicy) throws ClientException; + /** * Sets the select clause for the request * 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 6d951b544fc..3a1f4c7a0f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IActivityHistoryItemRequest.java @@ -79,6 +79,23 @@ public interface IActivityHistoryItemRequest extends IHttpRequest { */ ActivityHistoryItem post(final ActivityHistoryItem newActivityHistoryItem) throws ClientException; + /** + * Posts a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ActivityHistoryItem newActivityHistoryItem, final ICallback callback); + + /** + * Posts a ActivityHistoryItem with a new object + * + * @param newActivityHistoryItem the object to create/update + * @return the created ActivityHistoryItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ActivityHistoryItem put(final ActivityHistoryItem newActivityHistoryItem) throws ClientException; + /** * Sets the select clause for the request * 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 482c5d03b41..89b15ccef15 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAdministrativeUnitRequest.java @@ -79,6 +79,23 @@ public interface IAdministrativeUnitRequest extends IHttpRequest { */ AdministrativeUnit post(final AdministrativeUnit newAdministrativeUnit) throws ClientException; + /** + * Posts a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AdministrativeUnit newAdministrativeUnit, final ICallback callback); + + /** + * Posts a AdministrativeUnit with a new object + * + * @param newAdministrativeUnit the object to create/update + * @return the created AdministrativeUnit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AdministrativeUnit put(final AdministrativeUnit newAdministrativeUnit) throws ClientException; + /** * Sets the select clause for the request * 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 1ddf392660c..1330e9d433c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAlertRequest.java @@ -79,6 +79,23 @@ public interface IAlertRequest extends IHttpRequest { */ Alert post(final Alert newAlert) throws ClientException; + /** + * Posts a Alert with a new object + * + * @param newAlert the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Alert newAlert, final ICallback callback); + + /** + * Posts a Alert with a new object + * + * @param newAlert the object to create/update + * @return the created Alert + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Alert put(final Alert newAlert) throws ClientException; + /** * Sets the select clause for the request * 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 ea8943cf240..68c89f025f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IAndroidCompliancePolicyRequest extends IHttpRequest { */ AndroidCompliancePolicy post(final AndroidCompliancePolicy newAndroidCompliancePolicy) throws ClientException; + /** + * Posts a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidCompliancePolicy newAndroidCompliancePolicy, final ICallback callback); + + /** + * Posts a AndroidCompliancePolicy with a new object + * + * @param newAndroidCompliancePolicy the object to create/update + * @return the created AndroidCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCompliancePolicy put(final AndroidCompliancePolicy newAndroidCompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 479cf37d605..e452f9c1e02 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidCustomConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IAndroidCustomConfigurationRequest extends IHttpRequest { */ AndroidCustomConfiguration post(final AndroidCustomConfiguration newAndroidCustomConfiguration) throws ClientException; + /** + * Posts a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidCustomConfiguration newAndroidCustomConfiguration, final ICallback callback); + + /** + * Posts a AndroidCustomConfiguration with a new object + * + * @param newAndroidCustomConfiguration the object to create/update + * @return the created AndroidCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidCustomConfiguration put(final AndroidCustomConfiguration newAndroidCustomConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 eb4640e73a8..2e9e6196096 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidGeneralDeviceConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IAndroidGeneralDeviceConfigurationRequest extends IHttpRequest */ AndroidGeneralDeviceConfiguration post(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration) throws ClientException; + /** + * Posts a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a AndroidGeneralDeviceConfiguration with a new object + * + * @param newAndroidGeneralDeviceConfiguration the object to create/update + * @return the created AndroidGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidGeneralDeviceConfiguration put(final AndroidGeneralDeviceConfiguration newAndroidGeneralDeviceConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 a04ca5fb854..0c561317054 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidLobAppRequest.java @@ -79,6 +79,23 @@ public interface IAndroidLobAppRequest extends IHttpRequest { */ AndroidLobApp post(final AndroidLobApp newAndroidLobApp) throws ClientException; + /** + * Posts a AndroidLobApp with a new object + * + * @param newAndroidLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidLobApp newAndroidLobApp, final ICallback callback); + + /** + * Posts a AndroidLobApp with a new object + * + * @param newAndroidLobApp the object to create/update + * @return the created AndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidLobApp put(final AndroidLobApp newAndroidLobApp) throws ClientException; + /** * Sets the select clause for the request * 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 77a53386fa6..c450d7e7443 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppProtectionRequest.java @@ -79,6 +79,23 @@ public interface IAndroidManagedAppProtectionRequest extends IHttpRequest { */ AndroidManagedAppProtection post(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException; + /** + * Posts a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidManagedAppProtection newAndroidManagedAppProtection, final ICallback callback); + + /** + * Posts a AndroidManagedAppProtection with a new object + * + * @param newAndroidManagedAppProtection the object to create/update + * @return the created AndroidManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppProtection put(final AndroidManagedAppProtection newAndroidManagedAppProtection) throws ClientException; + /** * Sets the select clause for the request * 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 957833bb58d..11dd766418b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidManagedAppRegistrationRequest.java @@ -79,6 +79,23 @@ public interface IAndroidManagedAppRegistrationRequest extends IHttpRequest { */ AndroidManagedAppRegistration post(final AndroidManagedAppRegistration newAndroidManagedAppRegistration) throws ClientException; + /** + * Posts a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidManagedAppRegistration newAndroidManagedAppRegistration, final ICallback callback); + + /** + * Posts a AndroidManagedAppRegistration with a new object + * + * @param newAndroidManagedAppRegistration the object to create/update + * @return the created AndroidManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidManagedAppRegistration put(final AndroidManagedAppRegistration newAndroidManagedAppRegistration) throws ClientException; + /** * Sets the select clause for the request * 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 264a878b748..a5b93855968 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidStoreAppRequest.java @@ -79,6 +79,23 @@ public interface IAndroidStoreAppRequest extends IHttpRequest { */ AndroidStoreApp post(final AndroidStoreApp newAndroidStoreApp) throws ClientException; + /** + * Posts a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidStoreApp newAndroidStoreApp, final ICallback callback); + + /** + * Posts a AndroidStoreApp with a new object + * + * @param newAndroidStoreApp the object to create/update + * @return the created AndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidStoreApp put(final AndroidStoreApp newAndroidStoreApp) throws ClientException; + /** * Sets the select clause for the request * 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 c23f2aa2704..7a18e1c3fa6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IAndroidWorkProfileCompliancePolicyRequest extends IHttpRequest */ AndroidWorkProfileCompliancePolicy post(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy) throws ClientException; + /** + * Posts a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy, final ICallback callback); + + /** + * Posts a AndroidWorkProfileCompliancePolicy with a new object + * + * @param newAndroidWorkProfileCompliancePolicy the object to create/update + * @return the created AndroidWorkProfileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCompliancePolicy put(final AndroidWorkProfileCompliancePolicy newAndroidWorkProfileCompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 3c1d644e4a8..6e07a6181bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileCustomConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IAndroidWorkProfileCustomConfigurationRequest extends IHttpRequ */ AndroidWorkProfileCustomConfiguration post(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration) throws ClientException; + /** + * Posts a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration, final ICallback callback); + + /** + * Posts a AndroidWorkProfileCustomConfiguration with a new object + * + * @param newAndroidWorkProfileCustomConfiguration the object to create/update + * @return the created AndroidWorkProfileCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileCustomConfiguration put(final AndroidWorkProfileCustomConfiguration newAndroidWorkProfileCustomConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 4716d0bb679..b7924bbae96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAndroidWorkProfileGeneralDeviceConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IAndroidWorkProfileGeneralDeviceConfigurationRequest extends IH */ AndroidWorkProfileGeneralDeviceConfiguration post(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException; + /** + * Posts a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a AndroidWorkProfileGeneralDeviceConfiguration with a new object + * + * @param newAndroidWorkProfileGeneralDeviceConfiguration the object to create/update + * @return the created AndroidWorkProfileGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AndroidWorkProfileGeneralDeviceConfiguration put(final AndroidWorkProfileGeneralDeviceConfiguration newAndroidWorkProfileGeneralDeviceConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 d9bc68dbc28..c1917bde710 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAppCatalogsRequest.java @@ -79,6 +79,23 @@ public interface IAppCatalogsRequest extends IHttpRequest { */ AppCatalogs post(final AppCatalogs newAppCatalogs) throws ClientException; + /** + * Posts a AppCatalogs with a new object + * + * @param newAppCatalogs the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AppCatalogs newAppCatalogs, final ICallback callback); + + /** + * Posts a AppCatalogs with a new object + * + * @param newAppCatalogs the object to create/update + * @return the created AppCatalogs + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppCatalogs put(final AppCatalogs newAppCatalogs) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAppRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAppRoleAssignmentRequest.java index 3b4c53bc88d..f23e571c218 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAppRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAppRoleAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IAppRoleAssignmentRequest extends IHttpRequest { */ AppRoleAssignment post(final AppRoleAssignment newAppRoleAssignment) throws ClientException; + /** + * Posts a AppRoleAssignment with a new object + * + * @param newAppRoleAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AppRoleAssignment newAppRoleAssignment, final ICallback callback); + + /** + * Posts a AppRoleAssignment with a new object + * + * @param newAppRoleAssignment the object to create/update + * @return the created AppRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppRoleAssignment put(final AppRoleAssignment newAppRoleAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 053fb5c1dfc..a2991e1d87f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAppleDeviceFeaturesConfigurationBaseRequest.java @@ -79,6 +79,23 @@ public interface IAppleDeviceFeaturesConfigurationBaseRequest extends IHttpReque */ AppleDeviceFeaturesConfigurationBase post(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase) throws ClientException; + /** + * Posts a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase, final ICallback callback); + + /** + * Posts a AppleDeviceFeaturesConfigurationBase with a new object + * + * @param newAppleDeviceFeaturesConfigurationBase the object to create/update + * @return the created AppleDeviceFeaturesConfigurationBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AppleDeviceFeaturesConfigurationBase put(final AppleDeviceFeaturesConfigurationBase newAppleDeviceFeaturesConfigurationBase) throws ClientException; + /** * Sets the select clause for the request * 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 23434231534..64e7ee23cf0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IApplePushNotificationCertificateRequest.java @@ -79,6 +79,23 @@ public interface IApplePushNotificationCertificateRequest extends IHttpRequest { */ ApplePushNotificationCertificate post(final ApplePushNotificationCertificate newApplePushNotificationCertificate) throws ClientException; + /** + * Posts a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ApplePushNotificationCertificate newApplePushNotificationCertificate, final ICallback callback); + + /** + * Posts a ApplePushNotificationCertificate with a new object + * + * @param newApplePushNotificationCertificate the object to create/update + * @return the created ApplePushNotificationCertificate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ApplePushNotificationCertificate put(final ApplePushNotificationCertificate newApplePushNotificationCertificate) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IApplicationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IApplicationRequest.java index 3763a6f2e74..9f3d06c8ca6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IApplicationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IApplicationRequest.java @@ -79,6 +79,23 @@ public interface IApplicationRequest extends IHttpRequest { */ Application post(final Application newApplication) throws ClientException; + /** + * Posts a Application with a new object + * + * @param newApplication the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Application newApplication, final ICallback callback); + + /** + * Posts a Application with a new object + * + * @param newApplication the object to create/update + * @return the created Application + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Application put(final Application newApplication) throws ClientException; + /** * Sets the select clause for the request * 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 e1b4a6f48a0..62c6542b53c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAttachmentRequest.java @@ -79,6 +79,23 @@ public interface IAttachmentRequest extends IHttpRequest { */ Attachment post(final Attachment newAttachment) throws ClientException; + /** + * Posts a Attachment with a new object + * + * @param newAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Attachment newAttachment, final ICallback callback); + + /** + * Posts a Attachment with a new object + * + * @param newAttachment the object to create/update + * @return the created Attachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Attachment put(final Attachment newAttachment) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IAuditLogRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IAuditLogRootRequest.java index df68a23a3a9..6958b1507e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IAuditLogRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IAuditLogRootRequest.java @@ -79,6 +79,23 @@ public interface IAuditLogRootRequest extends IHttpRequest { */ AuditLogRoot post(final AuditLogRoot newAuditLogRoot) throws ClientException; + /** + * Posts a AuditLogRoot with a new object + * + * @param newAuditLogRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final AuditLogRoot newAuditLogRoot, final ICallback callback); + + /** + * Posts a AuditLogRoot with a new object + * + * @param newAuditLogRoot the object to create/update + * @return the created AuditLogRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + AuditLogRoot put(final AuditLogRoot newAuditLogRoot) throws ClientException; + /** * Sets the select clause for the request * 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 bbd99a1f34c..1ba69a8173f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemRequest.java @@ -79,6 +79,23 @@ public interface IBaseItemRequest extends IHttpRequest { */ BaseItem post(final BaseItem newBaseItem) throws ClientException; + /** + * Posts a BaseItem with a new object + * + * @param newBaseItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final BaseItem newBaseItem, final ICallback callback); + + /** + * Posts a BaseItem with a new object + * + * @param newBaseItem the object to create/update + * @return the created BaseItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItem put(final BaseItem newBaseItem) throws ClientException; + /** * Sets the select clause for the request * 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 9e99f0d983c..b0f8a769ea7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IBaseItemVersionRequest.java @@ -79,6 +79,23 @@ public interface IBaseItemVersionRequest extends IHttpRequest { */ BaseItemVersion post(final BaseItemVersion newBaseItemVersion) throws ClientException; + /** + * Posts a BaseItemVersion with a new object + * + * @param newBaseItemVersion the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final BaseItemVersion newBaseItemVersion, final ICallback callback); + + /** + * Posts a BaseItemVersion with a new object + * + * @param newBaseItemVersion the object to create/update + * @return the created BaseItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + BaseItemVersion put(final BaseItemVersion newBaseItemVersion) throws ClientException; + /** * Sets the select clause for the request * 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 51ce1246589..db42ef1b73d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarGroupRequest.java @@ -79,6 +79,23 @@ public interface ICalendarGroupRequest extends IHttpRequest { */ CalendarGroup post(final CalendarGroup newCalendarGroup) throws ClientException; + /** + * Posts a CalendarGroup with a new object + * + * @param newCalendarGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CalendarGroup newCalendarGroup, final ICallback callback); + + /** + * Posts a CalendarGroup with a new object + * + * @param newCalendarGroup the object to create/update + * @return the created CalendarGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CalendarGroup put(final CalendarGroup newCalendarGroup) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarPermissionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarPermissionRequest.java index f323a2993b4..e91c8086c03 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarPermissionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarPermissionRequest.java @@ -79,6 +79,23 @@ public interface ICalendarPermissionRequest extends IHttpRequest { */ CalendarPermission post(final CalendarPermission newCalendarPermission) throws ClientException; + /** + * Posts a CalendarPermission with a new object + * + * @param newCalendarPermission the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CalendarPermission newCalendarPermission, final ICallback callback); + + /** + * Posts a CalendarPermission with a new object + * + * @param newCalendarPermission the object to create/update + * @return the created CalendarPermission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CalendarPermission put(final CalendarPermission newCalendarPermission) throws ClientException; + /** * Sets the select clause for the request * 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 72807b57c3c..06549c2eeae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarRequest.java @@ -79,6 +79,23 @@ public interface ICalendarRequest extends IHttpRequest { */ Calendar post(final Calendar newCalendar) throws ClientException; + /** + * Posts a Calendar with a new object + * + * @param newCalendar the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Calendar newCalendar, final ICallback callback); + + /** + * Posts a Calendar with a new object + * + * @param newCalendar the object to create/update + * @return the created Calendar + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Calendar put(final Calendar newCalendar) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarSharingMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarSharingMessageRequest.java index bdd3eb0a243..617064dd1b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICalendarSharingMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICalendarSharingMessageRequest.java @@ -79,6 +79,23 @@ public interface ICalendarSharingMessageRequest extends IHttpRequest { */ CalendarSharingMessage post(final CalendarSharingMessage newCalendarSharingMessage) throws ClientException; + /** + * Posts a CalendarSharingMessage with a new object + * + * @param newCalendarSharingMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CalendarSharingMessage newCalendarSharingMessage, final ICallback callback); + + /** + * Posts a CalendarSharingMessage with a new object + * + * @param newCalendarSharingMessage the object to create/update + * @return the created CalendarSharingMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CalendarSharingMessage put(final CalendarSharingMessage newCalendarSharingMessage) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICallRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICallRequest.java index fda57e462a4..ef7b1989f7b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICallRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICallRequest.java @@ -79,6 +79,23 @@ public interface ICallRequest extends IHttpRequest { */ Call post(final Call newCall) throws ClientException; + /** + * Posts a Call with a new object + * + * @param newCall the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Call newCall, final ICallback callback); + + /** + * Posts a Call with a new object + * + * @param newCall the object to create/update + * @return the created Call + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Call put(final Call newCall) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICancelMediaProcessingOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICancelMediaProcessingOperationRequest.java index 2a9112b65e4..46ee4b02e38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICancelMediaProcessingOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICancelMediaProcessingOperationRequest.java @@ -79,6 +79,23 @@ public interface ICancelMediaProcessingOperationRequest extends IHttpRequest { */ CancelMediaProcessingOperation post(final CancelMediaProcessingOperation newCancelMediaProcessingOperation) throws ClientException; + /** + * Posts a CancelMediaProcessingOperation with a new object + * + * @param newCancelMediaProcessingOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CancelMediaProcessingOperation newCancelMediaProcessingOperation, final ICallback callback); + + /** + * Posts a CancelMediaProcessingOperation with a new object + * + * @param newCancelMediaProcessingOperation the object to create/update + * @return the created CancelMediaProcessingOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CancelMediaProcessingOperation put(final CancelMediaProcessingOperation newCancelMediaProcessingOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICertificateBasedAuthConfigurationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICertificateBasedAuthConfigurationRequest.java index c64ca529cf1..629cc55eed1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICertificateBasedAuthConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICertificateBasedAuthConfigurationRequest.java @@ -79,6 +79,23 @@ public interface ICertificateBasedAuthConfigurationRequest extends IHttpRequest */ CertificateBasedAuthConfiguration post(final CertificateBasedAuthConfiguration newCertificateBasedAuthConfiguration) throws ClientException; + /** + * Posts a CertificateBasedAuthConfiguration with a new object + * + * @param newCertificateBasedAuthConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CertificateBasedAuthConfiguration newCertificateBasedAuthConfiguration, final ICallback callback); + + /** + * Posts a CertificateBasedAuthConfiguration with a new object + * + * @param newCertificateBasedAuthConfiguration the object to create/update + * @return the created CertificateBasedAuthConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CertificateBasedAuthConfiguration put(final CertificateBasedAuthConfiguration newCertificateBasedAuthConfiguration) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChangeTrackedEntityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IChangeTrackedEntityRequest.java index a2fa335d4ad..fa5d4b3912a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChangeTrackedEntityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChangeTrackedEntityRequest.java @@ -79,6 +79,23 @@ public interface IChangeTrackedEntityRequest extends IHttpRequest { */ ChangeTrackedEntity post(final ChangeTrackedEntity newChangeTrackedEntity) throws ClientException; + /** + * Posts a ChangeTrackedEntity with a new object + * + * @param newChangeTrackedEntity the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ChangeTrackedEntity newChangeTrackedEntity, final ICallback callback); + + /** + * Posts a ChangeTrackedEntity with a new object + * + * @param newChangeTrackedEntity the object to create/update + * @return the created ChangeTrackedEntity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ChangeTrackedEntity put(final ChangeTrackedEntity newChangeTrackedEntity) throws ClientException; + /** * Sets the select clause for the request * 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 66377de023c..af084c7e245 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChannelRequest.java @@ -79,6 +79,23 @@ public interface IChannelRequest extends IHttpRequest { */ Channel post(final Channel newChannel) throws ClientException; + /** + * Posts a Channel with a new object + * + * @param newChannel the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Channel newChannel, final ICallback callback); + + /** + * Posts a Channel with a new object + * + * @param newChannel the object to create/update + * @return the created Channel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Channel put(final Channel newChannel) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageHostedContentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageHostedContentRequest.java index 17a502dae01..fcc4bc74f20 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageHostedContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageHostedContentRequest.java @@ -79,6 +79,23 @@ public interface IChatMessageHostedContentRequest extends IHttpRequest { */ ChatMessageHostedContent post(final ChatMessageHostedContent newChatMessageHostedContent) throws ClientException; + /** + * Posts a ChatMessageHostedContent with a new object + * + * @param newChatMessageHostedContent the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ChatMessageHostedContent newChatMessageHostedContent, final ICallback callback); + + /** + * Posts a ChatMessageHostedContent with a new object + * + * @param newChatMessageHostedContent the object to create/update + * @return the created ChatMessageHostedContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ChatMessageHostedContent put(final ChatMessageHostedContent newChatMessageHostedContent) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageRequest.java index a9f183300ff..d58abb28574 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IChatMessageRequest.java @@ -79,6 +79,23 @@ public interface IChatMessageRequest extends IHttpRequest { */ ChatMessage post(final ChatMessage newChatMessage) throws ClientException; + /** + * Posts a ChatMessage with a new object + * + * @param newChatMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ChatMessage newChatMessage, final ICallback callback); + + /** + * Posts a ChatMessage with a new object + * + * @param newChatMessage the object to create/update + * @return the created ChatMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ChatMessage put(final ChatMessage newChatMessage) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IClaimsMappingPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IClaimsMappingPolicyRequest.java index 0ffeb9bacc1..ef33fdcf1fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IClaimsMappingPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IClaimsMappingPolicyRequest.java @@ -79,6 +79,23 @@ public interface IClaimsMappingPolicyRequest extends IHttpRequest { */ ClaimsMappingPolicy post(final ClaimsMappingPolicy newClaimsMappingPolicy) throws ClientException; + /** + * Posts a ClaimsMappingPolicy with a new object + * + * @param newClaimsMappingPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ClaimsMappingPolicy newClaimsMappingPolicy, final ICallback callback); + + /** + * Posts a ClaimsMappingPolicy with a new object + * + * @param newClaimsMappingPolicy the object to create/update + * @return the created ClaimsMappingPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ClaimsMappingPolicy put(final ClaimsMappingPolicy newClaimsMappingPolicy) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICloudCommunicationsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICloudCommunicationsRequest.java index ba1f350e83f..c2021e6c783 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICloudCommunicationsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICloudCommunicationsRequest.java @@ -79,6 +79,23 @@ public interface ICloudCommunicationsRequest extends IHttpRequest { */ CloudCommunications post(final CloudCommunications newCloudCommunications) throws ClientException; + /** + * Posts a CloudCommunications with a new object + * + * @param newCloudCommunications the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CloudCommunications newCloudCommunications, final ICallback callback); + + /** + * Posts a CloudCommunications with a new object + * + * @param newCloudCommunications the object to create/update + * @return the created CloudCommunications + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CloudCommunications put(final CloudCommunications newCloudCommunications) throws ClientException; + /** * Sets the select clause for the request * 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 6b92cd8a7f7..c1ceb01db76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnDefinitionRequest.java @@ -79,6 +79,23 @@ public interface IColumnDefinitionRequest extends IHttpRequest { */ ColumnDefinition post(final ColumnDefinition newColumnDefinition) throws ClientException; + /** + * Posts a ColumnDefinition with a new object + * + * @param newColumnDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ColumnDefinition newColumnDefinition, final ICallback callback); + + /** + * Posts a ColumnDefinition with a new object + * + * @param newColumnDefinition the object to create/update + * @return the created ColumnDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnDefinition put(final ColumnDefinition newColumnDefinition) throws ClientException; + /** * Sets the select clause for the request * 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 71bface206a..a14a25d431f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IColumnLinkRequest.java @@ -79,6 +79,23 @@ public interface IColumnLinkRequest extends IHttpRequest { */ ColumnLink post(final ColumnLink newColumnLink) throws ClientException; + /** + * Posts a ColumnLink with a new object + * + * @param newColumnLink the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ColumnLink newColumnLink, final ICallback callback); + + /** + * Posts a ColumnLink with a new object + * + * @param newColumnLink the object to create/update + * @return the created ColumnLink + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ColumnLink put(final ColumnLink newColumnLink) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICommsOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICommsOperationRequest.java index 7d186d23cf9..cb5f873fa91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICommsOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICommsOperationRequest.java @@ -79,6 +79,23 @@ public interface ICommsOperationRequest extends IHttpRequest { */ CommsOperation post(final CommsOperation newCommsOperation) throws ClientException; + /** + * Posts a CommsOperation with a new object + * + * @param newCommsOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CommsOperation newCommsOperation, final ICallback callback); + + /** + * Posts a CommsOperation with a new object + * + * @param newCommsOperation the object to create/update + * @return the created CommsOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CommsOperation put(final CommsOperation newCommsOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IComplianceManagementPartnerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IComplianceManagementPartnerRequest.java index 85bea685323..a60fe33a3e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IComplianceManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IComplianceManagementPartnerRequest.java @@ -79,6 +79,23 @@ public interface IComplianceManagementPartnerRequest extends IHttpRequest { */ ComplianceManagementPartner post(final ComplianceManagementPartner newComplianceManagementPartner) throws ClientException; + /** + * Posts a ComplianceManagementPartner with a new object + * + * @param newComplianceManagementPartner the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ComplianceManagementPartner newComplianceManagementPartner, final ICallback callback); + + /** + * Posts a ComplianceManagementPartner with a new object + * + * @param newComplianceManagementPartner the object to create/update + * @return the created ComplianceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ComplianceManagementPartner put(final ComplianceManagementPartner newComplianceManagementPartner) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessPolicyRequest.java index 19c77451eeb..10dbe2b6e8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessPolicyRequest.java @@ -79,6 +79,23 @@ public interface IConditionalAccessPolicyRequest extends IHttpRequest { */ ConditionalAccessPolicy post(final ConditionalAccessPolicy newConditionalAccessPolicy) throws ClientException; + /** + * Posts a ConditionalAccessPolicy with a new object + * + * @param newConditionalAccessPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ConditionalAccessPolicy newConditionalAccessPolicy, final ICallback callback); + + /** + * Posts a ConditionalAccessPolicy with a new object + * + * @param newConditionalAccessPolicy the object to create/update + * @return the created ConditionalAccessPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ConditionalAccessPolicy put(final ConditionalAccessPolicy newConditionalAccessPolicy) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessRootRequest.java index 566ca222ac9..78833284cdb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConditionalAccessRootRequest.java @@ -79,6 +79,23 @@ public interface IConditionalAccessRootRequest extends IHttpRequest { */ ConditionalAccessRoot post(final ConditionalAccessRoot newConditionalAccessRoot) throws ClientException; + /** + * Posts a ConditionalAccessRoot with a new object + * + * @param newConditionalAccessRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ConditionalAccessRoot newConditionalAccessRoot, final ICallback callback); + + /** + * Posts a ConditionalAccessRoot with a new object + * + * @param newConditionalAccessRoot the object to create/update + * @return the created ConditionalAccessRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ConditionalAccessRoot put(final ConditionalAccessRoot newConditionalAccessRoot) throws ClientException; + /** * Sets the select clause for the request * 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 e47714bf8dc..ff992ef9686 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactFolderRequest.java @@ -79,6 +79,23 @@ public interface IContactFolderRequest extends IHttpRequest { */ ContactFolder post(final ContactFolder newContactFolder) throws ClientException; + /** + * Posts a ContactFolder with a new object + * + * @param newContactFolder the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ContactFolder newContactFolder, final ICallback callback); + + /** + * Posts a ContactFolder with a new object + * + * @param newContactFolder the object to create/update + * @return the created ContactFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContactFolder put(final ContactFolder newContactFolder) throws ClientException; + /** * Sets the select clause for the request * 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 51eee3c1dc0..c960290c1fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContactRequest.java @@ -79,6 +79,23 @@ public interface IContactRequest extends IHttpRequest { */ Contact post(final Contact newContact) throws ClientException; + /** + * Posts a Contact with a new object + * + * @param newContact the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Contact newContact, final ICallback callback); + + /** + * Posts a Contact with a new object + * + * @param newContact the object to create/update + * @return the created Contact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contact put(final Contact newContact) throws ClientException; + /** * Sets the select clause for the request * 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 f238ce3c5fe..0cb62a1dfa5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContentTypeRequest.java @@ -79,6 +79,23 @@ public interface IContentTypeRequest extends IHttpRequest { */ ContentType post(final ContentType newContentType) throws ClientException; + /** + * Posts a ContentType with a new object + * + * @param newContentType the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ContentType newContentType, final ICallback callback); + + /** + * Posts a ContentType with a new object + * + * @param newContentType the object to create/update + * @return the created ContentType + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ContentType put(final ContentType newContentType) throws ClientException; + /** * Sets the select clause for the request * 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 376fd9f68a6..b8453da7833 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IContractRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IContractRequest.java @@ -79,6 +79,23 @@ public interface IContractRequest extends IHttpRequest { */ Contract post(final Contract newContract) throws ClientException; + /** + * Posts a Contract with a new object + * + * @param newContract the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Contract newContract, final ICallback callback); + + /** + * Posts a Contract with a new object + * + * @param newContract the object to create/update + * @return the created Contract + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Contract put(final Contract newContract) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IConversationMemberRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IConversationMemberRequest.java index ed04dd2d06e..6fdb13caf2a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationMemberRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationMemberRequest.java @@ -79,6 +79,23 @@ public interface IConversationMemberRequest extends IHttpRequest { */ ConversationMember post(final ConversationMember newConversationMember) throws ClientException; + /** + * Posts a ConversationMember with a new object + * + * @param newConversationMember the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ConversationMember newConversationMember, final ICallback callback); + + /** + * Posts a ConversationMember with a new object + * + * @param newConversationMember the object to create/update + * @return the created ConversationMember + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ConversationMember put(final ConversationMember newConversationMember) throws ClientException; + /** * Sets the select clause for the request * 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 8dcdf8c6939..7e8931060fb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationRequest.java @@ -79,6 +79,23 @@ public interface IConversationRequest extends IHttpRequest { */ Conversation post(final Conversation newConversation) throws ClientException; + /** + * Posts a Conversation with a new object + * + * @param newConversation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Conversation newConversation, final ICallback callback); + + /** + * Posts a Conversation with a new object + * + * @param newConversation the object to create/update + * @return the created Conversation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Conversation put(final Conversation newConversation) throws ClientException; + /** * Sets the select clause for the request * 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 d2c669819f5..42ac7ba3d81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IConversationThreadRequest.java @@ -79,6 +79,23 @@ public interface IConversationThreadRequest extends IHttpRequest { */ ConversationThread post(final ConversationThread newConversationThread) throws ClientException; + /** + * Posts a ConversationThread with a new object + * + * @param newConversationThread the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ConversationThread newConversationThread, final ICallback callback); + + /** + * Posts a ConversationThread with a new object + * + * @param newConversationThread the object to create/update + * @return the created ConversationThread + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ConversationThread put(final ConversationThread newConversationThread) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ICountryNamedLocationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ICountryNamedLocationRequest.java index 3d0aeb3b605..3b96a51845d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ICountryNamedLocationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ICountryNamedLocationRequest.java @@ -79,6 +79,23 @@ public interface ICountryNamedLocationRequest extends IHttpRequest { */ CountryNamedLocation post(final CountryNamedLocation newCountryNamedLocation) throws ClientException; + /** + * Posts a CountryNamedLocation with a new object + * + * @param newCountryNamedLocation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final CountryNamedLocation newCountryNamedLocation, final ICallback callback); + + /** + * Posts a CountryNamedLocation with a new object + * + * @param newCountryNamedLocation the object to create/update + * @return the created CountryNamedLocation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + CountryNamedLocation put(final CountryNamedLocation newCountryNamedLocation) throws ClientException; + /** * Sets the select clause for the request * 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 e45b06ccc10..b84195168c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDataPolicyOperationRequest.java @@ -79,6 +79,23 @@ public interface IDataPolicyOperationRequest extends IHttpRequest { */ DataPolicyOperation post(final DataPolicyOperation newDataPolicyOperation) throws ClientException; + /** + * Posts a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DataPolicyOperation newDataPolicyOperation, final ICallback callback); + + /** + * Posts a DataPolicyOperation with a new object + * + * @param newDataPolicyOperation the object to create/update + * @return the created DataPolicyOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DataPolicyOperation put(final DataPolicyOperation newDataPolicyOperation) throws ClientException; + /** * Sets the select clause for the request * 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 9d7844a6ff5..1bba7808960 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDefaultManagedAppProtectionRequest.java @@ -79,6 +79,23 @@ public interface IDefaultManagedAppProtectionRequest extends IHttpRequest { */ DefaultManagedAppProtection post(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException; + /** + * Posts a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DefaultManagedAppProtection newDefaultManagedAppProtection, final ICallback callback); + + /** + * Posts a DefaultManagedAppProtection with a new object + * + * @param newDefaultManagedAppProtection the object to create/update + * @return the created DefaultManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DefaultManagedAppProtection put(final DefaultManagedAppProtection newDefaultManagedAppProtection) throws ClientException; + /** * Sets the select clause for the request * 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 9e01ce9bd68..2629da41a78 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDetectedAppRequest.java @@ -79,6 +79,23 @@ public interface IDetectedAppRequest extends IHttpRequest { */ DetectedApp post(final DetectedApp newDetectedApp) throws ClientException; + /** + * Posts a DetectedApp with a new object + * + * @param newDetectedApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DetectedApp newDetectedApp, final ICallback callback); + + /** + * Posts a DetectedApp with a new object + * + * @param newDetectedApp the object to create/update + * @return the created DetectedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DetectedApp put(final DetectedApp newDetectedApp) throws ClientException; + /** * Sets the select clause for the request * 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 cd3b8a6e06f..538668b8a2c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IDeviceAndAppManagementRoleAssignmentRequest extends IHttpReque */ DeviceAndAppManagementRoleAssignment post(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException; + /** + * Posts a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment, final ICallback callback); + + /** + * Posts a DeviceAndAppManagementRoleAssignment with a new object + * + * @param newDeviceAndAppManagementRoleAssignment the object to create/update + * @return the created DeviceAndAppManagementRoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleAssignment put(final DeviceAndAppManagementRoleAssignment newDeviceAndAppManagementRoleAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 17c3d839922..20d1665f21f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAndAppManagementRoleDefinitionRequest.java @@ -79,6 +79,23 @@ public interface IDeviceAndAppManagementRoleDefinitionRequest extends IHttpReque */ DeviceAndAppManagementRoleDefinition post(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition) throws ClientException; + /** + * Posts a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition, final ICallback callback); + + /** + * Posts a DeviceAndAppManagementRoleDefinition with a new object + * + * @param newDeviceAndAppManagementRoleDefinition the object to create/update + * @return the created DeviceAndAppManagementRoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAndAppManagementRoleDefinition put(final DeviceAndAppManagementRoleDefinition newDeviceAndAppManagementRoleDefinition) throws ClientException; + /** * Sets the select clause for the request * 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 6c5060b26c6..0dbf0096a9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceAppManagementRequest.java @@ -79,6 +79,23 @@ public interface IDeviceAppManagementRequest extends IHttpRequest { */ DeviceAppManagement post(final DeviceAppManagement newDeviceAppManagement) throws ClientException; + /** + * Posts a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceAppManagement newDeviceAppManagement, final ICallback callback); + + /** + * Posts a DeviceAppManagement with a new object + * + * @param newDeviceAppManagement the object to create/update + * @return the created DeviceAppManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceAppManagement put(final DeviceAppManagement newDeviceAppManagement) throws ClientException; + /** * Sets the select clause for the request * 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 5a46ca6cb07..4db273d1c93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCategoryRequest.java @@ -79,6 +79,23 @@ public interface IDeviceCategoryRequest extends IHttpRequest { */ DeviceCategory post(final DeviceCategory newDeviceCategory) throws ClientException; + /** + * Posts a DeviceCategory with a new object + * + * @param newDeviceCategory the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceCategory newDeviceCategory, final ICallback callback); + + /** + * Posts a DeviceCategory with a new object + * + * @param newDeviceCategory the object to create/update + * @return the created DeviceCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCategory put(final DeviceCategory newDeviceCategory) throws ClientException; + /** * Sets the select clause for the request * 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 de4a4721db1..65855e6ae80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceActionItemRequest.java @@ -79,6 +79,23 @@ public interface IDeviceComplianceActionItemRequest extends IHttpRequest { */ DeviceComplianceActionItem post(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException; + /** + * Posts a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceComplianceActionItem newDeviceComplianceActionItem, final ICallback callback); + + /** + * Posts a DeviceComplianceActionItem with a new object + * + * @param newDeviceComplianceActionItem the object to create/update + * @return the created DeviceComplianceActionItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceActionItem put(final DeviceComplianceActionItem newDeviceComplianceActionItem) throws ClientException; + /** * Sets the select clause for the request * 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 be5dc198aaf..6241dfed0a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceOverviewRequest.java @@ -79,6 +79,23 @@ public interface IDeviceComplianceDeviceOverviewRequest extends IHttpRequest { */ DeviceComplianceDeviceOverview post(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview) throws ClientException; + /** + * Posts a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview, final ICallback callback); + + /** + * Posts a DeviceComplianceDeviceOverview with a new object + * + * @param newDeviceComplianceDeviceOverview the object to create/update + * @return the created DeviceComplianceDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceOverview put(final DeviceComplianceDeviceOverview newDeviceComplianceDeviceOverview) throws ClientException; + /** * Sets the select clause for the request * 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 5786102af52..b8dff735bb2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceDeviceStatusRequest.java @@ -79,6 +79,23 @@ public interface IDeviceComplianceDeviceStatusRequest extends IHttpRequest { */ DeviceComplianceDeviceStatus post(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException; + /** + * Posts a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus, final ICallback callback); + + /** + * Posts a DeviceComplianceDeviceStatus with a new object + * + * @param newDeviceComplianceDeviceStatus the object to create/update + * @return the created DeviceComplianceDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceDeviceStatus put(final DeviceComplianceDeviceStatus newDeviceComplianceDeviceStatus) throws ClientException; + /** * Sets the select clause for the request * 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 ec725ff36c3..fc9af707261 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IDeviceCompliancePolicyAssignmentRequest extends IHttpRequest { */ DeviceCompliancePolicyAssignment post(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException; + /** + * Posts a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicyAssignment with a new object + * + * @param newDeviceCompliancePolicyAssignment the object to create/update + * @return the created DeviceCompliancePolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyAssignment put(final DeviceCompliancePolicyAssignment newDeviceCompliancePolicyAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 a44d9dd2af8..96bc267a082 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyDeviceStateSummaryRequest.java @@ -79,6 +79,23 @@ public interface IDeviceCompliancePolicyDeviceStateSummaryRequest extends IHttpR */ DeviceCompliancePolicyDeviceStateSummary post(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary) throws ClientException; + /** + * Posts a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicyDeviceStateSummary with a new object + * + * @param newDeviceCompliancePolicyDeviceStateSummary the object to create/update + * @return the created DeviceCompliancePolicyDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyDeviceStateSummary put(final DeviceCompliancePolicyDeviceStateSummary newDeviceCompliancePolicyDeviceStateSummary) throws ClientException; + /** * Sets the select clause for the request * 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 0d1a19ed766..79a016c83f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IDeviceCompliancePolicyRequest extends IHttpRequest { */ DeviceCompliancePolicy post(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException; + /** + * Posts a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceCompliancePolicy newDeviceCompliancePolicy, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicy with a new object + * + * @param newDeviceCompliancePolicy the object to create/update + * @return the created DeviceCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicy put(final DeviceCompliancePolicy newDeviceCompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 2ab98afb4a1..2897ffe151a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicySettingStateSummaryRequest.java @@ -79,6 +79,23 @@ public interface IDeviceCompliancePolicySettingStateSummaryRequest extends IHttp */ DeviceCompliancePolicySettingStateSummary post(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException; + /** + * Posts a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicySettingStateSummary with a new object + * + * @param newDeviceCompliancePolicySettingStateSummary the object to create/update + * @return the created DeviceCompliancePolicySettingStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicySettingStateSummary put(final DeviceCompliancePolicySettingStateSummary newDeviceCompliancePolicySettingStateSummary) throws ClientException; + /** * Sets the select clause for the request * 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 8bfecdb1ffa..8b7c6e6f90b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceCompliancePolicyStateRequest.java @@ -79,6 +79,23 @@ public interface IDeviceCompliancePolicyStateRequest extends IHttpRequest { */ DeviceCompliancePolicyState post(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException; + /** + * Posts a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceCompliancePolicyState newDeviceCompliancePolicyState, final ICallback callback); + + /** + * Posts a DeviceCompliancePolicyState with a new object + * + * @param newDeviceCompliancePolicyState the object to create/update + * @return the created DeviceCompliancePolicyState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceCompliancePolicyState put(final DeviceCompliancePolicyState newDeviceCompliancePolicyState) throws ClientException; + /** * Sets the select clause for the request * 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 75f01ba1069..aa6995b2acf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceScheduledActionForRuleRequest.java @@ -79,6 +79,23 @@ public interface IDeviceComplianceScheduledActionForRuleRequest extends IHttpReq */ DeviceComplianceScheduledActionForRule post(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException; + /** + * Posts a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule, final ICallback callback); + + /** + * Posts a DeviceComplianceScheduledActionForRule with a new object + * + * @param newDeviceComplianceScheduledActionForRule the object to create/update + * @return the created DeviceComplianceScheduledActionForRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceScheduledActionForRule put(final DeviceComplianceScheduledActionForRule newDeviceComplianceScheduledActionForRule) throws ClientException; + /** * Sets the select clause for the request * 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 3651c7ad1f6..a5d30badca5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceSettingStateRequest.java @@ -79,6 +79,23 @@ public interface IDeviceComplianceSettingStateRequest extends IHttpRequest { */ DeviceComplianceSettingState post(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException; + /** + * Posts a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceComplianceSettingState newDeviceComplianceSettingState, final ICallback callback); + + /** + * Posts a DeviceComplianceSettingState with a new object + * + * @param newDeviceComplianceSettingState the object to create/update + * @return the created DeviceComplianceSettingState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceSettingState put(final DeviceComplianceSettingState newDeviceComplianceSettingState) throws ClientException; + /** * Sets the select clause for the request * 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 6db6a3bb18c..cc0472eee95 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserOverviewRequest.java @@ -79,6 +79,23 @@ public interface IDeviceComplianceUserOverviewRequest extends IHttpRequest { */ DeviceComplianceUserOverview post(final DeviceComplianceUserOverview newDeviceComplianceUserOverview) throws ClientException; + /** + * Posts a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceComplianceUserOverview newDeviceComplianceUserOverview, final ICallback callback); + + /** + * Posts a DeviceComplianceUserOverview with a new object + * + * @param newDeviceComplianceUserOverview the object to create/update + * @return the created DeviceComplianceUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserOverview put(final DeviceComplianceUserOverview newDeviceComplianceUserOverview) throws ClientException; + /** * Sets the select clause for the request * 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 f514b1b5d9e..962f6fc6448 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceComplianceUserStatusRequest.java @@ -79,6 +79,23 @@ public interface IDeviceComplianceUserStatusRequest extends IHttpRequest { */ DeviceComplianceUserStatus post(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException; + /** + * Posts a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceComplianceUserStatus newDeviceComplianceUserStatus, final ICallback callback); + + /** + * Posts a DeviceComplianceUserStatus with a new object + * + * @param newDeviceComplianceUserStatus the object to create/update + * @return the created DeviceComplianceUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceComplianceUserStatus put(final DeviceComplianceUserStatus newDeviceComplianceUserStatus) throws ClientException; + /** * Sets the select clause for the request * 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 a93a9608f14..0719e0a6b0e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationAssignmentRequest extends IHttpRequest { */ DeviceConfigurationAssignment post(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException; + /** + * Posts a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfigurationAssignment newDeviceConfigurationAssignment, final ICallback callback); + + /** + * Posts a DeviceConfigurationAssignment with a new object + * + * @param newDeviceConfigurationAssignment the object to create/update + * @return the created DeviceConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationAssignment put(final DeviceConfigurationAssignment newDeviceConfigurationAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 6e0a288ce78..48da97a5350 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceOverviewRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationDeviceOverviewRequest extends IHttpRequest */ DeviceConfigurationDeviceOverview post(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview) throws ClientException; + /** + * Posts a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview, final ICallback callback); + + /** + * Posts a DeviceConfigurationDeviceOverview with a new object + * + * @param newDeviceConfigurationDeviceOverview the object to create/update + * @return the created DeviceConfigurationDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceOverview put(final DeviceConfigurationDeviceOverview newDeviceConfigurationDeviceOverview) throws ClientException; + /** * Sets the select clause for the request * 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 f952bd635b2..ac0755ec4b3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStateSummaryRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationDeviceStateSummaryRequest extends IHttpRequ */ DeviceConfigurationDeviceStateSummary post(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary) throws ClientException; + /** + * Posts a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary, final ICallback callback); + + /** + * Posts a DeviceConfigurationDeviceStateSummary with a new object + * + * @param newDeviceConfigurationDeviceStateSummary the object to create/update + * @return the created DeviceConfigurationDeviceStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStateSummary put(final DeviceConfigurationDeviceStateSummary newDeviceConfigurationDeviceStateSummary) throws ClientException; + /** * Sets the select clause for the request * 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 f5c16d71521..d6c2d8a233a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationDeviceStatusRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationDeviceStatusRequest extends IHttpRequest { */ DeviceConfigurationDeviceStatus post(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException; + /** + * Posts a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus, final ICallback callback); + + /** + * Posts a DeviceConfigurationDeviceStatus with a new object + * + * @param newDeviceConfigurationDeviceStatus the object to create/update + * @return the created DeviceConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationDeviceStatus put(final DeviceConfigurationDeviceStatus newDeviceConfigurationDeviceStatus) throws ClientException; + /** * Sets the select clause for the request * 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 67edf58a0b3..6b1ba9a8456 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationRequest extends IHttpRequest { */ DeviceConfiguration post(final DeviceConfiguration newDeviceConfiguration) throws ClientException; + /** + * Posts a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfiguration newDeviceConfiguration, final ICallback callback); + + /** + * Posts a DeviceConfiguration with a new object + * + * @param newDeviceConfiguration the object to create/update + * @return the created DeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfiguration put(final DeviceConfiguration newDeviceConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 f97b97d18d9..310bf3d9da1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationStateRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationStateRequest extends IHttpRequest { */ DeviceConfigurationState post(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException; + /** + * Posts a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfigurationState newDeviceConfigurationState, final ICallback callback); + + /** + * Posts a DeviceConfigurationState with a new object + * + * @param newDeviceConfigurationState the object to create/update + * @return the created DeviceConfigurationState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationState put(final DeviceConfigurationState newDeviceConfigurationState) throws ClientException; + /** * Sets the select clause for the request * 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 bb48b24c080..da4238f66c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserOverviewRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationUserOverviewRequest extends IHttpRequest { */ DeviceConfigurationUserOverview post(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview) throws ClientException; + /** + * Posts a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview, final ICallback callback); + + /** + * Posts a DeviceConfigurationUserOverview with a new object + * + * @param newDeviceConfigurationUserOverview the object to create/update + * @return the created DeviceConfigurationUserOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserOverview put(final DeviceConfigurationUserOverview newDeviceConfigurationUserOverview) throws ClientException; + /** * Sets the select clause for the request * 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 4cef63b9dc7..f36afeb33a8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceConfigurationUserStatusRequest.java @@ -79,6 +79,23 @@ public interface IDeviceConfigurationUserStatusRequest extends IHttpRequest { */ DeviceConfigurationUserStatus post(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException; + /** + * Posts a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus, final ICallback callback); + + /** + * Posts a DeviceConfigurationUserStatus with a new object + * + * @param newDeviceConfigurationUserStatus the object to create/update + * @return the created DeviceConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceConfigurationUserStatus put(final DeviceConfigurationUserStatus newDeviceConfigurationUserStatus) throws ClientException; + /** * Sets the select clause for the request * 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 da98e9d6a87..7a6476f7a1b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IDeviceEnrollmentConfigurationRequest extends IHttpRequest { */ DeviceEnrollmentConfiguration post(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException; + /** + * Posts a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentConfiguration with a new object + * + * @param newDeviceEnrollmentConfiguration the object to create/update + * @return the created DeviceEnrollmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentConfiguration put(final DeviceEnrollmentConfiguration newDeviceEnrollmentConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 2c180030c4e..a249b4b51e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentLimitConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IDeviceEnrollmentLimitConfigurationRequest extends IHttpRequest */ DeviceEnrollmentLimitConfiguration post(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration) throws ClientException; + /** + * Posts a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentLimitConfiguration with a new object + * + * @param newDeviceEnrollmentLimitConfiguration the object to create/update + * @return the created DeviceEnrollmentLimitConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentLimitConfiguration put(final DeviceEnrollmentLimitConfiguration newDeviceEnrollmentLimitConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 079781b4714..0df71ba3245 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentPlatformRestrictionsConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IDeviceEnrollmentPlatformRestrictionsConfigurationRequest exten */ DeviceEnrollmentPlatformRestrictionsConfiguration post(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException; + /** + * Posts a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentPlatformRestrictionsConfiguration with a new object + * + * @param newDeviceEnrollmentPlatformRestrictionsConfiguration the object to create/update + * @return the created DeviceEnrollmentPlatformRestrictionsConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentPlatformRestrictionsConfiguration put(final DeviceEnrollmentPlatformRestrictionsConfiguration newDeviceEnrollmentPlatformRestrictionsConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 9b7894818e9..b4aaac17171 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IDeviceEnrollmentWindowsHelloForBusinessConfigurationRequest ex */ DeviceEnrollmentWindowsHelloForBusinessConfiguration post(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException; + /** + * Posts a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration, final ICallback callback); + + /** + * Posts a DeviceEnrollmentWindowsHelloForBusinessConfiguration with a new object + * + * @param newDeviceEnrollmentWindowsHelloForBusinessConfiguration the object to create/update + * @return the created DeviceEnrollmentWindowsHelloForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceEnrollmentWindowsHelloForBusinessConfiguration put(final DeviceEnrollmentWindowsHelloForBusinessConfiguration newDeviceEnrollmentWindowsHelloForBusinessConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 013b9184651..107f7bda6aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceInstallStateRequest.java @@ -79,6 +79,23 @@ public interface IDeviceInstallStateRequest extends IHttpRequest { */ DeviceInstallState post(final DeviceInstallState newDeviceInstallState) throws ClientException; + /** + * Posts a DeviceInstallState with a new object + * + * @param newDeviceInstallState the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceInstallState newDeviceInstallState, final ICallback callback); + + /** + * Posts a DeviceInstallState with a new object + * + * @param newDeviceInstallState the object to create/update + * @return the created DeviceInstallState + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceInstallState put(final DeviceInstallState newDeviceInstallState) throws ClientException; + /** * Sets the select clause for the request * 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 6983cf09390..e5706b8a9a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementExchangeConnectorRequest.java @@ -79,6 +79,23 @@ public interface IDeviceManagementExchangeConnectorRequest extends IHttpRequest */ DeviceManagementExchangeConnector post(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException; + /** + * Posts a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector, final ICallback callback); + + /** + * Posts a DeviceManagementExchangeConnector with a new object + * + * @param newDeviceManagementExchangeConnector the object to create/update + * @return the created DeviceManagementExchangeConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementExchangeConnector put(final DeviceManagementExchangeConnector newDeviceManagementExchangeConnector) throws ClientException; + /** * Sets the select clause for the request * 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 841398a0c13..6d062f87ff8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementPartnerRequest.java @@ -79,6 +79,23 @@ public interface IDeviceManagementPartnerRequest extends IHttpRequest { */ DeviceManagementPartner post(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException; + /** + * Posts a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceManagementPartner newDeviceManagementPartner, final ICallback callback); + + /** + * Posts a DeviceManagementPartner with a new object + * + * @param newDeviceManagementPartner the object to create/update + * @return the created DeviceManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementPartner put(final DeviceManagementPartner newDeviceManagementPartner) throws ClientException; + /** * Sets the select clause for the request * 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 d68c08fa1a1..b91d2a27683 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementRequest.java @@ -79,6 +79,23 @@ public interface IDeviceManagementRequest extends IHttpRequest { */ DeviceManagement post(final DeviceManagement newDeviceManagement) throws ClientException; + /** + * Posts a DeviceManagement with a new object + * + * @param newDeviceManagement the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceManagement newDeviceManagement, final ICallback callback); + + /** + * Posts a DeviceManagement with a new object + * + * @param newDeviceManagement the object to create/update + * @return the created DeviceManagement + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagement put(final DeviceManagement newDeviceManagement) throws ClientException; + /** * Sets the select clause for the request * 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 300950ef220..2fc783e7ae5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceManagementTroubleshootingEventRequest.java @@ -79,6 +79,23 @@ public interface IDeviceManagementTroubleshootingEventRequest extends IHttpReque */ DeviceManagementTroubleshootingEvent post(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException; + /** + * Posts a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, final ICallback callback); + + /** + * Posts a DeviceManagementTroubleshootingEvent with a new object + * + * @param newDeviceManagementTroubleshootingEvent the object to create/update + * @return the created DeviceManagementTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DeviceManagementTroubleshootingEvent put(final DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException; + /** * Sets the select clause for the request * 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 9b95d118b21..35d62c8e10f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDeviceRequest.java @@ -79,6 +79,23 @@ public interface IDeviceRequest extends IHttpRequest { */ Device post(final Device newDevice) throws ClientException; + /** + * Posts a Device with a new object + * + * @param newDevice the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Device newDevice, final ICallback callback); + + /** + * Posts a Device with a new object + * + * @param newDevice the object to create/update + * @return the created Device + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Device put(final Device newDevice) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryAuditRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryAuditRequest.java index e92f8bdc28a..cedc7247738 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryAuditRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryAuditRequest.java @@ -79,6 +79,23 @@ public interface IDirectoryAuditRequest extends IHttpRequest { */ DirectoryAudit post(final DirectoryAudit newDirectoryAudit) throws ClientException; + /** + * Posts a DirectoryAudit with a new object + * + * @param newDirectoryAudit the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DirectoryAudit newDirectoryAudit, final ICallback callback); + + /** + * Posts a DirectoryAudit with a new object + * + * @param newDirectoryAudit the object to create/update + * @return the created DirectoryAudit + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryAudit put(final DirectoryAudit newDirectoryAudit) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectPartnerReferenceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectPartnerReferenceRequest.java index b1bcdf93936..ce37c6170ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectPartnerReferenceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectPartnerReferenceRequest.java @@ -79,6 +79,23 @@ public interface IDirectoryObjectPartnerReferenceRequest extends IHttpRequest { */ DirectoryObjectPartnerReference post(final DirectoryObjectPartnerReference newDirectoryObjectPartnerReference) throws ClientException; + /** + * Posts a DirectoryObjectPartnerReference with a new object + * + * @param newDirectoryObjectPartnerReference the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DirectoryObjectPartnerReference newDirectoryObjectPartnerReference, final ICallback callback); + + /** + * Posts a DirectoryObjectPartnerReference with a new object + * + * @param newDirectoryObjectPartnerReference the object to create/update + * @return the created DirectoryObjectPartnerReference + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryObjectPartnerReference put(final DirectoryObjectPartnerReference newDirectoryObjectPartnerReference) throws ClientException; + /** * Sets the select clause for the request * 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 312a1a22b9c..f5b8406a4ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryObjectRequest.java @@ -79,6 +79,23 @@ public interface IDirectoryObjectRequest extends IHttpRequest { */ DirectoryObject post(final DirectoryObject newDirectoryObject) throws ClientException; + /** + * Posts a DirectoryObject with a new object + * + * @param newDirectoryObject the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DirectoryObject newDirectoryObject, final ICallback callback); + + /** + * Posts a DirectoryObject with a new object + * + * @param newDirectoryObject the object to create/update + * @return the created DirectoryObject + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryObject put(final DirectoryObject newDirectoryObject) throws ClientException; + /** * Sets the select clause for the request * 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 377d7d4051d..a014e6dc003 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRequest.java @@ -79,6 +79,23 @@ public interface IDirectoryRequest extends IHttpRequest { */ Directory post(final Directory newDirectory) throws ClientException; + /** + * Posts a Directory with a new object + * + * @param newDirectory the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Directory newDirectory, final ICallback callback); + + /** + * Posts a Directory with a new object + * + * @param newDirectory the object to create/update + * @return the created Directory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Directory put(final Directory newDirectory) throws ClientException; + /** * Sets the select clause for the request * 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 e671e3a55b8..808fbb712aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleRequest.java @@ -79,6 +79,23 @@ public interface IDirectoryRoleRequest extends IHttpRequest { */ DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientException; + /** + * Posts a DirectoryRole with a new object + * + * @param newDirectoryRole the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DirectoryRole newDirectoryRole, final ICallback callback); + + /** + * Posts a DirectoryRole with a new object + * + * @param newDirectoryRole the object to create/update + * @return the created DirectoryRole + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRole put(final DirectoryRole newDirectoryRole) throws ClientException; + /** * Sets the select clause for the request * 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 be84afebd49..531d54ddfbb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDirectoryRoleTemplateRequest.java @@ -79,6 +79,23 @@ public interface IDirectoryRoleTemplateRequest extends IHttpRequest { */ DirectoryRoleTemplate post(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException; + /** + * Posts a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DirectoryRoleTemplate newDirectoryRoleTemplate, final ICallback callback); + + /** + * Posts a DirectoryRoleTemplate with a new object + * + * @param newDirectoryRoleTemplate the object to create/update + * @return the created DirectoryRoleTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DirectoryRoleTemplate put(final DirectoryRoleTemplate newDirectoryRoleTemplate) throws ClientException; + /** * Sets the select clause for the request * 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 bb554c6a5a6..da8d5c59ca9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsCnameRecordRequest.java @@ -79,6 +79,23 @@ public interface IDomainDnsCnameRecordRequest extends IHttpRequest { */ DomainDnsCnameRecord post(final DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException; + /** + * Posts a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DomainDnsCnameRecord newDomainDnsCnameRecord, final ICallback callback); + + /** + * Posts a DomainDnsCnameRecord with a new object + * + * @param newDomainDnsCnameRecord the object to create/update + * @return the created DomainDnsCnameRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsCnameRecord put(final DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException; + /** * Sets the select clause for the request * 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 6b2872b7202..26a90177bbf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsMxRecordRequest.java @@ -79,6 +79,23 @@ public interface IDomainDnsMxRecordRequest extends IHttpRequest { */ DomainDnsMxRecord post(final DomainDnsMxRecord newDomainDnsMxRecord) throws ClientException; + /** + * Posts a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DomainDnsMxRecord newDomainDnsMxRecord, final ICallback callback); + + /** + * Posts a DomainDnsMxRecord with a new object + * + * @param newDomainDnsMxRecord the object to create/update + * @return the created DomainDnsMxRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsMxRecord put(final DomainDnsMxRecord newDomainDnsMxRecord) throws ClientException; + /** * Sets the select clause for the request * 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 39148847506..52cea478b23 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsRecordRequest.java @@ -79,6 +79,23 @@ public interface IDomainDnsRecordRequest extends IHttpRequest { */ DomainDnsRecord post(final DomainDnsRecord newDomainDnsRecord) throws ClientException; + /** + * Posts a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DomainDnsRecord newDomainDnsRecord, final ICallback callback); + + /** + * Posts a DomainDnsRecord with a new object + * + * @param newDomainDnsRecord the object to create/update + * @return the created DomainDnsRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsRecord put(final DomainDnsRecord newDomainDnsRecord) throws ClientException; + /** * Sets the select clause for the request * 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 528ffaab35e..fb157c8d146 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsSrvRecordRequest.java @@ -79,6 +79,23 @@ public interface IDomainDnsSrvRecordRequest extends IHttpRequest { */ DomainDnsSrvRecord post(final DomainDnsSrvRecord newDomainDnsSrvRecord) throws ClientException; + /** + * Posts a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DomainDnsSrvRecord newDomainDnsSrvRecord, final ICallback callback); + + /** + * Posts a DomainDnsSrvRecord with a new object + * + * @param newDomainDnsSrvRecord the object to create/update + * @return the created DomainDnsSrvRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsSrvRecord put(final DomainDnsSrvRecord newDomainDnsSrvRecord) throws ClientException; + /** * Sets the select clause for the request * 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 98df962c157..0bfde0f507f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsTxtRecordRequest.java @@ -79,6 +79,23 @@ public interface IDomainDnsTxtRecordRequest extends IHttpRequest { */ DomainDnsTxtRecord post(final DomainDnsTxtRecord newDomainDnsTxtRecord) throws ClientException; + /** + * Posts a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DomainDnsTxtRecord newDomainDnsTxtRecord, final ICallback callback); + + /** + * Posts a DomainDnsTxtRecord with a new object + * + * @param newDomainDnsTxtRecord the object to create/update + * @return the created DomainDnsTxtRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsTxtRecord put(final DomainDnsTxtRecord newDomainDnsTxtRecord) throws ClientException; + /** * Sets the select clause for the request * 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 4968d66d48c..059e4eced6c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainDnsUnavailableRecordRequest.java @@ -79,6 +79,23 @@ public interface IDomainDnsUnavailableRecordRequest extends IHttpRequest { */ DomainDnsUnavailableRecord post(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord) throws ClientException; + /** + * Posts a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord, final ICallback callback); + + /** + * Posts a DomainDnsUnavailableRecord with a new object + * + * @param newDomainDnsUnavailableRecord the object to create/update + * @return the created DomainDnsUnavailableRecord + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DomainDnsUnavailableRecord put(final DomainDnsUnavailableRecord newDomainDnsUnavailableRecord) throws ClientException; + /** * Sets the select clause for the request * 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 0de39a521c6..25dc2b990c9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDomainRequest.java @@ -79,6 +79,23 @@ public interface IDomainRequest extends IHttpRequest { */ Domain post(final Domain newDomain) throws ClientException; + /** + * Posts a Domain with a new object + * + * @param newDomain the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Domain newDomain, final ICallback callback); + + /** + * Posts a Domain with a new object + * + * @param newDomain the object to create/update + * @return the created Domain + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Domain put(final Domain newDomain) throws ClientException; + /** * Sets the select clause for the request * 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 402ad44cd06..4a332b76fed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemRequest.java @@ -79,6 +79,23 @@ public interface IDriveItemRequest extends IHttpRequest { */ DriveItem post(final DriveItem newDriveItem) throws ClientException; + /** + * Posts a DriveItem with a new object + * + * @param newDriveItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DriveItem newDriveItem, final ICallback callback); + + /** + * Posts a DriveItem with a new object + * + * @param newDriveItem the object to create/update + * @return the created DriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItem put(final DriveItem newDriveItem) throws ClientException; + /** * Sets the select clause for the request * 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 03d03b6ae3e..1983d0753cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveItemVersionRequest.java @@ -79,6 +79,23 @@ public interface IDriveItemVersionRequest extends IHttpRequest { */ DriveItemVersion post(final DriveItemVersion newDriveItemVersion) throws ClientException; + /** + * Posts a DriveItemVersion with a new object + * + * @param newDriveItemVersion the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final DriveItemVersion newDriveItemVersion, final ICallback callback); + + /** + * Posts a DriveItemVersion with a new object + * + * @param newDriveItemVersion the object to create/update + * @return the created DriveItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + DriveItemVersion put(final DriveItemVersion newDriveItemVersion) throws ClientException; + /** * Sets the select clause for the request * 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 85745f12d2e..921d3126a32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IDriveRequest.java @@ -79,6 +79,23 @@ public interface IDriveRequest extends IHttpRequest { */ Drive post(final Drive newDrive) throws ClientException; + /** + * Posts a Drive with a new object + * + * @param newDrive the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Drive newDrive, final ICallback callback); + + /** + * Posts a Drive with a new object + * + * @param newDrive the object to create/update + * @return the created Drive + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Drive put(final Drive newDrive) throws ClientException; + /** * Sets the select clause for the request * 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 21b7c5bf32e..1040dc787c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEBookInstallSummaryRequest.java @@ -79,6 +79,23 @@ public interface IEBookInstallSummaryRequest extends IHttpRequest { */ EBookInstallSummary post(final EBookInstallSummary newEBookInstallSummary) throws ClientException; + /** + * Posts a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EBookInstallSummary newEBookInstallSummary, final ICallback callback); + + /** + * Posts a EBookInstallSummary with a new object + * + * @param newEBookInstallSummary the object to create/update + * @return the created EBookInstallSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EBookInstallSummary put(final EBookInstallSummary newEBookInstallSummary) throws ClientException; + /** * Sets the select clause for the request * 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 52feb565d12..498d7cbb2a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEditionUpgradeConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IEditionUpgradeConfigurationRequest extends IHttpRequest { */ EditionUpgradeConfiguration post(final EditionUpgradeConfiguration newEditionUpgradeConfiguration) throws ClientException; + /** + * Posts a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EditionUpgradeConfiguration newEditionUpgradeConfiguration, final ICallback callback); + + /** + * Posts a EditionUpgradeConfiguration with a new object + * + * @param newEditionUpgradeConfiguration the object to create/update + * @return the created EditionUpgradeConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EditionUpgradeConfiguration put(final EditionUpgradeConfiguration newEditionUpgradeConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 368aa268aa1..e37041011c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationClassRequest.java @@ -79,6 +79,23 @@ public interface IEducationClassRequest extends IHttpRequest { */ EducationClass post(final EducationClass newEducationClass) throws ClientException; + /** + * Posts a EducationClass with a new object + * + * @param newEducationClass the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EducationClass newEducationClass, final ICallback callback); + + /** + * Posts a EducationClass with a new object + * + * @param newEducationClass the object to create/update + * @return the created EducationClass + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationClass put(final EducationClass newEducationClass) throws ClientException; + /** * Sets the select clause for the request * 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 2b02792f90e..89bac526f48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationOrganizationRequest.java @@ -79,6 +79,23 @@ public interface IEducationOrganizationRequest extends IHttpRequest { */ EducationOrganization post(final EducationOrganization newEducationOrganization) throws ClientException; + /** + * Posts a EducationOrganization with a new object + * + * @param newEducationOrganization the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EducationOrganization newEducationOrganization, final ICallback callback); + + /** + * Posts a EducationOrganization with a new object + * + * @param newEducationOrganization the object to create/update + * @return the created EducationOrganization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationOrganization put(final EducationOrganization newEducationOrganization) throws ClientException; + /** * Sets the select clause for the request * 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 de163378ed0..b05871422fd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationRootRequest.java @@ -79,6 +79,23 @@ public interface IEducationRootRequest extends IHttpRequest { */ EducationRoot post(final EducationRoot newEducationRoot) throws ClientException; + /** + * Posts a EducationRoot with a new object + * + * @param newEducationRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EducationRoot newEducationRoot, final ICallback callback); + + /** + * Posts a EducationRoot with a new object + * + * @param newEducationRoot the object to create/update + * @return the created EducationRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationRoot put(final EducationRoot newEducationRoot) throws ClientException; + /** * Sets the select clause for the request * 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 a127387b959..cb4daaa62cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationSchoolRequest.java @@ -79,6 +79,23 @@ public interface IEducationSchoolRequest extends IHttpRequest { */ EducationSchool post(final EducationSchool newEducationSchool) throws ClientException; + /** + * Posts a EducationSchool with a new object + * + * @param newEducationSchool the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EducationSchool newEducationSchool, final ICallback callback); + + /** + * Posts a EducationSchool with a new object + * + * @param newEducationSchool the object to create/update + * @return the created EducationSchool + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationSchool put(final EducationSchool newEducationSchool) throws ClientException; + /** * Sets the select clause for the request * 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 85b8f7c2dad..0c18e726918 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEducationUserRequest.java @@ -79,6 +79,23 @@ public interface IEducationUserRequest extends IHttpRequest { */ EducationUser post(final EducationUser newEducationUser) throws ClientException; + /** + * Posts a EducationUser with a new object + * + * @param newEducationUser the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EducationUser newEducationUser, final ICallback callback); + + /** + * Posts a EducationUser with a new object + * + * @param newEducationUser the object to create/update + * @return the created EducationUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EducationUser put(final EducationUser newEducationUser) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEmailFileAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEmailFileAssessmentRequestRequest.java index 8304c2a7e15..dbc620ee05d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEmailFileAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEmailFileAssessmentRequestRequest.java @@ -79,6 +79,23 @@ public interface IEmailFileAssessmentRequestRequest extends IHttpRequest { */ EmailFileAssessmentRequest post(final EmailFileAssessmentRequest newEmailFileAssessmentRequest) throws ClientException; + /** + * Posts a EmailFileAssessmentRequest with a new object + * + * @param newEmailFileAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EmailFileAssessmentRequest newEmailFileAssessmentRequest, final ICallback callback); + + /** + * Posts a EmailFileAssessmentRequest with a new object + * + * @param newEmailFileAssessmentRequest the object to create/update + * @return the created EmailFileAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EmailFileAssessmentRequest put(final EmailFileAssessmentRequest newEmailFileAssessmentRequest) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEndpointRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEndpointRequest.java index 512d0964706..45b9933601f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEndpointRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEndpointRequest.java @@ -79,6 +79,23 @@ public interface IEndpointRequest extends IHttpRequest { */ Endpoint post(final Endpoint newEndpoint) throws ClientException; + /** + * Posts a Endpoint with a new object + * + * @param newEndpoint the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Endpoint newEndpoint, final ICallback callback); + + /** + * Posts a Endpoint with a new object + * + * @param newEndpoint the object to create/update + * @return the created Endpoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Endpoint put(final Endpoint newEndpoint) throws ClientException; + /** * Sets the select clause for the request * 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 f2286b67417..736bd714d2c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentConfigurationAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IEnrollmentConfigurationAssignmentRequest extends IHttpRequest */ EnrollmentConfigurationAssignment post(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException; + /** + * Posts a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment, final ICallback callback); + + /** + * Posts a EnrollmentConfigurationAssignment with a new object + * + * @param newEnrollmentConfigurationAssignment the object to create/update + * @return the created EnrollmentConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentConfigurationAssignment put(final EnrollmentConfigurationAssignment newEnrollmentConfigurationAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 ea703814fb1..bb79d6da224 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEnrollmentTroubleshootingEventRequest.java @@ -79,6 +79,23 @@ public interface IEnrollmentTroubleshootingEventRequest extends IHttpRequest { */ EnrollmentTroubleshootingEvent post(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent) throws ClientException; + /** + * Posts a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent, final ICallback callback); + + /** + * Posts a EnrollmentTroubleshootingEvent with a new object + * + * @param newEnrollmentTroubleshootingEvent the object to create/update + * @return the created EnrollmentTroubleshootingEvent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EnrollmentTroubleshootingEvent put(final EnrollmentTroubleshootingEvent newEnrollmentTroubleshootingEvent) throws ClientException; + /** * Sets the select clause for the request * 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 60650c966a1..996f5353add 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequest.java @@ -79,6 +79,23 @@ public interface IEventMessageRequest extends IHttpRequest { */ EventMessage post(final EventMessage newEventMessage) throws ClientException; + /** + * Posts a EventMessage with a new object + * + * @param newEventMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EventMessage newEventMessage, final ICallback callback); + + /** + * Posts a EventMessage with a new object + * + * @param newEventMessage the object to create/update + * @return the created EventMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EventMessage put(final EventMessage newEventMessage) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestRequest.java index d054afce8b3..7d334c9eac2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageRequestRequest.java @@ -79,6 +79,23 @@ public interface IEventMessageRequestRequest extends IHttpRequest { */ EventMessageRequest post(final EventMessageRequest newEventMessageRequest) throws ClientException; + /** + * Posts a EventMessageRequest with a new object + * + * @param newEventMessageRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EventMessageRequest newEventMessageRequest, final ICallback callback); + + /** + * Posts a EventMessageRequest with a new object + * + * @param newEventMessageRequest the object to create/update + * @return the created EventMessageRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EventMessageRequest put(final EventMessageRequest newEventMessageRequest) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageResponseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageResponseRequest.java index 6415240776c..179938f1f02 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageResponseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventMessageResponseRequest.java @@ -79,6 +79,23 @@ public interface IEventMessageResponseRequest extends IHttpRequest { */ EventMessageResponse post(final EventMessageResponse newEventMessageResponse) throws ClientException; + /** + * Posts a EventMessageResponse with a new object + * + * @param newEventMessageResponse the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final EventMessageResponse newEventMessageResponse, final ICallback callback); + + /** + * Posts a EventMessageResponse with a new object + * + * @param newEventMessageResponse the object to create/update + * @return the created EventMessageResponse + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + EventMessageResponse put(final EventMessageResponse newEventMessageResponse) throws ClientException; + /** * Sets the select clause for the request * 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 9bd9997d016..72aec3f3e6d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IEventRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IEventRequest.java @@ -79,6 +79,23 @@ public interface IEventRequest extends IHttpRequest { */ Event post(final Event newEvent) throws ClientException; + /** + * Posts a Event with a new object + * + * @param newEvent the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Event newEvent, final ICallback callback); + + /** + * Posts a Event with a new object + * + * @param newEvent the object to create/update + * @return the created Event + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Event put(final Event newEvent) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionPropertyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionPropertyRequest.java index 5b6253c0197..a3daa5be26e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionPropertyRequest.java @@ -79,6 +79,23 @@ public interface IExtensionPropertyRequest extends IHttpRequest { */ ExtensionProperty post(final ExtensionProperty newExtensionProperty) throws ClientException; + /** + * Posts a ExtensionProperty with a new object + * + * @param newExtensionProperty the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ExtensionProperty newExtensionProperty, final ICallback callback); + + /** + * Posts a ExtensionProperty with a new object + * + * @param newExtensionProperty the object to create/update + * @return the created ExtensionProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ExtensionProperty put(final ExtensionProperty newExtensionProperty) throws ClientException; + /** * Sets the select clause for the request * 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 ac6e4af4ea3..906b1602a52 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IExtensionRequest.java @@ -79,6 +79,23 @@ public interface IExtensionRequest extends IHttpRequest { */ Extension post(final Extension newExtension) throws ClientException; + /** + * Posts a Extension with a new object + * + * @param newExtension the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Extension newExtension, final ICallback callback); + + /** + * Posts a Extension with a new object + * + * @param newExtension the object to create/update + * @return the created Extension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Extension put(final Extension newExtension) throws ClientException; + /** * Sets the select clause for the request * 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 05553c257ff..e19ef172573 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IFieldValueSetRequest.java @@ -79,6 +79,23 @@ public interface IFieldValueSetRequest extends IHttpRequest { */ FieldValueSet post(final FieldValueSet newFieldValueSet) throws ClientException; + /** + * Posts a FieldValueSet with a new object + * + * @param newFieldValueSet the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final FieldValueSet newFieldValueSet, final ICallback callback); + + /** + * Posts a FieldValueSet with a new object + * + * @param newFieldValueSet the object to create/update + * @return the created FieldValueSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FieldValueSet put(final FieldValueSet newFieldValueSet) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IFileAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IFileAssessmentRequestRequest.java index 2ddf1e547bb..da3f2b5485e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IFileAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IFileAssessmentRequestRequest.java @@ -79,6 +79,23 @@ public interface IFileAssessmentRequestRequest extends IHttpRequest { */ FileAssessmentRequest post(final FileAssessmentRequest newFileAssessmentRequest) throws ClientException; + /** + * Posts a FileAssessmentRequest with a new object + * + * @param newFileAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final FileAssessmentRequest newFileAssessmentRequest, final ICallback callback); + + /** + * Posts a FileAssessmentRequest with a new object + * + * @param newFileAssessmentRequest the object to create/update + * @return the created FileAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FileAssessmentRequest put(final FileAssessmentRequest newFileAssessmentRequest) throws ClientException; + /** * Sets the select clause for the request * 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 df90a27f200..36d491ab0bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IFileAttachmentRequest.java @@ -79,6 +79,23 @@ public interface IFileAttachmentRequest extends IHttpRequest { */ FileAttachment post(final FileAttachment newFileAttachment) throws ClientException; + /** + * Posts a FileAttachment with a new object + * + * @param newFileAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final FileAttachment newFileAttachment, final ICallback callback); + + /** + * Posts a FileAttachment with a new object + * + * @param newFileAttachment the object to create/update + * @return the created FileAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + FileAttachment put(final FileAttachment newFileAttachment) throws ClientException; + /** * Sets the select clause for the request * 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 05536ad863c..121373a7899 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupLifecyclePolicyRequest.java @@ -79,6 +79,23 @@ public interface IGroupLifecyclePolicyRequest extends IHttpRequest { */ GroupLifecyclePolicy post(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException; + /** + * Posts a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final GroupLifecyclePolicy newGroupLifecyclePolicy, final ICallback callback); + + /** + * Posts a GroupLifecyclePolicy with a new object + * + * @param newGroupLifecyclePolicy the object to create/update + * @return the created GroupLifecyclePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupLifecyclePolicy put(final GroupLifecyclePolicy newGroupLifecyclePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 330b1ada834..3c4cbdcc938 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupRequest.java @@ -79,6 +79,23 @@ public interface IGroupRequest extends IHttpRequest { */ Group post(final Group newGroup) throws ClientException; + /** + * Posts a Group with a new object + * + * @param newGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Group newGroup, final ICallback callback); + + /** + * Posts a Group with a new object + * + * @param newGroup the object to create/update + * @return the created Group + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Group put(final Group newGroup) throws ClientException; + /** * Sets the select clause for the request * 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 a9adf9ecea8..b23bed9dab9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingRequest.java @@ -79,6 +79,23 @@ public interface IGroupSettingRequest extends IHttpRequest { */ GroupSetting post(final GroupSetting newGroupSetting) throws ClientException; + /** + * Posts a GroupSetting with a new object + * + * @param newGroupSetting the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final GroupSetting newGroupSetting, final ICallback callback); + + /** + * Posts a GroupSetting with a new object + * + * @param newGroupSetting the object to create/update + * @return the created GroupSetting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSetting put(final GroupSetting newGroupSetting) throws ClientException; + /** * Sets the select clause for the request * 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 7b366c0945d..d3dcbcb4ff2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IGroupSettingTemplateRequest.java @@ -79,6 +79,23 @@ public interface IGroupSettingTemplateRequest extends IHttpRequest { */ GroupSettingTemplate post(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException; + /** + * Posts a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final GroupSettingTemplate newGroupSettingTemplate, final ICallback callback); + + /** + * Posts a GroupSettingTemplate with a new object + * + * @param newGroupSettingTemplate the object to create/update + * @return the created GroupSettingTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + GroupSettingTemplate put(final GroupSettingTemplate newGroupSettingTemplate) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IHomeRealmDiscoveryPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IHomeRealmDiscoveryPolicyRequest.java index 515e95ea90a..915b869bb5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IHomeRealmDiscoveryPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IHomeRealmDiscoveryPolicyRequest.java @@ -79,6 +79,23 @@ public interface IHomeRealmDiscoveryPolicyRequest extends IHttpRequest { */ HomeRealmDiscoveryPolicy post(final HomeRealmDiscoveryPolicy newHomeRealmDiscoveryPolicy) throws ClientException; + /** + * Posts a HomeRealmDiscoveryPolicy with a new object + * + * @param newHomeRealmDiscoveryPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final HomeRealmDiscoveryPolicy newHomeRealmDiscoveryPolicy, final ICallback callback); + + /** + * Posts a HomeRealmDiscoveryPolicy with a new object + * + * @param newHomeRealmDiscoveryPolicy the object to create/update + * @return the created HomeRealmDiscoveryPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + HomeRealmDiscoveryPolicy put(final HomeRealmDiscoveryPolicy newHomeRealmDiscoveryPolicy) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIdentityContainerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIdentityContainerRequest.java index dd2921cde3e..477b51a3cb0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIdentityContainerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIdentityContainerRequest.java @@ -79,6 +79,23 @@ public interface IIdentityContainerRequest extends IHttpRequest { */ IdentityContainer post(final IdentityContainer newIdentityContainer) throws ClientException; + /** + * Posts a IdentityContainer with a new object + * + * @param newIdentityContainer the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IdentityContainer newIdentityContainer, final ICallback callback); + + /** + * Posts a IdentityContainer with a new object + * + * @param newIdentityContainer the object to create/update + * @return the created IdentityContainer + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IdentityContainer put(final IdentityContainer newIdentityContainer) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIdentityProviderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIdentityProviderRequest.java index 94899d9606c..0d96ce95f80 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIdentityProviderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIdentityProviderRequest.java @@ -79,6 +79,23 @@ public interface IIdentityProviderRequest extends IHttpRequest { */ IdentityProvider post(final IdentityProvider newIdentityProvider) throws ClientException; + /** + * Posts a IdentityProvider with a new object + * + * @param newIdentityProvider the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IdentityProvider newIdentityProvider, final ICallback callback); + + /** + * Posts a IdentityProvider with a new object + * + * @param newIdentityProvider the object to create/update + * @return the created IdentityProvider + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IdentityProvider put(final IdentityProvider newIdentityProvider) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIdentitySecurityDefaultsEnforcementPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIdentitySecurityDefaultsEnforcementPolicyRequest.java index 3012a52ba9f..fd725700129 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIdentitySecurityDefaultsEnforcementPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIdentitySecurityDefaultsEnforcementPolicyRequest.java @@ -79,6 +79,23 @@ public interface IIdentitySecurityDefaultsEnforcementPolicyRequest extends IHttp */ IdentitySecurityDefaultsEnforcementPolicy post(final IdentitySecurityDefaultsEnforcementPolicy newIdentitySecurityDefaultsEnforcementPolicy) throws ClientException; + /** + * Posts a IdentitySecurityDefaultsEnforcementPolicy with a new object + * + * @param newIdentitySecurityDefaultsEnforcementPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IdentitySecurityDefaultsEnforcementPolicy newIdentitySecurityDefaultsEnforcementPolicy, final ICallback callback); + + /** + * Posts a IdentitySecurityDefaultsEnforcementPolicy with a new object + * + * @param newIdentitySecurityDefaultsEnforcementPolicy the object to create/update + * @return the created IdentitySecurityDefaultsEnforcementPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IdentitySecurityDefaultsEnforcementPolicy put(final IdentitySecurityDefaultsEnforcementPolicy newIdentitySecurityDefaultsEnforcementPolicy) throws ClientException; + /** * Sets the select clause for the request * 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 66018d520f7..d40699642c3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationOverrideRequest.java @@ -79,6 +79,23 @@ public interface IInferenceClassificationOverrideRequest extends IHttpRequest { */ InferenceClassificationOverride post(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException; + /** + * Posts a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback); + + /** + * Posts a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the object to create/update + * @return the created InferenceClassificationOverride + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassificationOverride put(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException; + /** * Sets the select clause for the request * 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 6b5c9c26ed1..3f29010eea7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInferenceClassificationRequest.java @@ -79,6 +79,23 @@ public interface IInferenceClassificationRequest extends IHttpRequest { */ InferenceClassification post(final InferenceClassification newInferenceClassification) throws ClientException; + /** + * Posts a InferenceClassification with a new object + * + * @param newInferenceClassification the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final InferenceClassification newInferenceClassification, final ICallback callback); + + /** + * Posts a InferenceClassification with a new object + * + * @param newInferenceClassification the object to create/update + * @return the created InferenceClassification + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InferenceClassification put(final InferenceClassification newInferenceClassification) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInformationProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IInformationProtectionRequest.java index 475f7c8ee09..8aa388598cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInformationProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInformationProtectionRequest.java @@ -79,6 +79,23 @@ public interface IInformationProtectionRequest extends IHttpRequest { */ InformationProtection post(final InformationProtection newInformationProtection) throws ClientException; + /** + * Posts a InformationProtection with a new object + * + * @param newInformationProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final InformationProtection newInformationProtection, final ICallback callback); + + /** + * Posts a InformationProtection with a new object + * + * @param newInformationProtection the object to create/update + * @return the created InformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InformationProtection put(final InformationProtection newInformationProtection) throws ClientException; + /** * Sets the select clause for the request * 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 b197dc50ab0..1e4849a98d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInvitationRequest.java @@ -79,6 +79,23 @@ public interface IInvitationRequest extends IHttpRequest { */ Invitation post(final Invitation newInvitation) throws ClientException; + /** + * Posts a Invitation with a new object + * + * @param newInvitation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Invitation newInvitation, final ICallback callback); + + /** + * Posts a Invitation with a new object + * + * @param newInvitation the object to create/update + * @return the created Invitation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Invitation put(final Invitation newInvitation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IInviteParticipantsOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IInviteParticipantsOperationRequest.java index 4ea925077d7..0398e562d1e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IInviteParticipantsOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IInviteParticipantsOperationRequest.java @@ -79,6 +79,23 @@ public interface IInviteParticipantsOperationRequest extends IHttpRequest { */ InviteParticipantsOperation post(final InviteParticipantsOperation newInviteParticipantsOperation) throws ClientException; + /** + * Posts a InviteParticipantsOperation with a new object + * + * @param newInviteParticipantsOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final InviteParticipantsOperation newInviteParticipantsOperation, final ICallback callback); + + /** + * Posts a InviteParticipantsOperation with a new object + * + * @param newInviteParticipantsOperation the object to create/update + * @return the created InviteParticipantsOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + InviteParticipantsOperation put(final InviteParticipantsOperation newInviteParticipantsOperation) throws ClientException; + /** * Sets the select clause for the request * 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 89ebbef144b..10c22dc0c91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCertificateProfileRequest.java @@ -79,6 +79,23 @@ public interface IIosCertificateProfileRequest extends IHttpRequest { */ IosCertificateProfile post(final IosCertificateProfile newIosCertificateProfile) throws ClientException; + /** + * Posts a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosCertificateProfile newIosCertificateProfile, final ICallback callback); + + /** + * Posts a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the object to create/update + * @return the created IosCertificateProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCertificateProfile put(final IosCertificateProfile newIosCertificateProfile) throws ClientException; + /** * Sets the select clause for the request * 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 ed1e6c438b8..85ed0ec60f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IIosCompliancePolicyRequest extends IHttpRequest { */ IosCompliancePolicy post(final IosCompliancePolicy newIosCompliancePolicy) throws ClientException; + /** + * Posts a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosCompliancePolicy newIosCompliancePolicy, final ICallback callback); + + /** + * Posts a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the object to create/update + * @return the created IosCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCompliancePolicy put(final IosCompliancePolicy newIosCompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 3c82feb9dbd..feb9ce33d0e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosCustomConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IIosCustomConfigurationRequest extends IHttpRequest { */ IosCustomConfiguration post(final IosCustomConfiguration newIosCustomConfiguration) throws ClientException; + /** + * Posts a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosCustomConfiguration newIosCustomConfiguration, final ICallback callback); + + /** + * Posts a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the object to create/update + * @return the created IosCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosCustomConfiguration put(final IosCustomConfiguration newIosCustomConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 8af7f1bff4a..da699310ec2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosDeviceFeaturesConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IIosDeviceFeaturesConfigurationRequest extends IHttpRequest { */ IosDeviceFeaturesConfiguration post(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration) throws ClientException; + /** + * Posts a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration, final ICallback callback); + + /** + * Posts a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the object to create/update + * @return the created IosDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosDeviceFeaturesConfiguration put(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 346a42defcf..c93df0847d5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosGeneralDeviceConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IIosGeneralDeviceConfigurationRequest extends IHttpRequest { */ IosGeneralDeviceConfiguration post(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration) throws ClientException; + /** + * Posts a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the object to create/update + * @return the created IosGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosGeneralDeviceConfiguration put(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 e9328c9a100..f88e7e92ce7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosLobAppRequest.java @@ -79,6 +79,23 @@ public interface IIosLobAppRequest extends IHttpRequest { */ IosLobApp post(final IosLobApp newIosLobApp) throws ClientException; + /** + * Posts a IosLobApp with a new object + * + * @param newIosLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosLobApp newIosLobApp, final ICallback callback); + + /** + * Posts a IosLobApp with a new object + * + * @param newIosLobApp the object to create/update + * @return the created IosLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosLobApp put(final IosLobApp newIosLobApp) throws ClientException; + /** * Sets the select clause for the request * 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 8f35cb967cb..5bb0f38c1f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppProtectionRequest.java @@ -79,6 +79,23 @@ public interface IIosManagedAppProtectionRequest extends IHttpRequest { */ IosManagedAppProtection post(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException; + /** + * Posts a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback); + + /** + * Posts a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the object to create/update + * @return the created IosManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppProtection put(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException; + /** * Sets the select clause for the request * 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 a7a33ee6c0f..bda39dbb543 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosManagedAppRegistrationRequest.java @@ -79,6 +79,23 @@ public interface IIosManagedAppRegistrationRequest extends IHttpRequest { */ IosManagedAppRegistration post(final IosManagedAppRegistration newIosManagedAppRegistration) throws ClientException; + /** + * Posts a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosManagedAppRegistration newIosManagedAppRegistration, final ICallback callback); + + /** + * Posts a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the object to create/update + * @return the created IosManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosManagedAppRegistration put(final IosManagedAppRegistration newIosManagedAppRegistration) throws ClientException; + /** * Sets the select clause for the request * 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 024717f4d0a..bf36e6cc66d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosMobileAppConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IIosMobileAppConfigurationRequest extends IHttpRequest { */ IosMobileAppConfiguration post(final IosMobileAppConfiguration newIosMobileAppConfiguration) throws ClientException; + /** + * Posts a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosMobileAppConfiguration newIosMobileAppConfiguration, final ICallback callback); + + /** + * Posts a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the object to create/update + * @return the created IosMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosMobileAppConfiguration put(final IosMobileAppConfiguration newIosMobileAppConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 17fb15d250b..1a6487b2432 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosStoreAppRequest.java @@ -79,6 +79,23 @@ public interface IIosStoreAppRequest extends IHttpRequest { */ IosStoreApp post(final IosStoreApp newIosStoreApp) throws ClientException; + /** + * Posts a IosStoreApp with a new object + * + * @param newIosStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosStoreApp newIosStoreApp, final ICallback callback); + + /** + * Posts a IosStoreApp with a new object + * + * @param newIosStoreApp the object to create/update + * @return the created IosStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosStoreApp put(final IosStoreApp newIosStoreApp) throws ClientException; + /** * Sets the select clause for the request * 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 ada050e8e8a..810c8da5e96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IIosUpdateConfigurationRequest extends IHttpRequest { */ IosUpdateConfiguration post(final IosUpdateConfiguration newIosUpdateConfiguration) throws ClientException; + /** + * Posts a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosUpdateConfiguration newIosUpdateConfiguration, final ICallback callback); + + /** + * Posts a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the object to create/update + * @return the created IosUpdateConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateConfiguration put(final IosUpdateConfiguration newIosUpdateConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 8c014a2939a..1ff4283bcf4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosUpdateDeviceStatusRequest.java @@ -79,6 +79,23 @@ public interface IIosUpdateDeviceStatusRequest extends IHttpRequest { */ IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException; + /** + * Posts a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback); + + /** + * Posts a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the object to create/update + * @return the created IosUpdateDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosUpdateDeviceStatus put(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException; + /** * Sets the select clause for the request * 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 8b5f844f844..0cd456d50ea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppAppRequest.java @@ -79,6 +79,23 @@ public interface IIosVppAppRequest extends IHttpRequest { */ IosVppApp post(final IosVppApp newIosVppApp) throws ClientException; + /** + * Posts a IosVppApp with a new object + * + * @param newIosVppApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosVppApp newIosVppApp, final ICallback callback); + + /** + * Posts a IosVppApp with a new object + * + * @param newIosVppApp the object to create/update + * @return the created IosVppApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppApp put(final IosVppApp newIosVppApp) throws ClientException; + /** * Sets the select clause for the request * 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 32dca777130..403d387b47f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IIosVppEBookAssignmentRequest extends IHttpRequest { */ IosVppEBookAssignment post(final IosVppEBookAssignment newIosVppEBookAssignment) throws ClientException; + /** + * Posts a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosVppEBookAssignment newIosVppEBookAssignment, final ICallback callback); + + /** + * Posts a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the object to create/update + * @return the created IosVppEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBookAssignment put(final IosVppEBookAssignment newIosVppEBookAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 35e89d29db4..0f15af1eb21 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIosVppEBookRequest.java @@ -79,6 +79,23 @@ public interface IIosVppEBookRequest extends IHttpRequest { */ IosVppEBook post(final IosVppEBook newIosVppEBook) throws ClientException; + /** + * Posts a IosVppEBook with a new object + * + * @param newIosVppEBook the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IosVppEBook newIosVppEBook, final ICallback callback); + + /** + * Posts a IosVppEBook with a new object + * + * @param newIosVppEBook the object to create/update + * @return the created IosVppEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IosVppEBook put(final IosVppEBook newIosVppEBook) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IIpNamedLocationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IIpNamedLocationRequest.java index 6e5d857e93f..4a282116422 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IIpNamedLocationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IIpNamedLocationRequest.java @@ -79,6 +79,23 @@ public interface IIpNamedLocationRequest extends IHttpRequest { */ IpNamedLocation post(final IpNamedLocation newIpNamedLocation) throws ClientException; + /** + * Posts a IpNamedLocation with a new object + * + * @param newIpNamedLocation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final IpNamedLocation newIpNamedLocation, final ICallback callback); + + /** + * Posts a IpNamedLocation with a new object + * + * @param newIpNamedLocation the object to create/update + * @return the created IpNamedLocation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + IpNamedLocation put(final IpNamedLocation newIpNamedLocation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityRequest.java index c8f8ba84cfa..72c810a1f0d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityRequest.java @@ -79,6 +79,23 @@ public interface IItemActivityRequest extends IHttpRequest { */ ItemActivity post(final ItemActivity newItemActivity) throws ClientException; + /** + * Posts a ItemActivity with a new object + * + * @param newItemActivity the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ItemActivity newItemActivity, final ICallback callback); + + /** + * Posts a ItemActivity with a new object + * + * @param newItemActivity the object to create/update + * @return the created ItemActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ItemActivity put(final ItemActivity newItemActivity) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityStatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityStatRequest.java index 46330e14337..32f11d5e08d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityStatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IItemActivityStatRequest.java @@ -79,6 +79,23 @@ public interface IItemActivityStatRequest extends IHttpRequest { */ ItemActivityStat post(final ItemActivityStat newItemActivityStat) throws ClientException; + /** + * Posts a ItemActivityStat with a new object + * + * @param newItemActivityStat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ItemActivityStat newItemActivityStat, final ICallback callback); + + /** + * Posts a ItemActivityStat with a new object + * + * @param newItemActivityStat the object to create/update + * @return the created ItemActivityStat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ItemActivityStat put(final ItemActivityStat newItemActivityStat) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IItemAnalyticsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IItemAnalyticsRequest.java index eb7c4c1c88b..e5dd078d67d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IItemAnalyticsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IItemAnalyticsRequest.java @@ -79,6 +79,23 @@ public interface IItemAnalyticsRequest extends IHttpRequest { */ ItemAnalytics post(final ItemAnalytics newItemAnalytics) throws ClientException; + /** + * Posts a ItemAnalytics with a new object + * + * @param newItemAnalytics the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ItemAnalytics newItemAnalytics, final ICallback callback); + + /** + * Posts a ItemAnalytics with a new object + * + * @param newItemAnalytics the object to create/update + * @return the created ItemAnalytics + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ItemAnalytics put(final ItemAnalytics newItemAnalytics) throws ClientException; + /** * Sets the select clause for the request * 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 e5a3e3abded..4d088c3e0b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IItemAttachmentRequest.java @@ -79,6 +79,23 @@ public interface IItemAttachmentRequest extends IHttpRequest { */ ItemAttachment post(final ItemAttachment newItemAttachment) throws ClientException; + /** + * Posts a ItemAttachment with a new object + * + * @param newItemAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ItemAttachment newItemAttachment, final ICallback callback); + + /** + * Posts a ItemAttachment with a new object + * + * @param newItemAttachment the object to create/update + * @return the created ItemAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ItemAttachment put(final ItemAttachment newItemAttachment) throws ClientException; + /** * Sets the select clause for the request * 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 038cd7e42fd..b501d20e7c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILicenseDetailsRequest.java @@ -79,6 +79,23 @@ public interface ILicenseDetailsRequest extends IHttpRequest { */ LicenseDetails post(final LicenseDetails newLicenseDetails) throws ClientException; + /** + * Posts a LicenseDetails with a new object + * + * @param newLicenseDetails the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final LicenseDetails newLicenseDetails, final ICallback callback); + + /** + * Posts a LicenseDetails with a new object + * + * @param newLicenseDetails the object to create/update + * @return the created LicenseDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LicenseDetails put(final LicenseDetails newLicenseDetails) throws ClientException; + /** * Sets the select clause for the request * 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 6a15bcd95b6..aab28f074e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemRequest.java @@ -79,6 +79,23 @@ public interface IListItemRequest extends IHttpRequest { */ ListItem post(final ListItem newListItem) throws ClientException; + /** + * Posts a ListItem with a new object + * + * @param newListItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ListItem newListItem, final ICallback callback); + + /** + * Posts a ListItem with a new object + * + * @param newListItem the object to create/update + * @return the created ListItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItem put(final ListItem newListItem) throws ClientException; + /** * Sets the select clause for the request * 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 6dcde1d438d..17df3004d3d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListItemVersionRequest.java @@ -79,6 +79,23 @@ public interface IListItemVersionRequest extends IHttpRequest { */ ListItemVersion post(final ListItemVersion newListItemVersion) throws ClientException; + /** + * Posts a ListItemVersion with a new object + * + * @param newListItemVersion the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ListItemVersion newListItemVersion, final ICallback callback); + + /** + * Posts a ListItemVersion with a new object + * + * @param newListItemVersion the object to create/update + * @return the created ListItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ListItemVersion put(final ListItemVersion newListItemVersion) throws ClientException; + /** * Sets the select clause for the request * 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 dba30bfcaa3..ebb8ecb7480 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IListRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IListRequest.java @@ -79,6 +79,23 @@ public interface IListRequest extends IHttpRequest { */ List post(final List newList) throws ClientException; + /** + * Posts a List with a new object + * + * @param newList the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final List newList, final ICallback callback); + + /** + * Posts a List with a new object + * + * @param newList the object to create/update + * @return the created List + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + List put(final List newList) throws ClientException; + /** * Sets the select clause for the request * 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 284ed8ee23b..93a7d7a1de4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ILocalizedNotificationMessageRequest.java @@ -79,6 +79,23 @@ public interface ILocalizedNotificationMessageRequest extends IHttpRequest { */ LocalizedNotificationMessage post(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException; + /** + * Posts a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback); + + /** + * Posts a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the object to create/update + * @return the created LocalizedNotificationMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + LocalizedNotificationMessage put(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException; + /** * Sets the select clause for the request * 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 6a5336a819a..360e3049b30 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IMacOSCompliancePolicyRequest extends IHttpRequest { */ MacOSCompliancePolicy post(final MacOSCompliancePolicy newMacOSCompliancePolicy) throws ClientException; + /** + * Posts a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MacOSCompliancePolicy newMacOSCompliancePolicy, final ICallback callback); + + /** + * Posts a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the object to create/update + * @return the created MacOSCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCompliancePolicy put(final MacOSCompliancePolicy newMacOSCompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 c200c3b32ac..2195306b758 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSCustomConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IMacOSCustomConfigurationRequest extends IHttpRequest { */ MacOSCustomConfiguration post(final MacOSCustomConfiguration newMacOSCustomConfiguration) throws ClientException; + /** + * Posts a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MacOSCustomConfiguration newMacOSCustomConfiguration, final ICallback callback); + + /** + * Posts a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the object to create/update + * @return the created MacOSCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSCustomConfiguration put(final MacOSCustomConfiguration newMacOSCustomConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 88f4087bf76..9d2a4766185 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSDeviceFeaturesConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IMacOSDeviceFeaturesConfigurationRequest extends IHttpRequest { */ MacOSDeviceFeaturesConfiguration post(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration) throws ClientException; + /** + * Posts a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration, final ICallback callback); + + /** + * Posts a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the object to create/update + * @return the created MacOSDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSDeviceFeaturesConfiguration put(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 4e74a7662e5..615127682b0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSGeneralDeviceConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IMacOSGeneralDeviceConfigurationRequest extends IHttpRequest { */ MacOSGeneralDeviceConfiguration post(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration) throws ClientException; + /** + * Posts a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration, final ICallback callback); + + /** + * Posts a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the object to create/update + * @return the created MacOSGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSGeneralDeviceConfiguration put(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 925cefcff0f..fed4832bc25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMacOSOfficeSuiteAppRequest.java @@ -79,6 +79,23 @@ public interface IMacOSOfficeSuiteAppRequest extends IHttpRequest { */ MacOSOfficeSuiteApp post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp) throws ClientException; + /** + * Posts a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp, final ICallback callback); + + /** + * Posts a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the object to create/update + * @return the created MacOSOfficeSuiteApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MacOSOfficeSuiteApp put(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailAssessmentRequestRequest.java index 686613c4320..8df1feeab96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailAssessmentRequestRequest.java @@ -79,6 +79,23 @@ public interface IMailAssessmentRequestRequest extends IHttpRequest { */ MailAssessmentRequest post(final MailAssessmentRequest newMailAssessmentRequest) throws ClientException; + /** + * Posts a MailAssessmentRequest with a new object + * + * @param newMailAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MailAssessmentRequest newMailAssessmentRequest, final ICallback callback); + + /** + * Posts a MailAssessmentRequest with a new object + * + * @param newMailAssessmentRequest the object to create/update + * @return the created MailAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MailAssessmentRequest put(final MailAssessmentRequest newMailAssessmentRequest) throws ClientException; + /** * Sets the select clause for the request * 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 afacd5aaba7..d20c2a7674f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailFolderRequest.java @@ -79,6 +79,23 @@ public interface IMailFolderRequest extends IHttpRequest { */ MailFolder post(final MailFolder newMailFolder) throws ClientException; + /** + * Posts a MailFolder with a new object + * + * @param newMailFolder the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MailFolder newMailFolder, final ICallback callback); + + /** + * Posts a MailFolder with a new object + * + * @param newMailFolder the object to create/update + * @return the created MailFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MailFolder put(final MailFolder newMailFolder) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMailSearchFolderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMailSearchFolderRequest.java index 4887da107d0..208a42991a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMailSearchFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMailSearchFolderRequest.java @@ -79,6 +79,23 @@ public interface IMailSearchFolderRequest extends IHttpRequest { */ MailSearchFolder post(final MailSearchFolder newMailSearchFolder) throws ClientException; + /** + * Posts a MailSearchFolder with a new object + * + * @param newMailSearchFolder the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MailSearchFolder newMailSearchFolder, final ICallback callback); + + /** + * Posts a MailSearchFolder with a new object + * + * @param newMailSearchFolder the object to create/update + * @return the created MailSearchFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MailSearchFolder put(final MailSearchFolder newMailSearchFolder) throws ClientException; + /** * Sets the select clause for the request * 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 fa050247052..ea3a4c7b5eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidLobAppRequest.java @@ -79,6 +79,23 @@ public interface IManagedAndroidLobAppRequest extends IHttpRequest { */ ManagedAndroidLobApp post(final ManagedAndroidLobApp newManagedAndroidLobApp) throws ClientException; + /** + * Posts a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAndroidLobApp newManagedAndroidLobApp, final ICallback callback); + + /** + * Posts a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the object to create/update + * @return the created ManagedAndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidLobApp put(final ManagedAndroidLobApp newManagedAndroidLobApp) throws ClientException; + /** * Sets the select clause for the request * 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 b24aa3b5911..63f20bab761 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAndroidStoreAppRequest.java @@ -79,6 +79,23 @@ public interface IManagedAndroidStoreAppRequest extends IHttpRequest { */ ManagedAndroidStoreApp post(final ManagedAndroidStoreApp newManagedAndroidStoreApp) throws ClientException; + /** + * Posts a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAndroidStoreApp newManagedAndroidStoreApp, final ICallback callback); + + /** + * Posts a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the object to create/update + * @return the created ManagedAndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAndroidStoreApp put(final ManagedAndroidStoreApp newManagedAndroidStoreApp) throws ClientException; + /** * Sets the select clause for the request * 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 2836362aa3f..2671b166e3a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppConfigurationRequest extends IHttpRequest { */ ManagedAppConfiguration post(final ManagedAppConfiguration newManagedAppConfiguration) throws ClientException; + /** + * Posts a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppConfiguration newManagedAppConfiguration, final ICallback callback); + + /** + * Posts a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the object to create/update + * @return the created ManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppConfiguration put(final ManagedAppConfiguration newManagedAppConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 7c4843fe7fe..e17dc2469a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppOperationRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppOperationRequest extends IHttpRequest { */ ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation) throws ClientException; + /** + * Posts a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppOperation newManagedAppOperation, final ICallback callback); + + /** + * Posts a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the object to create/update + * @return the created ManagedAppOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppOperation put(final ManagedAppOperation newManagedAppOperation) throws ClientException; + /** * Sets the select clause for the request * 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 b21f7de060a..2880e43546a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyDeploymentSummaryRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppPolicyDeploymentSummaryRequest extends IHttpRequest */ ManagedAppPolicyDeploymentSummary post(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary) throws ClientException; + /** + * Posts a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary, final ICallback callback); + + /** + * Posts a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the object to create/update + * @return the created ManagedAppPolicyDeploymentSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicyDeploymentSummary put(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary) throws ClientException; + /** * Sets the select clause for the request * 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 85eb361bc6b..f0d80ca91b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppPolicyRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppPolicyRequest extends IHttpRequest { */ ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws ClientException; + /** + * Posts a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback); + + /** + * Posts a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the object to create/update + * @return the created ManagedAppPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppPolicy put(final ManagedAppPolicy newManagedAppPolicy) throws ClientException; + /** * Sets the select clause for the request * 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 0cd3c753b39..6c2b9e3d720 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppProtectionRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppProtectionRequest extends IHttpRequest { */ ManagedAppProtection post(final ManagedAppProtection newManagedAppProtection) throws ClientException; + /** + * Posts a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppProtection newManagedAppProtection, final ICallback callback); + + /** + * Posts a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the object to create/update + * @return the created ManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppProtection put(final ManagedAppProtection newManagedAppProtection) throws ClientException; + /** * Sets the select clause for the request * 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 97f0d2fccfb..5072e422430 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRegistrationRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppRegistrationRequest extends IHttpRequest { */ ManagedAppRegistration post(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; + /** + * Posts a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback); + + /** + * Posts a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the object to create/update + * @return the created ManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppRegistration put(final ManagedAppRegistration newManagedAppRegistration) throws ClientException; + /** * Sets the select clause for the request * 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 86d1cb92781..31220cb7475 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppRequest extends IHttpRequest { */ ManagedApp post(final ManagedApp newManagedApp) throws ClientException; + /** + * Posts a ManagedApp with a new object + * + * @param newManagedApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedApp newManagedApp, final ICallback callback); + + /** + * Posts a ManagedApp with a new object + * + * @param newManagedApp the object to create/update + * @return the created ManagedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedApp put(final ManagedApp newManagedApp) throws ClientException; + /** * Sets the select clause for the request * 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 d6ba1291f4d..db5aa0ab957 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRawRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppStatusRawRequest extends IHttpRequest { */ ManagedAppStatusRaw post(final ManagedAppStatusRaw newManagedAppStatusRaw) throws ClientException; + /** + * Posts a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppStatusRaw newManagedAppStatusRaw, final ICallback callback); + + /** + * Posts a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the object to create/update + * @return the created ManagedAppStatusRaw + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatusRaw put(final ManagedAppStatusRaw newManagedAppStatusRaw) throws ClientException; + /** * Sets the select clause for the request * 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 21814b23a13..f01280c5d8c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedAppStatusRequest.java @@ -79,6 +79,23 @@ public interface IManagedAppStatusRequest extends IHttpRequest { */ ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws ClientException; + /** + * Posts a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedAppStatus newManagedAppStatus, final ICallback callback); + + /** + * Posts a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the object to create/update + * @return the created ManagedAppStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedAppStatus put(final ManagedAppStatus newManagedAppStatus) throws ClientException; + /** * Sets the select clause for the request * 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 bd83a0171a4..c1b1ca0d9f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceMobileAppConfigurationAssignmentRequest extends I */ ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException; + /** + * Posts a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationAssignment put(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 813f91865ef..94d90fdd969 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceStatusRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceMobileAppConfigurationDeviceStatusRequest extends */ ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceStatus put(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException; + /** * Sets the select clause for the request * 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 f0c4f13f216..67f5b977458 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceMobileAppConfigurationDeviceSummaryRequest extend */ ManagedDeviceMobileAppConfigurationDeviceSummary post(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException; + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationDeviceSummary put(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException; + /** * Sets the select clause for the request * 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 db31d8d066a..e97c3d67b96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceMobileAppConfigurationRequest extends IHttpReques */ ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException; + /** + * Posts a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the object to create/update + * @return the created ManagedDeviceMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfiguration put(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 15d9b6c85be..92537b9b5ee 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserStatusRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceMobileAppConfigurationUserStatusRequest extends I */ ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; + /** + * Posts a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserStatus put(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException; + /** * Sets the select clause for the request * 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 85851f47a40..1c47f7ec219 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceMobileAppConfigurationUserSummaryRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceMobileAppConfigurationUserSummaryRequest extends */ ManagedDeviceMobileAppConfigurationUserSummary post(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary) throws ClientException; + /** + * Posts a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback); + + /** + * Posts a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationUserSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceMobileAppConfigurationUserSummary put(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary) throws ClientException; + /** * Sets the select clause for the request * 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 9a4b6889596..70dd6474d9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceOverviewRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceOverviewRequest extends IHttpRequest { */ ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOverview) throws ClientException; + /** + * Posts a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDeviceOverview newManagedDeviceOverview, final ICallback callback); + + /** + * Posts a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the object to create/update + * @return the created ManagedDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDeviceOverview put(final ManagedDeviceOverview newManagedDeviceOverview) throws ClientException; + /** * Sets the select clause for the request * 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 313b67224f0..8d6f29c2989 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedDeviceRequest.java @@ -79,6 +79,23 @@ public interface IManagedDeviceRequest extends IHttpRequest { */ ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientException; + /** + * Posts a ManagedDevice with a new object + * + * @param newManagedDevice the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedDevice newManagedDevice, final ICallback callback); + + /** + * Posts a ManagedDevice with a new object + * + * @param newManagedDevice the object to create/update + * @return the created ManagedDevice + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedDevice put(final ManagedDevice newManagedDevice) throws ClientException; + /** * Sets the select clause for the request * 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 a8046118a25..23e402e7131 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IManagedEBookAssignmentRequest extends IHttpRequest { */ ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException; + /** + * Posts a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback); + + /** + * Posts a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the object to create/update + * @return the created ManagedEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBookAssignment put(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 43aeebadd7e..3ad6aa88997 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedEBookRequest.java @@ -79,6 +79,23 @@ public interface IManagedEBookRequest extends IHttpRequest { */ ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientException; + /** + * Posts a ManagedEBook with a new object + * + * @param newManagedEBook the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedEBook newManagedEBook, final ICallback callback); + + /** + * Posts a ManagedEBook with a new object + * + * @param newManagedEBook the object to create/update + * @return the created ManagedEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedEBook put(final ManagedEBook newManagedEBook) throws ClientException; + /** * Sets the select clause for the request * 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 35f550cca14..e60f8a264a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSLobAppRequest.java @@ -79,6 +79,23 @@ public interface IManagedIOSLobAppRequest extends IHttpRequest { */ ManagedIOSLobApp post(final ManagedIOSLobApp newManagedIOSLobApp) throws ClientException; + /** + * Posts a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedIOSLobApp newManagedIOSLobApp, final ICallback callback); + + /** + * Posts a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the object to create/update + * @return the created ManagedIOSLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSLobApp put(final ManagedIOSLobApp newManagedIOSLobApp) throws ClientException; + /** * Sets the select clause for the request * 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 ec19ab799f8..0ea6ce3cbc6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedIOSStoreAppRequest.java @@ -79,6 +79,23 @@ public interface IManagedIOSStoreAppRequest extends IHttpRequest { */ ManagedIOSStoreApp post(final ManagedIOSStoreApp newManagedIOSStoreApp) throws ClientException; + /** + * Posts a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedIOSStoreApp newManagedIOSStoreApp, final ICallback callback); + + /** + * Posts a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the object to create/update + * @return the created ManagedIOSStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedIOSStoreApp put(final ManagedIOSStoreApp newManagedIOSStoreApp) throws ClientException; + /** * Sets the select clause for the request * 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 eeea81871f1..e715aead9ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileAppRequest.java @@ -79,6 +79,23 @@ public interface IManagedMobileAppRequest extends IHttpRequest { */ ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws ClientException; + /** + * Posts a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedMobileApp newManagedMobileApp, final ICallback callback); + + /** + * Posts a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the object to create/update + * @return the created ManagedMobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileApp put(final ManagedMobileApp newManagedMobileApp) throws ClientException; + /** * Sets the select clause for the request * 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 e9dc5889f44..1d1bd2965e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IManagedMobileLobAppRequest.java @@ -79,6 +79,23 @@ public interface IManagedMobileLobAppRequest extends IHttpRequest { */ ManagedMobileLobApp post(final ManagedMobileLobApp newManagedMobileLobApp) throws ClientException; + /** + * Posts a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ManagedMobileLobApp newManagedMobileLobApp, final ICallback callback); + + /** + * Posts a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the object to create/update + * @return the created ManagedMobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ManagedMobileLobApp put(final ManagedMobileLobApp newManagedMobileLobApp) throws ClientException; + /** * Sets the select clause for the request * 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 274054a4b9e..c915e179ec4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMdmWindowsInformationProtectionPolicyRequest.java @@ -79,6 +79,23 @@ public interface IMdmWindowsInformationProtectionPolicyRequest extends IHttpRequ */ MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException; + /** + * Posts a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback); + + /** + * Posts a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the object to create/update + * @return the created MdmWindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MdmWindowsInformationProtectionPolicy put(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException; + /** * Sets the select clause for the request * 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 dfab7fa51d4..003a40d2e4a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRequest.java @@ -79,6 +79,23 @@ public interface IMessageRequest extends IHttpRequest { */ Message post(final Message newMessage) throws ClientException; + /** + * Posts a Message with a new object + * + * @param newMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Message newMessage, final ICallback callback); + + /** + * Posts a Message with a new object + * + * @param newMessage the object to create/update + * @return the created Message + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Message put(final Message newMessage) throws ClientException; + /** * Sets the select clause for the request * 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 1b6bf57ba35..012c7305488 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMessageRuleRequest.java @@ -79,6 +79,23 @@ public interface IMessageRuleRequest extends IHttpRequest { */ MessageRule post(final MessageRule newMessageRule) throws ClientException; + /** + * Posts a MessageRule with a new object + * + * @param newMessageRule the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MessageRule newMessageRule, final ICallback callback); + + /** + * Posts a MessageRule with a new object + * + * @param newMessageRule the object to create/update + * @return the created MessageRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MessageRule put(final MessageRule newMessageRule) throws ClientException; + /** * Sets the select clause for the request * 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 524338a2cec..0f193327310 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMicrosoftStoreForBusinessAppRequest.java @@ -79,6 +79,23 @@ public interface IMicrosoftStoreForBusinessAppRequest extends IHttpRequest { */ MicrosoftStoreForBusinessApp post(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp) throws ClientException; + /** + * Posts a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp, final ICallback callback); + + /** + * Posts a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the object to create/update + * @return the created MicrosoftStoreForBusinessApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MicrosoftStoreForBusinessApp put(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp) throws ClientException; + /** * Sets the select clause for the request * 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 03d98ae9bf8..1c6a5f20c25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IMobileAppAssignmentRequest extends IHttpRequest { */ MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment) throws ClientException; + /** + * Posts a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MobileAppAssignment newMobileAppAssignment, final ICallback callback); + + /** + * Posts a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the object to create/update + * @return the created MobileAppAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppAssignment put(final MobileAppAssignment newMobileAppAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 5121e471c46..c43da266dcc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppCategoryRequest.java @@ -79,6 +79,23 @@ public interface IMobileAppCategoryRequest extends IHttpRequest { */ MobileAppCategory post(final MobileAppCategory newMobileAppCategory) throws ClientException; + /** + * Posts a MobileAppCategory with a new object + * + * @param newMobileAppCategory the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MobileAppCategory newMobileAppCategory, final ICallback callback); + + /** + * Posts a MobileAppCategory with a new object + * + * @param newMobileAppCategory the object to create/update + * @return the created MobileAppCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppCategory put(final MobileAppCategory newMobileAppCategory) throws ClientException; + /** * Sets the select clause for the request * 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 f933f30fdc4..941816fe7d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentFileRequest.java @@ -79,6 +79,23 @@ public interface IMobileAppContentFileRequest extends IHttpRequest { */ MobileAppContentFile post(final MobileAppContentFile newMobileAppContentFile) throws ClientException; + /** + * Posts a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MobileAppContentFile newMobileAppContentFile, final ICallback callback); + + /** + * Posts a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the object to create/update + * @return the created MobileAppContentFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContentFile put(final MobileAppContentFile newMobileAppContentFile) throws ClientException; + /** * Sets the select clause for the request * 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 b362d9b34ea..2a50951cbc2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppContentRequest.java @@ -79,6 +79,23 @@ public interface IMobileAppContentRequest extends IHttpRequest { */ MobileAppContent post(final MobileAppContent newMobileAppContent) throws ClientException; + /** + * Posts a MobileAppContent with a new object + * + * @param newMobileAppContent the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MobileAppContent newMobileAppContent, final ICallback callback); + + /** + * Posts a MobileAppContent with a new object + * + * @param newMobileAppContent the object to create/update + * @return the created MobileAppContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileAppContent put(final MobileAppContent newMobileAppContent) throws ClientException; + /** * Sets the select clause for the request * 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 75c65443b74..4a9659e15c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileAppRequest.java @@ -79,6 +79,23 @@ public interface IMobileAppRequest extends IHttpRequest { */ MobileApp post(final MobileApp newMobileApp) throws ClientException; + /** + * Posts a MobileApp with a new object + * + * @param newMobileApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MobileApp newMobileApp, final ICallback callback); + + /** + * Posts a MobileApp with a new object + * + * @param newMobileApp the object to create/update + * @return the created MobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileApp put(final MobileApp newMobileApp) throws ClientException; + /** * Sets the select clause for the request * 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 0f5ac6cd393..899a19c4240 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileLobAppRequest.java @@ -79,6 +79,23 @@ public interface IMobileLobAppRequest extends IHttpRequest { */ MobileLobApp post(final MobileLobApp newMobileLobApp) throws ClientException; + /** + * Posts a MobileLobApp with a new object + * + * @param newMobileLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MobileLobApp newMobileLobApp, final ICallback callback); + + /** + * Posts a MobileLobApp with a new object + * + * @param newMobileLobApp the object to create/update + * @return the created MobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileLobApp put(final MobileLobApp newMobileLobApp) throws ClientException; + /** * Sets the select clause for the request * 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 c6f289fc3c9..153ee109b9f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMobileThreatDefenseConnectorRequest.java @@ -79,6 +79,23 @@ public interface IMobileThreatDefenseConnectorRequest extends IHttpRequest { */ MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException; + /** + * Posts a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback); + + /** + * Posts a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the object to create/update + * @return the created MobileThreatDefenseConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MobileThreatDefenseConnector put(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException; + /** * Sets the select clause for the request * 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 1e414dea2e7..87a21b6c977 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMultiValueLegacyExtendedPropertyRequest.java @@ -79,6 +79,23 @@ public interface IMultiValueLegacyExtendedPropertyRequest extends IHttpRequest { */ MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException; + /** + * Posts a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback); + + /** + * Posts a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the object to create/update + * @return the created MultiValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MultiValueLegacyExtendedProperty put(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IMuteParticipantOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IMuteParticipantOperationRequest.java index 21e2ef2814d..5789d1315ca 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IMuteParticipantOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IMuteParticipantOperationRequest.java @@ -79,6 +79,23 @@ public interface IMuteParticipantOperationRequest extends IHttpRequest { */ MuteParticipantOperation post(final MuteParticipantOperation newMuteParticipantOperation) throws ClientException; + /** + * Posts a MuteParticipantOperation with a new object + * + * @param newMuteParticipantOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final MuteParticipantOperation newMuteParticipantOperation, final ICallback callback); + + /** + * Posts a MuteParticipantOperation with a new object + * + * @param newMuteParticipantOperation the object to create/update + * @return the created MuteParticipantOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + MuteParticipantOperation put(final MuteParticipantOperation newMuteParticipantOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/INamedLocationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/INamedLocationRequest.java index 647966d2d3b..e03438844c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INamedLocationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INamedLocationRequest.java @@ -79,6 +79,23 @@ public interface INamedLocationRequest extends IHttpRequest { */ NamedLocation post(final NamedLocation newNamedLocation) throws ClientException; + /** + * Posts a NamedLocation with a new object + * + * @param newNamedLocation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final NamedLocation newNamedLocation, final ICallback callback); + + /** + * Posts a NamedLocation with a new object + * + * @param newNamedLocation the object to create/update + * @return the created NamedLocation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + NamedLocation put(final NamedLocation newNamedLocation) throws ClientException; + /** * Sets the select clause for the request * 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 0e50e698173..8f705a6888f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotebookRequest.java @@ -79,6 +79,23 @@ public interface INotebookRequest extends IHttpRequest { */ Notebook post(final Notebook newNotebook) throws ClientException; + /** + * Posts a Notebook with a new object + * + * @param newNotebook the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Notebook newNotebook, final ICallback callback); + + /** + * Posts a Notebook with a new object + * + * @param newNotebook the object to create/update + * @return the created Notebook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Notebook put(final Notebook newNotebook) throws ClientException; + /** * Sets the select clause for the request * 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 4d5763b9f4f..7a0602306a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/INotificationMessageTemplateRequest.java @@ -79,6 +79,23 @@ public interface INotificationMessageTemplateRequest extends IHttpRequest { */ NotificationMessageTemplate post(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException; + /** + * Posts a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback); + + /** + * Posts a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the object to create/update + * @return the created NotificationMessageTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + NotificationMessageTemplate put(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOAuth2PermissionGrantRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOAuth2PermissionGrantRequest.java index 44d4da059f1..95b74e1a231 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOAuth2PermissionGrantRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOAuth2PermissionGrantRequest.java @@ -79,6 +79,23 @@ public interface IOAuth2PermissionGrantRequest extends IHttpRequest { */ OAuth2PermissionGrant post(final OAuth2PermissionGrant newOAuth2PermissionGrant) throws ClientException; + /** + * Posts a OAuth2PermissionGrant with a new object + * + * @param newOAuth2PermissionGrant the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OAuth2PermissionGrant newOAuth2PermissionGrant, final ICallback callback); + + /** + * Posts a OAuth2PermissionGrant with a new object + * + * @param newOAuth2PermissionGrant the object to create/update + * @return the created OAuth2PermissionGrant + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OAuth2PermissionGrant put(final OAuth2PermissionGrant newOAuth2PermissionGrant) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOfferShiftRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOfferShiftRequestRequest.java index 275e4a711c1..15d988e3ade 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOfferShiftRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOfferShiftRequestRequest.java @@ -79,6 +79,23 @@ public interface IOfferShiftRequestRequest extends IHttpRequest { */ OfferShiftRequest post(final OfferShiftRequest newOfferShiftRequest) throws ClientException; + /** + * Posts a OfferShiftRequest with a new object + * + * @param newOfferShiftRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OfferShiftRequest newOfferShiftRequest, final ICallback callback); + + /** + * Posts a OfferShiftRequest with a new object + * + * @param newOfferShiftRequest the object to create/update + * @return the created OfferShiftRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OfferShiftRequest put(final OfferShiftRequest newOfferShiftRequest) throws ClientException; + /** * Sets the select clause for the request * 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 2c534aaa4b2..9d53bc9f570 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOfficeGraphInsightsRequest.java @@ -79,6 +79,23 @@ public interface IOfficeGraphInsightsRequest extends IHttpRequest { */ OfficeGraphInsights post(final OfficeGraphInsights newOfficeGraphInsights) throws ClientException; + /** + * Posts a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OfficeGraphInsights newOfficeGraphInsights, final ICallback callback); + + /** + * Posts a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the object to create/update + * @return the created OfficeGraphInsights + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OfficeGraphInsights put(final OfficeGraphInsights newOfficeGraphInsights) throws ClientException; + /** * Sets the select clause for the request * 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 148376ca9f1..3e48e759256 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnPremisesConditionalAccessSettingsRequest.java @@ -79,6 +79,23 @@ public interface IOnPremisesConditionalAccessSettingsRequest extends IHttpReques */ OnPremisesConditionalAccessSettings post(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings) throws ClientException; + /** + * Posts a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings, final ICallback callback); + + /** + * Posts a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the object to create/update + * @return the created OnPremisesConditionalAccessSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnPremisesConditionalAccessSettings put(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings) throws ClientException; + /** * Sets the select clause for the request * 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 12f87990fc1..9ffd00c4c00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityBaseModelRequest.java @@ -79,6 +79,23 @@ public interface IOnenoteEntityBaseModelRequest extends IHttpRequest { */ OnenoteEntityBaseModel post(final OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException; + /** + * Posts a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnenoteEntityBaseModel newOnenoteEntityBaseModel, final ICallback callback); + + /** + * Posts a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the object to create/update + * @return the created OnenoteEntityBaseModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityBaseModel put(final OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException; + /** * Sets the select clause for the request * 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 cd55c826361..784e1baec89 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntityHierarchyModelRequest.java @@ -79,6 +79,23 @@ public interface IOnenoteEntityHierarchyModelRequest extends IHttpRequest { */ OnenoteEntityHierarchyModel post(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel) throws ClientException; + /** + * Posts a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel, final ICallback callback); + + /** + * Posts a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the object to create/update + * @return the created OnenoteEntityHierarchyModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntityHierarchyModel put(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel) throws ClientException; + /** * Sets the select clause for the request * 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 cff3ff01a44..6782967f36c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteEntitySchemaObjectModelRequest.java @@ -79,6 +79,23 @@ public interface IOnenoteEntitySchemaObjectModelRequest extends IHttpRequest { */ OnenoteEntitySchemaObjectModel post(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException; + /** + * Posts a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel, final ICallback callback); + + /** + * Posts a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the object to create/update + * @return the created OnenoteEntitySchemaObjectModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteEntitySchemaObjectModel put(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException; + /** * Sets the select clause for the request * 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 d6c176e6f03..5800886c68b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteOperationRequest.java @@ -79,6 +79,23 @@ public interface IOnenoteOperationRequest extends IHttpRequest { */ OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws ClientException; + /** + * Posts a OnenoteOperation with a new object + * + * @param newOnenoteOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnenoteOperation newOnenoteOperation, final ICallback callback); + + /** + * Posts a OnenoteOperation with a new object + * + * @param newOnenoteOperation the object to create/update + * @return the created OnenoteOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteOperation put(final OnenoteOperation newOnenoteOperation) throws ClientException; + /** * Sets the select clause for the request * 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 193fe71b717..056117201db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenotePageRequest.java @@ -79,6 +79,23 @@ public interface IOnenotePageRequest extends IHttpRequest { */ OnenotePage post(final byte[] newOnenotePage) throws ClientException; + /** + * Posts a OnenotePage with a new object + * + * @param newOnenotePage the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnenotePage newOnenotePage, final ICallback callback); + + /** + * Posts a OnenotePage with a new object + * + * @param newOnenotePage the object to create/update + * @return the created OnenotePage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenotePage put(final OnenotePage newOnenotePage) throws ClientException; + /** * Sets the select clause for the request * 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 ae7231fa975..72259425009 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteRequest.java @@ -79,6 +79,23 @@ public interface IOnenoteRequest extends IHttpRequest { */ Onenote post(final Onenote newOnenote) throws ClientException; + /** + * Posts a Onenote with a new object + * + * @param newOnenote the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Onenote newOnenote, final ICallback callback); + + /** + * Posts a Onenote with a new object + * + * @param newOnenote the object to create/update + * @return the created Onenote + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Onenote put(final Onenote newOnenote) throws ClientException; + /** * Sets the select clause for the request * 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 aec8330c8c5..400315034ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteResourceRequest.java @@ -79,6 +79,23 @@ public interface IOnenoteResourceRequest extends IHttpRequest { */ OnenoteResource post(final OnenoteResource newOnenoteResource) throws ClientException; + /** + * Posts a OnenoteResource with a new object + * + * @param newOnenoteResource the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnenoteResource newOnenoteResource, final ICallback callback); + + /** + * Posts a OnenoteResource with a new object + * + * @param newOnenoteResource the object to create/update + * @return the created OnenoteResource + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteResource put(final OnenoteResource newOnenoteResource) throws ClientException; + /** * Sets the select clause for the request * 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 d2ced052787..b98e73e1f42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnenoteSectionRequest.java @@ -79,6 +79,23 @@ public interface IOnenoteSectionRequest extends IHttpRequest { */ OnenoteSection post(final OnenoteSection newOnenoteSection) throws ClientException; + /** + * Posts a OnenoteSection with a new object + * + * @param newOnenoteSection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnenoteSection newOnenoteSection, final ICallback callback); + + /** + * Posts a OnenoteSection with a new object + * + * @param newOnenoteSection the object to create/update + * @return the created OnenoteSection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnenoteSection put(final OnenoteSection newOnenoteSection) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOnlineMeetingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOnlineMeetingRequest.java index 3bb74751973..13906fb4666 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOnlineMeetingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOnlineMeetingRequest.java @@ -79,6 +79,23 @@ public interface IOnlineMeetingRequest extends IHttpRequest { */ OnlineMeeting post(final OnlineMeeting newOnlineMeeting) throws ClientException; + /** + * Posts a OnlineMeeting with a new object + * + * @param newOnlineMeeting the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OnlineMeeting newOnlineMeeting, final ICallback callback); + + /** + * Posts a OnlineMeeting with a new object + * + * @param newOnlineMeeting the object to create/update + * @return the created OnlineMeeting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OnlineMeeting put(final OnlineMeeting newOnlineMeeting) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftChangeRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftChangeRequestRequest.java index 03794668383..efb7bd90a4f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftChangeRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftChangeRequestRequest.java @@ -79,6 +79,23 @@ public interface IOpenShiftChangeRequestRequest extends IHttpRequest { */ OpenShiftChangeRequest post(final OpenShiftChangeRequest newOpenShiftChangeRequest) throws ClientException; + /** + * Posts a OpenShiftChangeRequest with a new object + * + * @param newOpenShiftChangeRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OpenShiftChangeRequest newOpenShiftChangeRequest, final ICallback callback); + + /** + * Posts a OpenShiftChangeRequest with a new object + * + * @param newOpenShiftChangeRequest the object to create/update + * @return the created OpenShiftChangeRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OpenShiftChangeRequest put(final OpenShiftChangeRequest newOpenShiftChangeRequest) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftRequest.java index a20fb2b6698..a2ffee54d59 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOpenShiftRequest.java @@ -79,6 +79,23 @@ public interface IOpenShiftRequest extends IHttpRequest { */ OpenShift post(final OpenShift newOpenShift) throws ClientException; + /** + * Posts a OpenShift with a new object + * + * @param newOpenShift the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OpenShift newOpenShift, final ICallback callback); + + /** + * Posts a OpenShift with a new object + * + * @param newOpenShift the object to create/update + * @return the created OpenShift + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OpenShift put(final OpenShift newOpenShift) throws ClientException; + /** * Sets the select clause for the request * 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 9d1ddaa13ad..82833ab0622 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOpenTypeExtensionRequest.java @@ -79,6 +79,23 @@ public interface IOpenTypeExtensionRequest extends IHttpRequest { */ OpenTypeExtension post(final OpenTypeExtension newOpenTypeExtension) throws ClientException; + /** + * Posts a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OpenTypeExtension newOpenTypeExtension, final ICallback callback); + + /** + * Posts a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the object to create/update + * @return the created OpenTypeExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OpenTypeExtension put(final OpenTypeExtension newOpenTypeExtension) throws ClientException; + /** * Sets the select clause for the request * 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 4975c562e27..463e684ea2b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOperationRequest.java @@ -79,6 +79,23 @@ public interface IOperationRequest extends IHttpRequest { */ Operation post(final Operation newOperation) throws ClientException; + /** + * Posts a Operation with a new object + * + * @param newOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Operation newOperation, final ICallback callback); + + /** + * Posts a Operation with a new object + * + * @param newOperation the object to create/update + * @return the created Operation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Operation put(final Operation newOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IOrgContactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IOrgContactRequest.java index 10cff4ddc48..934bda1b978 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrgContactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrgContactRequest.java @@ -79,6 +79,23 @@ public interface IOrgContactRequest extends IHttpRequest { */ OrgContact post(final OrgContact newOrgContact) throws ClientException; + /** + * Posts a OrgContact with a new object + * + * @param newOrgContact the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OrgContact newOrgContact, final ICallback callback); + + /** + * Posts a OrgContact with a new object + * + * @param newOrgContact the object to create/update + * @return the created OrgContact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OrgContact put(final OrgContact newOrgContact) throws ClientException; + /** * Sets the select clause for the request * 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 f1e8d8dc21e..fbaee2c24ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOrganizationRequest.java @@ -79,6 +79,23 @@ public interface IOrganizationRequest extends IHttpRequest { */ Organization post(final Organization newOrganization) throws ClientException; + /** + * Posts a Organization with a new object + * + * @param newOrganization the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Organization newOrganization, final ICallback callback); + + /** + * Posts a Organization with a new object + * + * @param newOrganization the object to create/update + * @return the created Organization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Organization put(final Organization newOrganization) throws ClientException; + /** * Sets the select clause for the request * 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 8f1200c3536..959e6209529 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookCategoryRequest.java @@ -79,6 +79,23 @@ public interface IOutlookCategoryRequest extends IHttpRequest { */ OutlookCategory post(final OutlookCategory newOutlookCategory) throws ClientException; + /** + * Posts a OutlookCategory with a new object + * + * @param newOutlookCategory the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OutlookCategory newOutlookCategory, final ICallback callback); + + /** + * Posts a OutlookCategory with a new object + * + * @param newOutlookCategory the object to create/update + * @return the created OutlookCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookCategory put(final OutlookCategory newOutlookCategory) throws ClientException; + /** * Sets the select clause for the request * 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 30f5063e7ec..6fc321d45f0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookItemRequest.java @@ -79,6 +79,23 @@ public interface IOutlookItemRequest extends IHttpRequest { */ OutlookItem post(final OutlookItem newOutlookItem) throws ClientException; + /** + * Posts a OutlookItem with a new object + * + * @param newOutlookItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OutlookItem newOutlookItem, final ICallback callback); + + /** + * Posts a OutlookItem with a new object + * + * @param newOutlookItem the object to create/update + * @return the created OutlookItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookItem put(final OutlookItem newOutlookItem) throws ClientException; + /** * Sets the select clause for the request * 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 8b56fb76253..1c0c8dbb8df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IOutlookUserRequest.java @@ -79,6 +79,23 @@ public interface IOutlookUserRequest extends IHttpRequest { */ OutlookUser post(final OutlookUser newOutlookUser) throws ClientException; + /** + * Posts a OutlookUser with a new object + * + * @param newOutlookUser the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final OutlookUser newOutlookUser, final ICallback callback); + + /** + * Posts a OutlookUser with a new object + * + * @param newOutlookUser the object to create/update + * @return the created OutlookUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + OutlookUser put(final OutlookUser newOutlookUser) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IParticipantRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IParticipantRequest.java index c6317a5b2d0..c23355bd650 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IParticipantRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IParticipantRequest.java @@ -79,6 +79,23 @@ public interface IParticipantRequest extends IHttpRequest { */ Participant post(final Participant newParticipant) throws ClientException; + /** + * Posts a Participant with a new object + * + * @param newParticipant the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Participant newParticipant, final ICallback callback); + + /** + * Posts a Participant with a new object + * + * @param newParticipant the object to create/update + * @return the created Participant + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Participant put(final Participant newParticipant) throws ClientException; + /** * Sets the select clause for the request * 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 0b12365cb65..f15b232ab96 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPermissionRequest.java @@ -79,6 +79,23 @@ public interface IPermissionRequest extends IHttpRequest { */ Permission post(final Permission newPermission) throws ClientException; + /** + * Posts a Permission with a new object + * + * @param newPermission the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Permission newPermission, final ICallback callback); + + /** + * Posts a Permission with a new object + * + * @param newPermission the object to create/update + * @return the created Permission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Permission put(final Permission newPermission) throws ClientException; + /** * Sets the select clause for the request * 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 f0d35b170b1..893d50f41a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPersonRequest.java @@ -79,6 +79,23 @@ public interface IPersonRequest extends IHttpRequest { */ Person post(final Person newPerson) throws ClientException; + /** + * Posts a Person with a new object + * + * @param newPerson the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Person newPerson, final ICallback callback); + + /** + * Posts a Person with a new object + * + * @param newPerson the object to create/update + * @return the created Person + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Person put(final Person newPerson) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlaceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlaceRequest.java index 98d5741aa8e..43f63ff055b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlaceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlaceRequest.java @@ -79,6 +79,23 @@ public interface IPlaceRequest extends IHttpRequest { */ Place post(final Place newPlace) throws ClientException; + /** + * Posts a Place with a new object + * + * @param newPlace the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Place newPlace, final ICallback callback); + + /** + * Posts a Place with a new object + * + * @param newPlace the object to create/update + * @return the created Place + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Place put(final Place newPlace) throws ClientException; + /** * Sets the select clause for the request * 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 95c25e5c6d0..bdae53b80f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerAssignedToTaskBoardTaskFormatRequest.java @@ -79,6 +79,23 @@ public interface IPlannerAssignedToTaskBoardTaskFormatRequest extends IHttpReque */ PlannerAssignedToTaskBoardTaskFormat post(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat) throws ClientException; + /** + * Posts a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat, final ICallback callback); + + /** + * Posts a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the object to create/update + * @return the created PlannerAssignedToTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerAssignedToTaskBoardTaskFormat put(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat) throws ClientException; + /** * Sets the select clause for the request * 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 73c62bd5fa7..e5e8e6c6021 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketRequest.java @@ -79,6 +79,23 @@ public interface IPlannerBucketRequest extends IHttpRequest { */ PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientException; + /** + * Posts a PlannerBucket with a new object + * + * @param newPlannerBucket the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerBucket newPlannerBucket, final ICallback callback); + + /** + * Posts a PlannerBucket with a new object + * + * @param newPlannerBucket the object to create/update + * @return the created PlannerBucket + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucket put(final PlannerBucket newPlannerBucket) throws ClientException; + /** * Sets the select clause for the request * 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 3d5e650913e..8dca9b9b3b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerBucketTaskBoardTaskFormatRequest.java @@ -79,6 +79,23 @@ public interface IPlannerBucketTaskBoardTaskFormatRequest extends IHttpRequest { */ PlannerBucketTaskBoardTaskFormat post(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat) throws ClientException; + /** + * Posts a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat, final ICallback callback); + + /** + * Posts a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the object to create/update + * @return the created PlannerBucketTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerBucketTaskBoardTaskFormat put(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat) throws ClientException; + /** * Sets the select clause for the request * 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 1eb946b5bb4..bca9fe3b646 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerGroupRequest.java @@ -79,6 +79,23 @@ public interface IPlannerGroupRequest extends IHttpRequest { */ PlannerGroup post(final PlannerGroup newPlannerGroup) throws ClientException; + /** + * Posts a PlannerGroup with a new object + * + * @param newPlannerGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerGroup newPlannerGroup, final ICallback callback); + + /** + * Posts a PlannerGroup with a new object + * + * @param newPlannerGroup the object to create/update + * @return the created PlannerGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerGroup put(final PlannerGroup newPlannerGroup) throws ClientException; + /** * Sets the select clause for the request * 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 18ec480b16e..e3a76b52273 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanDetailsRequest.java @@ -79,6 +79,23 @@ public interface IPlannerPlanDetailsRequest extends IHttpRequest { */ PlannerPlanDetails post(final PlannerPlanDetails newPlannerPlanDetails) throws ClientException; + /** + * Posts a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerPlanDetails newPlannerPlanDetails, final ICallback callback); + + /** + * Posts a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the object to create/update + * @return the created PlannerPlanDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlanDetails put(final PlannerPlanDetails newPlannerPlanDetails) throws ClientException; + /** * Sets the select clause for the request * 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 504383d674e..0a4a12dc59a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerPlanRequest.java @@ -79,6 +79,23 @@ public interface IPlannerPlanRequest extends IHttpRequest { */ PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException; + /** + * Posts a PlannerPlan with a new object + * + * @param newPlannerPlan the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerPlan newPlannerPlan, final ICallback callback); + + /** + * Posts a PlannerPlan with a new object + * + * @param newPlannerPlan the object to create/update + * @return the created PlannerPlan + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerPlan put(final PlannerPlan newPlannerPlan) throws ClientException; + /** * Sets the select clause for the request * 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 3459ac8e076..7c5d89a41a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerProgressTaskBoardTaskFormatRequest.java @@ -79,6 +79,23 @@ public interface IPlannerProgressTaskBoardTaskFormatRequest extends IHttpRequest */ PlannerProgressTaskBoardTaskFormat post(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat) throws ClientException; + /** + * Posts a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat, final ICallback callback); + + /** + * Posts a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the object to create/update + * @return the created PlannerProgressTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerProgressTaskBoardTaskFormat put(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat) throws ClientException; + /** * Sets the select clause for the request * 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 66d68043b4f..75f4f57db54 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerRequest.java @@ -79,6 +79,23 @@ public interface IPlannerRequest extends IHttpRequest { */ Planner post(final Planner newPlanner) throws ClientException; + /** + * Posts a Planner with a new object + * + * @param newPlanner the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Planner newPlanner, final ICallback callback); + + /** + * Posts a Planner with a new object + * + * @param newPlanner the object to create/update + * @return the created Planner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Planner put(final Planner newPlanner) throws ClientException; + /** * Sets the select clause for the request * 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 d97d17737cd..a7c6fe0cb31 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskDetailsRequest.java @@ -79,6 +79,23 @@ public interface IPlannerTaskDetailsRequest extends IHttpRequest { */ PlannerTaskDetails post(final PlannerTaskDetails newPlannerTaskDetails) throws ClientException; + /** + * Posts a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerTaskDetails newPlannerTaskDetails, final ICallback callback); + + /** + * Posts a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the object to create/update + * @return the created PlannerTaskDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTaskDetails put(final PlannerTaskDetails newPlannerTaskDetails) throws ClientException; + /** * Sets the select clause for the request * 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 850b29701ea..5ffc3172aa4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerTaskRequest.java @@ -79,6 +79,23 @@ public interface IPlannerTaskRequest extends IHttpRequest { */ PlannerTask post(final PlannerTask newPlannerTask) throws ClientException; + /** + * Posts a PlannerTask with a new object + * + * @param newPlannerTask the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerTask newPlannerTask, final ICallback callback); + + /** + * Posts a PlannerTask with a new object + * + * @param newPlannerTask the object to create/update + * @return the created PlannerTask + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerTask put(final PlannerTask newPlannerTask) throws ClientException; + /** * Sets the select clause for the request * 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 79429db24ea..db5ccec4a99 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlannerUserRequest.java @@ -79,6 +79,23 @@ public interface IPlannerUserRequest extends IHttpRequest { */ PlannerUser post(final PlannerUser newPlannerUser) throws ClientException; + /** + * Posts a PlannerUser with a new object + * + * @param newPlannerUser the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlannerUser newPlannerUser, final ICallback callback); + + /** + * Posts a PlannerUser with a new object + * + * @param newPlannerUser the object to create/update + * @return the created PlannerUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlannerUser put(final PlannerUser newPlannerUser) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPlayPromptOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPlayPromptOperationRequest.java index d7b1cd922b6..0c30a1c4151 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPlayPromptOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPlayPromptOperationRequest.java @@ -79,6 +79,23 @@ public interface IPlayPromptOperationRequest extends IHttpRequest { */ PlayPromptOperation post(final PlayPromptOperation newPlayPromptOperation) throws ClientException; + /** + * Posts a PlayPromptOperation with a new object + * + * @param newPlayPromptOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PlayPromptOperation newPlayPromptOperation, final ICallback callback); + + /** + * Posts a PlayPromptOperation with a new object + * + * @param newPlayPromptOperation the object to create/update + * @return the created PlayPromptOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PlayPromptOperation put(final PlayPromptOperation newPlayPromptOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPolicyBaseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPolicyBaseRequest.java index ad2fac23931..7e41d4493f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPolicyBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPolicyBaseRequest.java @@ -79,6 +79,23 @@ public interface IPolicyBaseRequest extends IHttpRequest { */ PolicyBase post(final PolicyBase newPolicyBase) throws ClientException; + /** + * Posts a PolicyBase with a new object + * + * @param newPolicyBase the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PolicyBase newPolicyBase, final ICallback callback); + + /** + * Posts a PolicyBase with a new object + * + * @param newPolicyBase the object to create/update + * @return the created PolicyBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PolicyBase put(final PolicyBase newPolicyBase) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IPolicyRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IPolicyRootRequest.java index 65d004fcc45..cdeb5f0d8df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPolicyRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPolicyRootRequest.java @@ -79,6 +79,23 @@ public interface IPolicyRootRequest extends IHttpRequest { */ PolicyRoot post(final PolicyRoot newPolicyRoot) throws ClientException; + /** + * Posts a PolicyRoot with a new object + * + * @param newPolicyRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final PolicyRoot newPolicyRoot, final ICallback callback); + + /** + * Posts a PolicyRoot with a new object + * + * @param newPolicyRoot the object to create/update + * @return the created PolicyRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + PolicyRoot put(final PolicyRoot newPolicyRoot) throws ClientException; + /** * Sets the select clause for the request * 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 3ff91ef143c..024be8bd0c5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IPostRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IPostRequest.java @@ -79,6 +79,23 @@ public interface IPostRequest extends IHttpRequest { */ Post post(final Post newPost) throws ClientException; + /** + * Posts a Post with a new object + * + * @param newPost the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Post newPost, final ICallback callback); + + /** + * Posts a Post with a new object + * + * @param newPost the object to create/update + * @return the created Post + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Post put(final Post newPost) throws ClientException; + /** * Sets the select clause for the request * 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 6b5d5f9bb28..0165c6e4f94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IProfilePhotoRequest.java @@ -79,6 +79,23 @@ public interface IProfilePhotoRequest extends IHttpRequest { */ ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientException; + /** + * Posts a ProfilePhoto with a new object + * + * @param newProfilePhoto the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ProfilePhoto newProfilePhoto, final ICallback callback); + + /** + * Posts a ProfilePhoto with a new object + * + * @param newProfilePhoto the object to create/update + * @return the created ProfilePhoto + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ProfilePhoto put(final ProfilePhoto newProfilePhoto) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRecordOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRecordOperationRequest.java index 40416ffc26e..17016026482 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRecordOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRecordOperationRequest.java @@ -79,6 +79,23 @@ public interface IRecordOperationRequest extends IHttpRequest { */ RecordOperation post(final RecordOperation newRecordOperation) throws ClientException; + /** + * Posts a RecordOperation with a new object + * + * @param newRecordOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final RecordOperation newRecordOperation, final ICallback callback); + + /** + * Posts a RecordOperation with a new object + * + * @param newRecordOperation the object to create/update + * @return the created RecordOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RecordOperation put(final RecordOperation newRecordOperation) throws ClientException; + /** * Sets the select clause for the request * 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 91aeeb7bb50..c86777bd899 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReferenceAttachmentRequest.java @@ -79,6 +79,23 @@ public interface IReferenceAttachmentRequest extends IHttpRequest { */ ReferenceAttachment post(final ReferenceAttachment newReferenceAttachment) throws ClientException; + /** + * Posts a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ReferenceAttachment newReferenceAttachment, final ICallback callback); + + /** + * Posts a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the object to create/update + * @return the created ReferenceAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReferenceAttachment put(final ReferenceAttachment newReferenceAttachment) throws ClientException; + /** * Sets the select clause for the request * 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 49486c3b9ae..b5762462bfb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRemoteAssistancePartnerRequest.java @@ -79,6 +79,23 @@ public interface IRemoteAssistancePartnerRequest extends IHttpRequest { */ RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException; + /** + * Posts a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback); + + /** + * Posts a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the object to create/update + * @return the created RemoteAssistancePartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RemoteAssistancePartner put(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException; + /** * Sets the select clause for the request * 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 7d8e4c04600..5d85ae5c6f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IReportRootRequest.java @@ -79,6 +79,23 @@ public interface IReportRootRequest extends IHttpRequest { */ ReportRoot post(final ReportRoot newReportRoot) throws ClientException; + /** + * Posts a ReportRoot with a new object + * + * @param newReportRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ReportRoot newReportRoot, final ICallback callback); + + /** + * Posts a ReportRoot with a new object + * + * @param newReportRoot the object to create/update + * @return the created ReportRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ReportRoot put(final ReportRoot newReportRoot) throws ClientException; + /** * Sets the select clause for the request * 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 6410bfc219f..a0fbd60a3cb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IResourceOperationRequest.java @@ -79,6 +79,23 @@ public interface IResourceOperationRequest extends IHttpRequest { */ ResourceOperation post(final ResourceOperation newResourceOperation) throws ClientException; + /** + * Posts a ResourceOperation with a new object + * + * @param newResourceOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ResourceOperation newResourceOperation, final ICallback callback); + + /** + * Posts a ResourceOperation with a new object + * + * @param newResourceOperation the object to create/update + * @return the created ResourceOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ResourceOperation put(final ResourceOperation newResourceOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRestrictedSignInRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRestrictedSignInRequest.java index 884431f8fe5..269d0df9141 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRestrictedSignInRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRestrictedSignInRequest.java @@ -79,6 +79,23 @@ public interface IRestrictedSignInRequest extends IHttpRequest { */ RestrictedSignIn post(final RestrictedSignIn newRestrictedSignIn) throws ClientException; + /** + * Posts a RestrictedSignIn with a new object + * + * @param newRestrictedSignIn the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final RestrictedSignIn newRestrictedSignIn, final ICallback callback); + + /** + * Posts a RestrictedSignIn with a new object + * + * @param newRestrictedSignIn the object to create/update + * @return the created RestrictedSignIn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RestrictedSignIn put(final RestrictedSignIn newRestrictedSignIn) throws ClientException; + /** * Sets the select clause for the request * 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 40cd5a8a097..56b6f7b2570 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleAssignmentRequest.java @@ -79,6 +79,23 @@ public interface IRoleAssignmentRequest extends IHttpRequest { */ RoleAssignment post(final RoleAssignment newRoleAssignment) throws ClientException; + /** + * Posts a RoleAssignment with a new object + * + * @param newRoleAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final RoleAssignment newRoleAssignment, final ICallback callback); + + /** + * Posts a RoleAssignment with a new object + * + * @param newRoleAssignment the object to create/update + * @return the created RoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleAssignment put(final RoleAssignment newRoleAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 9fcddf591bd..11ed4ff9bae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoleDefinitionRequest.java @@ -79,6 +79,23 @@ public interface IRoleDefinitionRequest extends IHttpRequest { */ RoleDefinition post(final RoleDefinition newRoleDefinition) throws ClientException; + /** + * Posts a RoleDefinition with a new object + * + * @param newRoleDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final RoleDefinition newRoleDefinition, final ICallback callback); + + /** + * Posts a RoleDefinition with a new object + * + * @param newRoleDefinition the object to create/update + * @return the created RoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoleDefinition put(final RoleDefinition newRoleDefinition) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoomListRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoomListRequest.java index d59058ad7f5..f29c513b902 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoomListRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoomListRequest.java @@ -79,6 +79,23 @@ public interface IRoomListRequest extends IHttpRequest { */ RoomList post(final RoomList newRoomList) throws ClientException; + /** + * Posts a RoomList with a new object + * + * @param newRoomList the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final RoomList newRoomList, final ICallback callback); + + /** + * Posts a RoomList with a new object + * + * @param newRoomList the object to create/update + * @return the created RoomList + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + RoomList put(final RoomList newRoomList) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IRoomRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IRoomRequest.java index 87b6bab6167..509af7c17a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IRoomRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IRoomRequest.java @@ -79,6 +79,23 @@ public interface IRoomRequest extends IHttpRequest { */ Room post(final Room newRoom) throws ClientException; + /** + * Posts a Room with a new object + * + * @param newRoom the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Room newRoom, final ICallback callback); + + /** + * Posts a Room with a new object + * + * @param newRoom the object to create/update + * @return the created Room + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Room put(final Room newRoom) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IScheduleChangeRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IScheduleChangeRequestRequest.java index cccc28b6b39..d47bcb32d60 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IScheduleChangeRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IScheduleChangeRequestRequest.java @@ -79,6 +79,23 @@ public interface IScheduleChangeRequestRequest extends IHttpRequest { */ ScheduleChangeRequest post(final ScheduleChangeRequest newScheduleChangeRequest) throws ClientException; + /** + * Posts a ScheduleChangeRequest with a new object + * + * @param newScheduleChangeRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ScheduleChangeRequest newScheduleChangeRequest, final ICallback callback); + + /** + * Posts a ScheduleChangeRequest with a new object + * + * @param newScheduleChangeRequest the object to create/update + * @return the created ScheduleChangeRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ScheduleChangeRequest put(final ScheduleChangeRequest newScheduleChangeRequest) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IScheduleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IScheduleRequest.java index 7a9bbf4d546..045c2253245 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IScheduleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IScheduleRequest.java @@ -79,6 +79,23 @@ public interface IScheduleRequest extends IHttpRequest { */ Schedule post(final Schedule newSchedule) throws ClientException; + /** + * Posts a Schedule with a new object + * + * @param newSchedule the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Schedule newSchedule, final ICallback callback); + + /** + * Posts a Schedule with a new object + * + * @param newSchedule the object to create/update + * @return the created Schedule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Schedule put(final Schedule newSchedule) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISchedulingGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISchedulingGroupRequest.java index 26a78a04149..3c07acaeec5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISchedulingGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISchedulingGroupRequest.java @@ -79,6 +79,23 @@ public interface ISchedulingGroupRequest extends IHttpRequest { */ SchedulingGroup post(final SchedulingGroup newSchedulingGroup) throws ClientException; + /** + * Posts a SchedulingGroup with a new object + * + * @param newSchedulingGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SchedulingGroup newSchedulingGroup, final ICallback callback); + + /** + * Posts a SchedulingGroup with a new object + * + * @param newSchedulingGroup the object to create/update + * @return the created SchedulingGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SchedulingGroup put(final SchedulingGroup newSchedulingGroup) throws ClientException; + /** * Sets the select clause for the request * 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 883024b48dd..2ea50392eea 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISchemaExtensionRequest.java @@ -79,6 +79,23 @@ public interface ISchemaExtensionRequest extends IHttpRequest { */ SchemaExtension post(final SchemaExtension newSchemaExtension) throws ClientException; + /** + * Posts a SchemaExtension with a new object + * + * @param newSchemaExtension the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SchemaExtension newSchemaExtension, final ICallback callback); + + /** + * Posts a SchemaExtension with a new object + * + * @param newSchemaExtension the object to create/update + * @return the created SchemaExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SchemaExtension put(final SchemaExtension newSchemaExtension) throws ClientException; + /** * Sets the select clause for the request * 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 fdcd882b748..32d965c823e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISectionGroupRequest.java @@ -79,6 +79,23 @@ public interface ISectionGroupRequest extends IHttpRequest { */ SectionGroup post(final SectionGroup newSectionGroup) throws ClientException; + /** + * Posts a SectionGroup with a new object + * + * @param newSectionGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SectionGroup newSectionGroup, final ICallback callback); + + /** + * Posts a SectionGroup with a new object + * + * @param newSectionGroup the object to create/update + * @return the created SectionGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SectionGroup put(final SectionGroup newSectionGroup) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreControlProfileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreControlProfileRequest.java index e40edd4cdb7..a652657900b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreControlProfileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreControlProfileRequest.java @@ -79,6 +79,23 @@ public interface ISecureScoreControlProfileRequest extends IHttpRequest { */ SecureScoreControlProfile post(final SecureScoreControlProfile newSecureScoreControlProfile) throws ClientException; + /** + * Posts a SecureScoreControlProfile with a new object + * + * @param newSecureScoreControlProfile the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SecureScoreControlProfile newSecureScoreControlProfile, final ICallback callback); + + /** + * Posts a SecureScoreControlProfile with a new object + * + * @param newSecureScoreControlProfile the object to create/update + * @return the created SecureScoreControlProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SecureScoreControlProfile put(final SecureScoreControlProfile newSecureScoreControlProfile) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreRequest.java index ca0060637ae..e75dee994bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISecureScoreRequest.java @@ -79,6 +79,23 @@ public interface ISecureScoreRequest extends IHttpRequest { */ SecureScore post(final SecureScore newSecureScore) throws ClientException; + /** + * Posts a SecureScore with a new object + * + * @param newSecureScore the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SecureScore newSecureScore, final ICallback callback); + + /** + * Posts a SecureScore with a new object + * + * @param newSecureScore the object to create/update + * @return the created SecureScore + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SecureScore put(final SecureScore newSecureScore) throws ClientException; + /** * Sets the select clause for the request * 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 13aacb5639a..26ee7c2372d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISecurityRequest.java @@ -79,6 +79,23 @@ public interface ISecurityRequest extends IHttpRequest { */ Security post(final Security newSecurity) throws ClientException; + /** + * Posts a Security with a new object + * + * @param newSecurity the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Security newSecurity, final ICallback callback); + + /** + * Posts a Security with a new object + * + * @param newSecurity the object to create/update + * @return the created Security + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Security put(final Security newSecurity) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IServicePrincipalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IServicePrincipalRequest.java index 526c86e4fc7..c9447d87617 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IServicePrincipalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IServicePrincipalRequest.java @@ -79,6 +79,23 @@ public interface IServicePrincipalRequest extends IHttpRequest { */ ServicePrincipal post(final ServicePrincipal newServicePrincipal) throws ClientException; + /** + * Posts a ServicePrincipal with a new object + * + * @param newServicePrincipal the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ServicePrincipal newServicePrincipal, final ICallback callback); + + /** + * Posts a ServicePrincipal with a new object + * + * @param newServicePrincipal the object to create/update + * @return the created ServicePrincipal + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ServicePrincipal put(final ServicePrincipal newServicePrincipal) throws ClientException; + /** * Sets the select clause for the request * 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 3eaf17e26dc..3e70ad20634 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISettingStateDeviceSummaryRequest.java @@ -79,6 +79,23 @@ public interface ISettingStateDeviceSummaryRequest extends IHttpRequest { */ SettingStateDeviceSummary post(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException; + /** + * Posts a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback); + + /** + * Posts a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the object to create/update + * @return the created SettingStateDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SettingStateDeviceSummary put(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException; + /** * Sets the select clause for the request * 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 27f95bea561..c6f58eeac9c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedDriveItemRequest.java @@ -79,6 +79,23 @@ public interface ISharedDriveItemRequest extends IHttpRequest { */ SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws ClientException; + /** + * Posts a SharedDriveItem with a new object + * + * @param newSharedDriveItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SharedDriveItem newSharedDriveItem, final ICallback callback); + + /** + * Posts a SharedDriveItem with a new object + * + * @param newSharedDriveItem the object to create/update + * @return the created SharedDriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedDriveItem put(final SharedDriveItem newSharedDriveItem) throws ClientException; + /** * Sets the select clause for the request * 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 d438d229945..084fab8be6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedInsightRequest.java @@ -79,6 +79,23 @@ public interface ISharedInsightRequest extends IHttpRequest { */ SharedInsight post(final SharedInsight newSharedInsight) throws ClientException; + /** + * Posts a SharedInsight with a new object + * + * @param newSharedInsight the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SharedInsight newSharedInsight, final ICallback callback); + + /** + * Posts a SharedInsight with a new object + * + * @param newSharedInsight the object to create/update + * @return the created SharedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedInsight put(final SharedInsight newSharedInsight) throws ClientException; + /** * Sets the select clause for the request * 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 5d0031bcd83..932aa946935 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISharedPCConfigurationRequest.java @@ -79,6 +79,23 @@ public interface ISharedPCConfigurationRequest extends IHttpRequest { */ SharedPCConfiguration post(final SharedPCConfiguration newSharedPCConfiguration) throws ClientException; + /** + * Posts a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SharedPCConfiguration newSharedPCConfiguration, final ICallback callback); + + /** + * Posts a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the object to create/update + * @return the created SharedPCConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SharedPCConfiguration put(final SharedPCConfiguration newSharedPCConfiguration) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IShiftPreferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IShiftPreferencesRequest.java index 4ec59e25e43..82fefeffe48 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IShiftPreferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IShiftPreferencesRequest.java @@ -79,6 +79,23 @@ public interface IShiftPreferencesRequest extends IHttpRequest { */ ShiftPreferences post(final ShiftPreferences newShiftPreferences) throws ClientException; + /** + * Posts a ShiftPreferences with a new object + * + * @param newShiftPreferences the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ShiftPreferences newShiftPreferences, final ICallback callback); + + /** + * Posts a ShiftPreferences with a new object + * + * @param newShiftPreferences the object to create/update + * @return the created ShiftPreferences + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ShiftPreferences put(final ShiftPreferences newShiftPreferences) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IShiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IShiftRequest.java index 740fb7b4d58..f0cbd4ae39e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IShiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IShiftRequest.java @@ -79,6 +79,23 @@ public interface IShiftRequest extends IHttpRequest { */ Shift post(final Shift newShift) throws ClientException; + /** + * Posts a Shift with a new object + * + * @param newShift the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Shift newShift, final ICallback callback); + + /** + * Posts a Shift with a new object + * + * @param newShift the object to create/update + * @return the created Shift + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Shift put(final Shift newShift) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISignInRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISignInRequest.java index b5f697ccd22..1bd5c3470c6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISignInRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISignInRequest.java @@ -79,6 +79,23 @@ public interface ISignInRequest extends IHttpRequest { */ SignIn post(final SignIn newSignIn) throws ClientException; + /** + * Posts a SignIn with a new object + * + * @param newSignIn the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SignIn newSignIn, final ICallback callback); + + /** + * Posts a SignIn with a new object + * + * @param newSignIn the object to create/update + * @return the created SignIn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SignIn put(final SignIn newSignIn) throws ClientException; + /** * Sets the select clause for the request * 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 256cbcbf78a..cbc2df776da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISingleValueLegacyExtendedPropertyRequest.java @@ -79,6 +79,23 @@ public interface ISingleValueLegacyExtendedPropertyRequest extends IHttpRequest */ SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException; + /** + * Posts a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback); + + /** + * Posts a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the object to create/update + * @return the created SingleValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SingleValueLegacyExtendedProperty put(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException; + /** * Sets the select clause for the request * 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 9ec1ac97db3..8bb5d359127 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISiteRequest.java @@ -79,6 +79,23 @@ public interface ISiteRequest extends IHttpRequest { */ Site post(final Site newSite) throws ClientException; + /** + * Posts a Site with a new object + * + * @param newSite the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Site newSite, final ICallback callback); + + /** + * Posts a Site with a new object + * + * @param newSite the object to create/update + * @return the created Site + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Site put(final Site newSite) throws ClientException; + /** * Sets the select clause for the request * 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 0d011bc096b..081e998ebbd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISoftwareUpdateStatusSummaryRequest.java @@ -79,6 +79,23 @@ public interface ISoftwareUpdateStatusSummaryRequest extends IHttpRequest { */ SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary) throws ClientException; + /** + * Posts a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final ICallback callback); + + /** + * Posts a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the object to create/update + * @return the created SoftwareUpdateStatusSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SoftwareUpdateStatusSummary put(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IStsPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IStsPolicyRequest.java index a69e58a320e..95672e6579f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IStsPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IStsPolicyRequest.java @@ -79,6 +79,23 @@ public interface IStsPolicyRequest extends IHttpRequest { */ StsPolicy post(final StsPolicy newStsPolicy) throws ClientException; + /** + * Posts a StsPolicy with a new object + * + * @param newStsPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final StsPolicy newStsPolicy, final ICallback callback); + + /** + * Posts a StsPolicy with a new object + * + * @param newStsPolicy the object to create/update + * @return the created StsPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + StsPolicy put(final StsPolicy newStsPolicy) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribeToToneOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribeToToneOperationRequest.java index a36c0a8e1c8..e2642c8fac9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribeToToneOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribeToToneOperationRequest.java @@ -79,6 +79,23 @@ public interface ISubscribeToToneOperationRequest extends IHttpRequest { */ SubscribeToToneOperation post(final SubscribeToToneOperation newSubscribeToToneOperation) throws ClientException; + /** + * Posts a SubscribeToToneOperation with a new object + * + * @param newSubscribeToToneOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SubscribeToToneOperation newSubscribeToToneOperation, final ICallback callback); + + /** + * Posts a SubscribeToToneOperation with a new object + * + * @param newSubscribeToToneOperation the object to create/update + * @return the created SubscribeToToneOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SubscribeToToneOperation put(final SubscribeToToneOperation newSubscribeToToneOperation) throws ClientException; + /** * Sets the select clause for the request * 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 8dea01e8872..212dededb55 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscribedSkuRequest.java @@ -79,6 +79,23 @@ public interface ISubscribedSkuRequest extends IHttpRequest { */ SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientException; + /** + * Posts a SubscribedSku with a new object + * + * @param newSubscribedSku the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SubscribedSku newSubscribedSku, final ICallback callback); + + /** + * Posts a SubscribedSku with a new object + * + * @param newSubscribedSku the object to create/update + * @return the created SubscribedSku + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SubscribedSku put(final SubscribedSku newSubscribedSku) throws ClientException; + /** * Sets the select clause for the request * 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 92506b92950..d0e5294ae72 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISubscriptionRequest.java @@ -79,6 +79,23 @@ public interface ISubscriptionRequest extends IHttpRequest { */ Subscription post(final Subscription newSubscription) throws ClientException; + /** + * Posts a Subscription with a new object + * + * @param newSubscription the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Subscription newSubscription, final ICallback callback); + + /** + * Posts a Subscription with a new object + * + * @param newSubscription the object to create/update + * @return the created Subscription + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Subscription put(final Subscription newSubscription) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ISwapShiftsChangeRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ISwapShiftsChangeRequestRequest.java index bd88f2207a0..506ab667eeb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ISwapShiftsChangeRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ISwapShiftsChangeRequestRequest.java @@ -79,6 +79,23 @@ public interface ISwapShiftsChangeRequestRequest extends IHttpRequest { */ SwapShiftsChangeRequest post(final SwapShiftsChangeRequest newSwapShiftsChangeRequest) throws ClientException; + /** + * Posts a SwapShiftsChangeRequest with a new object + * + * @param newSwapShiftsChangeRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final SwapShiftsChangeRequest newSwapShiftsChangeRequest, final ICallback callback); + + /** + * Posts a SwapShiftsChangeRequest with a new object + * + * @param newSwapShiftsChangeRequest the object to create/update + * @return the created SwapShiftsChangeRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + SwapShiftsChangeRequest put(final SwapShiftsChangeRequest newSwapShiftsChangeRequest) throws ClientException; + /** * Sets the select clause for the request * 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 07ca542f195..5d5044ba0a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppConfigurationRequest.java @@ -79,6 +79,23 @@ public interface ITargetedManagedAppConfigurationRequest extends IHttpRequest { */ TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException; + /** + * Posts a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback); + + /** + * Posts a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the object to create/update + * @return the created TargetedManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppConfiguration put(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 31ac7e2edff..28e55a3c91b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppPolicyAssignmentRequest.java @@ -79,6 +79,23 @@ public interface ITargetedManagedAppPolicyAssignmentRequest extends IHttpRequest */ TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException; + /** + * Posts a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback); + + /** + * Posts a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the object to create/update + * @return the created TargetedManagedAppPolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppPolicyAssignment put(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 c67907dba9c..c2cea920188 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITargetedManagedAppProtectionRequest.java @@ -79,6 +79,23 @@ public interface ITargetedManagedAppProtectionRequest extends IHttpRequest { */ TargetedManagedAppProtection post(final TargetedManagedAppProtection newTargetedManagedAppProtection) throws ClientException; + /** + * Posts a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TargetedManagedAppProtection newTargetedManagedAppProtection, final ICallback callback); + + /** + * Posts a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the object to create/update + * @return the created TargetedManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TargetedManagedAppProtection put(final TargetedManagedAppProtection newTargetedManagedAppProtection) throws ClientException; + /** * Sets the select clause for the request * 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 a032fb81d5c..0ce57275740 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamRequest.java @@ -79,6 +79,23 @@ public interface ITeamRequest extends IHttpRequest { */ Team post(final Team newTeam) throws ClientException; + /** + * Posts a Team with a new object + * + * @param newTeam the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Team newTeam, final ICallback callback); + + /** + * Posts a Team with a new object + * + * @param newTeam the object to create/update + * @return the created Team + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Team put(final Team newTeam) throws ClientException; + /** * Sets the select clause for the request * 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 b5c222db402..e2cbda2b32e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppDefinitionRequest.java @@ -79,6 +79,23 @@ public interface ITeamsAppDefinitionRequest extends IHttpRequest { */ TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException; + /** + * Posts a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback); + + /** + * Posts a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the object to create/update + * @return the created TeamsAppDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppDefinition put(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException; + /** * Sets the select clause for the request * 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 c91f8cc4228..3f1d8081505 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppInstallationRequest.java @@ -79,6 +79,23 @@ public interface ITeamsAppInstallationRequest extends IHttpRequest { */ TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException; + /** + * Posts a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback); + + /** + * Posts a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the object to create/update + * @return the created TeamsAppInstallation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAppInstallation put(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException; + /** * Sets the select clause for the request * 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 12eca810733..e081a6d8a87 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAppRequest.java @@ -79,6 +79,23 @@ public interface ITeamsAppRequest extends IHttpRequest { */ TeamsApp post(final TeamsApp newTeamsApp) throws ClientException; + /** + * Posts a TeamsApp with a new object + * + * @param newTeamsApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TeamsApp newTeamsApp, final ICallback callback); + + /** + * Posts a TeamsApp with a new object + * + * @param newTeamsApp the object to create/update + * @return the created TeamsApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsApp put(final TeamsApp newTeamsApp) throws ClientException; + /** * Sets the select clause for the request * 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 2d6c04cca34..989d471e5b9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsAsyncOperationRequest.java @@ -79,6 +79,23 @@ public interface ITeamsAsyncOperationRequest extends IHttpRequest { */ TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException; + /** + * Posts a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback); + + /** + * Posts a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the object to create/update + * @return the created TeamsAsyncOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsAsyncOperation put(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException; + /** * Sets the select clause for the request * 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 32ebdd9b79d..980e50e3e1d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTabRequest.java @@ -79,6 +79,23 @@ public interface ITeamsTabRequest extends IHttpRequest { */ TeamsTab post(final TeamsTab newTeamsTab) throws ClientException; + /** + * Posts a TeamsTab with a new object + * + * @param newTeamsTab the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TeamsTab newTeamsTab, final ICallback callback); + + /** + * Posts a TeamsTab with a new object + * + * @param newTeamsTab the object to create/update + * @return the created TeamsTab + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsTab put(final TeamsTab newTeamsTab) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTemplateRequest.java index d6db64f4a2b..81a6490da64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamsTemplateRequest.java @@ -79,6 +79,23 @@ public interface ITeamsTemplateRequest extends IHttpRequest { */ TeamsTemplate post(final TeamsTemplate newTeamsTemplate) throws ClientException; + /** + * Posts a TeamsTemplate with a new object + * + * @param newTeamsTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TeamsTemplate newTeamsTemplate, final ICallback callback); + + /** + * Posts a TeamsTemplate with a new object + * + * @param newTeamsTemplate the object to create/update + * @return the created TeamsTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TeamsTemplate put(final TeamsTemplate newTeamsTemplate) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITeamworkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITeamworkRequest.java index fabea1a0ddb..7ef201e9ba0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITeamworkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITeamworkRequest.java @@ -79,6 +79,23 @@ public interface ITeamworkRequest extends IHttpRequest { */ Teamwork post(final Teamwork newTeamwork) throws ClientException; + /** + * Posts a Teamwork with a new object + * + * @param newTeamwork the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Teamwork newTeamwork, final ICallback callback); + + /** + * Posts a Teamwork with a new object + * + * @param newTeamwork the object to create/update + * @return the created Teamwork + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Teamwork put(final Teamwork newTeamwork) throws ClientException; + /** * Sets the select clause for the request * 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 40cf01ee951..23b970ccc68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITelecomExpenseManagementPartnerRequest.java @@ -79,6 +79,23 @@ public interface ITelecomExpenseManagementPartnerRequest extends IHttpRequest { */ TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException; + /** + * Posts a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback); + + /** + * Posts a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the object to create/update + * @return the created TelecomExpenseManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TelecomExpenseManagementPartner put(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException; + /** * Sets the select clause for the request * 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 f4db4345d39..502756b76c4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAcceptanceStatusRequest.java @@ -79,6 +79,23 @@ public interface ITermsAndConditionsAcceptanceStatusRequest extends IHttpRequest */ TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException; + /** + * Posts a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback); + + /** + * Posts a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the object to create/update + * @return the created TermsAndConditionsAcceptanceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAcceptanceStatus put(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException; + /** * Sets the select clause for the request * 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 d717605227d..827878e6858 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsAssignmentRequest.java @@ -79,6 +79,23 @@ public interface ITermsAndConditionsAssignmentRequest extends IHttpRequest { */ TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException; + /** + * Posts a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback); + + /** + * Posts a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the object to create/update + * @return the created TermsAndConditionsAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditionsAssignment put(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException; + /** * Sets the select clause for the request * 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 5b149b5f131..a40a6cf08be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITermsAndConditionsRequest.java @@ -79,6 +79,23 @@ public interface ITermsAndConditionsRequest extends IHttpRequest { */ TermsAndConditions post(final TermsAndConditions newTermsAndConditions) throws ClientException; + /** + * Posts a TermsAndConditions with a new object + * + * @param newTermsAndConditions the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TermsAndConditions newTermsAndConditions, final ICallback callback); + + /** + * Posts a TermsAndConditions with a new object + * + * @param newTermsAndConditions the object to create/update + * @return the created TermsAndConditions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TermsAndConditions put(final TermsAndConditions newTermsAndConditions) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentRequestRequest.java index 72b50941ef1..529bb632d81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentRequestRequest.java @@ -79,6 +79,23 @@ public interface IThreatAssessmentRequestRequest extends IHttpRequest { */ ThreatAssessmentRequest post(final ThreatAssessmentRequest newThreatAssessmentRequest) throws ClientException; + /** + * Posts a ThreatAssessmentRequest with a new object + * + * @param newThreatAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ThreatAssessmentRequest newThreatAssessmentRequest, final ICallback callback); + + /** + * Posts a ThreatAssessmentRequest with a new object + * + * @param newThreatAssessmentRequest the object to create/update + * @return the created ThreatAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ThreatAssessmentRequest put(final ThreatAssessmentRequest newThreatAssessmentRequest) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentResultRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentResultRequest.java index e8678de1eb8..3f441c804fc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentResultRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThreatAssessmentResultRequest.java @@ -79,6 +79,23 @@ public interface IThreatAssessmentResultRequest extends IHttpRequest { */ ThreatAssessmentResult post(final ThreatAssessmentResult newThreatAssessmentResult) throws ClientException; + /** + * Posts a ThreatAssessmentResult with a new object + * + * @param newThreatAssessmentResult the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ThreatAssessmentResult newThreatAssessmentResult, final ICallback callback); + + /** + * Posts a ThreatAssessmentResult with a new object + * + * @param newThreatAssessmentResult the object to create/update + * @return the created ThreatAssessmentResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ThreatAssessmentResult put(final ThreatAssessmentResult newThreatAssessmentResult) throws ClientException; + /** * Sets the select clause for the request * 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 9a201d0a6aa..09218aff822 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailRequest.java @@ -79,6 +79,23 @@ public interface IThumbnailRequest extends IHttpRequest { */ Thumbnail post(final Thumbnail newThumbnail) throws ClientException; + /** + * Posts a Thumbnail with a new object + * + * @param newThumbnail the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Thumbnail newThumbnail, final ICallback callback); + + /** + * Posts a Thumbnail with a new object + * + * @param newThumbnail the object to create/update + * @return the created Thumbnail + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Thumbnail put(final Thumbnail newThumbnail) throws ClientException; + /** * Sets the select clause for the request * 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 fef733cb41b..a564880c0f7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IThumbnailSetRequest.java @@ -79,6 +79,23 @@ public interface IThumbnailSetRequest extends IHttpRequest { */ ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientException; + /** + * Posts a ThumbnailSet with a new object + * + * @param newThumbnailSet the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final ThumbnailSet newThumbnailSet, final ICallback callback); + + /** + * Posts a ThumbnailSet with a new object + * + * @param newThumbnailSet the object to create/update + * @return the created ThumbnailSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + ThumbnailSet put(final ThumbnailSet newThumbnailSet) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffReasonRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffReasonRequest.java index 8337cb6119c..460b3f3ff84 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffReasonRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffReasonRequest.java @@ -79,6 +79,23 @@ public interface ITimeOffReasonRequest extends IHttpRequest { */ TimeOffReason post(final TimeOffReason newTimeOffReason) throws ClientException; + /** + * Posts a TimeOffReason with a new object + * + * @param newTimeOffReason the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TimeOffReason newTimeOffReason, final ICallback callback); + + /** + * Posts a TimeOffReason with a new object + * + * @param newTimeOffReason the object to create/update + * @return the created TimeOffReason + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TimeOffReason put(final TimeOffReason newTimeOffReason) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequest.java index aacdcb97bbb..23a37323130 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequest.java @@ -79,6 +79,23 @@ public interface ITimeOffRequest extends IHttpRequest { */ TimeOff post(final TimeOff newTimeOff) throws ClientException; + /** + * Posts a TimeOff with a new object + * + * @param newTimeOff the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TimeOff newTimeOff, final ICallback callback); + + /** + * Posts a TimeOff with a new object + * + * @param newTimeOff the object to create/update + * @return the created TimeOff + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TimeOff put(final TimeOff newTimeOff) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequestRequest.java index b6679f950e4..6ad02afee43 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITimeOffRequestRequest.java @@ -79,6 +79,23 @@ public interface ITimeOffRequestRequest extends IHttpRequest { */ TimeOffRequest post(final TimeOffRequest newTimeOffRequest) throws ClientException; + /** + * Posts a TimeOffRequest with a new object + * + * @param newTimeOffRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TimeOffRequest newTimeOffRequest, final ICallback callback); + + /** + * Posts a TimeOffRequest with a new object + * + * @param newTimeOffRequest the object to create/update + * @return the created TimeOffRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TimeOffRequest put(final TimeOffRequest newTimeOffRequest) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITokenIssuancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITokenIssuancePolicyRequest.java index 5a154103cd4..ecb6316632d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITokenIssuancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITokenIssuancePolicyRequest.java @@ -79,6 +79,23 @@ public interface ITokenIssuancePolicyRequest extends IHttpRequest { */ TokenIssuancePolicy post(final TokenIssuancePolicy newTokenIssuancePolicy) throws ClientException; + /** + * Posts a TokenIssuancePolicy with a new object + * + * @param newTokenIssuancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TokenIssuancePolicy newTokenIssuancePolicy, final ICallback callback); + + /** + * Posts a TokenIssuancePolicy with a new object + * + * @param newTokenIssuancePolicy the object to create/update + * @return the created TokenIssuancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TokenIssuancePolicy put(final TokenIssuancePolicy newTokenIssuancePolicy) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ITokenLifetimePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ITokenLifetimePolicyRequest.java index 38de5da24e7..7afa719d647 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITokenLifetimePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITokenLifetimePolicyRequest.java @@ -79,6 +79,23 @@ public interface ITokenLifetimePolicyRequest extends IHttpRequest { */ TokenLifetimePolicy post(final TokenLifetimePolicy newTokenLifetimePolicy) throws ClientException; + /** + * Posts a TokenLifetimePolicy with a new object + * + * @param newTokenLifetimePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final TokenLifetimePolicy newTokenLifetimePolicy, final ICallback callback); + + /** + * Posts a TokenLifetimePolicy with a new object + * + * @param newTokenLifetimePolicy the object to create/update + * @return the created TokenLifetimePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + TokenLifetimePolicy put(final TokenLifetimePolicy newTokenLifetimePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 abb55bf1ad8..3b9905307cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ITrendingRequest.java @@ -79,6 +79,23 @@ public interface ITrendingRequest extends IHttpRequest { */ Trending post(final Trending newTrending) throws ClientException; + /** + * Posts a Trending with a new object + * + * @param newTrending the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Trending newTrending, final ICallback callback); + + /** + * Posts a Trending with a new object + * + * @param newTrending the object to create/update + * @return the created Trending + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Trending put(final Trending newTrending) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUnmuteParticipantOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUnmuteParticipantOperationRequest.java index 17bd3334091..b546a9df18e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUnmuteParticipantOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUnmuteParticipantOperationRequest.java @@ -79,6 +79,23 @@ public interface IUnmuteParticipantOperationRequest extends IHttpRequest { */ UnmuteParticipantOperation post(final UnmuteParticipantOperation newUnmuteParticipantOperation) throws ClientException; + /** + * Posts a UnmuteParticipantOperation with a new object + * + * @param newUnmuteParticipantOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final UnmuteParticipantOperation newUnmuteParticipantOperation, final ICallback callback); + + /** + * Posts a UnmuteParticipantOperation with a new object + * + * @param newUnmuteParticipantOperation the object to create/update + * @return the created UnmuteParticipantOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UnmuteParticipantOperation put(final UnmuteParticipantOperation newUnmuteParticipantOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUpdateRecordingStatusOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUpdateRecordingStatusOperationRequest.java index 1fed6c8024e..679861b0663 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUpdateRecordingStatusOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUpdateRecordingStatusOperationRequest.java @@ -79,6 +79,23 @@ public interface IUpdateRecordingStatusOperationRequest extends IHttpRequest { */ UpdateRecordingStatusOperation post(final UpdateRecordingStatusOperation newUpdateRecordingStatusOperation) throws ClientException; + /** + * Posts a UpdateRecordingStatusOperation with a new object + * + * @param newUpdateRecordingStatusOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final UpdateRecordingStatusOperation newUpdateRecordingStatusOperation, final ICallback callback); + + /** + * Posts a UpdateRecordingStatusOperation with a new object + * + * @param newUpdateRecordingStatusOperation the object to create/update + * @return the created UpdateRecordingStatusOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UpdateRecordingStatusOperation put(final UpdateRecordingStatusOperation newUpdateRecordingStatusOperation) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IUrlAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IUrlAssessmentRequestRequest.java index 70e11c985b4..a97ccb72aa9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUrlAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUrlAssessmentRequestRequest.java @@ -79,6 +79,23 @@ public interface IUrlAssessmentRequestRequest extends IHttpRequest { */ UrlAssessmentRequest post(final UrlAssessmentRequest newUrlAssessmentRequest) throws ClientException; + /** + * Posts a UrlAssessmentRequest with a new object + * + * @param newUrlAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final UrlAssessmentRequest newUrlAssessmentRequest, final ICallback callback); + + /** + * Posts a UrlAssessmentRequest with a new object + * + * @param newUrlAssessmentRequest the object to create/update + * @return the created UrlAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UrlAssessmentRequest put(final UrlAssessmentRequest newUrlAssessmentRequest) throws ClientException; + /** * Sets the select clause for the request * 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 adb490aa478..21e8ac89b91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUsedInsightRequest.java @@ -79,6 +79,23 @@ public interface IUsedInsightRequest extends IHttpRequest { */ UsedInsight post(final UsedInsight newUsedInsight) throws ClientException; + /** + * Posts a UsedInsight with a new object + * + * @param newUsedInsight the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final UsedInsight newUsedInsight, final ICallback callback); + + /** + * Posts a UsedInsight with a new object + * + * @param newUsedInsight the object to create/update + * @return the created UsedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UsedInsight put(final UsedInsight newUsedInsight) throws ClientException; + /** * Sets the select clause for the request * 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 32afbc6c026..2fb029158b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserActivityRequest.java @@ -79,6 +79,23 @@ public interface IUserActivityRequest extends IHttpRequest { */ UserActivity post(final UserActivity newUserActivity) throws ClientException; + /** + * Posts a UserActivity with a new object + * + * @param newUserActivity the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final UserActivity newUserActivity, final ICallback callback); + + /** + * Posts a UserActivity with a new object + * + * @param newUserActivity the object to create/update + * @return the created UserActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserActivity put(final UserActivity newUserActivity) throws ClientException; + /** * Sets the select clause for the request * 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 8dbb8dd48f8..a468e08e354 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserInstallStateSummaryRequest.java @@ -79,6 +79,23 @@ public interface IUserInstallStateSummaryRequest extends IHttpRequest { */ UserInstallStateSummary post(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException; + /** + * Posts a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback); + + /** + * Posts a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the object to create/update + * @return the created UserInstallStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserInstallStateSummary put(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException; + /** * Sets the select clause for the request * 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 0e654bb4b56..98bfd7b64f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserRequest.java @@ -79,6 +79,23 @@ public interface IUserRequest extends IHttpRequest { */ User post(final User newUser) throws ClientException; + /** + * Posts a User with a new object + * + * @param newUser the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final User newUser, final ICallback callback); + + /** + * Posts a User with a new object + * + * @param newUser the object to create/update + * @return the created User + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + User put(final User newUser) throws ClientException; + /** * Sets the select clause for the request * 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 b83f487f83d..8a456b16824 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IUserSettingsRequest.java @@ -79,6 +79,23 @@ public interface IUserSettingsRequest extends IHttpRequest { */ UserSettings post(final UserSettings newUserSettings) throws ClientException; + /** + * Posts a UserSettings with a new object + * + * @param newUserSettings the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final UserSettings newUserSettings, final ICallback callback); + + /** + * Posts a UserSettings with a new object + * + * @param newUserSettings the object to create/update + * @return the created UserSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + UserSettings put(final UserSettings newUserSettings) throws ClientException; + /** * Sets the select clause for the request * 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 a06c6d53c3f..46edd43fca9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IVppTokenRequest.java @@ -79,6 +79,23 @@ public interface IVppTokenRequest extends IHttpRequest { */ VppToken post(final VppToken newVppToken) throws ClientException; + /** + * Posts a VppToken with a new object + * + * @param newVppToken the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final VppToken newVppToken, final ICallback callback); + + /** + * Posts a VppToken with a new object + * + * @param newVppToken the object to create/update + * @return the created VppToken + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + VppToken put(final VppToken newVppToken) throws ClientException; + /** * Sets the select clause for the request * 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 41e122de17e..f17bf2092ff 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWebAppRequest.java @@ -79,6 +79,23 @@ public interface IWebAppRequest extends IHttpRequest { */ WebApp post(final WebApp newWebApp) throws ClientException; + /** + * Posts a WebApp with a new object + * + * @param newWebApp the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WebApp newWebApp, final ICallback callback); + + /** + * Posts a WebApp with a new object + * + * @param newWebApp the object to create/update + * @return the created WebApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WebApp put(final WebApp newWebApp) throws ClientException; + /** * Sets the select clause for the request * 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 f247bed36d9..70c93da1133 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IWindows10CompliancePolicyRequest extends IHttpRequest { */ Windows10CompliancePolicy post(final Windows10CompliancePolicy newWindows10CompliancePolicy) throws ClientException; + /** + * Posts a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10CompliancePolicy newWindows10CompliancePolicy, final ICallback callback); + + /** + * Posts a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the object to create/update + * @return the created Windows10CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CompliancePolicy put(final Windows10CompliancePolicy newWindows10CompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 b1ee31b84ac..7f275fd2ea9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10CustomConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindows10CustomConfigurationRequest extends IHttpRequest { */ Windows10CustomConfiguration post(final Windows10CustomConfiguration newWindows10CustomConfiguration) throws ClientException; + /** + * Posts a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10CustomConfiguration newWindows10CustomConfiguration, final ICallback callback); + + /** + * Posts a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the object to create/update + * @return the created Windows10CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10CustomConfiguration put(final Windows10CustomConfiguration newWindows10CustomConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 837a322840d..8f93b43943e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EndpointProtectionConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindows10EndpointProtectionConfigurationRequest extends IHttpR */ Windows10EndpointProtectionConfiguration post(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration) throws ClientException; + /** + * Posts a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration, final ICallback callback); + + /** + * Posts a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the object to create/update + * @return the created Windows10EndpointProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EndpointProtectionConfiguration put(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 c108443633e..a69ae238a68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10EnterpriseModernAppManagementConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindows10EnterpriseModernAppManagementConfigurationRequest ext */ Windows10EnterpriseModernAppManagementConfiguration post(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration) throws ClientException; + /** + * Posts a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback); + + /** + * Posts a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the object to create/update + * @return the created Windows10EnterpriseModernAppManagementConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10EnterpriseModernAppManagementConfiguration put(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 11d729f5601..7f7755b7eeb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10GeneralConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindows10GeneralConfigurationRequest extends IHttpRequest { */ Windows10GeneralConfiguration post(final Windows10GeneralConfiguration newWindows10GeneralConfiguration) throws ClientException; + /** + * Posts a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10GeneralConfiguration newWindows10GeneralConfiguration, final ICallback callback); + + /** + * Posts a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the object to create/update + * @return the created Windows10GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10GeneralConfiguration put(final Windows10GeneralConfiguration newWindows10GeneralConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 b5a6d37d88a..74931579360 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10MobileCompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IWindows10MobileCompliancePolicyRequest extends IHttpRequest { */ Windows10MobileCompliancePolicy post(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException; + /** + * Posts a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy, final ICallback callback); + + /** + * Posts a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the object to create/update + * @return the created Windows10MobileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10MobileCompliancePolicy put(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 a93ab82195e..8f2997eb830 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10SecureAssessmentConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindows10SecureAssessmentConfigurationRequest extends IHttpReq */ Windows10SecureAssessmentConfiguration post(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration) throws ClientException; + /** + * Posts a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration, final ICallback callback); + + /** + * Posts a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the object to create/update + * @return the created Windows10SecureAssessmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10SecureAssessmentConfiguration put(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 7e1e79d99fb..41316cc6d6b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows10TeamGeneralConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindows10TeamGeneralConfigurationRequest extends IHttpRequest */ Windows10TeamGeneralConfiguration post(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration) throws ClientException; + /** + * Posts a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration, final ICallback callback); + + /** + * Posts a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the object to create/update + * @return the created Windows10TeamGeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows10TeamGeneralConfiguration put(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 899cd659e52..93b08c154ba 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81CompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IWindows81CompliancePolicyRequest extends IHttpRequest { */ Windows81CompliancePolicy post(final Windows81CompliancePolicy newWindows81CompliancePolicy) throws ClientException; + /** + * Posts a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows81CompliancePolicy newWindows81CompliancePolicy, final ICallback callback); + + /** + * Posts a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the object to create/update + * @return the created Windows81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81CompliancePolicy put(final Windows81CompliancePolicy newWindows81CompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 999d781ab18..e042cc1841b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindows81GeneralConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindows81GeneralConfigurationRequest extends IHttpRequest { */ Windows81GeneralConfiguration post(final Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws ClientException; + /** + * Posts a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Windows81GeneralConfiguration newWindows81GeneralConfiguration, final ICallback callback); + + /** + * Posts a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the object to create/update + * @return the created Windows81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Windows81GeneralConfiguration put(final Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 b2050fa9bf7..08b99510f42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsDefenderAdvancedThreatProtectionConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest ex */ WindowsDefenderAdvancedThreatProtectionConfiguration post(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException; + /** + * Posts a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback); + + /** + * Posts a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the object to create/update + * @return the created WindowsDefenderAdvancedThreatProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsDefenderAdvancedThreatProtectionConfiguration put(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 f6acd021663..7d5dd99d9f1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLearningSummaryRequest.java @@ -79,6 +79,23 @@ public interface IWindowsInformationProtectionAppLearningSummaryRequest extends */ WindowsInformationProtectionAppLearningSummary post(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException; + /** + * Posts a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the object to create/update + * @return the created WindowsInformationProtectionAppLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLearningSummary put(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException; + /** * Sets the select clause for the request * 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 0edd8bb0f35..b2942e9880c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionAppLockerFileRequest.java @@ -79,6 +79,23 @@ public interface IWindowsInformationProtectionAppLockerFileRequest extends IHttp */ WindowsInformationProtectionAppLockerFile post(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException; + /** + * Posts a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the object to create/update + * @return the created WindowsInformationProtectionAppLockerFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionAppLockerFile put(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException; + /** * Sets the select clause for the request * 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 f4a0790c1be..5b2512496b4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionNetworkLearningSummaryRequest.java @@ -79,6 +79,23 @@ public interface IWindowsInformationProtectionNetworkLearningSummaryRequest exte */ WindowsInformationProtectionNetworkLearningSummary post(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException; + /** + * Posts a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the object to create/update + * @return the created WindowsInformationProtectionNetworkLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionNetworkLearningSummary put(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException; + /** * Sets the select clause for the request * 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 cbe77c3927b..c2d94644a25 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionPolicyRequest.java @@ -79,6 +79,23 @@ public interface IWindowsInformationProtectionPolicyRequest extends IHttpRequest */ WindowsInformationProtectionPolicy post(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException; + /** + * Posts a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback); + + /** + * Posts a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the object to create/update + * @return the created WindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtectionPolicy put(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException; + /** * Sets the select clause for the request * 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 d32b270886c..52072d287a6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsInformationProtectionRequest.java @@ -79,6 +79,23 @@ public interface IWindowsInformationProtectionRequest extends IHttpRequest { */ WindowsInformationProtection post(final WindowsInformationProtection newWindowsInformationProtection) throws ClientException; + /** + * Posts a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsInformationProtection newWindowsInformationProtection, final ICallback callback); + + /** + * Posts a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the object to create/update + * @return the created WindowsInformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsInformationProtection put(final WindowsInformationProtection newWindowsInformationProtection) throws ClientException; + /** * Sets the select clause for the request * 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 b3fa7cd32bd..2acb833052a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsMobileMSIRequest.java @@ -79,6 +79,23 @@ public interface IWindowsMobileMSIRequest extends IHttpRequest { */ WindowsMobileMSI post(final WindowsMobileMSI newWindowsMobileMSI) throws ClientException; + /** + * Posts a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsMobileMSI newWindowsMobileMSI, final ICallback callback); + + /** + * Posts a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the object to create/update + * @return the created WindowsMobileMSI + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsMobileMSI put(final WindowsMobileMSI newWindowsMobileMSI) throws ClientException; + /** * Sets the select clause for the request * 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 1cf1c8b7c37..bd6cf390fb6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CompliancePolicyRequest.java @@ -79,6 +79,23 @@ public interface IWindowsPhone81CompliancePolicyRequest extends IHttpRequest { */ WindowsPhone81CompliancePolicy post(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy) throws ClientException; + /** + * Posts a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy, final ICallback callback); + + /** + * Posts a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the object to create/update + * @return the created WindowsPhone81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CompliancePolicy put(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy) throws ClientException; + /** * Sets the select clause for the request * 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 1dcaf579e32..0951931195c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81CustomConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindowsPhone81CustomConfigurationRequest extends IHttpRequest */ WindowsPhone81CustomConfiguration post(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration) throws ClientException; + /** + * Posts a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration, final ICallback callback); + + /** + * Posts a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the object to create/update + * @return the created WindowsPhone81CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81CustomConfiguration put(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 5042b171436..1fa4b3bd85d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsPhone81GeneralConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindowsPhone81GeneralConfigurationRequest extends IHttpRequest */ WindowsPhone81GeneralConfiguration post(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration) throws ClientException; + /** + * Posts a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration, final ICallback callback); + + /** + * Posts a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the object to create/update + * @return the created WindowsPhone81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsPhone81GeneralConfiguration put(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 4daeed2e726..12e2252e2ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUniversalAppXRequest.java @@ -79,6 +79,23 @@ public interface IWindowsUniversalAppXRequest extends IHttpRequest { */ WindowsUniversalAppX post(final WindowsUniversalAppX newWindowsUniversalAppX) throws ClientException; + /** + * Posts a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsUniversalAppX newWindowsUniversalAppX, final ICallback callback); + + /** + * Posts a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the object to create/update + * @return the created WindowsUniversalAppX + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUniversalAppX put(final WindowsUniversalAppX newWindowsUniversalAppX) throws ClientException; + /** * Sets the select clause for the request * 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 43019eb709e..c0181667502 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWindowsUpdateForBusinessConfigurationRequest.java @@ -79,6 +79,23 @@ public interface IWindowsUpdateForBusinessConfigurationRequest extends IHttpRequ */ WindowsUpdateForBusinessConfiguration post(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration) throws ClientException; + /** + * Posts a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration, final ICallback callback); + + /** + * Posts a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the object to create/update + * @return the created WindowsUpdateForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WindowsUpdateForBusinessConfiguration put(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration) throws ClientException; + /** * Sets the select clause for the request * 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 c53ba691f95..b0a77a3f30a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookApplicationRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookApplicationRequest extends IHttpRequest { */ WorkbookApplication post(final WorkbookApplication newWorkbookApplication) throws ClientException; + /** + * Posts a WorkbookApplication with a new object + * + * @param newWorkbookApplication the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookApplication newWorkbookApplication, final ICallback callback); + + /** + * Posts a WorkbookApplication with a new object + * + * @param newWorkbookApplication the object to create/update + * @return the created WorkbookApplication + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookApplication put(final WorkbookApplication newWorkbookApplication) throws ClientException; + /** * Sets the select clause for the request * 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 8f848d7b840..edb841624fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAreaFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartAreaFormatRequest extends IHttpRequest { */ WorkbookChartAreaFormat post(final WorkbookChartAreaFormat newWorkbookChartAreaFormat) throws ClientException; + /** + * Posts a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartAreaFormat newWorkbookChartAreaFormat, final ICallback callback); + + /** + * Posts a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the object to create/update + * @return the created WorkbookChartAreaFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAreaFormat put(final WorkbookChartAreaFormat newWorkbookChartAreaFormat) throws ClientException; + /** * Sets the select clause for the request * 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 907eccf032d..f072710474a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxesRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartAxesRequest extends IHttpRequest { */ WorkbookChartAxes post(final WorkbookChartAxes newWorkbookChartAxes) throws ClientException; + /** + * Posts a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartAxes newWorkbookChartAxes, final ICallback callback); + + /** + * Posts a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the object to create/update + * @return the created WorkbookChartAxes + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxes put(final WorkbookChartAxes newWorkbookChartAxes) throws ClientException; + /** * Sets the select clause for the request * 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 c8600bcba64..b96e6441524 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartAxisFormatRequest extends IHttpRequest { */ WorkbookChartAxisFormat post(final WorkbookChartAxisFormat newWorkbookChartAxisFormat) throws ClientException; + /** + * Posts a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartAxisFormat newWorkbookChartAxisFormat, final ICallback callback); + + /** + * Posts a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the object to create/update + * @return the created WorkbookChartAxisFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisFormat put(final WorkbookChartAxisFormat newWorkbookChartAxisFormat) throws ClientException; + /** * Sets the select clause for the request * 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 fa313b0686a..1b7b37f60b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartAxisRequest extends IHttpRequest { */ WorkbookChartAxis post(final WorkbookChartAxis newWorkbookChartAxis) throws ClientException; + /** + * Posts a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartAxis newWorkbookChartAxis, final ICallback callback); + + /** + * Posts a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the object to create/update + * @return the created WorkbookChartAxis + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxis put(final WorkbookChartAxis newWorkbookChartAxis) throws ClientException; + /** * Sets the select clause for the request * 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 65a7af2daa3..f3e8e91db9b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartAxisTitleFormatRequest extends IHttpRequest { */ WorkbookChartAxisTitleFormat post(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat) throws ClientException; + /** + * Posts a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat, final ICallback callback); + + /** + * Posts a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the object to create/update + * @return the created WorkbookChartAxisTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitleFormat put(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat) throws ClientException; + /** * Sets the select clause for the request * 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 c037522780f..760e589131c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartAxisTitleRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartAxisTitleRequest extends IHttpRequest { */ WorkbookChartAxisTitle post(final WorkbookChartAxisTitle newWorkbookChartAxisTitle) throws ClientException; + /** + * Posts a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartAxisTitle newWorkbookChartAxisTitle, final ICallback callback); + + /** + * Posts a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the object to create/update + * @return the created WorkbookChartAxisTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartAxisTitle put(final WorkbookChartAxisTitle newWorkbookChartAxisTitle) throws ClientException; + /** * Sets the select clause for the request * 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 16ef68942ea..7ed92bdb576 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartDataLabelFormatRequest extends IHttpRequest { */ WorkbookChartDataLabelFormat post(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat) throws ClientException; + /** + * Posts a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat, final ICallback callback); + + /** + * Posts a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the object to create/update + * @return the created WorkbookChartDataLabelFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabelFormat put(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat) throws ClientException; + /** * Sets the select clause for the request * 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 997ca8bd27f..a23d492a35d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartDataLabelsRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartDataLabelsRequest extends IHttpRequest { */ WorkbookChartDataLabels post(final WorkbookChartDataLabels newWorkbookChartDataLabels) throws ClientException; + /** + * Posts a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartDataLabels newWorkbookChartDataLabels, final ICallback callback); + + /** + * Posts a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the object to create/update + * @return the created WorkbookChartDataLabels + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartDataLabels put(final WorkbookChartDataLabels newWorkbookChartDataLabels) throws ClientException; + /** * Sets the select clause for the request * 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 03165595920..b13b12d58b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFillRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartFillRequest extends IHttpRequest { */ WorkbookChartFill post(final WorkbookChartFill newWorkbookChartFill) throws ClientException; + /** + * Posts a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartFill newWorkbookChartFill, final ICallback callback); + + /** + * Posts a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the object to create/update + * @return the created WorkbookChartFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFill put(final WorkbookChartFill newWorkbookChartFill) throws ClientException; + /** * Sets the select clause for the request * 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 4644c9497c5..d448e8a3c38 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartFontRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartFontRequest extends IHttpRequest { */ WorkbookChartFont post(final WorkbookChartFont newWorkbookChartFont) throws ClientException; + /** + * Posts a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartFont newWorkbookChartFont, final ICallback callback); + + /** + * Posts a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the object to create/update + * @return the created WorkbookChartFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartFont put(final WorkbookChartFont newWorkbookChartFont) throws ClientException; + /** * Sets the select clause for the request * 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 bdd37b21f2e..2f4bdd3cede 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartGridlinesFormatRequest extends IHttpRequest { */ WorkbookChartGridlinesFormat post(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat) throws ClientException; + /** + * Posts a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat, final ICallback callback); + + /** + * Posts a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the object to create/update + * @return the created WorkbookChartGridlinesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlinesFormat put(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat) throws ClientException; + /** * Sets the select clause for the request * 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 8862266e952..d09f5bda94d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartGridlinesRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartGridlinesRequest extends IHttpRequest { */ WorkbookChartGridlines post(final WorkbookChartGridlines newWorkbookChartGridlines) throws ClientException; + /** + * Posts a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartGridlines newWorkbookChartGridlines, final ICallback callback); + + /** + * Posts a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the object to create/update + * @return the created WorkbookChartGridlines + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartGridlines put(final WorkbookChartGridlines newWorkbookChartGridlines) throws ClientException; + /** * Sets the select clause for the request * 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 67e0205b4e5..9c7c3d3b5f6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartLegendFormatRequest extends IHttpRequest { */ WorkbookChartLegendFormat post(final WorkbookChartLegendFormat newWorkbookChartLegendFormat) throws ClientException; + /** + * Posts a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartLegendFormat newWorkbookChartLegendFormat, final ICallback callback); + + /** + * Posts a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the object to create/update + * @return the created WorkbookChartLegendFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegendFormat put(final WorkbookChartLegendFormat newWorkbookChartLegendFormat) throws ClientException; + /** * Sets the select clause for the request * 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 9212e0b64ce..8a581a15f5b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLegendRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartLegendRequest extends IHttpRequest { */ WorkbookChartLegend post(final WorkbookChartLegend newWorkbookChartLegend) throws ClientException; + /** + * Posts a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartLegend newWorkbookChartLegend, final ICallback callback); + + /** + * Posts a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the object to create/update + * @return the created WorkbookChartLegend + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLegend put(final WorkbookChartLegend newWorkbookChartLegend) throws ClientException; + /** * Sets the select clause for the request * 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 53b1cfbb458..b27b1605ec5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartLineFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartLineFormatRequest extends IHttpRequest { */ WorkbookChartLineFormat post(final WorkbookChartLineFormat newWorkbookChartLineFormat) throws ClientException; + /** + * Posts a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartLineFormat newWorkbookChartLineFormat, final ICallback callback); + + /** + * Posts a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the object to create/update + * @return the created WorkbookChartLineFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartLineFormat put(final WorkbookChartLineFormat newWorkbookChartLineFormat) throws ClientException; + /** * Sets the select clause for the request * 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 48150a917fb..57c1b82e6ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartPointFormatRequest extends IHttpRequest { */ WorkbookChartPointFormat post(final WorkbookChartPointFormat newWorkbookChartPointFormat) throws ClientException; + /** + * Posts a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartPointFormat newWorkbookChartPointFormat, final ICallback callback); + + /** + * Posts a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the object to create/update + * @return the created WorkbookChartPointFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPointFormat put(final WorkbookChartPointFormat newWorkbookChartPointFormat) throws ClientException; + /** * Sets the select clause for the request * 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 8ec99e93b52..8d3bb47cd23 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartPointRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartPointRequest extends IHttpRequest { */ WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException; + /** + * Posts a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback); + + /** + * Posts a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the object to create/update + * @return the created WorkbookChartPoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartPoint put(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException; + /** * Sets the select clause for the request * 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 a2d6ed88c81..f8de3bad033 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartRequest extends IHttpRequest { */ WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientException; + /** + * Posts a WorkbookChart with a new object + * + * @param newWorkbookChart the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChart newWorkbookChart, final ICallback callback); + + /** + * Posts a WorkbookChart with a new object + * + * @param newWorkbookChart the object to create/update + * @return the created WorkbookChart + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChart put(final WorkbookChart newWorkbookChart) throws ClientException; + /** * Sets the select clause for the request * 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 c91e8fa6d9b..e7936dd176d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartSeriesFormatRequest extends IHttpRequest { */ WorkbookChartSeriesFormat post(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat) throws ClientException; + /** + * Posts a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat, final ICallback callback); + + /** + * Posts a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the object to create/update + * @return the created WorkbookChartSeriesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeriesFormat put(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat) throws ClientException; + /** * Sets the select clause for the request * 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 405dea7c2aa..26514a88b05 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartSeriesRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartSeriesRequest extends IHttpRequest { */ WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException; + /** + * Posts a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback); + + /** + * Posts a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the object to create/update + * @return the created WorkbookChartSeries + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartSeries put(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException; + /** * Sets the select clause for the request * 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 05fb197b188..bcf0f72bd16 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartTitleFormatRequest extends IHttpRequest { */ WorkbookChartTitleFormat post(final WorkbookChartTitleFormat newWorkbookChartTitleFormat) throws ClientException; + /** + * Posts a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartTitleFormat newWorkbookChartTitleFormat, final ICallback callback); + + /** + * Posts a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the object to create/update + * @return the created WorkbookChartTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitleFormat put(final WorkbookChartTitleFormat newWorkbookChartTitleFormat) throws ClientException; + /** * Sets the select clause for the request * 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 78e3c41a75b..671d60de43a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookChartTitleRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookChartTitleRequest extends IHttpRequest { */ WorkbookChartTitle post(final WorkbookChartTitle newWorkbookChartTitle) throws ClientException; + /** + * Posts a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookChartTitle newWorkbookChartTitle, final ICallback callback); + + /** + * Posts a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the object to create/update + * @return the created WorkbookChartTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookChartTitle put(final WorkbookChartTitle newWorkbookChartTitle) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentReplyRequest.java index 26065683875..7be4de281bc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentReplyRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookCommentReplyRequest extends IHttpRequest { */ WorkbookCommentReply post(final WorkbookCommentReply newWorkbookCommentReply) throws ClientException; + /** + * Posts a WorkbookCommentReply with a new object + * + * @param newWorkbookCommentReply the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookCommentReply newWorkbookCommentReply, final ICallback callback); + + /** + * Posts a WorkbookCommentReply with a new object + * + * @param newWorkbookCommentReply the object to create/update + * @return the created WorkbookCommentReply + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookCommentReply put(final WorkbookCommentReply newWorkbookCommentReply) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentRequest.java index 0e267bc1915..a4761995039 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookCommentRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookCommentRequest extends IHttpRequest { */ WorkbookComment post(final WorkbookComment newWorkbookComment) throws ClientException; + /** + * Posts a WorkbookComment with a new object + * + * @param newWorkbookComment the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookComment newWorkbookComment, final ICallback callback); + + /** + * Posts a WorkbookComment with a new object + * + * @param newWorkbookComment the object to create/update + * @return the created WorkbookComment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookComment put(final WorkbookComment newWorkbookComment) throws ClientException; + /** * Sets the select clause for the request * 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 de79b74f2eb..b17297cdb27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFilterRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookFilterRequest extends IHttpRequest { */ WorkbookFilter post(final WorkbookFilter newWorkbookFilter) throws ClientException; + /** + * Posts a WorkbookFilter with a new object + * + * @param newWorkbookFilter the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookFilter newWorkbookFilter, final ICallback callback); + + /** + * Posts a WorkbookFilter with a new object + * + * @param newWorkbookFilter the object to create/update + * @return the created WorkbookFilter + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFilter put(final WorkbookFilter newWorkbookFilter) throws ClientException; + /** * Sets the select clause for the request * 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 cee04948527..2de11c2863f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFormatProtectionRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookFormatProtectionRequest extends IHttpRequest { */ WorkbookFormatProtection post(final WorkbookFormatProtection newWorkbookFormatProtection) throws ClientException; + /** + * Posts a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookFormatProtection newWorkbookFormatProtection, final ICallback callback); + + /** + * Posts a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the object to create/update + * @return the created WorkbookFormatProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFormatProtection put(final WorkbookFormatProtection newWorkbookFormatProtection) throws ClientException; + /** * Sets the select clause for the request * 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 46759f390fa..395772ca8c0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionResultRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookFunctionResultRequest extends IHttpRequest { */ WorkbookFunctionResult post(final WorkbookFunctionResult newWorkbookFunctionResult) throws ClientException; + /** + * Posts a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookFunctionResult newWorkbookFunctionResult, final ICallback callback); + + /** + * Posts a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the object to create/update + * @return the created WorkbookFunctionResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctionResult put(final WorkbookFunctionResult newWorkbookFunctionResult) throws ClientException; + /** * Sets the select clause for the request * 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 e6affb6add3..c7525ad2d0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookFunctionsRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookFunctionsRequest extends IHttpRequest { */ WorkbookFunctions post(final WorkbookFunctions newWorkbookFunctions) throws ClientException; + /** + * Posts a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookFunctions newWorkbookFunctions, final ICallback callback); + + /** + * Posts a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the object to create/update + * @return the created WorkbookFunctions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookFunctions put(final WorkbookFunctions newWorkbookFunctions) throws ClientException; + /** * Sets the select clause for the request * 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 36db71b3176..7090fa5b378 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookNamedItemRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookNamedItemRequest extends IHttpRequest { */ WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException; + /** + * Posts a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback); + + /** + * Posts a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the object to create/update + * @return the created WorkbookNamedItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookNamedItem put(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookOperationRequest.java index c4bbf758270..b4f79873cdf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookOperationRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookOperationRequest extends IHttpRequest { */ WorkbookOperation post(final WorkbookOperation newWorkbookOperation) throws ClientException; + /** + * Posts a WorkbookOperation with a new object + * + * @param newWorkbookOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookOperation newWorkbookOperation, final ICallback callback); + + /** + * Posts a WorkbookOperation with a new object + * + * @param newWorkbookOperation the object to create/update + * @return the created WorkbookOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookOperation put(final WorkbookOperation newWorkbookOperation) throws ClientException; + /** * Sets the select clause for the request * 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 0222cfc8fb9..9c99e881f74 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookPivotTableRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookPivotTableRequest extends IHttpRequest { */ WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException; + /** + * Posts a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback); + + /** + * Posts a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the object to create/update + * @return the created WorkbookPivotTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookPivotTable put(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException; + /** * Sets the select clause for the request * 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 58ee361ae3a..d9fe0e06163 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeBorderRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRangeBorderRequest extends IHttpRequest { */ WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException; + /** + * Posts a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback); + + /** + * Posts a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the object to create/update + * @return the created WorkbookRangeBorder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeBorder put(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException; + /** * Sets the select clause for the request * 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 264c471ecec..9d47efb2845 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFillRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRangeFillRequest extends IHttpRequest { */ WorkbookRangeFill post(final WorkbookRangeFill newWorkbookRangeFill) throws ClientException; + /** + * Posts a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookRangeFill newWorkbookRangeFill, final ICallback callback); + + /** + * Posts a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the object to create/update + * @return the created WorkbookRangeFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFill put(final WorkbookRangeFill newWorkbookRangeFill) throws ClientException; + /** * Sets the select clause for the request * 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 0102a69c983..cf3fe47b661 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFontRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRangeFontRequest extends IHttpRequest { */ WorkbookRangeFont post(final WorkbookRangeFont newWorkbookRangeFont) throws ClientException; + /** + * Posts a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookRangeFont newWorkbookRangeFont, final ICallback callback); + + /** + * Posts a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the object to create/update + * @return the created WorkbookRangeFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFont put(final WorkbookRangeFont newWorkbookRangeFont) throws ClientException; + /** * Sets the select clause for the request * 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 0394edf4c83..dc686482668 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeFormatRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRangeFormatRequest extends IHttpRequest { */ WorkbookRangeFormat post(final WorkbookRangeFormat newWorkbookRangeFormat) throws ClientException; + /** + * Posts a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookRangeFormat newWorkbookRangeFormat, final ICallback callback); + + /** + * Posts a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the object to create/update + * @return the created WorkbookRangeFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeFormat put(final WorkbookRangeFormat newWorkbookRangeFormat) throws ClientException; + /** * Sets the select clause for the request * 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 7adf00eb5e1..7ade1dbc2f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRangeRequest extends IHttpRequest { */ WorkbookRange post(final WorkbookRange newWorkbookRange) throws ClientException; + /** + * Posts a WorkbookRange with a new object + * + * @param newWorkbookRange the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookRange newWorkbookRange, final ICallback callback); + + /** + * Posts a WorkbookRange with a new object + * + * @param newWorkbookRange the object to create/update + * @return the created WorkbookRange + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRange put(final WorkbookRange newWorkbookRange) throws ClientException; + /** * Sets the select clause for the request * 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 f485bd13f6a..18790a5786a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeSortRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRangeSortRequest extends IHttpRequest { */ WorkbookRangeSort post(final WorkbookRangeSort newWorkbookRangeSort) throws ClientException; + /** + * Posts a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookRangeSort newWorkbookRangeSort, final ICallback callback); + + /** + * Posts a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the object to create/update + * @return the created WorkbookRangeSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeSort put(final WorkbookRangeSort newWorkbookRangeSort) throws ClientException; + /** * Sets the select clause for the request * 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 2c49c6b2e79..38ee9357e77 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRangeViewRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRangeViewRequest extends IHttpRequest { */ WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) throws ClientException; + /** + * Posts a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookRangeView newWorkbookRangeView, final ICallback callback); + + /** + * Posts a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the object to create/update + * @return the created WorkbookRangeView + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookRangeView put(final WorkbookRangeView newWorkbookRangeView) throws ClientException; + /** * Sets the select clause for the request * 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 f244eed7bb9..f68d3db1520 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookRequest extends IHttpRequest { */ Workbook post(final Workbook newWorkbook) throws ClientException; + /** + * Posts a Workbook with a new object + * + * @param newWorkbook the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final Workbook newWorkbook, final ICallback callback); + + /** + * Posts a Workbook with a new object + * + * @param newWorkbook the object to create/update + * @return the created Workbook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + Workbook put(final Workbook newWorkbook) throws ClientException; + /** * Sets the select clause for the request * 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 91ec321aada..d636cba550a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableColumnRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookTableColumnRequest extends IHttpRequest { */ WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException; + /** + * Posts a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback); + + /** + * Posts a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the object to create/update + * @return the created WorkbookTableColumn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableColumn put(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException; + /** * Sets the select clause for the request * 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 47d53ab6029..3ce2bb2a96f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookTableRequest extends IHttpRequest { */ WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientException; + /** + * Posts a WorkbookTable with a new object + * + * @param newWorkbookTable the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookTable newWorkbookTable, final ICallback callback); + + /** + * Posts a WorkbookTable with a new object + * + * @param newWorkbookTable the object to create/update + * @return the created WorkbookTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTable put(final WorkbookTable newWorkbookTable) throws ClientException; + /** * Sets the select clause for the request * 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 16b0f073cc3..577b1459add 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableRowRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookTableRowRequest extends IHttpRequest { */ WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws ClientException; + /** + * Posts a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookTableRow newWorkbookTableRow, final ICallback callback); + + /** + * Posts a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the object to create/update + * @return the created WorkbookTableRow + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableRow put(final WorkbookTableRow newWorkbookTableRow) throws ClientException; + /** * Sets the select clause for the request * 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 be3229ead01..23f3f47ff11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookTableSortRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookTableSortRequest extends IHttpRequest { */ WorkbookTableSort post(final WorkbookTableSort newWorkbookTableSort) throws ClientException; + /** + * Posts a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookTableSort newWorkbookTableSort, final ICallback callback); + + /** + * Posts a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the object to create/update + * @return the created WorkbookTableSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookTableSort put(final WorkbookTableSort newWorkbookTableSort) throws ClientException; + /** * Sets the select clause for the request * 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 4643d3e23e2..90f835ebd10 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetProtectionRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookWorksheetProtectionRequest extends IHttpRequest { */ WorkbookWorksheetProtection post(final WorkbookWorksheetProtection newWorkbookWorksheetProtection) throws ClientException; + /** + * Posts a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookWorksheetProtection newWorkbookWorksheetProtection, final ICallback callback); + + /** + * Posts a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the object to create/update + * @return the created WorkbookWorksheetProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheetProtection put(final WorkbookWorksheetProtection newWorkbookWorksheetProtection) throws ClientException; + /** * Sets the select clause for the request * 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 bd03784e867..fc93bda9987 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkbookWorksheetRequest.java @@ -79,6 +79,23 @@ public interface IWorkbookWorksheetRequest extends IHttpRequest { */ WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException; + /** + * Posts a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback); + + /** + * Posts a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the object to create/update + * @return the created WorkbookWorksheet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkbookWorksheet put(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IWorkforceIntegrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IWorkforceIntegrationRequest.java index 7b1f1a9f8ab..2e90520f294 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IWorkforceIntegrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IWorkforceIntegrationRequest.java @@ -79,6 +79,23 @@ public interface IWorkforceIntegrationRequest extends IHttpRequest { */ WorkforceIntegration post(final WorkforceIntegration newWorkforceIntegration) throws ClientException; + /** + * Posts a WorkforceIntegration with a new object + * + * @param newWorkforceIntegration the object to create/update + * @param callback the callback to be called after success or failure + */ + void put(final WorkforceIntegration newWorkforceIntegration, final ICallback callback); + + /** + * Posts a WorkforceIntegration with a new object + * + * @param newWorkforceIntegration the object to create/update + * @return the created WorkforceIntegration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + WorkforceIntegration put(final WorkforceIntegration newWorkforceIntegration) throws ClientException; + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IdentityContainerRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IdentityContainerRequest.java index e9ccff2be7b..61cab1b050c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IdentityContainerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IdentityContainerRequest.java @@ -113,6 +113,27 @@ public IdentityContainer post(final IdentityContainer newIdentityContainer) thro return send(HttpMethod.POST, newIdentityContainer); } + /** + * Creates a IdentityContainer with a new object + * + * @param newIdentityContainer the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IdentityContainer newIdentityContainer, final ICallback callback) { + send(HttpMethod.PUT, callback, newIdentityContainer); + } + + /** + * Creates a IdentityContainer with a new object + * + * @param newIdentityContainer the object to create/update + * @return the created IdentityContainer + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IdentityContainer put(final IdentityContainer newIdentityContainer) throws ClientException { + return send(HttpMethod.PUT, newIdentityContainer); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IdentityProviderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IdentityProviderRequest.java index dafc7f1dd06..ee7f6d7ee91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IdentityProviderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IdentityProviderRequest.java @@ -111,6 +111,27 @@ public IdentityProvider post(final IdentityProvider newIdentityProvider) throws return send(HttpMethod.POST, newIdentityProvider); } + /** + * Creates a IdentityProvider with a new object + * + * @param newIdentityProvider the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IdentityProvider newIdentityProvider, final ICallback callback) { + send(HttpMethod.PUT, callback, newIdentityProvider); + } + + /** + * Creates a IdentityProvider with a new object + * + * @param newIdentityProvider the object to create/update + * @return the created IdentityProvider + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IdentityProvider put(final IdentityProvider newIdentityProvider) throws ClientException { + return send(HttpMethod.PUT, newIdentityProvider); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IdentitySecurityDefaultsEnforcementPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IdentitySecurityDefaultsEnforcementPolicyRequest.java index 60d2bf27fd9..40e53f8981a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IdentitySecurityDefaultsEnforcementPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IdentitySecurityDefaultsEnforcementPolicyRequest.java @@ -111,6 +111,27 @@ public IdentitySecurityDefaultsEnforcementPolicy post(final IdentitySecurityDefa return send(HttpMethod.POST, newIdentitySecurityDefaultsEnforcementPolicy); } + /** + * Creates a IdentitySecurityDefaultsEnforcementPolicy with a new object + * + * @param newIdentitySecurityDefaultsEnforcementPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IdentitySecurityDefaultsEnforcementPolicy newIdentitySecurityDefaultsEnforcementPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newIdentitySecurityDefaultsEnforcementPolicy); + } + + /** + * Creates a IdentitySecurityDefaultsEnforcementPolicy with a new object + * + * @param newIdentitySecurityDefaultsEnforcementPolicy the object to create/update + * @return the created IdentitySecurityDefaultsEnforcementPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IdentitySecurityDefaultsEnforcementPolicy put(final IdentitySecurityDefaultsEnforcementPolicy newIdentitySecurityDefaultsEnforcementPolicy) throws ClientException { + return send(HttpMethod.PUT, newIdentitySecurityDefaultsEnforcementPolicy); + } + /** * Sets the select clause for the request * 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 3f196fe7364..21d747045bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationOverrideRequest.java @@ -111,6 +111,27 @@ public InferenceClassificationOverride post(final InferenceClassificationOverrid return send(HttpMethod.POST, newInferenceClassificationOverride); } + /** + * Creates a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final InferenceClassificationOverride newInferenceClassificationOverride, final ICallback callback) { + send(HttpMethod.PUT, callback, newInferenceClassificationOverride); + } + + /** + * Creates a InferenceClassificationOverride with a new object + * + * @param newInferenceClassificationOverride the object to create/update + * @return the created InferenceClassificationOverride + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassificationOverride put(final InferenceClassificationOverride newInferenceClassificationOverride) throws ClientException { + return send(HttpMethod.PUT, newInferenceClassificationOverride); + } + /** * Sets the select clause for the request * 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 f490e43c1c0..16941332082 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InferenceClassificationRequest.java @@ -115,6 +115,27 @@ public InferenceClassification post(final InferenceClassification newInferenceCl return send(HttpMethod.POST, newInferenceClassification); } + /** + * Creates a InferenceClassification with a new object + * + * @param newInferenceClassification the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final InferenceClassification newInferenceClassification, final ICallback callback) { + send(HttpMethod.PUT, callback, newInferenceClassification); + } + + /** + * Creates a InferenceClassification with a new object + * + * @param newInferenceClassification the object to create/update + * @return the created InferenceClassification + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InferenceClassification put(final InferenceClassification newInferenceClassification) throws ClientException { + return send(HttpMethod.PUT, newInferenceClassification); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InformationProtectionRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/InformationProtectionRequest.java index fbc8cf12c5b..d77a8c781c2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InformationProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InformationProtectionRequest.java @@ -115,6 +115,27 @@ public InformationProtection post(final InformationProtection newInformationProt return send(HttpMethod.POST, newInformationProtection); } + /** + * Creates a InformationProtection with a new object + * + * @param newInformationProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final InformationProtection newInformationProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newInformationProtection); + } + + /** + * Creates a InformationProtection with a new object + * + * @param newInformationProtection the object to create/update + * @return the created InformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InformationProtection put(final InformationProtection newInformationProtection) throws ClientException { + return send(HttpMethod.PUT, newInformationProtection); + } + /** * Sets the select clause for the request * 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 ea6dc38c836..d2ed6d8c95b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InvitationRequest.java @@ -113,6 +113,27 @@ public Invitation post(final Invitation newInvitation) throws ClientException { return send(HttpMethod.POST, newInvitation); } + /** + * Creates a Invitation with a new object + * + * @param newInvitation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Invitation newInvitation, final ICallback callback) { + send(HttpMethod.PUT, callback, newInvitation); + } + + /** + * Creates a Invitation with a new object + * + * @param newInvitation the object to create/update + * @return the created Invitation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Invitation put(final Invitation newInvitation) throws ClientException { + return send(HttpMethod.PUT, newInvitation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/InviteParticipantsOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/InviteParticipantsOperationRequest.java index 9365012550d..3b9e64614a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/InviteParticipantsOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/InviteParticipantsOperationRequest.java @@ -111,6 +111,27 @@ public InviteParticipantsOperation post(final InviteParticipantsOperation newInv return send(HttpMethod.POST, newInviteParticipantsOperation); } + /** + * Creates a InviteParticipantsOperation with a new object + * + * @param newInviteParticipantsOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final InviteParticipantsOperation newInviteParticipantsOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newInviteParticipantsOperation); + } + + /** + * Creates a InviteParticipantsOperation with a new object + * + * @param newInviteParticipantsOperation the object to create/update + * @return the created InviteParticipantsOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public InviteParticipantsOperation put(final InviteParticipantsOperation newInviteParticipantsOperation) throws ClientException { + return send(HttpMethod.PUT, newInviteParticipantsOperation); + } + /** * Sets the select clause for the request * 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 d311069f2b2..e5e9df691db 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCertificateProfileRequest.java @@ -111,6 +111,27 @@ public IosCertificateProfile post(final IosCertificateProfile newIosCertificateP return send(HttpMethod.POST, newIosCertificateProfile); } + /** + * Creates a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosCertificateProfile newIosCertificateProfile, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosCertificateProfile); + } + + /** + * Creates a IosCertificateProfile with a new object + * + * @param newIosCertificateProfile the object to create/update + * @return the created IosCertificateProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCertificateProfile put(final IosCertificateProfile newIosCertificateProfile) throws ClientException { + return send(HttpMethod.PUT, newIosCertificateProfile); + } + /** * Sets the select clause for the request * 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 9350b3e63fc..554142191be 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCompliancePolicyRequest.java @@ -111,6 +111,27 @@ public IosCompliancePolicy post(final IosCompliancePolicy newIosCompliancePolicy return send(HttpMethod.POST, newIosCompliancePolicy); } + /** + * Creates a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosCompliancePolicy newIosCompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosCompliancePolicy); + } + + /** + * Creates a IosCompliancePolicy with a new object + * + * @param newIosCompliancePolicy the object to create/update + * @return the created IosCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCompliancePolicy put(final IosCompliancePolicy newIosCompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newIosCompliancePolicy); + } + /** * Sets the select clause for the request * 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 2927ddca25a..792349f51dc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosCustomConfigurationRequest.java @@ -111,6 +111,27 @@ public IosCustomConfiguration post(final IosCustomConfiguration newIosCustomConf return send(HttpMethod.POST, newIosCustomConfiguration); } + /** + * Creates a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosCustomConfiguration newIosCustomConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosCustomConfiguration); + } + + /** + * Creates a IosCustomConfiguration with a new object + * + * @param newIosCustomConfiguration the object to create/update + * @return the created IosCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosCustomConfiguration put(final IosCustomConfiguration newIosCustomConfiguration) throws ClientException { + return send(HttpMethod.PUT, newIosCustomConfiguration); + } + /** * Sets the select clause for the request * 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 f660bede60d..172f8027adf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosDeviceFeaturesConfigurationRequest.java @@ -111,6 +111,27 @@ public IosDeviceFeaturesConfiguration post(final IosDeviceFeaturesConfiguration return send(HttpMethod.POST, newIosDeviceFeaturesConfiguration); } + /** + * Creates a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosDeviceFeaturesConfiguration); + } + + /** + * Creates a IosDeviceFeaturesConfiguration with a new object + * + * @param newIosDeviceFeaturesConfiguration the object to create/update + * @return the created IosDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosDeviceFeaturesConfiguration put(final IosDeviceFeaturesConfiguration newIosDeviceFeaturesConfiguration) throws ClientException { + return send(HttpMethod.PUT, newIosDeviceFeaturesConfiguration); + } + /** * Sets the select clause for the request * 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 d3a2ef5a92b..1a5a47b6c50 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosGeneralDeviceConfigurationRequest.java @@ -111,6 +111,27 @@ public IosGeneralDeviceConfiguration post(final IosGeneralDeviceConfiguration ne return send(HttpMethod.POST, newIosGeneralDeviceConfiguration); } + /** + * Creates a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosGeneralDeviceConfiguration); + } + + /** + * Creates a IosGeneralDeviceConfiguration with a new object + * + * @param newIosGeneralDeviceConfiguration the object to create/update + * @return the created IosGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosGeneralDeviceConfiguration put(final IosGeneralDeviceConfiguration newIosGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PUT, newIosGeneralDeviceConfiguration); + } + /** * Sets the select clause for the request * 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 9b96305cd69..472b62c20fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosLobAppRequest.java @@ -111,6 +111,27 @@ public IosLobApp post(final IosLobApp newIosLobApp) throws ClientException { return send(HttpMethod.POST, newIosLobApp); } + /** + * Creates a IosLobApp with a new object + * + * @param newIosLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosLobApp newIosLobApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosLobApp); + } + + /** + * Creates a IosLobApp with a new object + * + * @param newIosLobApp the object to create/update + * @return the created IosLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosLobApp put(final IosLobApp newIosLobApp) throws ClientException { + return send(HttpMethod.PUT, newIosLobApp); + } + /** * Sets the select clause for the request * 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 55311a45485..c2a970afcb2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppProtectionRequest.java @@ -117,6 +117,27 @@ public IosManagedAppProtection post(final IosManagedAppProtection newIosManagedA return send(HttpMethod.POST, newIosManagedAppProtection); } + /** + * Creates a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosManagedAppProtection newIosManagedAppProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosManagedAppProtection); + } + + /** + * Creates a IosManagedAppProtection with a new object + * + * @param newIosManagedAppProtection the object to create/update + * @return the created IosManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppProtection put(final IosManagedAppProtection newIosManagedAppProtection) throws ClientException { + return send(HttpMethod.PUT, newIosManagedAppProtection); + } + /** * Sets the select clause for the request * 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 615ed1ada74..8cd82b0f108 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosManagedAppRegistrationRequest.java @@ -111,6 +111,27 @@ public IosManagedAppRegistration post(final IosManagedAppRegistration newIosMana return send(HttpMethod.POST, newIosManagedAppRegistration); } + /** + * Creates a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosManagedAppRegistration newIosManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosManagedAppRegistration); + } + + /** + * Creates a IosManagedAppRegistration with a new object + * + * @param newIosManagedAppRegistration the object to create/update + * @return the created IosManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosManagedAppRegistration put(final IosManagedAppRegistration newIosManagedAppRegistration) throws ClientException { + return send(HttpMethod.PUT, newIosManagedAppRegistration); + } + /** * Sets the select clause for the request * 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 16c94cd2792..a126a379fb3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosMobileAppConfigurationRequest.java @@ -111,6 +111,27 @@ public IosMobileAppConfiguration post(final IosMobileAppConfiguration newIosMobi return send(HttpMethod.POST, newIosMobileAppConfiguration); } + /** + * Creates a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosMobileAppConfiguration newIosMobileAppConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosMobileAppConfiguration); + } + + /** + * Creates a IosMobileAppConfiguration with a new object + * + * @param newIosMobileAppConfiguration the object to create/update + * @return the created IosMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosMobileAppConfiguration put(final IosMobileAppConfiguration newIosMobileAppConfiguration) throws ClientException { + return send(HttpMethod.PUT, newIosMobileAppConfiguration); + } + /** * Sets the select clause for the request * 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 2381f357148..5b9d40b8270 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosStoreAppRequest.java @@ -111,6 +111,27 @@ public IosStoreApp post(final IosStoreApp newIosStoreApp) throws ClientException return send(HttpMethod.POST, newIosStoreApp); } + /** + * Creates a IosStoreApp with a new object + * + * @param newIosStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosStoreApp newIosStoreApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosStoreApp); + } + + /** + * Creates a IosStoreApp with a new object + * + * @param newIosStoreApp the object to create/update + * @return the created IosStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosStoreApp put(final IosStoreApp newIosStoreApp) throws ClientException { + return send(HttpMethod.PUT, newIosStoreApp); + } + /** * Sets the select clause for the request * 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 d05f4e77bc5..47e16ff2c7d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateConfigurationRequest.java @@ -111,6 +111,27 @@ public IosUpdateConfiguration post(final IosUpdateConfiguration newIosUpdateConf return send(HttpMethod.POST, newIosUpdateConfiguration); } + /** + * Creates a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosUpdateConfiguration newIosUpdateConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosUpdateConfiguration); + } + + /** + * Creates a IosUpdateConfiguration with a new object + * + * @param newIosUpdateConfiguration the object to create/update + * @return the created IosUpdateConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateConfiguration put(final IosUpdateConfiguration newIosUpdateConfiguration) throws ClientException { + return send(HttpMethod.PUT, newIosUpdateConfiguration); + } + /** * Sets the select clause for the request * 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 e39514512ea..931511aa512 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosUpdateDeviceStatusRequest.java @@ -111,6 +111,27 @@ public IosUpdateDeviceStatus post(final IosUpdateDeviceStatus newIosUpdateDevice return send(HttpMethod.POST, newIosUpdateDeviceStatus); } + /** + * Creates a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosUpdateDeviceStatus newIosUpdateDeviceStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosUpdateDeviceStatus); + } + + /** + * Creates a IosUpdateDeviceStatus with a new object + * + * @param newIosUpdateDeviceStatus the object to create/update + * @return the created IosUpdateDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosUpdateDeviceStatus put(final IosUpdateDeviceStatus newIosUpdateDeviceStatus) throws ClientException { + return send(HttpMethod.PUT, newIosUpdateDeviceStatus); + } + /** * Sets the select clause for the request * 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 3a2094ae8ab..2caf80fcc27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppAppRequest.java @@ -111,6 +111,27 @@ public IosVppApp post(final IosVppApp newIosVppApp) throws ClientException { return send(HttpMethod.POST, newIosVppApp); } + /** + * Creates a IosVppApp with a new object + * + * @param newIosVppApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosVppApp newIosVppApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosVppApp); + } + + /** + * Creates a IosVppApp with a new object + * + * @param newIosVppApp the object to create/update + * @return the created IosVppApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppApp put(final IosVppApp newIosVppApp) throws ClientException { + return send(HttpMethod.PUT, newIosVppApp); + } + /** * Sets the select clause for the request * 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 8e90e8bfd20..26fc925113a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookAssignmentRequest.java @@ -111,6 +111,27 @@ public IosVppEBookAssignment post(final IosVppEBookAssignment newIosVppEBookAssi return send(HttpMethod.POST, newIosVppEBookAssignment); } + /** + * Creates a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosVppEBookAssignment newIosVppEBookAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosVppEBookAssignment); + } + + /** + * Creates a IosVppEBookAssignment with a new object + * + * @param newIosVppEBookAssignment the object to create/update + * @return the created IosVppEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBookAssignment put(final IosVppEBookAssignment newIosVppEBookAssignment) throws ClientException { + return send(HttpMethod.PUT, newIosVppEBookAssignment); + } + /** * Sets the select clause for the request * 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 026fa350c56..83a8df9e36c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IosVppEBookRequest.java @@ -111,6 +111,27 @@ public IosVppEBook post(final IosVppEBook newIosVppEBook) throws ClientException return send(HttpMethod.POST, newIosVppEBook); } + /** + * Creates a IosVppEBook with a new object + * + * @param newIosVppEBook the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IosVppEBook newIosVppEBook, final ICallback callback) { + send(HttpMethod.PUT, callback, newIosVppEBook); + } + + /** + * Creates a IosVppEBook with a new object + * + * @param newIosVppEBook the object to create/update + * @return the created IosVppEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IosVppEBook put(final IosVppEBook newIosVppEBook) throws ClientException { + return send(HttpMethod.PUT, newIosVppEBook); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/IpNamedLocationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/IpNamedLocationRequest.java index b2abfd5ebc2..1b6299cbf5a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/IpNamedLocationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/IpNamedLocationRequest.java @@ -111,6 +111,27 @@ public IpNamedLocation post(final IpNamedLocation newIpNamedLocation) throws Cli return send(HttpMethod.POST, newIpNamedLocation); } + /** + * Creates a IpNamedLocation with a new object + * + * @param newIpNamedLocation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final IpNamedLocation newIpNamedLocation, final ICallback callback) { + send(HttpMethod.PUT, callback, newIpNamedLocation); + } + + /** + * Creates a IpNamedLocation with a new object + * + * @param newIpNamedLocation the object to create/update + * @return the created IpNamedLocation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public IpNamedLocation put(final IpNamedLocation newIpNamedLocation) throws ClientException { + return send(HttpMethod.PUT, newIpNamedLocation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityRequest.java index 5730f203c23..c5c9849d0a5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityRequest.java @@ -113,6 +113,27 @@ public ItemActivity post(final ItemActivity newItemActivity) throws ClientExcept return send(HttpMethod.POST, newItemActivity); } + /** + * Creates a ItemActivity with a new object + * + * @param newItemActivity the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ItemActivity newItemActivity, final ICallback callback) { + send(HttpMethod.PUT, callback, newItemActivity); + } + + /** + * Creates a ItemActivity with a new object + * + * @param newItemActivity the object to create/update + * @return the created ItemActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ItemActivity put(final ItemActivity newItemActivity) throws ClientException { + return send(HttpMethod.PUT, newItemActivity); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityStatRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityStatRequest.java index a26f2dd43f4..6ddd8efa600 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityStatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ItemActivityStatRequest.java @@ -115,6 +115,27 @@ public ItemActivityStat post(final ItemActivityStat newItemActivityStat) throws return send(HttpMethod.POST, newItemActivityStat); } + /** + * Creates a ItemActivityStat with a new object + * + * @param newItemActivityStat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ItemActivityStat newItemActivityStat, final ICallback callback) { + send(HttpMethod.PUT, callback, newItemActivityStat); + } + + /** + * Creates a ItemActivityStat with a new object + * + * @param newItemActivityStat the object to create/update + * @return the created ItemActivityStat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ItemActivityStat put(final ItemActivityStat newItemActivityStat) throws ClientException { + return send(HttpMethod.PUT, newItemActivityStat); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ItemAnalyticsRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ItemAnalyticsRequest.java index 1dde3a6fc69..5fdc8f7f56f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ItemAnalyticsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ItemAnalyticsRequest.java @@ -115,6 +115,27 @@ public ItemAnalytics post(final ItemAnalytics newItemAnalytics) throws ClientExc return send(HttpMethod.POST, newItemAnalytics); } + /** + * Creates a ItemAnalytics with a new object + * + * @param newItemAnalytics the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ItemAnalytics newItemAnalytics, final ICallback callback) { + send(HttpMethod.PUT, callback, newItemAnalytics); + } + + /** + * Creates a ItemAnalytics with a new object + * + * @param newItemAnalytics the object to create/update + * @return the created ItemAnalytics + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ItemAnalytics put(final ItemAnalytics newItemAnalytics) throws ClientException { + return send(HttpMethod.PUT, newItemAnalytics); + } + /** * Sets the select clause for the request * 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 0ced8ca21ec..b1d4b70d7eb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ItemAttachmentRequest.java @@ -113,6 +113,27 @@ public ItemAttachment post(final ItemAttachment newItemAttachment) throws Client return send(HttpMethod.POST, newItemAttachment); } + /** + * Creates a ItemAttachment with a new object + * + * @param newItemAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ItemAttachment newItemAttachment, final ICallback callback) { + send(HttpMethod.PUT, callback, newItemAttachment); + } + + /** + * Creates a ItemAttachment with a new object + * + * @param newItemAttachment the object to create/update + * @return the created ItemAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ItemAttachment put(final ItemAttachment newItemAttachment) throws ClientException { + return send(HttpMethod.PUT, newItemAttachment); + } + /** * Sets the select clause for the request * 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 747daecbf12..0368590a036 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LicenseDetailsRequest.java @@ -111,6 +111,27 @@ public LicenseDetails post(final LicenseDetails newLicenseDetails) throws Client return send(HttpMethod.POST, newLicenseDetails); } + /** + * Creates a LicenseDetails with a new object + * + * @param newLicenseDetails the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final LicenseDetails newLicenseDetails, final ICallback callback) { + send(HttpMethod.PUT, callback, newLicenseDetails); + } + + /** + * Creates a LicenseDetails with a new object + * + * @param newLicenseDetails the object to create/update + * @return the created LicenseDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LicenseDetails put(final LicenseDetails newLicenseDetails) throws ClientException { + return send(HttpMethod.PUT, newLicenseDetails); + } + /** * Sets the select clause for the request * 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 efda552fbf8..400a0bfd8ec 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemRequest.java @@ -122,6 +122,27 @@ public ListItem post(final ListItem newListItem) throws ClientException { return send(HttpMethod.POST, newListItem); } + /** + * Creates a ListItem with a new object + * + * @param newListItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ListItem newListItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newListItem); + } + + /** + * Creates a ListItem with a new object + * + * @param newListItem the object to create/update + * @return the created ListItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItem put(final ListItem newListItem) throws ClientException { + return send(HttpMethod.PUT, newListItem); + } + /** * Sets the select clause for the request * 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 27a393dbf97..789f601d8cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListItemVersionRequest.java @@ -113,6 +113,27 @@ public ListItemVersion post(final ListItemVersion newListItemVersion) throws Cli return send(HttpMethod.POST, newListItemVersion); } + /** + * Creates a ListItemVersion with a new object + * + * @param newListItemVersion the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ListItemVersion newListItemVersion, final ICallback callback) { + send(HttpMethod.PUT, callback, newListItemVersion); + } + + /** + * Creates a ListItemVersion with a new object + * + * @param newListItemVersion the object to create/update + * @return the created ListItemVersion + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ListItemVersion put(final ListItemVersion newListItemVersion) throws ClientException { + return send(HttpMethod.PUT, newListItemVersion); + } + /** * Sets the select clause for the 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 e37b06d4e68..94656da6427 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ListRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ListRequest.java @@ -129,6 +129,27 @@ public List post(final List newList) throws ClientException { return send(HttpMethod.POST, newList); } + /** + * Creates a List with a new object + * + * @param newList the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final List newList, final ICallback callback) { + send(HttpMethod.PUT, callback, newList); + } + + /** + * Creates a List with a new object + * + * @param newList the object to create/update + * @return the created List + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public List put(final List newList) throws ClientException { + return send(HttpMethod.PUT, newList); + } + /** * Sets the select clause for the request * 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 a1fa341e3b3..cc19a0ea5fe 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/LocalizedNotificationMessageRequest.java @@ -111,6 +111,27 @@ public LocalizedNotificationMessage post(final LocalizedNotificationMessage newL return send(HttpMethod.POST, newLocalizedNotificationMessage); } + /** + * Creates a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final LocalizedNotificationMessage newLocalizedNotificationMessage, final ICallback callback) { + send(HttpMethod.PUT, callback, newLocalizedNotificationMessage); + } + + /** + * Creates a LocalizedNotificationMessage with a new object + * + * @param newLocalizedNotificationMessage the object to create/update + * @return the created LocalizedNotificationMessage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public LocalizedNotificationMessage put(final LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException { + return send(HttpMethod.PUT, newLocalizedNotificationMessage); + } + /** * Sets the select clause for the request * 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 f2fee680636..9e51f0d4348 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCompliancePolicyRequest.java @@ -111,6 +111,27 @@ public MacOSCompliancePolicy post(final MacOSCompliancePolicy newMacOSCompliance return send(HttpMethod.POST, newMacOSCompliancePolicy); } + /** + * Creates a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MacOSCompliancePolicy newMacOSCompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newMacOSCompliancePolicy); + } + + /** + * Creates a MacOSCompliancePolicy with a new object + * + * @param newMacOSCompliancePolicy the object to create/update + * @return the created MacOSCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCompliancePolicy put(final MacOSCompliancePolicy newMacOSCompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newMacOSCompliancePolicy); + } + /** * Sets the select clause for the request * 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 b6e928912d7..f36b6c8771d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSCustomConfigurationRequest.java @@ -111,6 +111,27 @@ public MacOSCustomConfiguration post(final MacOSCustomConfiguration newMacOSCust return send(HttpMethod.POST, newMacOSCustomConfiguration); } + /** + * Creates a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MacOSCustomConfiguration newMacOSCustomConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newMacOSCustomConfiguration); + } + + /** + * Creates a MacOSCustomConfiguration with a new object + * + * @param newMacOSCustomConfiguration the object to create/update + * @return the created MacOSCustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSCustomConfiguration put(final MacOSCustomConfiguration newMacOSCustomConfiguration) throws ClientException { + return send(HttpMethod.PUT, newMacOSCustomConfiguration); + } + /** * Sets the select clause for the request * 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 6a2bf462a64..58940237f11 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSDeviceFeaturesConfigurationRequest.java @@ -111,6 +111,27 @@ public MacOSDeviceFeaturesConfiguration post(final MacOSDeviceFeaturesConfigurat return send(HttpMethod.POST, newMacOSDeviceFeaturesConfiguration); } + /** + * Creates a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newMacOSDeviceFeaturesConfiguration); + } + + /** + * Creates a MacOSDeviceFeaturesConfiguration with a new object + * + * @param newMacOSDeviceFeaturesConfiguration the object to create/update + * @return the created MacOSDeviceFeaturesConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSDeviceFeaturesConfiguration put(final MacOSDeviceFeaturesConfiguration newMacOSDeviceFeaturesConfiguration) throws ClientException { + return send(HttpMethod.PUT, newMacOSDeviceFeaturesConfiguration); + } + /** * Sets the select clause for the request * 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 08bf8f88f5d..b2759247359 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSGeneralDeviceConfigurationRequest.java @@ -111,6 +111,27 @@ public MacOSGeneralDeviceConfiguration post(final MacOSGeneralDeviceConfiguratio return send(HttpMethod.POST, newMacOSGeneralDeviceConfiguration); } + /** + * Creates a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newMacOSGeneralDeviceConfiguration); + } + + /** + * Creates a MacOSGeneralDeviceConfiguration with a new object + * + * @param newMacOSGeneralDeviceConfiguration the object to create/update + * @return the created MacOSGeneralDeviceConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSGeneralDeviceConfiguration put(final MacOSGeneralDeviceConfiguration newMacOSGeneralDeviceConfiguration) throws ClientException { + return send(HttpMethod.PUT, newMacOSGeneralDeviceConfiguration); + } + /** * Sets the select clause for the request * 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 a82d4446e06..2f29499b662 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MacOSOfficeSuiteAppRequest.java @@ -111,6 +111,27 @@ public MacOSOfficeSuiteApp post(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp return send(HttpMethod.POST, newMacOSOfficeSuiteApp); } + /** + * Creates a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newMacOSOfficeSuiteApp); + } + + /** + * Creates a MacOSOfficeSuiteApp with a new object + * + * @param newMacOSOfficeSuiteApp the object to create/update + * @return the created MacOSOfficeSuiteApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MacOSOfficeSuiteApp put(final MacOSOfficeSuiteApp newMacOSOfficeSuiteApp) throws ClientException { + return send(HttpMethod.PUT, newMacOSOfficeSuiteApp); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MailAssessmentRequestRequest.java index dffbaf361b9..1393763a7a2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailAssessmentRequestRequest.java @@ -111,6 +111,27 @@ public MailAssessmentRequest post(final MailAssessmentRequest newMailAssessmentR return send(HttpMethod.POST, newMailAssessmentRequest); } + /** + * Creates a MailAssessmentRequest with a new object + * + * @param newMailAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MailAssessmentRequest newMailAssessmentRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newMailAssessmentRequest); + } + + /** + * Creates a MailAssessmentRequest with a new object + * + * @param newMailAssessmentRequest the object to create/update + * @return the created MailAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MailAssessmentRequest put(final MailAssessmentRequest newMailAssessmentRequest) throws ClientException { + return send(HttpMethod.PUT, newMailAssessmentRequest); + } + /** * Sets the select clause for the 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 1c1af72182c..ed8859ba892 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailFolderRequest.java @@ -146,6 +146,27 @@ public MailFolder post(final MailFolder newMailFolder) throws ClientException { return send(HttpMethod.POST, newMailFolder); } + /** + * Creates a MailFolder with a new object + * + * @param newMailFolder the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MailFolder newMailFolder, final ICallback callback) { + send(HttpMethod.PUT, callback, newMailFolder); + } + + /** + * Creates a MailFolder with a new object + * + * @param newMailFolder the object to create/update + * @return the created MailFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MailFolder put(final MailFolder newMailFolder) throws ClientException { + return send(HttpMethod.PUT, newMailFolder); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MailSearchFolderRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MailSearchFolderRequest.java index 9cf70e53a96..ad2f0510264 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MailSearchFolderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MailSearchFolderRequest.java @@ -111,6 +111,27 @@ public MailSearchFolder post(final MailSearchFolder newMailSearchFolder) throws return send(HttpMethod.POST, newMailSearchFolder); } + /** + * Creates a MailSearchFolder with a new object + * + * @param newMailSearchFolder the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MailSearchFolder newMailSearchFolder, final ICallback callback) { + send(HttpMethod.PUT, callback, newMailSearchFolder); + } + + /** + * Creates a MailSearchFolder with a new object + * + * @param newMailSearchFolder the object to create/update + * @return the created MailSearchFolder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MailSearchFolder put(final MailSearchFolder newMailSearchFolder) throws ClientException { + return send(HttpMethod.PUT, newMailSearchFolder); + } + /** * Sets the select clause for the request * 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 7dade0c8377..b774aaf5e8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidLobAppRequest.java @@ -111,6 +111,27 @@ public ManagedAndroidLobApp post(final ManagedAndroidLobApp newManagedAndroidLob return send(HttpMethod.POST, newManagedAndroidLobApp); } + /** + * Creates a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAndroidLobApp newManagedAndroidLobApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAndroidLobApp); + } + + /** + * Creates a ManagedAndroidLobApp with a new object + * + * @param newManagedAndroidLobApp the object to create/update + * @return the created ManagedAndroidLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidLobApp put(final ManagedAndroidLobApp newManagedAndroidLobApp) throws ClientException { + return send(HttpMethod.PUT, newManagedAndroidLobApp); + } + /** * Sets the select clause for the request * 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 e0a4c151c99..2fb902cde27 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAndroidStoreAppRequest.java @@ -111,6 +111,27 @@ public ManagedAndroidStoreApp post(final ManagedAndroidStoreApp newManagedAndroi return send(HttpMethod.POST, newManagedAndroidStoreApp); } + /** + * Creates a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAndroidStoreApp newManagedAndroidStoreApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAndroidStoreApp); + } + + /** + * Creates a ManagedAndroidStoreApp with a new object + * + * @param newManagedAndroidStoreApp the object to create/update + * @return the created ManagedAndroidStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAndroidStoreApp put(final ManagedAndroidStoreApp newManagedAndroidStoreApp) throws ClientException { + return send(HttpMethod.PUT, newManagedAndroidStoreApp); + } + /** * Sets the select clause for the request * 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 87539817d16..b4003d1f4f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppConfigurationRequest.java @@ -126,6 +126,27 @@ public ManagedAppConfiguration post(final ManagedAppConfiguration newManagedAppC return send(HttpMethod.POST, newManagedAppConfiguration); } + /** + * Creates a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppConfiguration newManagedAppConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppConfiguration); + } + + /** + * Creates a ManagedAppConfiguration with a new object + * + * @param newManagedAppConfiguration the object to create/update + * @return the created ManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppConfiguration put(final ManagedAppConfiguration newManagedAppConfiguration) throws ClientException { + return send(HttpMethod.PUT, newManagedAppConfiguration); + } + /** * Sets the select clause for the request * 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 cecf99837c7..eaf97c57586 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppOperationRequest.java @@ -111,6 +111,27 @@ public ManagedAppOperation post(final ManagedAppOperation newManagedAppOperation return send(HttpMethod.POST, newManagedAppOperation); } + /** + * Creates a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppOperation newManagedAppOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppOperation); + } + + /** + * Creates a ManagedAppOperation with a new object + * + * @param newManagedAppOperation the object to create/update + * @return the created ManagedAppOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppOperation put(final ManagedAppOperation newManagedAppOperation) throws ClientException { + return send(HttpMethod.PUT, newManagedAppOperation); + } + /** * Sets the select clause for the request * 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 b74223b3b67..4c979b2e7f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyDeploymentSummaryRequest.java @@ -111,6 +111,27 @@ public ManagedAppPolicyDeploymentSummary post(final ManagedAppPolicyDeploymentSu return send(HttpMethod.POST, newManagedAppPolicyDeploymentSummary); } + /** + * Creates a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppPolicyDeploymentSummary); + } + + /** + * Creates a ManagedAppPolicyDeploymentSummary with a new object + * + * @param newManagedAppPolicyDeploymentSummary the object to create/update + * @return the created ManagedAppPolicyDeploymentSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicyDeploymentSummary put(final ManagedAppPolicyDeploymentSummary newManagedAppPolicyDeploymentSummary) throws ClientException { + return send(HttpMethod.PUT, newManagedAppPolicyDeploymentSummary); + } + /** * Sets the select clause for the request * 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 b535bdcf2ed..e3442d1b46c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppPolicyRequest.java @@ -127,6 +127,27 @@ public ManagedAppPolicy post(final ManagedAppPolicy newManagedAppPolicy) throws return send(HttpMethod.POST, newManagedAppPolicy); } + /** + * Creates a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppPolicy newManagedAppPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppPolicy); + } + + /** + * Creates a ManagedAppPolicy with a new object + * + * @param newManagedAppPolicy the object to create/update + * @return the created ManagedAppPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppPolicy put(final ManagedAppPolicy newManagedAppPolicy) throws ClientException { + return send(HttpMethod.PUT, newManagedAppPolicy); + } + /** * Sets the select clause for the 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 6fa526b8d95..bccec56eccf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppProtectionRequest.java @@ -127,6 +127,27 @@ public ManagedAppProtection post(final ManagedAppProtection newManagedAppProtect return send(HttpMethod.POST, newManagedAppProtection); } + /** + * Creates a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppProtection newManagedAppProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppProtection); + } + + /** + * Creates a ManagedAppProtection with a new object + * + * @param newManagedAppProtection the object to create/update + * @return the created ManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppProtection put(final ManagedAppProtection newManagedAppProtection) throws ClientException { + return send(HttpMethod.PUT, newManagedAppProtection); + } + /** * Sets the select clause for the request * 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 f4bb222a406..1973cf0897e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRegistrationRequest.java @@ -134,6 +134,27 @@ public ManagedAppRegistration post(final ManagedAppRegistration newManagedAppReg return send(HttpMethod.POST, newManagedAppRegistration); } + /** + * Creates a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppRegistration newManagedAppRegistration, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppRegistration); + } + + /** + * Creates a ManagedAppRegistration with a new object + * + * @param newManagedAppRegistration the object to create/update + * @return the created ManagedAppRegistration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppRegistration put(final ManagedAppRegistration newManagedAppRegistration) throws ClientException { + return send(HttpMethod.PUT, newManagedAppRegistration); + } + /** * Sets the select clause for the request * 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 23927cc03c8..30657ba1230 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppRequest.java @@ -126,6 +126,27 @@ public ManagedApp post(final ManagedApp newManagedApp) throws ClientException { return send(HttpMethod.POST, newManagedApp); } + /** + * Creates a ManagedApp with a new object + * + * @param newManagedApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedApp newManagedApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedApp); + } + + /** + * Creates a ManagedApp with a new object + * + * @param newManagedApp the object to create/update + * @return the created ManagedApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedApp put(final ManagedApp newManagedApp) throws ClientException { + return send(HttpMethod.PUT, newManagedApp); + } + /** * Sets the select clause for the request * 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 15da2b46e34..9cbc6106c93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRawRequest.java @@ -111,6 +111,27 @@ public ManagedAppStatusRaw post(final ManagedAppStatusRaw newManagedAppStatusRaw return send(HttpMethod.POST, newManagedAppStatusRaw); } + /** + * Creates a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppStatusRaw newManagedAppStatusRaw, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppStatusRaw); + } + + /** + * Creates a ManagedAppStatusRaw with a new object + * + * @param newManagedAppStatusRaw the object to create/update + * @return the created ManagedAppStatusRaw + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatusRaw put(final ManagedAppStatusRaw newManagedAppStatusRaw) throws ClientException { + return send(HttpMethod.PUT, newManagedAppStatusRaw); + } + /** * Sets the select clause for the request * 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 4aac66c3acf..32064dd0b6f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedAppStatusRequest.java @@ -126,6 +126,27 @@ public ManagedAppStatus post(final ManagedAppStatus newManagedAppStatus) throws return send(HttpMethod.POST, newManagedAppStatus); } + /** + * Creates a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedAppStatus newManagedAppStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedAppStatus); + } + + /** + * Creates a ManagedAppStatus with a new object + * + * @param newManagedAppStatus the object to create/update + * @return the created ManagedAppStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedAppStatus put(final ManagedAppStatus newManagedAppStatus) throws ClientException { + return send(HttpMethod.PUT, newManagedAppStatus); + } + /** * Sets the select clause for the request * 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 9bf8157de02..68942106d12 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationAssignmentRequest.java @@ -111,6 +111,27 @@ public ManagedDeviceMobileAppConfigurationAssignment post(final ManagedDeviceMob return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationAssignment); } + /** + * Creates a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDeviceMobileAppConfigurationAssignment); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationAssignment with a new object + * + * @param newManagedDeviceMobileAppConfigurationAssignment the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationAssignment put(final ManagedDeviceMobileAppConfigurationAssignment newManagedDeviceMobileAppConfigurationAssignment) throws ClientException { + return send(HttpMethod.PUT, newManagedDeviceMobileAppConfigurationAssignment); + } + /** * Sets the select clause for the request * 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 b4d9c3f2e09..9bd4ed10168 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceStatusRequest.java @@ -111,6 +111,27 @@ public ManagedDeviceMobileAppConfigurationDeviceStatus post(final ManagedDeviceM return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationDeviceStatus); } + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDeviceMobileAppConfigurationDeviceStatus); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceStatus the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationDeviceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceStatus put(final ManagedDeviceMobileAppConfigurationDeviceStatus newManagedDeviceMobileAppConfigurationDeviceStatus) throws ClientException { + return send(HttpMethod.PUT, newManagedDeviceMobileAppConfigurationDeviceStatus); + } + /** * Sets the select clause for the request * 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 467d433ff5c..6b52a4ca537 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationDeviceSummaryRequest.java @@ -111,6 +111,27 @@ public ManagedDeviceMobileAppConfigurationDeviceSummary post(final ManagedDevice return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationDeviceSummary); } + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDeviceMobileAppConfigurationDeviceSummary); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationDeviceSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationDeviceSummary the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationDeviceSummary put(final ManagedDeviceMobileAppConfigurationDeviceSummary newManagedDeviceMobileAppConfigurationDeviceSummary) throws ClientException { + return send(HttpMethod.PUT, newManagedDeviceMobileAppConfigurationDeviceSummary); + } + /** * Sets the select clause for the request * 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 fe0568439a6..7673de70d3d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationRequest.java @@ -143,6 +143,27 @@ public ManagedDeviceMobileAppConfiguration post(final ManagedDeviceMobileAppConf return send(HttpMethod.POST, newManagedDeviceMobileAppConfiguration); } + /** + * Creates a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDeviceMobileAppConfiguration); + } + + /** + * Creates a ManagedDeviceMobileAppConfiguration with a new object + * + * @param newManagedDeviceMobileAppConfiguration the object to create/update + * @return the created ManagedDeviceMobileAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfiguration put(final ManagedDeviceMobileAppConfiguration newManagedDeviceMobileAppConfiguration) throws ClientException { + return send(HttpMethod.PUT, newManagedDeviceMobileAppConfiguration); + } + /** * Sets the select clause for the request * 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 e487355057d..5c2213f8080 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserStatusRequest.java @@ -111,6 +111,27 @@ public ManagedDeviceMobileAppConfigurationUserStatus post(final ManagedDeviceMob return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationUserStatus); } + /** + * Creates a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDeviceMobileAppConfigurationUserStatus); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationUserStatus with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserStatus the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationUserStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserStatus put(final ManagedDeviceMobileAppConfigurationUserStatus newManagedDeviceMobileAppConfigurationUserStatus) throws ClientException { + return send(HttpMethod.PUT, newManagedDeviceMobileAppConfigurationUserStatus); + } + /** * Sets the select clause for the request * 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 1e7da277baa..a8b293a55cf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceMobileAppConfigurationUserSummaryRequest.java @@ -111,6 +111,27 @@ public ManagedDeviceMobileAppConfigurationUserSummary post(final ManagedDeviceMo return send(HttpMethod.POST, newManagedDeviceMobileAppConfigurationUserSummary); } + /** + * Creates a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDeviceMobileAppConfigurationUserSummary); + } + + /** + * Creates a ManagedDeviceMobileAppConfigurationUserSummary with a new object + * + * @param newManagedDeviceMobileAppConfigurationUserSummary the object to create/update + * @return the created ManagedDeviceMobileAppConfigurationUserSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceMobileAppConfigurationUserSummary put(final ManagedDeviceMobileAppConfigurationUserSummary newManagedDeviceMobileAppConfigurationUserSummary) throws ClientException { + return send(HttpMethod.PUT, newManagedDeviceMobileAppConfigurationUserSummary); + } + /** * Sets the select clause for the request * 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 b03e103f72c..60e8f817bac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceOverviewRequest.java @@ -111,6 +111,27 @@ public ManagedDeviceOverview post(final ManagedDeviceOverview newManagedDeviceOv return send(HttpMethod.POST, newManagedDeviceOverview); } + /** + * Creates a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDeviceOverview newManagedDeviceOverview, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDeviceOverview); + } + + /** + * Creates a ManagedDeviceOverview with a new object + * + * @param newManagedDeviceOverview the object to create/update + * @return the created ManagedDeviceOverview + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDeviceOverview put(final ManagedDeviceOverview newManagedDeviceOverview) throws ClientException { + return send(HttpMethod.PUT, newManagedDeviceOverview); + } + /** * Sets the select clause for the 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 4df263a47e7..55bbae281e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedDeviceRequest.java @@ -122,6 +122,27 @@ public ManagedDevice post(final ManagedDevice newManagedDevice) throws ClientExc return send(HttpMethod.POST, newManagedDevice); } + /** + * Creates a ManagedDevice with a new object + * + * @param newManagedDevice the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedDevice newManagedDevice, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedDevice); + } + + /** + * Creates a ManagedDevice with a new object + * + * @param newManagedDevice the object to create/update + * @return the created ManagedDevice + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedDevice put(final ManagedDevice newManagedDevice) throws ClientException { + return send(HttpMethod.PUT, newManagedDevice); + } + /** * Sets the select clause for the request * 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 2700550fa37..9ae678bf05b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookAssignmentRequest.java @@ -126,6 +126,27 @@ public ManagedEBookAssignment post(final ManagedEBookAssignment newManagedEBookA return send(HttpMethod.POST, newManagedEBookAssignment); } + /** + * Creates a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedEBookAssignment newManagedEBookAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedEBookAssignment); + } + + /** + * Creates a ManagedEBookAssignment with a new object + * + * @param newManagedEBookAssignment the object to create/update + * @return the created ManagedEBookAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBookAssignment put(final ManagedEBookAssignment newManagedEBookAssignment) throws ClientException { + return send(HttpMethod.PUT, newManagedEBookAssignment); + } + /** * Sets the select clause for the request * 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 d9fb206d931..f0506f29015 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedEBookRequest.java @@ -141,6 +141,27 @@ public ManagedEBook post(final ManagedEBook newManagedEBook) throws ClientExcept return send(HttpMethod.POST, newManagedEBook); } + /** + * Creates a ManagedEBook with a new object + * + * @param newManagedEBook the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedEBook newManagedEBook, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedEBook); + } + + /** + * Creates a ManagedEBook with a new object + * + * @param newManagedEBook the object to create/update + * @return the created ManagedEBook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedEBook put(final ManagedEBook newManagedEBook) throws ClientException { + return send(HttpMethod.PUT, newManagedEBook); + } + /** * Sets the select clause for the request * 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 3ee0b218ae3..8825c5570ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSLobAppRequest.java @@ -111,6 +111,27 @@ public ManagedIOSLobApp post(final ManagedIOSLobApp newManagedIOSLobApp) throws return send(HttpMethod.POST, newManagedIOSLobApp); } + /** + * Creates a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedIOSLobApp newManagedIOSLobApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedIOSLobApp); + } + + /** + * Creates a ManagedIOSLobApp with a new object + * + * @param newManagedIOSLobApp the object to create/update + * @return the created ManagedIOSLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSLobApp put(final ManagedIOSLobApp newManagedIOSLobApp) throws ClientException { + return send(HttpMethod.PUT, newManagedIOSLobApp); + } + /** * Sets the select clause for the request * 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 95f242d47f1..6fa87946e9d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedIOSStoreAppRequest.java @@ -111,6 +111,27 @@ public ManagedIOSStoreApp post(final ManagedIOSStoreApp newManagedIOSStoreApp) t return send(HttpMethod.POST, newManagedIOSStoreApp); } + /** + * Creates a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedIOSStoreApp newManagedIOSStoreApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedIOSStoreApp); + } + + /** + * Creates a ManagedIOSStoreApp with a new object + * + * @param newManagedIOSStoreApp the object to create/update + * @return the created ManagedIOSStoreApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedIOSStoreApp put(final ManagedIOSStoreApp newManagedIOSStoreApp) throws ClientException { + return send(HttpMethod.PUT, newManagedIOSStoreApp); + } + /** * Sets the select clause for the request * 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 3ce7ccef005..43c06967cf5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileAppRequest.java @@ -111,6 +111,27 @@ public ManagedMobileApp post(final ManagedMobileApp newManagedMobileApp) throws return send(HttpMethod.POST, newManagedMobileApp); } + /** + * Creates a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedMobileApp newManagedMobileApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedMobileApp); + } + + /** + * Creates a ManagedMobileApp with a new object + * + * @param newManagedMobileApp the object to create/update + * @return the created ManagedMobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileApp put(final ManagedMobileApp newManagedMobileApp) throws ClientException { + return send(HttpMethod.PUT, newManagedMobileApp); + } + /** * Sets the select clause for the request * 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 ae1dd663c35..3da264e2b76 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ManagedMobileLobAppRequest.java @@ -130,6 +130,27 @@ public ManagedMobileLobApp post(final ManagedMobileLobApp newManagedMobileLobApp return send(HttpMethod.POST, newManagedMobileLobApp); } + /** + * Creates a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ManagedMobileLobApp newManagedMobileLobApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newManagedMobileLobApp); + } + + /** + * Creates a ManagedMobileLobApp with a new object + * + * @param newManagedMobileLobApp the object to create/update + * @return the created ManagedMobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ManagedMobileLobApp put(final ManagedMobileLobApp newManagedMobileLobApp) throws ClientException { + return send(HttpMethod.PUT, newManagedMobileLobApp); + } + /** * Sets the select clause for the request * 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 49ca24eec8b..43113df4d6a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MdmWindowsInformationProtectionPolicyRequest.java @@ -111,6 +111,27 @@ public MdmWindowsInformationProtectionPolicy post(final MdmWindowsInformationPro return send(HttpMethod.POST, newMdmWindowsInformationProtectionPolicy); } + /** + * Creates a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newMdmWindowsInformationProtectionPolicy); + } + + /** + * Creates a MdmWindowsInformationProtectionPolicy with a new object + * + * @param newMdmWindowsInformationProtectionPolicy the object to create/update + * @return the created MdmWindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MdmWindowsInformationProtectionPolicy put(final MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws ClientException { + return send(HttpMethod.PUT, newMdmWindowsInformationProtectionPolicy); + } + /** * Sets the select clause for the 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 805608cb98e..7a323f2ecbb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRequest.java @@ -143,6 +143,27 @@ public Message post(final Message newMessage) throws ClientException { return send(HttpMethod.POST, newMessage); } + /** + * Creates a Message with a new object + * + * @param newMessage the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Message newMessage, final ICallback callback) { + send(HttpMethod.PUT, callback, newMessage); + } + + /** + * Creates a Message with a new object + * + * @param newMessage the object to create/update + * @return the created Message + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Message put(final Message newMessage) throws ClientException { + return send(HttpMethod.PUT, newMessage); + } + /** * Sets the select clause for the request * 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 bc3152e76a3..69a4a2fe42d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MessageRuleRequest.java @@ -111,6 +111,27 @@ public MessageRule post(final MessageRule newMessageRule) throws ClientException return send(HttpMethod.POST, newMessageRule); } + /** + * Creates a MessageRule with a new object + * + * @param newMessageRule the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MessageRule newMessageRule, final ICallback callback) { + send(HttpMethod.PUT, callback, newMessageRule); + } + + /** + * Creates a MessageRule with a new object + * + * @param newMessageRule the object to create/update + * @return the created MessageRule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MessageRule put(final MessageRule newMessageRule) throws ClientException { + return send(HttpMethod.PUT, newMessageRule); + } + /** * Sets the select clause for the 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 48731623947..e79eeaf039c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MicrosoftStoreForBusinessAppRequest.java @@ -111,6 +111,27 @@ public MicrosoftStoreForBusinessApp post(final MicrosoftStoreForBusinessApp newM return send(HttpMethod.POST, newMicrosoftStoreForBusinessApp); } + /** + * Creates a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newMicrosoftStoreForBusinessApp); + } + + /** + * Creates a MicrosoftStoreForBusinessApp with a new object + * + * @param newMicrosoftStoreForBusinessApp the object to create/update + * @return the created MicrosoftStoreForBusinessApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MicrosoftStoreForBusinessApp put(final MicrosoftStoreForBusinessApp newMicrosoftStoreForBusinessApp) throws ClientException { + return send(HttpMethod.PUT, newMicrosoftStoreForBusinessApp); + } + /** * Sets the select clause for the request * 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 bbc57ca75ee..c63d2152405 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppAssignmentRequest.java @@ -111,6 +111,27 @@ public MobileAppAssignment post(final MobileAppAssignment newMobileAppAssignment return send(HttpMethod.POST, newMobileAppAssignment); } + /** + * Creates a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MobileAppAssignment newMobileAppAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newMobileAppAssignment); + } + + /** + * Creates a MobileAppAssignment with a new object + * + * @param newMobileAppAssignment the object to create/update + * @return the created MobileAppAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppAssignment put(final MobileAppAssignment newMobileAppAssignment) throws ClientException { + return send(HttpMethod.PUT, newMobileAppAssignment); + } + /** * Sets the select clause for the request * 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 36213609063..abefd85dcf2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppCategoryRequest.java @@ -111,6 +111,27 @@ public MobileAppCategory post(final MobileAppCategory newMobileAppCategory) thro return send(HttpMethod.POST, newMobileAppCategory); } + /** + * Creates a MobileAppCategory with a new object + * + * @param newMobileAppCategory the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MobileAppCategory newMobileAppCategory, final ICallback callback) { + send(HttpMethod.PUT, callback, newMobileAppCategory); + } + + /** + * Creates a MobileAppCategory with a new object + * + * @param newMobileAppCategory the object to create/update + * @return the created MobileAppCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppCategory put(final MobileAppCategory newMobileAppCategory) throws ClientException { + return send(HttpMethod.PUT, newMobileAppCategory); + } + /** * Sets the select clause for the 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 1286f399cf5..fc1c9d4400a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentFileRequest.java @@ -112,6 +112,27 @@ public MobileAppContentFile post(final MobileAppContentFile newMobileAppContentF return send(HttpMethod.POST, newMobileAppContentFile); } + /** + * Creates a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MobileAppContentFile newMobileAppContentFile, final ICallback callback) { + send(HttpMethod.PUT, callback, newMobileAppContentFile); + } + + /** + * Creates a MobileAppContentFile with a new object + * + * @param newMobileAppContentFile the object to create/update + * @return the created MobileAppContentFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContentFile put(final MobileAppContentFile newMobileAppContentFile) throws ClientException { + return send(HttpMethod.PUT, newMobileAppContentFile); + } + /** * Sets the select clause for the request * 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 a00df0d458b..0688443e9e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppContentRequest.java @@ -115,6 +115,27 @@ public MobileAppContent post(final MobileAppContent newMobileAppContent) throws return send(HttpMethod.POST, newMobileAppContent); } + /** + * Creates a MobileAppContent with a new object + * + * @param newMobileAppContent the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MobileAppContent newMobileAppContent, final ICallback callback) { + send(HttpMethod.PUT, callback, newMobileAppContent); + } + + /** + * Creates a MobileAppContent with a new object + * + * @param newMobileAppContent the object to create/update + * @return the created MobileAppContent + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileAppContent put(final MobileAppContent newMobileAppContent) throws ClientException { + return send(HttpMethod.PUT, newMobileAppContent); + } + /** * Sets the select clause for the request * 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 fcfead81ff6..937d6e4ee24 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileAppRequest.java @@ -135,6 +135,27 @@ public MobileApp post(final MobileApp newMobileApp) throws ClientException { return send(HttpMethod.POST, newMobileApp); } + /** + * Creates a MobileApp with a new object + * + * @param newMobileApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MobileApp newMobileApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newMobileApp); + } + + /** + * Creates a MobileApp with a new object + * + * @param newMobileApp the object to create/update + * @return the created MobileApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileApp put(final MobileApp newMobileApp) throws ClientException { + return send(HttpMethod.PUT, newMobileApp); + } + /** * Sets the select clause for the request * 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 78bebb11e40..13a50735586 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileLobAppRequest.java @@ -130,6 +130,27 @@ public MobileLobApp post(final MobileLobApp newMobileLobApp) throws ClientExcept return send(HttpMethod.POST, newMobileLobApp); } + /** + * Creates a MobileLobApp with a new object + * + * @param newMobileLobApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MobileLobApp newMobileLobApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newMobileLobApp); + } + + /** + * Creates a MobileLobApp with a new object + * + * @param newMobileLobApp the object to create/update + * @return the created MobileLobApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileLobApp put(final MobileLobApp newMobileLobApp) throws ClientException { + return send(HttpMethod.PUT, newMobileLobApp); + } + /** * Sets the select clause for the request * 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 aae26a47716..d2087ef20c7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MobileThreatDefenseConnectorRequest.java @@ -111,6 +111,27 @@ public MobileThreatDefenseConnector post(final MobileThreatDefenseConnector newM return send(HttpMethod.POST, newMobileThreatDefenseConnector); } + /** + * Creates a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MobileThreatDefenseConnector newMobileThreatDefenseConnector, final ICallback callback) { + send(HttpMethod.PUT, callback, newMobileThreatDefenseConnector); + } + + /** + * Creates a MobileThreatDefenseConnector with a new object + * + * @param newMobileThreatDefenseConnector the object to create/update + * @return the created MobileThreatDefenseConnector + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MobileThreatDefenseConnector put(final MobileThreatDefenseConnector newMobileThreatDefenseConnector) throws ClientException { + return send(HttpMethod.PUT, newMobileThreatDefenseConnector); + } + /** * Sets the select clause for the request * 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 fbae099fac8..b5358c51716 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MultiValueLegacyExtendedPropertyRequest.java @@ -111,6 +111,27 @@ public MultiValueLegacyExtendedProperty post(final MultiValueLegacyExtendedPrope return send(HttpMethod.POST, newMultiValueLegacyExtendedProperty); } + /** + * Creates a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty, final ICallback callback) { + send(HttpMethod.PUT, callback, newMultiValueLegacyExtendedProperty); + } + + /** + * Creates a MultiValueLegacyExtendedProperty with a new object + * + * @param newMultiValueLegacyExtendedProperty the object to create/update + * @return the created MultiValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MultiValueLegacyExtendedProperty put(final MultiValueLegacyExtendedProperty newMultiValueLegacyExtendedProperty) throws ClientException { + return send(HttpMethod.PUT, newMultiValueLegacyExtendedProperty); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/MuteParticipantOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/MuteParticipantOperationRequest.java index d3711e5da15..d9439d1c058 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/MuteParticipantOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/MuteParticipantOperationRequest.java @@ -111,6 +111,27 @@ public MuteParticipantOperation post(final MuteParticipantOperation newMuteParti return send(HttpMethod.POST, newMuteParticipantOperation); } + /** + * Creates a MuteParticipantOperation with a new object + * + * @param newMuteParticipantOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final MuteParticipantOperation newMuteParticipantOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newMuteParticipantOperation); + } + + /** + * Creates a MuteParticipantOperation with a new object + * + * @param newMuteParticipantOperation the object to create/update + * @return the created MuteParticipantOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public MuteParticipantOperation put(final MuteParticipantOperation newMuteParticipantOperation) throws ClientException { + return send(HttpMethod.PUT, newMuteParticipantOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/NamedLocationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/NamedLocationRequest.java index 3fb8a3220ea..070263aec68 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NamedLocationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NamedLocationRequest.java @@ -126,6 +126,27 @@ public NamedLocation post(final NamedLocation newNamedLocation) throws ClientExc return send(HttpMethod.POST, newNamedLocation); } + /** + * Creates a NamedLocation with a new object + * + * @param newNamedLocation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final NamedLocation newNamedLocation, final ICallback callback) { + send(HttpMethod.PUT, callback, newNamedLocation); + } + + /** + * Creates a NamedLocation with a new object + * + * @param newNamedLocation the object to create/update + * @return the created NamedLocation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public NamedLocation put(final NamedLocation newNamedLocation) throws ClientException { + return send(HttpMethod.PUT, newNamedLocation); + } + /** * Sets the select clause for the request * 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 74f3dff3895..877e2b9d79b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotebookRequest.java @@ -122,6 +122,27 @@ public Notebook post(final Notebook newNotebook) throws ClientException { return send(HttpMethod.POST, newNotebook); } + /** + * Creates a Notebook with a new object + * + * @param newNotebook the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Notebook newNotebook, final ICallback callback) { + send(HttpMethod.PUT, callback, newNotebook); + } + + /** + * Creates a Notebook with a new object + * + * @param newNotebook the object to create/update + * @return the created Notebook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Notebook put(final Notebook newNotebook) throws ClientException { + return send(HttpMethod.PUT, newNotebook); + } + /** * Sets the select clause for the request * 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 1fe539508be..9b4a68a68bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/NotificationMessageTemplateRequest.java @@ -115,6 +115,27 @@ public NotificationMessageTemplate post(final NotificationMessageTemplate newNot return send(HttpMethod.POST, newNotificationMessageTemplate); } + /** + * Creates a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final NotificationMessageTemplate newNotificationMessageTemplate, final ICallback callback) { + send(HttpMethod.PUT, callback, newNotificationMessageTemplate); + } + + /** + * Creates a NotificationMessageTemplate with a new object + * + * @param newNotificationMessageTemplate the object to create/update + * @return the created NotificationMessageTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public NotificationMessageTemplate put(final NotificationMessageTemplate newNotificationMessageTemplate) throws ClientException { + return send(HttpMethod.PUT, newNotificationMessageTemplate); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OAuth2PermissionGrantRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OAuth2PermissionGrantRequest.java index 1bfc6f2efee..7fd1baa49b7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OAuth2PermissionGrantRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OAuth2PermissionGrantRequest.java @@ -111,6 +111,27 @@ public OAuth2PermissionGrant post(final OAuth2PermissionGrant newOAuth2Permissio return send(HttpMethod.POST, newOAuth2PermissionGrant); } + /** + * Creates a OAuth2PermissionGrant with a new object + * + * @param newOAuth2PermissionGrant the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OAuth2PermissionGrant newOAuth2PermissionGrant, final ICallback callback) { + send(HttpMethod.PUT, callback, newOAuth2PermissionGrant); + } + + /** + * Creates a OAuth2PermissionGrant with a new object + * + * @param newOAuth2PermissionGrant the object to create/update + * @return the created OAuth2PermissionGrant + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OAuth2PermissionGrant put(final OAuth2PermissionGrant newOAuth2PermissionGrant) throws ClientException { + return send(HttpMethod.PUT, newOAuth2PermissionGrant); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OfferShiftRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OfferShiftRequestRequest.java index 53e21cf37ae..d6a6ca6f403 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OfferShiftRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OfferShiftRequestRequest.java @@ -126,6 +126,27 @@ public OfferShiftRequest post(final OfferShiftRequest newOfferShiftRequest) thro return send(HttpMethod.POST, newOfferShiftRequest); } + /** + * Creates a OfferShiftRequest with a new object + * + * @param newOfferShiftRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OfferShiftRequest newOfferShiftRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newOfferShiftRequest); + } + + /** + * Creates a OfferShiftRequest with a new object + * + * @param newOfferShiftRequest the object to create/update + * @return the created OfferShiftRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OfferShiftRequest put(final OfferShiftRequest newOfferShiftRequest) throws ClientException { + return send(HttpMethod.PUT, newOfferShiftRequest); + } + /** * Sets the select clause for the 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 c20e38c2df8..fc82c90109f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OfficeGraphInsightsRequest.java @@ -123,6 +123,27 @@ public OfficeGraphInsights post(final OfficeGraphInsights newOfficeGraphInsights return send(HttpMethod.POST, newOfficeGraphInsights); } + /** + * Creates a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OfficeGraphInsights newOfficeGraphInsights, final ICallback callback) { + send(HttpMethod.PUT, callback, newOfficeGraphInsights); + } + + /** + * Creates a OfficeGraphInsights with a new object + * + * @param newOfficeGraphInsights the object to create/update + * @return the created OfficeGraphInsights + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OfficeGraphInsights put(final OfficeGraphInsights newOfficeGraphInsights) throws ClientException { + return send(HttpMethod.PUT, newOfficeGraphInsights); + } + /** * Sets the select clause for the request * 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 62d6a5a7967..a238cc80d32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnPremisesConditionalAccessSettingsRequest.java @@ -111,6 +111,27 @@ public OnPremisesConditionalAccessSettings post(final OnPremisesConditionalAcces return send(HttpMethod.POST, newOnPremisesConditionalAccessSettings); } + /** + * Creates a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnPremisesConditionalAccessSettings); + } + + /** + * Creates a OnPremisesConditionalAccessSettings with a new object + * + * @param newOnPremisesConditionalAccessSettings the object to create/update + * @return the created OnPremisesConditionalAccessSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnPremisesConditionalAccessSettings put(final OnPremisesConditionalAccessSettings newOnPremisesConditionalAccessSettings) throws ClientException { + return send(HttpMethod.PUT, newOnPremisesConditionalAccessSettings); + } + /** * Sets the select clause for the request * 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 2ba6407a9f6..44b5c1527e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityBaseModelRequest.java @@ -126,6 +126,27 @@ public OnenoteEntityBaseModel post(final OnenoteEntityBaseModel newOnenoteEntity return send(HttpMethod.POST, newOnenoteEntityBaseModel); } + /** + * Creates a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnenoteEntityBaseModel newOnenoteEntityBaseModel, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenoteEntityBaseModel); + } + + /** + * Creates a OnenoteEntityBaseModel with a new object + * + * @param newOnenoteEntityBaseModel the object to create/update + * @return the created OnenoteEntityBaseModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityBaseModel put(final OnenoteEntityBaseModel newOnenoteEntityBaseModel) throws ClientException { + return send(HttpMethod.PUT, newOnenoteEntityBaseModel); + } + /** * Sets the select clause for the request * 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 a960c9f3c5e..7e18aa348aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntityHierarchyModelRequest.java @@ -126,6 +126,27 @@ public OnenoteEntityHierarchyModel post(final OnenoteEntityHierarchyModel newOne return send(HttpMethod.POST, newOnenoteEntityHierarchyModel); } + /** + * Creates a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenoteEntityHierarchyModel); + } + + /** + * Creates a OnenoteEntityHierarchyModel with a new object + * + * @param newOnenoteEntityHierarchyModel the object to create/update + * @return the created OnenoteEntityHierarchyModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntityHierarchyModel put(final OnenoteEntityHierarchyModel newOnenoteEntityHierarchyModel) throws ClientException { + return send(HttpMethod.PUT, newOnenoteEntityHierarchyModel); + } + /** * Sets the select clause for the request * 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 52beec268fd..6b484ed318c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteEntitySchemaObjectModelRequest.java @@ -126,6 +126,27 @@ public OnenoteEntitySchemaObjectModel post(final OnenoteEntitySchemaObjectModel return send(HttpMethod.POST, newOnenoteEntitySchemaObjectModel); } + /** + * Creates a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenoteEntitySchemaObjectModel); + } + + /** + * Creates a OnenoteEntitySchemaObjectModel with a new object + * + * @param newOnenoteEntitySchemaObjectModel the object to create/update + * @return the created OnenoteEntitySchemaObjectModel + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteEntitySchemaObjectModel put(final OnenoteEntitySchemaObjectModel newOnenoteEntitySchemaObjectModel) throws ClientException { + return send(HttpMethod.PUT, newOnenoteEntitySchemaObjectModel); + } + /** * Sets the select clause for the request * 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 bf9d514decc..74a1ccdea64 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteOperationRequest.java @@ -111,6 +111,27 @@ public OnenoteOperation post(final OnenoteOperation newOnenoteOperation) throws return send(HttpMethod.POST, newOnenoteOperation); } + /** + * Creates a OnenoteOperation with a new object + * + * @param newOnenoteOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnenoteOperation newOnenoteOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenoteOperation); + } + + /** + * Creates a OnenoteOperation with a new object + * + * @param newOnenoteOperation the object to create/update + * @return the created OnenoteOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteOperation put(final OnenoteOperation newOnenoteOperation) throws ClientException { + return send(HttpMethod.PUT, newOnenoteOperation); + } + /** * Sets the select clause for the 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 57b14a3a776..1f75fcc7020 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenotePageRequest.java @@ -118,6 +118,27 @@ public OnenotePage post(final byte[] newOnenotePage) throws ClientException { return send(HttpMethod.POST, newOnenotePage); } + /** + * Creates a OnenotePage with a new object + * + * @param newOnenotePage the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnenotePage newOnenotePage, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenotePage); + } + + /** + * Creates a OnenotePage with a new object + * + * @param newOnenotePage the object to create/update + * @return the created OnenotePage + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenotePage put(final OnenotePage newOnenotePage) throws ClientException { + return send(HttpMethod.PUT, newOnenotePage); + } + /** * Sets the select clause for the request * 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 144a408eb0f..0f1d7218686 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteRequest.java @@ -135,6 +135,27 @@ public Onenote post(final Onenote newOnenote) throws ClientException { return send(HttpMethod.POST, newOnenote); } + /** + * Creates a Onenote with a new object + * + * @param newOnenote the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Onenote newOnenote, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenote); + } + + /** + * Creates a Onenote with a new object + * + * @param newOnenote the object to create/update + * @return the created Onenote + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Onenote put(final Onenote newOnenote) throws ClientException { + return send(HttpMethod.PUT, newOnenote); + } + /** * Sets the select clause for the request * 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 8493f536189..101d3c09c8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteResourceRequest.java @@ -111,6 +111,27 @@ public OnenoteResource post(final OnenoteResource newOnenoteResource) throws Cli return send(HttpMethod.POST, newOnenoteResource); } + /** + * Creates a OnenoteResource with a new object + * + * @param newOnenoteResource the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnenoteResource newOnenoteResource, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenoteResource); + } + + /** + * Creates a OnenoteResource with a new object + * + * @param newOnenoteResource the object to create/update + * @return the created OnenoteResource + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteResource put(final OnenoteResource newOnenoteResource) throws ClientException { + return send(HttpMethod.PUT, newOnenoteResource); + } + /** * Sets the select clause for the 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 ce406a7c27a..020d6ab3b42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnenoteSectionRequest.java @@ -120,6 +120,27 @@ public OnenoteSection post(final OnenoteSection newOnenoteSection) throws Client return send(HttpMethod.POST, newOnenoteSection); } + /** + * Creates a OnenoteSection with a new object + * + * @param newOnenoteSection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnenoteSection newOnenoteSection, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnenoteSection); + } + + /** + * Creates a OnenoteSection with a new object + * + * @param newOnenoteSection the object to create/update + * @return the created OnenoteSection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnenoteSection put(final OnenoteSection newOnenoteSection) throws ClientException { + return send(HttpMethod.PUT, newOnenoteSection); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OnlineMeetingRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OnlineMeetingRequest.java index d6e7279508f..cca25a442f8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OnlineMeetingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OnlineMeetingRequest.java @@ -113,6 +113,27 @@ public OnlineMeeting post(final OnlineMeeting newOnlineMeeting) throws ClientExc return send(HttpMethod.POST, newOnlineMeeting); } + /** + * Creates a OnlineMeeting with a new object + * + * @param newOnlineMeeting the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OnlineMeeting newOnlineMeeting, final ICallback callback) { + send(HttpMethod.PUT, callback, newOnlineMeeting); + } + + /** + * Creates a OnlineMeeting with a new object + * + * @param newOnlineMeeting the object to create/update + * @return the created OnlineMeeting + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OnlineMeeting put(final OnlineMeeting newOnlineMeeting) throws ClientException { + return send(HttpMethod.PUT, newOnlineMeeting); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftChangeRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftChangeRequestRequest.java index d49c371049e..1c52105a996 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftChangeRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftChangeRequestRequest.java @@ -111,6 +111,27 @@ public OpenShiftChangeRequest post(final OpenShiftChangeRequest newOpenShiftChan return send(HttpMethod.POST, newOpenShiftChangeRequest); } + /** + * Creates a OpenShiftChangeRequest with a new object + * + * @param newOpenShiftChangeRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OpenShiftChangeRequest newOpenShiftChangeRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newOpenShiftChangeRequest); + } + + /** + * Creates a OpenShiftChangeRequest with a new object + * + * @param newOpenShiftChangeRequest the object to create/update + * @return the created OpenShiftChangeRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OpenShiftChangeRequest put(final OpenShiftChangeRequest newOpenShiftChangeRequest) throws ClientException { + return send(HttpMethod.PUT, newOpenShiftChangeRequest); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftRequest.java index 30d35d42542..3bce219086d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OpenShiftRequest.java @@ -111,6 +111,27 @@ public OpenShift post(final OpenShift newOpenShift) throws ClientException { return send(HttpMethod.POST, newOpenShift); } + /** + * Creates a OpenShift with a new object + * + * @param newOpenShift the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OpenShift newOpenShift, final ICallback callback) { + send(HttpMethod.PUT, callback, newOpenShift); + } + + /** + * Creates a OpenShift with a new object + * + * @param newOpenShift the object to create/update + * @return the created OpenShift + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OpenShift put(final OpenShift newOpenShift) throws ClientException { + return send(HttpMethod.PUT, newOpenShift); + } + /** * Sets the select clause for the request * 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 01bbdd62c2a..d5af1c603cc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OpenTypeExtensionRequest.java @@ -111,6 +111,27 @@ public OpenTypeExtension post(final OpenTypeExtension newOpenTypeExtension) thro return send(HttpMethod.POST, newOpenTypeExtension); } + /** + * Creates a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OpenTypeExtension newOpenTypeExtension, final ICallback callback) { + send(HttpMethod.PUT, callback, newOpenTypeExtension); + } + + /** + * Creates a OpenTypeExtension with a new object + * + * @param newOpenTypeExtension the object to create/update + * @return the created OpenTypeExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OpenTypeExtension put(final OpenTypeExtension newOpenTypeExtension) throws ClientException { + return send(HttpMethod.PUT, newOpenTypeExtension); + } + /** * Sets the select clause for the request * 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 ad4290de2b6..393c89bb8d0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OperationRequest.java @@ -126,6 +126,27 @@ public Operation post(final Operation newOperation) throws ClientException { return send(HttpMethod.POST, newOperation); } + /** + * Creates a Operation with a new object + * + * @param newOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Operation newOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newOperation); + } + + /** + * Creates a Operation with a new object + * + * @param newOperation the object to create/update + * @return the created Operation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Operation put(final Operation newOperation) throws ClientException { + return send(HttpMethod.PUT, newOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/OrgContactRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/OrgContactRequest.java index 8d3f94ccafd..a43762b23a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrgContactRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrgContactRequest.java @@ -115,6 +115,27 @@ public OrgContact post(final OrgContact newOrgContact) throws ClientException { return send(HttpMethod.POST, newOrgContact); } + /** + * Creates a OrgContact with a new object + * + * @param newOrgContact the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OrgContact newOrgContact, final ICallback callback) { + send(HttpMethod.PUT, callback, newOrgContact); + } + + /** + * Creates a OrgContact with a new object + * + * @param newOrgContact the object to create/update + * @return the created OrgContact + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OrgContact put(final OrgContact newOrgContact) throws ClientException { + return send(HttpMethod.PUT, newOrgContact); + } + /** * Sets the select clause for the request * 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 6380ef59d22..cf3f1116662 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OrganizationRequest.java @@ -119,6 +119,27 @@ public Organization post(final Organization newOrganization) throws ClientExcept return send(HttpMethod.POST, newOrganization); } + /** + * Creates a Organization with a new object + * + * @param newOrganization the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Organization newOrganization, final ICallback callback) { + send(HttpMethod.PUT, callback, newOrganization); + } + + /** + * Creates a Organization with a new object + * + * @param newOrganization the object to create/update + * @return the created Organization + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Organization put(final Organization newOrganization) throws ClientException { + return send(HttpMethod.PUT, newOrganization); + } + /** * Sets the select clause for the request * 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 a661c4f6a92..4ca0407c39b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookCategoryRequest.java @@ -111,6 +111,27 @@ public OutlookCategory post(final OutlookCategory newOutlookCategory) throws Cli return send(HttpMethod.POST, newOutlookCategory); } + /** + * Creates a OutlookCategory with a new object + * + * @param newOutlookCategory the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OutlookCategory newOutlookCategory, final ICallback callback) { + send(HttpMethod.PUT, callback, newOutlookCategory); + } + + /** + * Creates a OutlookCategory with a new object + * + * @param newOutlookCategory the object to create/update + * @return the created OutlookCategory + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookCategory put(final OutlookCategory newOutlookCategory) throws ClientException { + return send(HttpMethod.PUT, newOutlookCategory); + } + /** * Sets the select clause for the request * 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 bf548c1adc3..964a6c76b90 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookItemRequest.java @@ -126,6 +126,27 @@ public OutlookItem post(final OutlookItem newOutlookItem) throws ClientException return send(HttpMethod.POST, newOutlookItem); } + /** + * Creates a OutlookItem with a new object + * + * @param newOutlookItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OutlookItem newOutlookItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newOutlookItem); + } + + /** + * Creates a OutlookItem with a new object + * + * @param newOutlookItem the object to create/update + * @return the created OutlookItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookItem put(final OutlookItem newOutlookItem) throws ClientException { + return send(HttpMethod.PUT, newOutlookItem); + } + /** * Sets the select clause for the request * 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 37d2406309b..72b0771de81 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/OutlookUserRequest.java @@ -118,6 +118,27 @@ public OutlookUser post(final OutlookUser newOutlookUser) throws ClientException return send(HttpMethod.POST, newOutlookUser); } + /** + * Creates a OutlookUser with a new object + * + * @param newOutlookUser the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final OutlookUser newOutlookUser, final ICallback callback) { + send(HttpMethod.PUT, callback, newOutlookUser); + } + + /** + * Creates a OutlookUser with a new object + * + * @param newOutlookUser the object to create/update + * @return the created OutlookUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public OutlookUser put(final OutlookUser newOutlookUser) throws ClientException { + return send(HttpMethod.PUT, newOutlookUser); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ParticipantRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ParticipantRequest.java index de265fd38f7..8f566b7c981 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ParticipantRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ParticipantRequest.java @@ -114,6 +114,27 @@ public Participant post(final Participant newParticipant) throws ClientException return send(HttpMethod.POST, newParticipant); } + /** + * Creates a Participant with a new object + * + * @param newParticipant the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Participant newParticipant, final ICallback callback) { + send(HttpMethod.PUT, callback, newParticipant); + } + + /** + * Creates a Participant with a new object + * + * @param newParticipant the object to create/update + * @return the created Participant + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Participant put(final Participant newParticipant) throws ClientException { + return send(HttpMethod.PUT, newParticipant); + } + /** * Sets the select clause for the request * 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 47e01a1f9e7..a93110801ae 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PermissionRequest.java @@ -112,6 +112,27 @@ public Permission post(final Permission newPermission) throws ClientException { return send(HttpMethod.POST, newPermission); } + /** + * Creates a Permission with a new object + * + * @param newPermission the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Permission newPermission, final ICallback callback) { + send(HttpMethod.PUT, callback, newPermission); + } + + /** + * Creates a Permission with a new object + * + * @param newPermission the object to create/update + * @return the created Permission + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Permission put(final Permission newPermission) throws ClientException { + return send(HttpMethod.PUT, newPermission); + } + /** * Sets the select clause for the request * 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 cde532394c2..4238ac30d44 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PersonRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PersonRequest.java @@ -111,6 +111,27 @@ public Person post(final Person newPerson) throws ClientException { return send(HttpMethod.POST, newPerson); } + /** + * Creates a Person with a new object + * + * @param newPerson the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Person newPerson, final ICallback callback) { + send(HttpMethod.PUT, callback, newPerson); + } + + /** + * Creates a Person with a new object + * + * @param newPerson the object to create/update + * @return the created Person + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Person put(final Person newPerson) throws ClientException { + return send(HttpMethod.PUT, newPerson); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlaceRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlaceRequest.java index 3c7009db51a..e8b224ca96a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlaceRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlaceRequest.java @@ -126,6 +126,27 @@ public Place post(final Place newPlace) throws ClientException { return send(HttpMethod.POST, newPlace); } + /** + * Creates a Place with a new object + * + * @param newPlace the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Place newPlace, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlace); + } + + /** + * Creates a Place with a new object + * + * @param newPlace the object to create/update + * @return the created Place + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Place put(final Place newPlace) throws ClientException { + return send(HttpMethod.PUT, newPlace); + } + /** * Sets the select clause for the request * 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 676cc914baa..50354dff99e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerAssignedToTaskBoardTaskFormatRequest.java @@ -111,6 +111,27 @@ public PlannerAssignedToTaskBoardTaskFormat post(final PlannerAssignedToTaskBoar return send(HttpMethod.POST, newPlannerAssignedToTaskBoardTaskFormat); } + /** + * Creates a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerAssignedToTaskBoardTaskFormat); + } + + /** + * Creates a PlannerAssignedToTaskBoardTaskFormat with a new object + * + * @param newPlannerAssignedToTaskBoardTaskFormat the object to create/update + * @return the created PlannerAssignedToTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerAssignedToTaskBoardTaskFormat put(final PlannerAssignedToTaskBoardTaskFormat newPlannerAssignedToTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.PUT, newPlannerAssignedToTaskBoardTaskFormat); + } + /** * Sets the select clause for the request * 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 5e139248dc4..74fcac0668e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketRequest.java @@ -115,6 +115,27 @@ public PlannerBucket post(final PlannerBucket newPlannerBucket) throws ClientExc return send(HttpMethod.POST, newPlannerBucket); } + /** + * Creates a PlannerBucket with a new object + * + * @param newPlannerBucket the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerBucket newPlannerBucket, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerBucket); + } + + /** + * Creates a PlannerBucket with a new object + * + * @param newPlannerBucket the object to create/update + * @return the created PlannerBucket + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucket put(final PlannerBucket newPlannerBucket) throws ClientException { + return send(HttpMethod.PUT, newPlannerBucket); + } + /** * Sets the select clause for the request * 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 02fd1f62b49..737596576bb 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerBucketTaskBoardTaskFormatRequest.java @@ -111,6 +111,27 @@ public PlannerBucketTaskBoardTaskFormat post(final PlannerBucketTaskBoardTaskFor return send(HttpMethod.POST, newPlannerBucketTaskBoardTaskFormat); } + /** + * Creates a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerBucketTaskBoardTaskFormat); + } + + /** + * Creates a PlannerBucketTaskBoardTaskFormat with a new object + * + * @param newPlannerBucketTaskBoardTaskFormat the object to create/update + * @return the created PlannerBucketTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerBucketTaskBoardTaskFormat put(final PlannerBucketTaskBoardTaskFormat newPlannerBucketTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.PUT, newPlannerBucketTaskBoardTaskFormat); + } + /** * Sets the select clause for the request * 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 d958034fc80..36b9069dbf7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerGroupRequest.java @@ -115,6 +115,27 @@ public PlannerGroup post(final PlannerGroup newPlannerGroup) throws ClientExcept return send(HttpMethod.POST, newPlannerGroup); } + /** + * Creates a PlannerGroup with a new object + * + * @param newPlannerGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerGroup newPlannerGroup, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerGroup); + } + + /** + * Creates a PlannerGroup with a new object + * + * @param newPlannerGroup the object to create/update + * @return the created PlannerGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerGroup put(final PlannerGroup newPlannerGroup) throws ClientException { + return send(HttpMethod.PUT, newPlannerGroup); + } + /** * Sets the select clause for the request * 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 ba893f2e61d..e3a99542a28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanDetailsRequest.java @@ -111,6 +111,27 @@ public PlannerPlanDetails post(final PlannerPlanDetails newPlannerPlanDetails) t return send(HttpMethod.POST, newPlannerPlanDetails); } + /** + * Creates a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerPlanDetails newPlannerPlanDetails, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerPlanDetails); + } + + /** + * Creates a PlannerPlanDetails with a new object + * + * @param newPlannerPlanDetails the object to create/update + * @return the created PlannerPlanDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlanDetails put(final PlannerPlanDetails newPlannerPlanDetails) throws ClientException { + return send(HttpMethod.PUT, newPlannerPlanDetails); + } + /** * Sets the select clause for the request * 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 b603c8d279f..963d62f3e1c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerPlanRequest.java @@ -121,6 +121,27 @@ public PlannerPlan post(final PlannerPlan newPlannerPlan) throws ClientException return send(HttpMethod.POST, newPlannerPlan); } + /** + * Creates a PlannerPlan with a new object + * + * @param newPlannerPlan the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerPlan newPlannerPlan, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerPlan); + } + + /** + * Creates a PlannerPlan with a new object + * + * @param newPlannerPlan the object to create/update + * @return the created PlannerPlan + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerPlan put(final PlannerPlan newPlannerPlan) throws ClientException { + return send(HttpMethod.PUT, newPlannerPlan); + } + /** * Sets the select clause for the request * 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 e89984aa97d..a447efe9f00 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerProgressTaskBoardTaskFormatRequest.java @@ -111,6 +111,27 @@ public PlannerProgressTaskBoardTaskFormat post(final PlannerProgressTaskBoardTas return send(HttpMethod.POST, newPlannerProgressTaskBoardTaskFormat); } + /** + * Creates a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerProgressTaskBoardTaskFormat); + } + + /** + * Creates a PlannerProgressTaskBoardTaskFormat with a new object + * + * @param newPlannerProgressTaskBoardTaskFormat the object to create/update + * @return the created PlannerProgressTaskBoardTaskFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerProgressTaskBoardTaskFormat put(final PlannerProgressTaskBoardTaskFormat newPlannerProgressTaskBoardTaskFormat) throws ClientException { + return send(HttpMethod.PUT, newPlannerProgressTaskBoardTaskFormat); + } + /** * Sets the select clause for the request * 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 e9d36894545..0630d944c28 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerRequest.java @@ -123,6 +123,27 @@ public Planner post(final Planner newPlanner) throws ClientException { return send(HttpMethod.POST, newPlanner); } + /** + * Creates a Planner with a new object + * + * @param newPlanner the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Planner newPlanner, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlanner); + } + + /** + * Creates a Planner with a new object + * + * @param newPlanner the object to create/update + * @return the created Planner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Planner put(final Planner newPlanner) throws ClientException { + return send(HttpMethod.PUT, newPlanner); + } + /** * Sets the select clause for the request * 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 59d8a34f7b1..03e82a93c91 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskDetailsRequest.java @@ -111,6 +111,27 @@ public PlannerTaskDetails post(final PlannerTaskDetails newPlannerTaskDetails) t return send(HttpMethod.POST, newPlannerTaskDetails); } + /** + * Creates a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerTaskDetails newPlannerTaskDetails, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerTaskDetails); + } + + /** + * Creates a PlannerTaskDetails with a new object + * + * @param newPlannerTaskDetails the object to create/update + * @return the created PlannerTaskDetails + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTaskDetails put(final PlannerTaskDetails newPlannerTaskDetails) throws ClientException { + return send(HttpMethod.PUT, newPlannerTaskDetails); + } + /** * Sets the select clause for the request * 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 80e4271f3e7..dc79776bd93 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerTaskRequest.java @@ -119,6 +119,27 @@ public PlannerTask post(final PlannerTask newPlannerTask) throws ClientException return send(HttpMethod.POST, newPlannerTask); } + /** + * Creates a PlannerTask with a new object + * + * @param newPlannerTask the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerTask newPlannerTask, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerTask); + } + + /** + * Creates a PlannerTask with a new object + * + * @param newPlannerTask the object to create/update + * @return the created PlannerTask + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerTask put(final PlannerTask newPlannerTask) throws ClientException { + return send(HttpMethod.PUT, newPlannerTask); + } + /** * Sets the select clause for the request * 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 95db059fc75..27fc85c4cf5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlannerUserRequest.java @@ -119,6 +119,27 @@ public PlannerUser post(final PlannerUser newPlannerUser) throws ClientException return send(HttpMethod.POST, newPlannerUser); } + /** + * Creates a PlannerUser with a new object + * + * @param newPlannerUser the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlannerUser newPlannerUser, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlannerUser); + } + + /** + * Creates a PlannerUser with a new object + * + * @param newPlannerUser the object to create/update + * @return the created PlannerUser + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlannerUser put(final PlannerUser newPlannerUser) throws ClientException { + return send(HttpMethod.PUT, newPlannerUser); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PlayPromptOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PlayPromptOperationRequest.java index 225ebe255e7..1df2c590f85 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PlayPromptOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PlayPromptOperationRequest.java @@ -111,6 +111,27 @@ public PlayPromptOperation post(final PlayPromptOperation newPlayPromptOperation return send(HttpMethod.POST, newPlayPromptOperation); } + /** + * Creates a PlayPromptOperation with a new object + * + * @param newPlayPromptOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PlayPromptOperation newPlayPromptOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newPlayPromptOperation); + } + + /** + * Creates a PlayPromptOperation with a new object + * + * @param newPlayPromptOperation the object to create/update + * @return the created PlayPromptOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PlayPromptOperation put(final PlayPromptOperation newPlayPromptOperation) throws ClientException { + return send(HttpMethod.PUT, newPlayPromptOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PolicyBaseRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PolicyBaseRequest.java index ee6dc6fcd94..9fef48d0825 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PolicyBaseRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PolicyBaseRequest.java @@ -126,6 +126,27 @@ public PolicyBase post(final PolicyBase newPolicyBase) throws ClientException { return send(HttpMethod.POST, newPolicyBase); } + /** + * Creates a PolicyBase with a new object + * + * @param newPolicyBase the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PolicyBase newPolicyBase, final ICallback callback) { + send(HttpMethod.PUT, callback, newPolicyBase); + } + + /** + * Creates a PolicyBase with a new object + * + * @param newPolicyBase the object to create/update + * @return the created PolicyBase + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PolicyBase put(final PolicyBase newPolicyBase) throws ClientException { + return send(HttpMethod.PUT, newPolicyBase); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/PolicyRootRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/PolicyRootRequest.java index 6e11167c489..f07438c5f0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PolicyRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PolicyRootRequest.java @@ -137,6 +137,27 @@ public PolicyRoot post(final PolicyRoot newPolicyRoot) throws ClientException { return send(HttpMethod.POST, newPolicyRoot); } + /** + * Creates a PolicyRoot with a new object + * + * @param newPolicyRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final PolicyRoot newPolicyRoot, final ICallback callback) { + send(HttpMethod.PUT, callback, newPolicyRoot); + } + + /** + * Creates a PolicyRoot with a new object + * + * @param newPolicyRoot the object to create/update + * @return the created PolicyRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public PolicyRoot put(final PolicyRoot newPolicyRoot) throws ClientException { + return send(HttpMethod.PUT, newPolicyRoot); + } + /** * Sets the select clause for the 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 950b233a6b0..1d644efe5df 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/PostRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/PostRequest.java @@ -130,6 +130,27 @@ public Post post(final Post newPost) throws ClientException { return send(HttpMethod.POST, newPost); } + /** + * Creates a Post with a new object + * + * @param newPost the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Post newPost, final ICallback callback) { + send(HttpMethod.PUT, callback, newPost); + } + + /** + * Creates a Post with a new object + * + * @param newPost the object to create/update + * @return the created Post + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Post put(final Post newPost) throws ClientException { + return send(HttpMethod.PUT, newPost); + } + /** * Sets the select clause for the request * 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 a731dadbf26..e737bebd4ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ProfilePhotoRequest.java @@ -111,6 +111,27 @@ public ProfilePhoto post(final ProfilePhoto newProfilePhoto) throws ClientExcept return send(HttpMethod.POST, newProfilePhoto); } + /** + * Creates a ProfilePhoto with a new object + * + * @param newProfilePhoto the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ProfilePhoto newProfilePhoto, final ICallback callback) { + send(HttpMethod.PUT, callback, newProfilePhoto); + } + + /** + * Creates a ProfilePhoto with a new object + * + * @param newProfilePhoto the object to create/update + * @return the created ProfilePhoto + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ProfilePhoto put(final ProfilePhoto newProfilePhoto) throws ClientException { + return send(HttpMethod.PUT, newProfilePhoto); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RecordOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RecordOperationRequest.java index 9527e360fb3..2f0d6bdf732 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RecordOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RecordOperationRequest.java @@ -111,6 +111,27 @@ public RecordOperation post(final RecordOperation newRecordOperation) throws Cli return send(HttpMethod.POST, newRecordOperation); } + /** + * Creates a RecordOperation with a new object + * + * @param newRecordOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final RecordOperation newRecordOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newRecordOperation); + } + + /** + * Creates a RecordOperation with a new object + * + * @param newRecordOperation the object to create/update + * @return the created RecordOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RecordOperation put(final RecordOperation newRecordOperation) throws ClientException { + return send(HttpMethod.PUT, newRecordOperation); + } + /** * Sets the select clause for the request * 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 605bf9f3a25..25112ade88d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReferenceAttachmentRequest.java @@ -111,6 +111,27 @@ public ReferenceAttachment post(final ReferenceAttachment newReferenceAttachment return send(HttpMethod.POST, newReferenceAttachment); } + /** + * Creates a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ReferenceAttachment newReferenceAttachment, final ICallback callback) { + send(HttpMethod.PUT, callback, newReferenceAttachment); + } + + /** + * Creates a ReferenceAttachment with a new object + * + * @param newReferenceAttachment the object to create/update + * @return the created ReferenceAttachment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReferenceAttachment put(final ReferenceAttachment newReferenceAttachment) throws ClientException { + return send(HttpMethod.PUT, newReferenceAttachment); + } + /** * Sets the select clause for the 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 dd1cb2059bf..944d2baceaf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RemoteAssistancePartnerRequest.java @@ -111,6 +111,27 @@ public RemoteAssistancePartner post(final RemoteAssistancePartner newRemoteAssis return send(HttpMethod.POST, newRemoteAssistancePartner); } + /** + * Creates a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final RemoteAssistancePartner newRemoteAssistancePartner, final ICallback callback) { + send(HttpMethod.PUT, callback, newRemoteAssistancePartner); + } + + /** + * Creates a RemoteAssistancePartner with a new object + * + * @param newRemoteAssistancePartner the object to create/update + * @return the created RemoteAssistancePartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RemoteAssistancePartner put(final RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException { + return send(HttpMethod.PUT, newRemoteAssistancePartner); + } + /** * Sets the select clause for the 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 ad751b9cff8..352411e4364 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ReportRootRequest.java @@ -112,6 +112,27 @@ public ReportRoot post(final ReportRoot newReportRoot) throws ClientException { return send(HttpMethod.POST, newReportRoot); } + /** + * Creates a ReportRoot with a new object + * + * @param newReportRoot the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ReportRoot newReportRoot, final ICallback callback) { + send(HttpMethod.PUT, callback, newReportRoot); + } + + /** + * Creates a ReportRoot with a new object + * + * @param newReportRoot the object to create/update + * @return the created ReportRoot + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ReportRoot put(final ReportRoot newReportRoot) throws ClientException { + return send(HttpMethod.PUT, newReportRoot); + } + /** * Sets the select clause for the request * 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 5aedd1536bb..5e34fca99ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ResourceOperationRequest.java @@ -111,6 +111,27 @@ public ResourceOperation post(final ResourceOperation newResourceOperation) thro return send(HttpMethod.POST, newResourceOperation); } + /** + * Creates a ResourceOperation with a new object + * + * @param newResourceOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ResourceOperation newResourceOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newResourceOperation); + } + + /** + * Creates a ResourceOperation with a new object + * + * @param newResourceOperation the object to create/update + * @return the created ResourceOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ResourceOperation put(final ResourceOperation newResourceOperation) throws ClientException { + return send(HttpMethod.PUT, newResourceOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RestrictedSignInRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RestrictedSignInRequest.java index df43204ea87..c97756269f5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RestrictedSignInRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RestrictedSignInRequest.java @@ -111,6 +111,27 @@ public RestrictedSignIn post(final RestrictedSignIn newRestrictedSignIn) throws return send(HttpMethod.POST, newRestrictedSignIn); } + /** + * Creates a RestrictedSignIn with a new object + * + * @param newRestrictedSignIn the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final RestrictedSignIn newRestrictedSignIn, final ICallback callback) { + send(HttpMethod.PUT, callback, newRestrictedSignIn); + } + + /** + * Creates a RestrictedSignIn with a new object + * + * @param newRestrictedSignIn the object to create/update + * @return the created RestrictedSignIn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RestrictedSignIn put(final RestrictedSignIn newRestrictedSignIn) throws ClientException { + return send(HttpMethod.PUT, newRestrictedSignIn); + } + /** * Sets the select clause for the request * 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 f1bb240136f..f49f3c8f448 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleAssignmentRequest.java @@ -128,6 +128,27 @@ public RoleAssignment post(final RoleAssignment newRoleAssignment) throws Client return send(HttpMethod.POST, newRoleAssignment); } + /** + * Creates a RoleAssignment with a new object + * + * @param newRoleAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final RoleAssignment newRoleAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newRoleAssignment); + } + + /** + * Creates a RoleAssignment with a new object + * + * @param newRoleAssignment the object to create/update + * @return the created RoleAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleAssignment put(final RoleAssignment newRoleAssignment) throws ClientException { + return send(HttpMethod.PUT, newRoleAssignment); + } + /** * Sets the select clause for the request * 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 d6b6cb2f90f..87febad1cb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoleDefinitionRequest.java @@ -130,6 +130,27 @@ public RoleDefinition post(final RoleDefinition newRoleDefinition) throws Client return send(HttpMethod.POST, newRoleDefinition); } + /** + * Creates a RoleDefinition with a new object + * + * @param newRoleDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final RoleDefinition newRoleDefinition, final ICallback callback) { + send(HttpMethod.PUT, callback, newRoleDefinition); + } + + /** + * Creates a RoleDefinition with a new object + * + * @param newRoleDefinition the object to create/update + * @return the created RoleDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoleDefinition put(final RoleDefinition newRoleDefinition) throws ClientException { + return send(HttpMethod.PUT, newRoleDefinition); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoomListRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoomListRequest.java index 6c5626d60ed..5a6830ec423 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoomListRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoomListRequest.java @@ -115,6 +115,27 @@ public RoomList post(final RoomList newRoomList) throws ClientException { return send(HttpMethod.POST, newRoomList); } + /** + * Creates a RoomList with a new object + * + * @param newRoomList the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final RoomList newRoomList, final ICallback callback) { + send(HttpMethod.PUT, callback, newRoomList); + } + + /** + * Creates a RoomList with a new object + * + * @param newRoomList the object to create/update + * @return the created RoomList + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public RoomList put(final RoomList newRoomList) throws ClientException { + return send(HttpMethod.PUT, newRoomList); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/RoomRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/RoomRequest.java index 40162c67c50..c8ba06e6d19 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/RoomRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/RoomRequest.java @@ -111,6 +111,27 @@ public Room post(final Room newRoom) throws ClientException { return send(HttpMethod.POST, newRoom); } + /** + * Creates a Room with a new object + * + * @param newRoom the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Room newRoom, final ICallback callback) { + send(HttpMethod.PUT, callback, newRoom); + } + + /** + * Creates a Room with a new object + * + * @param newRoom the object to create/update + * @return the created Room + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Room put(final Room newRoom) throws ClientException { + return send(HttpMethod.PUT, newRoom); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ScheduleChangeRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ScheduleChangeRequestRequest.java index 97c7d9435b8..879a3693f8a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ScheduleChangeRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ScheduleChangeRequestRequest.java @@ -126,6 +126,27 @@ public ScheduleChangeRequest post(final ScheduleChangeRequest newScheduleChangeR return send(HttpMethod.POST, newScheduleChangeRequest); } + /** + * Creates a ScheduleChangeRequest with a new object + * + * @param newScheduleChangeRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ScheduleChangeRequest newScheduleChangeRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newScheduleChangeRequest); + } + + /** + * Creates a ScheduleChangeRequest with a new object + * + * @param newScheduleChangeRequest the object to create/update + * @return the created ScheduleChangeRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ScheduleChangeRequest put(final ScheduleChangeRequest newScheduleChangeRequest) throws ClientException { + return send(HttpMethod.PUT, newScheduleChangeRequest); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ScheduleRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ScheduleRequest.java index 32736a15761..2720ac91467 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ScheduleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ScheduleRequest.java @@ -147,6 +147,27 @@ public Schedule post(final Schedule newSchedule) throws ClientException { return send(HttpMethod.POST, newSchedule); } + /** + * Creates a Schedule with a new object + * + * @param newSchedule the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Schedule newSchedule, final ICallback callback) { + send(HttpMethod.PUT, callback, newSchedule); + } + + /** + * Creates a Schedule with a new object + * + * @param newSchedule the object to create/update + * @return the created Schedule + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Schedule put(final Schedule newSchedule) throws ClientException { + return send(HttpMethod.PUT, newSchedule); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SchedulingGroupRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SchedulingGroupRequest.java index 11caf3ebe0c..ff6baf466f9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SchedulingGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchedulingGroupRequest.java @@ -111,6 +111,27 @@ public SchedulingGroup post(final SchedulingGroup newSchedulingGroup) throws Cli return send(HttpMethod.POST, newSchedulingGroup); } + /** + * Creates a SchedulingGroup with a new object + * + * @param newSchedulingGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SchedulingGroup newSchedulingGroup, final ICallback callback) { + send(HttpMethod.PUT, callback, newSchedulingGroup); + } + + /** + * Creates a SchedulingGroup with a new object + * + * @param newSchedulingGroup the object to create/update + * @return the created SchedulingGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SchedulingGroup put(final SchedulingGroup newSchedulingGroup) throws ClientException { + return send(HttpMethod.PUT, newSchedulingGroup); + } + /** * Sets the select clause for the request * 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 c082b5cc89c..3c12811ddc3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SchemaExtensionRequest.java @@ -111,6 +111,27 @@ public SchemaExtension post(final SchemaExtension newSchemaExtension) throws Cli return send(HttpMethod.POST, newSchemaExtension); } + /** + * Creates a SchemaExtension with a new object + * + * @param newSchemaExtension the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SchemaExtension newSchemaExtension, final ICallback callback) { + send(HttpMethod.PUT, callback, newSchemaExtension); + } + + /** + * Creates a SchemaExtension with a new object + * + * @param newSchemaExtension the object to create/update + * @return the created SchemaExtension + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SchemaExtension put(final SchemaExtension newSchemaExtension) throws ClientException { + return send(HttpMethod.PUT, newSchemaExtension); + } + /** * Sets the select clause for the request * 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 db2b44bf213..f60037cbd07 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SectionGroupRequest.java @@ -121,6 +121,27 @@ public SectionGroup post(final SectionGroup newSectionGroup) throws ClientExcept return send(HttpMethod.POST, newSectionGroup); } + /** + * Creates a SectionGroup with a new object + * + * @param newSectionGroup the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SectionGroup newSectionGroup, final ICallback callback) { + send(HttpMethod.PUT, callback, newSectionGroup); + } + + /** + * Creates a SectionGroup with a new object + * + * @param newSectionGroup the object to create/update + * @return the created SectionGroup + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SectionGroup put(final SectionGroup newSectionGroup) throws ClientException { + return send(HttpMethod.PUT, newSectionGroup); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreControlProfileRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreControlProfileRequest.java index 3795b4316e6..749b1f425ac 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreControlProfileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreControlProfileRequest.java @@ -111,6 +111,27 @@ public SecureScoreControlProfile post(final SecureScoreControlProfile newSecureS return send(HttpMethod.POST, newSecureScoreControlProfile); } + /** + * Creates a SecureScoreControlProfile with a new object + * + * @param newSecureScoreControlProfile the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SecureScoreControlProfile newSecureScoreControlProfile, final ICallback callback) { + send(HttpMethod.PUT, callback, newSecureScoreControlProfile); + } + + /** + * Creates a SecureScoreControlProfile with a new object + * + * @param newSecureScoreControlProfile the object to create/update + * @return the created SecureScoreControlProfile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SecureScoreControlProfile put(final SecureScoreControlProfile newSecureScoreControlProfile) throws ClientException { + return send(HttpMethod.PUT, newSecureScoreControlProfile); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreRequest.java index bdfbf8fd129..f44952ee293 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SecureScoreRequest.java @@ -111,6 +111,27 @@ public SecureScore post(final SecureScore newSecureScore) throws ClientException return send(HttpMethod.POST, newSecureScore); } + /** + * Creates a SecureScore with a new object + * + * @param newSecureScore the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SecureScore newSecureScore, final ICallback callback) { + send(HttpMethod.PUT, callback, newSecureScore); + } + + /** + * Creates a SecureScore with a new object + * + * @param newSecureScore the object to create/update + * @return the created SecureScore + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SecureScore put(final SecureScore newSecureScore) throws ClientException { + return send(HttpMethod.PUT, newSecureScore); + } + /** * Sets the select clause for the request * 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 0f534d9cba6..bec10f75694 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SecurityRequest.java @@ -123,6 +123,27 @@ public Security post(final Security newSecurity) throws ClientException { return send(HttpMethod.POST, newSecurity); } + /** + * Creates a Security with a new object + * + * @param newSecurity the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Security newSecurity, final ICallback callback) { + send(HttpMethod.PUT, callback, newSecurity); + } + + /** + * Creates a Security with a new object + * + * @param newSecurity the object to create/update + * @return the created Security + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Security put(final Security newSecurity) throws ClientException { + return send(HttpMethod.PUT, newSecurity); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ServicePrincipalRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ServicePrincipalRequest.java index c127132c1c9..88ab3f930e7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ServicePrincipalRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ServicePrincipalRequest.java @@ -145,6 +145,27 @@ public ServicePrincipal post(final ServicePrincipal newServicePrincipal) throws return send(HttpMethod.POST, newServicePrincipal); } + /** + * Creates a ServicePrincipal with a new object + * + * @param newServicePrincipal the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ServicePrincipal newServicePrincipal, final ICallback callback) { + send(HttpMethod.PUT, callback, newServicePrincipal); + } + + /** + * Creates a ServicePrincipal with a new object + * + * @param newServicePrincipal the object to create/update + * @return the created ServicePrincipal + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ServicePrincipal put(final ServicePrincipal newServicePrincipal) throws ClientException { + return send(HttpMethod.PUT, newServicePrincipal); + } + /** * Sets the select clause for the request * 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 6012de6c500..3e089124361 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SettingStateDeviceSummaryRequest.java @@ -111,6 +111,27 @@ public SettingStateDeviceSummary post(final SettingStateDeviceSummary newSetting return send(HttpMethod.POST, newSettingStateDeviceSummary); } + /** + * Creates a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SettingStateDeviceSummary newSettingStateDeviceSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newSettingStateDeviceSummary); + } + + /** + * Creates a SettingStateDeviceSummary with a new object + * + * @param newSettingStateDeviceSummary the object to create/update + * @return the created SettingStateDeviceSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SettingStateDeviceSummary put(final SettingStateDeviceSummary newSettingStateDeviceSummary) throws ClientException { + return send(HttpMethod.PUT, newSettingStateDeviceSummary); + } + /** * Sets the select clause for the request * 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 03a5ff135f2..85c94a10dce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedDriveItemRequest.java @@ -123,6 +123,27 @@ public SharedDriveItem post(final SharedDriveItem newSharedDriveItem) throws Cli return send(HttpMethod.POST, newSharedDriveItem); } + /** + * Creates a SharedDriveItem with a new object + * + * @param newSharedDriveItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SharedDriveItem newSharedDriveItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newSharedDriveItem); + } + + /** + * Creates a SharedDriveItem with a new object + * + * @param newSharedDriveItem the object to create/update + * @return the created SharedDriveItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedDriveItem put(final SharedDriveItem newSharedDriveItem) throws ClientException { + return send(HttpMethod.PUT, newSharedDriveItem); + } + /** * Sets the select clause for the request * 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 0ceecdf5072..7119020180d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedInsightRequest.java @@ -113,6 +113,27 @@ public SharedInsight post(final SharedInsight newSharedInsight) throws ClientExc return send(HttpMethod.POST, newSharedInsight); } + /** + * Creates a SharedInsight with a new object + * + * @param newSharedInsight the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SharedInsight newSharedInsight, final ICallback callback) { + send(HttpMethod.PUT, callback, newSharedInsight); + } + + /** + * Creates a SharedInsight with a new object + * + * @param newSharedInsight the object to create/update + * @return the created SharedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedInsight put(final SharedInsight newSharedInsight) throws ClientException { + return send(HttpMethod.PUT, newSharedInsight); + } + /** * Sets the select clause for the request * 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 43f7cc80bc9..08b2a445550 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SharedPCConfigurationRequest.java @@ -111,6 +111,27 @@ public SharedPCConfiguration post(final SharedPCConfiguration newSharedPCConfigu return send(HttpMethod.POST, newSharedPCConfiguration); } + /** + * Creates a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SharedPCConfiguration newSharedPCConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newSharedPCConfiguration); + } + + /** + * Creates a SharedPCConfiguration with a new object + * + * @param newSharedPCConfiguration the object to create/update + * @return the created SharedPCConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SharedPCConfiguration put(final SharedPCConfiguration newSharedPCConfiguration) throws ClientException { + return send(HttpMethod.PUT, newSharedPCConfiguration); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ShiftPreferencesRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ShiftPreferencesRequest.java index 8af3070e0e0..793d465493a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ShiftPreferencesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ShiftPreferencesRequest.java @@ -111,6 +111,27 @@ public ShiftPreferences post(final ShiftPreferences newShiftPreferences) throws return send(HttpMethod.POST, newShiftPreferences); } + /** + * Creates a ShiftPreferences with a new object + * + * @param newShiftPreferences the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ShiftPreferences newShiftPreferences, final ICallback callback) { + send(HttpMethod.PUT, callback, newShiftPreferences); + } + + /** + * Creates a ShiftPreferences with a new object + * + * @param newShiftPreferences the object to create/update + * @return the created ShiftPreferences + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ShiftPreferences put(final ShiftPreferences newShiftPreferences) throws ClientException { + return send(HttpMethod.PUT, newShiftPreferences); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ShiftRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ShiftRequest.java index 046189a31a3..e7888d7db5c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ShiftRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ShiftRequest.java @@ -111,6 +111,27 @@ public Shift post(final Shift newShift) throws ClientException { return send(HttpMethod.POST, newShift); } + /** + * Creates a Shift with a new object + * + * @param newShift the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Shift newShift, final ICallback callback) { + send(HttpMethod.PUT, callback, newShift); + } + + /** + * Creates a Shift with a new object + * + * @param newShift the object to create/update + * @return the created Shift + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Shift put(final Shift newShift) throws ClientException { + return send(HttpMethod.PUT, newShift); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SignInRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SignInRequest.java index 3356ca28351..85218786460 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SignInRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SignInRequest.java @@ -126,6 +126,27 @@ public SignIn post(final SignIn newSignIn) throws ClientException { return send(HttpMethod.POST, newSignIn); } + /** + * Creates a SignIn with a new object + * + * @param newSignIn the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SignIn newSignIn, final ICallback callback) { + send(HttpMethod.PUT, callback, newSignIn); + } + + /** + * Creates a SignIn with a new object + * + * @param newSignIn the object to create/update + * @return the created SignIn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SignIn put(final SignIn newSignIn) throws ClientException { + return send(HttpMethod.PUT, newSignIn); + } + /** * Sets the select clause for the request * 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 8fc7b2cdc26..c21d31e0782 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SingleValueLegacyExtendedPropertyRequest.java @@ -111,6 +111,27 @@ public SingleValueLegacyExtendedProperty post(final SingleValueLegacyExtendedPro return send(HttpMethod.POST, newSingleValueLegacyExtendedProperty); } + /** + * Creates a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty, final ICallback callback) { + send(HttpMethod.PUT, callback, newSingleValueLegacyExtendedProperty); + } + + /** + * Creates a SingleValueLegacyExtendedProperty with a new object + * + * @param newSingleValueLegacyExtendedProperty the object to create/update + * @return the created SingleValueLegacyExtendedProperty + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SingleValueLegacyExtendedProperty put(final SingleValueLegacyExtendedProperty newSingleValueLegacyExtendedProperty) throws ClientException { + return send(HttpMethod.PUT, newSingleValueLegacyExtendedProperty); + } + /** * Sets the select clause for the 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 eceb13147ec..b78ade23954 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SiteRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SiteRequest.java @@ -140,6 +140,27 @@ public Site post(final Site newSite) throws ClientException { return send(HttpMethod.POST, newSite); } + /** + * Creates a Site with a new object + * + * @param newSite the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Site newSite, final ICallback callback) { + send(HttpMethod.PUT, callback, newSite); + } + + /** + * Creates a Site with a new object + * + * @param newSite the object to create/update + * @return the created Site + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Site put(final Site newSite) throws ClientException { + return send(HttpMethod.PUT, newSite); + } + /** * Sets the select clause for the request * 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 bf9c300671e..db63141228b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SoftwareUpdateStatusSummaryRequest.java @@ -111,6 +111,27 @@ public SoftwareUpdateStatusSummary post(final SoftwareUpdateStatusSummary newSof return send(HttpMethod.POST, newSoftwareUpdateStatusSummary); } + /** + * Creates a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newSoftwareUpdateStatusSummary); + } + + /** + * Creates a SoftwareUpdateStatusSummary with a new object + * + * @param newSoftwareUpdateStatusSummary the object to create/update + * @return the created SoftwareUpdateStatusSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SoftwareUpdateStatusSummary put(final SoftwareUpdateStatusSummary newSoftwareUpdateStatusSummary) throws ClientException { + return send(HttpMethod.PUT, newSoftwareUpdateStatusSummary); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/StsPolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/StsPolicyRequest.java index 47f47c07ad8..ec1358f7074 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/StsPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/StsPolicyRequest.java @@ -130,6 +130,27 @@ public StsPolicy post(final StsPolicy newStsPolicy) throws ClientException { return send(HttpMethod.POST, newStsPolicy); } + /** + * Creates a StsPolicy with a new object + * + * @param newStsPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final StsPolicy newStsPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newStsPolicy); + } + + /** + * Creates a StsPolicy with a new object + * + * @param newStsPolicy the object to create/update + * @return the created StsPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public StsPolicy put(final StsPolicy newStsPolicy) throws ClientException { + return send(HttpMethod.PUT, newStsPolicy); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SubscribeToToneOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SubscribeToToneOperationRequest.java index 31a9fdfbebb..a8e78fa4bd8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscribeToToneOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribeToToneOperationRequest.java @@ -111,6 +111,27 @@ public SubscribeToToneOperation post(final SubscribeToToneOperation newSubscribe return send(HttpMethod.POST, newSubscribeToToneOperation); } + /** + * Creates a SubscribeToToneOperation with a new object + * + * @param newSubscribeToToneOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SubscribeToToneOperation newSubscribeToToneOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newSubscribeToToneOperation); + } + + /** + * Creates a SubscribeToToneOperation with a new object + * + * @param newSubscribeToToneOperation the object to create/update + * @return the created SubscribeToToneOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SubscribeToToneOperation put(final SubscribeToToneOperation newSubscribeToToneOperation) throws ClientException { + return send(HttpMethod.PUT, newSubscribeToToneOperation); + } + /** * Sets the select clause for the request * 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 929a533bf83..fea0ab1a0e5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscribedSkuRequest.java @@ -111,6 +111,27 @@ public SubscribedSku post(final SubscribedSku newSubscribedSku) throws ClientExc return send(HttpMethod.POST, newSubscribedSku); } + /** + * Creates a SubscribedSku with a new object + * + * @param newSubscribedSku the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SubscribedSku newSubscribedSku, final ICallback callback) { + send(HttpMethod.PUT, callback, newSubscribedSku); + } + + /** + * Creates a SubscribedSku with a new object + * + * @param newSubscribedSku the object to create/update + * @return the created SubscribedSku + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SubscribedSku put(final SubscribedSku newSubscribedSku) throws ClientException { + return send(HttpMethod.PUT, newSubscribedSku); + } + /** * Sets the select clause for the request * 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 43d5077f682..b7cae1f901d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SubscriptionRequest.java @@ -111,6 +111,27 @@ public Subscription post(final Subscription newSubscription) throws ClientExcept return send(HttpMethod.POST, newSubscription); } + /** + * Creates a Subscription with a new object + * + * @param newSubscription the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Subscription newSubscription, final ICallback callback) { + send(HttpMethod.PUT, callback, newSubscription); + } + + /** + * Creates a Subscription with a new object + * + * @param newSubscription the object to create/update + * @return the created Subscription + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Subscription put(final Subscription newSubscription) throws ClientException { + return send(HttpMethod.PUT, newSubscription); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/SwapShiftsChangeRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/SwapShiftsChangeRequestRequest.java index 515c3e777d3..35eb0afda3c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/SwapShiftsChangeRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/SwapShiftsChangeRequestRequest.java @@ -111,6 +111,27 @@ public SwapShiftsChangeRequest post(final SwapShiftsChangeRequest newSwapShiftsC return send(HttpMethod.POST, newSwapShiftsChangeRequest); } + /** + * Creates a SwapShiftsChangeRequest with a new object + * + * @param newSwapShiftsChangeRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final SwapShiftsChangeRequest newSwapShiftsChangeRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newSwapShiftsChangeRequest); + } + + /** + * Creates a SwapShiftsChangeRequest with a new object + * + * @param newSwapShiftsChangeRequest the object to create/update + * @return the created SwapShiftsChangeRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public SwapShiftsChangeRequest put(final SwapShiftsChangeRequest newSwapShiftsChangeRequest) throws ClientException { + return send(HttpMethod.PUT, newSwapShiftsChangeRequest); + } + /** * Sets the select clause for the request * 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 f2c01a096a8..b36ff7857ad 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppConfigurationRequest.java @@ -123,6 +123,27 @@ public TargetedManagedAppConfiguration post(final TargetedManagedAppConfiguratio return send(HttpMethod.POST, newTargetedManagedAppConfiguration); } + /** + * Creates a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newTargetedManagedAppConfiguration); + } + + /** + * Creates a TargetedManagedAppConfiguration with a new object + * + * @param newTargetedManagedAppConfiguration the object to create/update + * @return the created TargetedManagedAppConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppConfiguration put(final TargetedManagedAppConfiguration newTargetedManagedAppConfiguration) throws ClientException { + return send(HttpMethod.PUT, newTargetedManagedAppConfiguration); + } + /** * Sets the select clause for the request * 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 f073101cd59..805d7cc89e1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppPolicyAssignmentRequest.java @@ -111,6 +111,27 @@ public TargetedManagedAppPolicyAssignment post(final TargetedManagedAppPolicyAss return send(HttpMethod.POST, newTargetedManagedAppPolicyAssignment); } + /** + * Creates a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newTargetedManagedAppPolicyAssignment); + } + + /** + * Creates a TargetedManagedAppPolicyAssignment with a new object + * + * @param newTargetedManagedAppPolicyAssignment the object to create/update + * @return the created TargetedManagedAppPolicyAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppPolicyAssignment put(final TargetedManagedAppPolicyAssignment newTargetedManagedAppPolicyAssignment) throws ClientException { + return send(HttpMethod.PUT, newTargetedManagedAppPolicyAssignment); + } + /** * Sets the select clause for the 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 ece3bfbfe8d..c801882e7d4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TargetedManagedAppProtectionRequest.java @@ -131,6 +131,27 @@ public TargetedManagedAppProtection post(final TargetedManagedAppProtection newT return send(HttpMethod.POST, newTargetedManagedAppProtection); } + /** + * Creates a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TargetedManagedAppProtection newTargetedManagedAppProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newTargetedManagedAppProtection); + } + + /** + * Creates a TargetedManagedAppProtection with a new object + * + * @param newTargetedManagedAppProtection the object to create/update + * @return the created TargetedManagedAppProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TargetedManagedAppProtection put(final TargetedManagedAppProtection newTargetedManagedAppProtection) throws ClientException { + return send(HttpMethod.PUT, newTargetedManagedAppProtection); + } + /** * Sets the select clause for the request * 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 57ff9d8f0a4..9450e2f2766 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamRequest.java @@ -136,6 +136,27 @@ public Team post(final Team newTeam) throws ClientException { return send(HttpMethod.POST, newTeam); } + /** + * Creates a Team with a new object + * + * @param newTeam the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Team newTeam, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeam); + } + + /** + * Creates a Team with a new object + * + * @param newTeam the object to create/update + * @return the created Team + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Team put(final Team newTeam) throws ClientException { + return send(HttpMethod.PUT, newTeam); + } + /** * Sets the select clause for the request * 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 30e3fd60beb..c01f04ed697 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppDefinitionRequest.java @@ -111,6 +111,27 @@ public TeamsAppDefinition post(final TeamsAppDefinition newTeamsAppDefinition) t return send(HttpMethod.POST, newTeamsAppDefinition); } + /** + * Creates a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TeamsAppDefinition newTeamsAppDefinition, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeamsAppDefinition); + } + + /** + * Creates a TeamsAppDefinition with a new object + * + * @param newTeamsAppDefinition the object to create/update + * @return the created TeamsAppDefinition + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppDefinition put(final TeamsAppDefinition newTeamsAppDefinition) throws ClientException { + return send(HttpMethod.PUT, newTeamsAppDefinition); + } + /** * Sets the select clause for the request * 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 4200fdd487d..460d092cc57 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppInstallationRequest.java @@ -115,6 +115,27 @@ public TeamsAppInstallation post(final TeamsAppInstallation newTeamsAppInstallat return send(HttpMethod.POST, newTeamsAppInstallation); } + /** + * Creates a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TeamsAppInstallation newTeamsAppInstallation, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeamsAppInstallation); + } + + /** + * Creates a TeamsAppInstallation with a new object + * + * @param newTeamsAppInstallation the object to create/update + * @return the created TeamsAppInstallation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAppInstallation put(final TeamsAppInstallation newTeamsAppInstallation) throws ClientException { + return send(HttpMethod.PUT, newTeamsAppInstallation); + } + /** * Sets the select clause for the request * 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 195e3127ae4..b2f151a7581 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAppRequest.java @@ -115,6 +115,27 @@ public TeamsApp post(final TeamsApp newTeamsApp) throws ClientException { return send(HttpMethod.POST, newTeamsApp); } + /** + * Creates a TeamsApp with a new object + * + * @param newTeamsApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TeamsApp newTeamsApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeamsApp); + } + + /** + * Creates a TeamsApp with a new object + * + * @param newTeamsApp the object to create/update + * @return the created TeamsApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsApp put(final TeamsApp newTeamsApp) throws ClientException { + return send(HttpMethod.PUT, newTeamsApp); + } + /** * Sets the select clause for the request * 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 477eafdbfff..47b1d3f310b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsAsyncOperationRequest.java @@ -111,6 +111,27 @@ public TeamsAsyncOperation post(final TeamsAsyncOperation newTeamsAsyncOperation return send(HttpMethod.POST, newTeamsAsyncOperation); } + /** + * Creates a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TeamsAsyncOperation newTeamsAsyncOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeamsAsyncOperation); + } + + /** + * Creates a TeamsAsyncOperation with a new object + * + * @param newTeamsAsyncOperation the object to create/update + * @return the created TeamsAsyncOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsAsyncOperation put(final TeamsAsyncOperation newTeamsAsyncOperation) throws ClientException { + return send(HttpMethod.PUT, newTeamsAsyncOperation); + } + /** * Sets the select clause for the request * 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 9bb37eb55e4..69eea95d2e6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTabRequest.java @@ -113,6 +113,27 @@ public TeamsTab post(final TeamsTab newTeamsTab) throws ClientException { return send(HttpMethod.POST, newTeamsTab); } + /** + * Creates a TeamsTab with a new object + * + * @param newTeamsTab the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TeamsTab newTeamsTab, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeamsTab); + } + + /** + * Creates a TeamsTab with a new object + * + * @param newTeamsTab the object to create/update + * @return the created TeamsTab + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsTab put(final TeamsTab newTeamsTab) throws ClientException { + return send(HttpMethod.PUT, newTeamsTab); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTemplateRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTemplateRequest.java index 8be0f270e2f..e173da1d575 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamsTemplateRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamsTemplateRequest.java @@ -111,6 +111,27 @@ public TeamsTemplate post(final TeamsTemplate newTeamsTemplate) throws ClientExc return send(HttpMethod.POST, newTeamsTemplate); } + /** + * Creates a TeamsTemplate with a new object + * + * @param newTeamsTemplate the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TeamsTemplate newTeamsTemplate, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeamsTemplate); + } + + /** + * Creates a TeamsTemplate with a new object + * + * @param newTeamsTemplate the object to create/update + * @return the created TeamsTemplate + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TeamsTemplate put(final TeamsTemplate newTeamsTemplate) throws ClientException { + return send(HttpMethod.PUT, newTeamsTemplate); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TeamworkRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TeamworkRequest.java index bd4316d8565..f53e189dbb5 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TeamworkRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TeamworkRequest.java @@ -115,6 +115,27 @@ public Teamwork post(final Teamwork newTeamwork) throws ClientException { return send(HttpMethod.POST, newTeamwork); } + /** + * Creates a Teamwork with a new object + * + * @param newTeamwork the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Teamwork newTeamwork, final ICallback callback) { + send(HttpMethod.PUT, callback, newTeamwork); + } + + /** + * Creates a Teamwork with a new object + * + * @param newTeamwork the object to create/update + * @return the created Teamwork + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Teamwork put(final Teamwork newTeamwork) throws ClientException { + return send(HttpMethod.PUT, newTeamwork); + } + /** * Sets the select clause for the request * 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 70365c3d890..45f840cb1b2 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TelecomExpenseManagementPartnerRequest.java @@ -111,6 +111,27 @@ public TelecomExpenseManagementPartner post(final TelecomExpenseManagementPartne return send(HttpMethod.POST, newTelecomExpenseManagementPartner); } + /** + * Creates a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner, final ICallback callback) { + send(HttpMethod.PUT, callback, newTelecomExpenseManagementPartner); + } + + /** + * Creates a TelecomExpenseManagementPartner with a new object + * + * @param newTelecomExpenseManagementPartner the object to create/update + * @return the created TelecomExpenseManagementPartner + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TelecomExpenseManagementPartner put(final TelecomExpenseManagementPartner newTelecomExpenseManagementPartner) throws ClientException { + return send(HttpMethod.PUT, newTelecomExpenseManagementPartner); + } + /** * Sets the select clause for the request * 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 d8295303180..e75c59c05da 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAcceptanceStatusRequest.java @@ -113,6 +113,27 @@ public TermsAndConditionsAcceptanceStatus post(final TermsAndConditionsAcceptanc return send(HttpMethod.POST, newTermsAndConditionsAcceptanceStatus); } + /** + * Creates a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus, final ICallback callback) { + send(HttpMethod.PUT, callback, newTermsAndConditionsAcceptanceStatus); + } + + /** + * Creates a TermsAndConditionsAcceptanceStatus with a new object + * + * @param newTermsAndConditionsAcceptanceStatus the object to create/update + * @return the created TermsAndConditionsAcceptanceStatus + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAcceptanceStatus put(final TermsAndConditionsAcceptanceStatus newTermsAndConditionsAcceptanceStatus) throws ClientException { + return send(HttpMethod.PUT, newTermsAndConditionsAcceptanceStatus); + } + /** * Sets the select clause for the request * 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 db536c2a51c..3e8171d0fce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsAssignmentRequest.java @@ -111,6 +111,27 @@ public TermsAndConditionsAssignment post(final TermsAndConditionsAssignment newT return send(HttpMethod.POST, newTermsAndConditionsAssignment); } + /** + * Creates a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TermsAndConditionsAssignment newTermsAndConditionsAssignment, final ICallback callback) { + send(HttpMethod.PUT, callback, newTermsAndConditionsAssignment); + } + + /** + * Creates a TermsAndConditionsAssignment with a new object + * + * @param newTermsAndConditionsAssignment the object to create/update + * @return the created TermsAndConditionsAssignment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditionsAssignment put(final TermsAndConditionsAssignment newTermsAndConditionsAssignment) throws ClientException { + return send(HttpMethod.PUT, newTermsAndConditionsAssignment); + } + /** * Sets the select clause for the request * 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 c39a35122a5..344674cabc3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TermsAndConditionsRequest.java @@ -119,6 +119,27 @@ public TermsAndConditions post(final TermsAndConditions newTermsAndConditions) t return send(HttpMethod.POST, newTermsAndConditions); } + /** + * Creates a TermsAndConditions with a new object + * + * @param newTermsAndConditions the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TermsAndConditions newTermsAndConditions, final ICallback callback) { + send(HttpMethod.PUT, callback, newTermsAndConditions); + } + + /** + * Creates a TermsAndConditions with a new object + * + * @param newTermsAndConditions the object to create/update + * @return the created TermsAndConditions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TermsAndConditions put(final TermsAndConditions newTermsAndConditions) throws ClientException { + return send(HttpMethod.PUT, newTermsAndConditions); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentRequestRequest.java index 2c563418619..249dd7dc00f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentRequestRequest.java @@ -130,6 +130,27 @@ public ThreatAssessmentRequest post(final ThreatAssessmentRequest newThreatAsses return send(HttpMethod.POST, newThreatAssessmentRequest); } + /** + * Creates a ThreatAssessmentRequest with a new object + * + * @param newThreatAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ThreatAssessmentRequest newThreatAssessmentRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newThreatAssessmentRequest); + } + + /** + * Creates a ThreatAssessmentRequest with a new object + * + * @param newThreatAssessmentRequest the object to create/update + * @return the created ThreatAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ThreatAssessmentRequest put(final ThreatAssessmentRequest newThreatAssessmentRequest) throws ClientException { + return send(HttpMethod.PUT, newThreatAssessmentRequest); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentResultRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentResultRequest.java index bf1cbc9ff91..c431cf790bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentResultRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThreatAssessmentResultRequest.java @@ -111,6 +111,27 @@ public ThreatAssessmentResult post(final ThreatAssessmentResult newThreatAssessm return send(HttpMethod.POST, newThreatAssessmentResult); } + /** + * Creates a ThreatAssessmentResult with a new object + * + * @param newThreatAssessmentResult the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ThreatAssessmentResult newThreatAssessmentResult, final ICallback callback) { + send(HttpMethod.PUT, callback, newThreatAssessmentResult); + } + + /** + * Creates a ThreatAssessmentResult with a new object + * + * @param newThreatAssessmentResult the object to create/update + * @return the created ThreatAssessmentResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ThreatAssessmentResult put(final ThreatAssessmentResult newThreatAssessmentResult) throws ClientException { + return send(HttpMethod.PUT, newThreatAssessmentResult); + } + /** * Sets the select clause for the request * 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 b1535319955..7a19bc6fd70 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailRequest.java @@ -111,6 +111,27 @@ public Thumbnail post(final Thumbnail newThumbnail) throws ClientException { return send(HttpMethod.POST, newThumbnail); } + /** + * Creates a Thumbnail with a new object + * + * @param newThumbnail the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Thumbnail newThumbnail, final ICallback callback) { + send(HttpMethod.PUT, callback, newThumbnail); + } + + /** + * Creates a Thumbnail with a new object + * + * @param newThumbnail the object to create/update + * @return the created Thumbnail + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Thumbnail put(final Thumbnail newThumbnail) throws ClientException { + return send(HttpMethod.PUT, newThumbnail); + } + /** * Sets the select clause for the request * 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 84628c52975..93d6755bfa8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/ThumbnailSetRequest.java @@ -111,6 +111,27 @@ public ThumbnailSet post(final ThumbnailSet newThumbnailSet) throws ClientExcept return send(HttpMethod.POST, newThumbnailSet); } + /** + * Creates a ThumbnailSet with a new object + * + * @param newThumbnailSet the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final ThumbnailSet newThumbnailSet, final ICallback callback) { + send(HttpMethod.PUT, callback, newThumbnailSet); + } + + /** + * Creates a ThumbnailSet with a new object + * + * @param newThumbnailSet the object to create/update + * @return the created ThumbnailSet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public ThumbnailSet put(final ThumbnailSet newThumbnailSet) throws ClientException { + return send(HttpMethod.PUT, newThumbnailSet); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TimeOffReasonRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TimeOffReasonRequest.java index a52e00ed9e8..d3eb6c7e221 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TimeOffReasonRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TimeOffReasonRequest.java @@ -111,6 +111,27 @@ public TimeOffReason post(final TimeOffReason newTimeOffReason) throws ClientExc return send(HttpMethod.POST, newTimeOffReason); } + /** + * Creates a TimeOffReason with a new object + * + * @param newTimeOffReason the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TimeOffReason newTimeOffReason, final ICallback callback) { + send(HttpMethod.PUT, callback, newTimeOffReason); + } + + /** + * Creates a TimeOffReason with a new object + * + * @param newTimeOffReason the object to create/update + * @return the created TimeOffReason + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TimeOffReason put(final TimeOffReason newTimeOffReason) throws ClientException { + return send(HttpMethod.PUT, newTimeOffReason); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequest.java index a539c8ebc82..6e6d866ac0f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequest.java @@ -111,6 +111,27 @@ public TimeOff post(final TimeOff newTimeOff) throws ClientException { return send(HttpMethod.POST, newTimeOff); } + /** + * Creates a TimeOff with a new object + * + * @param newTimeOff the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TimeOff newTimeOff, final ICallback callback) { + send(HttpMethod.PUT, callback, newTimeOff); + } + + /** + * Creates a TimeOff with a new object + * + * @param newTimeOff the object to create/update + * @return the created TimeOff + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TimeOff put(final TimeOff newTimeOff) throws ClientException { + return send(HttpMethod.PUT, newTimeOff); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequestRequest.java index e1292fec1e8..785587fb1bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TimeOffRequestRequest.java @@ -111,6 +111,27 @@ public TimeOffRequest post(final TimeOffRequest newTimeOffRequest) throws Client return send(HttpMethod.POST, newTimeOffRequest); } + /** + * Creates a TimeOffRequest with a new object + * + * @param newTimeOffRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TimeOffRequest newTimeOffRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newTimeOffRequest); + } + + /** + * Creates a TimeOffRequest with a new object + * + * @param newTimeOffRequest the object to create/update + * @return the created TimeOffRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TimeOffRequest put(final TimeOffRequest newTimeOffRequest) throws ClientException { + return send(HttpMethod.PUT, newTimeOffRequest); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TokenIssuancePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TokenIssuancePolicyRequest.java index 95228e2a8ea..d04c8d01859 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TokenIssuancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TokenIssuancePolicyRequest.java @@ -111,6 +111,27 @@ public TokenIssuancePolicy post(final TokenIssuancePolicy newTokenIssuancePolicy return send(HttpMethod.POST, newTokenIssuancePolicy); } + /** + * Creates a TokenIssuancePolicy with a new object + * + * @param newTokenIssuancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TokenIssuancePolicy newTokenIssuancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newTokenIssuancePolicy); + } + + /** + * Creates a TokenIssuancePolicy with a new object + * + * @param newTokenIssuancePolicy the object to create/update + * @return the created TokenIssuancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TokenIssuancePolicy put(final TokenIssuancePolicy newTokenIssuancePolicy) throws ClientException { + return send(HttpMethod.PUT, newTokenIssuancePolicy); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/TokenLifetimePolicyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/TokenLifetimePolicyRequest.java index dba14065d55..852d958fad1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TokenLifetimePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TokenLifetimePolicyRequest.java @@ -111,6 +111,27 @@ public TokenLifetimePolicy post(final TokenLifetimePolicy newTokenLifetimePolicy return send(HttpMethod.POST, newTokenLifetimePolicy); } + /** + * Creates a TokenLifetimePolicy with a new object + * + * @param newTokenLifetimePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final TokenLifetimePolicy newTokenLifetimePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newTokenLifetimePolicy); + } + + /** + * Creates a TokenLifetimePolicy with a new object + * + * @param newTokenLifetimePolicy the object to create/update + * @return the created TokenLifetimePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public TokenLifetimePolicy put(final TokenLifetimePolicy newTokenLifetimePolicy) throws ClientException { + return send(HttpMethod.PUT, newTokenLifetimePolicy); + } + /** * Sets the select clause for the request * 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 e5bd31b17af..8d96a29989e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/TrendingRequest.java @@ -113,6 +113,27 @@ public Trending post(final Trending newTrending) throws ClientException { return send(HttpMethod.POST, newTrending); } + /** + * Creates a Trending with a new object + * + * @param newTrending the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Trending newTrending, final ICallback callback) { + send(HttpMethod.PUT, callback, newTrending); + } + + /** + * Creates a Trending with a new object + * + * @param newTrending the object to create/update + * @return the created Trending + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Trending put(final Trending newTrending) throws ClientException { + return send(HttpMethod.PUT, newTrending); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UnmuteParticipantOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UnmuteParticipantOperationRequest.java index 7bfb01114f4..4eb049a9725 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UnmuteParticipantOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UnmuteParticipantOperationRequest.java @@ -111,6 +111,27 @@ public UnmuteParticipantOperation post(final UnmuteParticipantOperation newUnmut return send(HttpMethod.POST, newUnmuteParticipantOperation); } + /** + * Creates a UnmuteParticipantOperation with a new object + * + * @param newUnmuteParticipantOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final UnmuteParticipantOperation newUnmuteParticipantOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newUnmuteParticipantOperation); + } + + /** + * Creates a UnmuteParticipantOperation with a new object + * + * @param newUnmuteParticipantOperation the object to create/update + * @return the created UnmuteParticipantOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UnmuteParticipantOperation put(final UnmuteParticipantOperation newUnmuteParticipantOperation) throws ClientException { + return send(HttpMethod.PUT, newUnmuteParticipantOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UpdateRecordingStatusOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UpdateRecordingStatusOperationRequest.java index 0bbe99a9d24..8ececaa5196 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UpdateRecordingStatusOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UpdateRecordingStatusOperationRequest.java @@ -111,6 +111,27 @@ public UpdateRecordingStatusOperation post(final UpdateRecordingStatusOperation return send(HttpMethod.POST, newUpdateRecordingStatusOperation); } + /** + * Creates a UpdateRecordingStatusOperation with a new object + * + * @param newUpdateRecordingStatusOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final UpdateRecordingStatusOperation newUpdateRecordingStatusOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newUpdateRecordingStatusOperation); + } + + /** + * Creates a UpdateRecordingStatusOperation with a new object + * + * @param newUpdateRecordingStatusOperation the object to create/update + * @return the created UpdateRecordingStatusOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UpdateRecordingStatusOperation put(final UpdateRecordingStatusOperation newUpdateRecordingStatusOperation) throws ClientException { + return send(HttpMethod.PUT, newUpdateRecordingStatusOperation); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/UrlAssessmentRequestRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/UrlAssessmentRequestRequest.java index 4e7ffc017aa..d59a929e5e9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UrlAssessmentRequestRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UrlAssessmentRequestRequest.java @@ -111,6 +111,27 @@ public UrlAssessmentRequest post(final UrlAssessmentRequest newUrlAssessmentRequ return send(HttpMethod.POST, newUrlAssessmentRequest); } + /** + * Creates a UrlAssessmentRequest with a new object + * + * @param newUrlAssessmentRequest the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final UrlAssessmentRequest newUrlAssessmentRequest, final ICallback callback) { + send(HttpMethod.PUT, callback, newUrlAssessmentRequest); + } + + /** + * Creates a UrlAssessmentRequest with a new object + * + * @param newUrlAssessmentRequest the object to create/update + * @return the created UrlAssessmentRequest + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UrlAssessmentRequest put(final UrlAssessmentRequest newUrlAssessmentRequest) throws ClientException { + return send(HttpMethod.PUT, newUrlAssessmentRequest); + } + /** * Sets the select clause for the request * 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 4be0eae74ba..17df5a7e8ed 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UsedInsightRequest.java @@ -113,6 +113,27 @@ public UsedInsight post(final UsedInsight newUsedInsight) throws ClientException return send(HttpMethod.POST, newUsedInsight); } + /** + * Creates a UsedInsight with a new object + * + * @param newUsedInsight the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final UsedInsight newUsedInsight, final ICallback callback) { + send(HttpMethod.PUT, callback, newUsedInsight); + } + + /** + * Creates a UsedInsight with a new object + * + * @param newUsedInsight the object to create/update + * @return the created UsedInsight + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UsedInsight put(final UsedInsight newUsedInsight) throws ClientException { + return send(HttpMethod.PUT, newUsedInsight); + } + /** * Sets the select clause for the request * 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 8256eb647fe..7af60af2558 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserActivityRequest.java @@ -115,6 +115,27 @@ public UserActivity post(final UserActivity newUserActivity) throws ClientExcept return send(HttpMethod.POST, newUserActivity); } + /** + * Creates a UserActivity with a new object + * + * @param newUserActivity the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final UserActivity newUserActivity, final ICallback callback) { + send(HttpMethod.PUT, callback, newUserActivity); + } + + /** + * Creates a UserActivity with a new object + * + * @param newUserActivity the object to create/update + * @return the created UserActivity + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserActivity put(final UserActivity newUserActivity) throws ClientException { + return send(HttpMethod.PUT, newUserActivity); + } + /** * Sets the select clause for the request * 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 3d7c3ff2c9d..6caea59f422 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserInstallStateSummaryRequest.java @@ -115,6 +115,27 @@ public UserInstallStateSummary post(final UserInstallStateSummary newUserInstall return send(HttpMethod.POST, newUserInstallStateSummary); } + /** + * Creates a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final UserInstallStateSummary newUserInstallStateSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newUserInstallStateSummary); + } + + /** + * Creates a UserInstallStateSummary with a new object + * + * @param newUserInstallStateSummary the object to create/update + * @return the created UserInstallStateSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserInstallStateSummary put(final UserInstallStateSummary newUserInstallStateSummary) throws ClientException { + return send(HttpMethod.PUT, newUserInstallStateSummary); + } + /** * Sets the select clause for the 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 3af93252445..a04974beb42 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserRequest.java @@ -225,6 +225,27 @@ public User post(final User newUser) throws ClientException { return send(HttpMethod.POST, newUser); } + /** + * Creates a User with a new object + * + * @param newUser the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final User newUser, final ICallback callback) { + send(HttpMethod.PUT, callback, newUser); + } + + /** + * Creates a User with a new object + * + * @param newUser the object to create/update + * @return the created User + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public User put(final User newUser) throws ClientException { + return send(HttpMethod.PUT, newUser); + } + /** * Sets the select clause for the 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 6ed50e79974..59fac2aef9e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/UserSettingsRequest.java @@ -113,6 +113,27 @@ public UserSettings post(final UserSettings newUserSettings) throws ClientExcept return send(HttpMethod.POST, newUserSettings); } + /** + * Creates a UserSettings with a new object + * + * @param newUserSettings the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final UserSettings newUserSettings, final ICallback callback) { + send(HttpMethod.PUT, callback, newUserSettings); + } + + /** + * Creates a UserSettings with a new object + * + * @param newUserSettings the object to create/update + * @return the created UserSettings + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public UserSettings put(final UserSettings newUserSettings) throws ClientException { + return send(HttpMethod.PUT, newUserSettings); + } + /** * Sets the select clause for the request * 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 97cb7d10348..62f649e7854 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/VppTokenRequest.java @@ -111,6 +111,27 @@ public VppToken post(final VppToken newVppToken) throws ClientException { return send(HttpMethod.POST, newVppToken); } + /** + * Creates a VppToken with a new object + * + * @param newVppToken the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final VppToken newVppToken, final ICallback callback) { + send(HttpMethod.PUT, callback, newVppToken); + } + + /** + * Creates a VppToken with a new object + * + * @param newVppToken the object to create/update + * @return the created VppToken + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public VppToken put(final VppToken newVppToken) throws ClientException { + return send(HttpMethod.PUT, newVppToken); + } + /** * Sets the select clause for the 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 447ae96bb4e..78463b0dfdf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WebAppRequest.java @@ -111,6 +111,27 @@ public WebApp post(final WebApp newWebApp) throws ClientException { return send(HttpMethod.POST, newWebApp); } + /** + * Creates a WebApp with a new object + * + * @param newWebApp the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WebApp newWebApp, final ICallback callback) { + send(HttpMethod.PUT, callback, newWebApp); + } + + /** + * Creates a WebApp with a new object + * + * @param newWebApp the object to create/update + * @return the created WebApp + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WebApp put(final WebApp newWebApp) throws ClientException { + return send(HttpMethod.PUT, newWebApp); + } + /** * Sets the select clause for the request * 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 7ff5b83523b..a55bc5d6bb4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CompliancePolicyRequest.java @@ -111,6 +111,27 @@ public Windows10CompliancePolicy post(final Windows10CompliancePolicy newWindows return send(HttpMethod.POST, newWindows10CompliancePolicy); } + /** + * Creates a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10CompliancePolicy newWindows10CompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10CompliancePolicy); + } + + /** + * Creates a Windows10CompliancePolicy with a new object + * + * @param newWindows10CompliancePolicy the object to create/update + * @return the created Windows10CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CompliancePolicy put(final Windows10CompliancePolicy newWindows10CompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newWindows10CompliancePolicy); + } + /** * Sets the select clause for the request * 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 495f57821b8..d7967b58273 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10CustomConfigurationRequest.java @@ -111,6 +111,27 @@ public Windows10CustomConfiguration post(final Windows10CustomConfiguration newW return send(HttpMethod.POST, newWindows10CustomConfiguration); } + /** + * Creates a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10CustomConfiguration newWindows10CustomConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10CustomConfiguration); + } + + /** + * Creates a Windows10CustomConfiguration with a new object + * + * @param newWindows10CustomConfiguration the object to create/update + * @return the created Windows10CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10CustomConfiguration put(final Windows10CustomConfiguration newWindows10CustomConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindows10CustomConfiguration); + } + /** * Sets the select clause for the request * 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 27a7d2e05a7..fd32c59a826 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EndpointProtectionConfigurationRequest.java @@ -111,6 +111,27 @@ public Windows10EndpointProtectionConfiguration post(final Windows10EndpointProt return send(HttpMethod.POST, newWindows10EndpointProtectionConfiguration); } + /** + * Creates a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10EndpointProtectionConfiguration); + } + + /** + * Creates a Windows10EndpointProtectionConfiguration with a new object + * + * @param newWindows10EndpointProtectionConfiguration the object to create/update + * @return the created Windows10EndpointProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EndpointProtectionConfiguration put(final Windows10EndpointProtectionConfiguration newWindows10EndpointProtectionConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindows10EndpointProtectionConfiguration); + } + /** * Sets the select clause for the request * 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 9e78495b909..e216483b1d3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10EnterpriseModernAppManagementConfigurationRequest.java @@ -111,6 +111,27 @@ public Windows10EnterpriseModernAppManagementConfiguration post(final Windows10E return send(HttpMethod.POST, newWindows10EnterpriseModernAppManagementConfiguration); } + /** + * Creates a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10EnterpriseModernAppManagementConfiguration); + } + + /** + * Creates a Windows10EnterpriseModernAppManagementConfiguration with a new object + * + * @param newWindows10EnterpriseModernAppManagementConfiguration the object to create/update + * @return the created Windows10EnterpriseModernAppManagementConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10EnterpriseModernAppManagementConfiguration put(final Windows10EnterpriseModernAppManagementConfiguration newWindows10EnterpriseModernAppManagementConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindows10EnterpriseModernAppManagementConfiguration); + } + /** * Sets the select clause for the request * 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 5baf1126b96..733a55c27a7 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10GeneralConfigurationRequest.java @@ -111,6 +111,27 @@ public Windows10GeneralConfiguration post(final Windows10GeneralConfiguration ne return send(HttpMethod.POST, newWindows10GeneralConfiguration); } + /** + * Creates a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10GeneralConfiguration newWindows10GeneralConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10GeneralConfiguration); + } + + /** + * Creates a Windows10GeneralConfiguration with a new object + * + * @param newWindows10GeneralConfiguration the object to create/update + * @return the created Windows10GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10GeneralConfiguration put(final Windows10GeneralConfiguration newWindows10GeneralConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindows10GeneralConfiguration); + } + /** * Sets the select clause for the request * 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 9ae153de1e7..8c04cf5c5a0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10MobileCompliancePolicyRequest.java @@ -111,6 +111,27 @@ public Windows10MobileCompliancePolicy post(final Windows10MobileCompliancePolic return send(HttpMethod.POST, newWindows10MobileCompliancePolicy); } + /** + * Creates a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10MobileCompliancePolicy); + } + + /** + * Creates a Windows10MobileCompliancePolicy with a new object + * + * @param newWindows10MobileCompliancePolicy the object to create/update + * @return the created Windows10MobileCompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10MobileCompliancePolicy put(final Windows10MobileCompliancePolicy newWindows10MobileCompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newWindows10MobileCompliancePolicy); + } + /** * Sets the select clause for the request * 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 4eb9c1e1cca..922f547c757 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10SecureAssessmentConfigurationRequest.java @@ -111,6 +111,27 @@ public Windows10SecureAssessmentConfiguration post(final Windows10SecureAssessme return send(HttpMethod.POST, newWindows10SecureAssessmentConfiguration); } + /** + * Creates a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10SecureAssessmentConfiguration); + } + + /** + * Creates a Windows10SecureAssessmentConfiguration with a new object + * + * @param newWindows10SecureAssessmentConfiguration the object to create/update + * @return the created Windows10SecureAssessmentConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10SecureAssessmentConfiguration put(final Windows10SecureAssessmentConfiguration newWindows10SecureAssessmentConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindows10SecureAssessmentConfiguration); + } + /** * Sets the select clause for the request * 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 6adf7aa9f55..f311fd5942a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows10TeamGeneralConfigurationRequest.java @@ -111,6 +111,27 @@ public Windows10TeamGeneralConfiguration post(final Windows10TeamGeneralConfigur return send(HttpMethod.POST, newWindows10TeamGeneralConfiguration); } + /** + * Creates a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows10TeamGeneralConfiguration); + } + + /** + * Creates a Windows10TeamGeneralConfiguration with a new object + * + * @param newWindows10TeamGeneralConfiguration the object to create/update + * @return the created Windows10TeamGeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows10TeamGeneralConfiguration put(final Windows10TeamGeneralConfiguration newWindows10TeamGeneralConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindows10TeamGeneralConfiguration); + } + /** * Sets the select clause for the request * 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 82135e37ae5..a88ca97d0a1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows81CompliancePolicyRequest.java @@ -111,6 +111,27 @@ public Windows81CompliancePolicy post(final Windows81CompliancePolicy newWindows return send(HttpMethod.POST, newWindows81CompliancePolicy); } + /** + * Creates a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows81CompliancePolicy newWindows81CompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows81CompliancePolicy); + } + + /** + * Creates a Windows81CompliancePolicy with a new object + * + * @param newWindows81CompliancePolicy the object to create/update + * @return the created Windows81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81CompliancePolicy put(final Windows81CompliancePolicy newWindows81CompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newWindows81CompliancePolicy); + } + /** * Sets the select clause for the request * 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 fe5996ed0e5..5acbc29f6a9 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/Windows81GeneralConfigurationRequest.java @@ -111,6 +111,27 @@ public Windows81GeneralConfiguration post(final Windows81GeneralConfiguration ne return send(HttpMethod.POST, newWindows81GeneralConfiguration); } + /** + * Creates a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Windows81GeneralConfiguration newWindows81GeneralConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindows81GeneralConfiguration); + } + + /** + * Creates a Windows81GeneralConfiguration with a new object + * + * @param newWindows81GeneralConfiguration the object to create/update + * @return the created Windows81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Windows81GeneralConfiguration put(final Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindows81GeneralConfiguration); + } + /** * Sets the select clause for the request * 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 52db5118389..fd5ac9b2592 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsDefenderAdvancedThreatProtectionConfigurationRequest.java @@ -111,6 +111,27 @@ public WindowsDefenderAdvancedThreatProtectionConfiguration post(final WindowsDe return send(HttpMethod.POST, newWindowsDefenderAdvancedThreatProtectionConfiguration); } + /** + * Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsDefenderAdvancedThreatProtectionConfiguration); + } + + /** + * Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object + * + * @param newWindowsDefenderAdvancedThreatProtectionConfiguration the object to create/update + * @return the created WindowsDefenderAdvancedThreatProtectionConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsDefenderAdvancedThreatProtectionConfiguration put(final WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindowsDefenderAdvancedThreatProtectionConfiguration); + } + /** * Sets the select clause for the request * 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 045a7a0808a..31577d27380 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLearningSummaryRequest.java @@ -111,6 +111,27 @@ public WindowsInformationProtectionAppLearningSummary post(final WindowsInformat return send(HttpMethod.POST, newWindowsInformationProtectionAppLearningSummary); } + /** + * Creates a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsInformationProtectionAppLearningSummary); + } + + /** + * Creates a WindowsInformationProtectionAppLearningSummary with a new object + * + * @param newWindowsInformationProtectionAppLearningSummary the object to create/update + * @return the created WindowsInformationProtectionAppLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLearningSummary put(final WindowsInformationProtectionAppLearningSummary newWindowsInformationProtectionAppLearningSummary) throws ClientException { + return send(HttpMethod.PUT, newWindowsInformationProtectionAppLearningSummary); + } + /** * Sets the select clause for the request * 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 3fd58a918ba..1c6bed64a86 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionAppLockerFileRequest.java @@ -111,6 +111,27 @@ public WindowsInformationProtectionAppLockerFile post(final WindowsInformationPr return send(HttpMethod.POST, newWindowsInformationProtectionAppLockerFile); } + /** + * Creates a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsInformationProtectionAppLockerFile); + } + + /** + * Creates a WindowsInformationProtectionAppLockerFile with a new object + * + * @param newWindowsInformationProtectionAppLockerFile the object to create/update + * @return the created WindowsInformationProtectionAppLockerFile + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionAppLockerFile put(final WindowsInformationProtectionAppLockerFile newWindowsInformationProtectionAppLockerFile) throws ClientException { + return send(HttpMethod.PUT, newWindowsInformationProtectionAppLockerFile); + } + /** * Sets the select clause for the request * 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 b170e7841bf..4a080dcadcf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionNetworkLearningSummaryRequest.java @@ -111,6 +111,27 @@ public WindowsInformationProtectionNetworkLearningSummary post(final WindowsInfo return send(HttpMethod.POST, newWindowsInformationProtectionNetworkLearningSummary); } + /** + * Creates a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsInformationProtectionNetworkLearningSummary); + } + + /** + * Creates a WindowsInformationProtectionNetworkLearningSummary with a new object + * + * @param newWindowsInformationProtectionNetworkLearningSummary the object to create/update + * @return the created WindowsInformationProtectionNetworkLearningSummary + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionNetworkLearningSummary put(final WindowsInformationProtectionNetworkLearningSummary newWindowsInformationProtectionNetworkLearningSummary) throws ClientException { + return send(HttpMethod.PUT, newWindowsInformationProtectionNetworkLearningSummary); + } + /** * Sets the select clause for the request * 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 65b888d8116..f9aaac6ab72 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionPolicyRequest.java @@ -111,6 +111,27 @@ public WindowsInformationProtectionPolicy post(final WindowsInformationProtectio return send(HttpMethod.POST, newWindowsInformationProtectionPolicy); } + /** + * Creates a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsInformationProtectionPolicy); + } + + /** + * Creates a WindowsInformationProtectionPolicy with a new object + * + * @param newWindowsInformationProtectionPolicy the object to create/update + * @return the created WindowsInformationProtectionPolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtectionPolicy put(final WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws ClientException { + return send(HttpMethod.PUT, newWindowsInformationProtectionPolicy); + } + /** * Sets the select clause for the request * 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 1d5b760d7c5..e7c703f1529 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsInformationProtectionRequest.java @@ -135,6 +135,27 @@ public WindowsInformationProtection post(final WindowsInformationProtection newW return send(HttpMethod.POST, newWindowsInformationProtection); } + /** + * Creates a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsInformationProtection newWindowsInformationProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsInformationProtection); + } + + /** + * Creates a WindowsInformationProtection with a new object + * + * @param newWindowsInformationProtection the object to create/update + * @return the created WindowsInformationProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsInformationProtection put(final WindowsInformationProtection newWindowsInformationProtection) throws ClientException { + return send(HttpMethod.PUT, newWindowsInformationProtection); + } + /** * Sets the select clause for the request * 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 595d08a2df7..7007c17b6b8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsMobileMSIRequest.java @@ -111,6 +111,27 @@ public WindowsMobileMSI post(final WindowsMobileMSI newWindowsMobileMSI) throws return send(HttpMethod.POST, newWindowsMobileMSI); } + /** + * Creates a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsMobileMSI newWindowsMobileMSI, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsMobileMSI); + } + + /** + * Creates a WindowsMobileMSI with a new object + * + * @param newWindowsMobileMSI the object to create/update + * @return the created WindowsMobileMSI + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsMobileMSI put(final WindowsMobileMSI newWindowsMobileMSI) throws ClientException { + return send(HttpMethod.PUT, newWindowsMobileMSI); + } + /** * Sets the select clause for the request * 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 e81e67b8abf..94adeb2c5ab 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CompliancePolicyRequest.java @@ -111,6 +111,27 @@ public WindowsPhone81CompliancePolicy post(final WindowsPhone81CompliancePolicy return send(HttpMethod.POST, newWindowsPhone81CompliancePolicy); } + /** + * Creates a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsPhone81CompliancePolicy); + } + + /** + * Creates a WindowsPhone81CompliancePolicy with a new object + * + * @param newWindowsPhone81CompliancePolicy the object to create/update + * @return the created WindowsPhone81CompliancePolicy + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CompliancePolicy put(final WindowsPhone81CompliancePolicy newWindowsPhone81CompliancePolicy) throws ClientException { + return send(HttpMethod.PUT, newWindowsPhone81CompliancePolicy); + } + /** * Sets the select clause for the request * 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 ca0be6c362f..377b18cd5aa 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81CustomConfigurationRequest.java @@ -111,6 +111,27 @@ public WindowsPhone81CustomConfiguration post(final WindowsPhone81CustomConfigur return send(HttpMethod.POST, newWindowsPhone81CustomConfiguration); } + /** + * Creates a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsPhone81CustomConfiguration); + } + + /** + * Creates a WindowsPhone81CustomConfiguration with a new object + * + * @param newWindowsPhone81CustomConfiguration the object to create/update + * @return the created WindowsPhone81CustomConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81CustomConfiguration put(final WindowsPhone81CustomConfiguration newWindowsPhone81CustomConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindowsPhone81CustomConfiguration); + } + /** * Sets the select clause for the request * 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 f646fe91949..d73c37da3bf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsPhone81GeneralConfigurationRequest.java @@ -111,6 +111,27 @@ public WindowsPhone81GeneralConfiguration post(final WindowsPhone81GeneralConfig return send(HttpMethod.POST, newWindowsPhone81GeneralConfiguration); } + /** + * Creates a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsPhone81GeneralConfiguration); + } + + /** + * Creates a WindowsPhone81GeneralConfiguration with a new object + * + * @param newWindowsPhone81GeneralConfiguration the object to create/update + * @return the created WindowsPhone81GeneralConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsPhone81GeneralConfiguration put(final WindowsPhone81GeneralConfiguration newWindowsPhone81GeneralConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindowsPhone81GeneralConfiguration); + } + /** * Sets the select clause for the request * 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 c92f9e4b444..eeb52532f32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUniversalAppXRequest.java @@ -111,6 +111,27 @@ public WindowsUniversalAppX post(final WindowsUniversalAppX newWindowsUniversalA return send(HttpMethod.POST, newWindowsUniversalAppX); } + /** + * Creates a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsUniversalAppX newWindowsUniversalAppX, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsUniversalAppX); + } + + /** + * Creates a WindowsUniversalAppX with a new object + * + * @param newWindowsUniversalAppX the object to create/update + * @return the created WindowsUniversalAppX + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUniversalAppX put(final WindowsUniversalAppX newWindowsUniversalAppX) throws ClientException { + return send(HttpMethod.PUT, newWindowsUniversalAppX); + } + /** * Sets the select clause for the request * 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 d4deaa98da9..8cb2bdb5d22 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WindowsUpdateForBusinessConfigurationRequest.java @@ -111,6 +111,27 @@ public WindowsUpdateForBusinessConfiguration post(final WindowsUpdateForBusiness return send(HttpMethod.POST, newWindowsUpdateForBusinessConfiguration); } + /** + * Creates a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWindowsUpdateForBusinessConfiguration); + } + + /** + * Creates a WindowsUpdateForBusinessConfiguration with a new object + * + * @param newWindowsUpdateForBusinessConfiguration the object to create/update + * @return the created WindowsUpdateForBusinessConfiguration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WindowsUpdateForBusinessConfiguration put(final WindowsUpdateForBusinessConfiguration newWindowsUpdateForBusinessConfiguration) throws ClientException { + return send(HttpMethod.PUT, newWindowsUpdateForBusinessConfiguration); + } + /** * Sets the select clause for the 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 8e235411fcd..bbc12cbce85 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookApplicationRequest.java @@ -111,6 +111,27 @@ public WorkbookApplication post(final WorkbookApplication newWorkbookApplication return send(HttpMethod.POST, newWorkbookApplication); } + /** + * Creates a WorkbookApplication with a new object + * + * @param newWorkbookApplication the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookApplication newWorkbookApplication, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookApplication); + } + + /** + * Creates a WorkbookApplication with a new object + * + * @param newWorkbookApplication the object to create/update + * @return the created WorkbookApplication + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookApplication put(final WorkbookApplication newWorkbookApplication) throws ClientException { + return send(HttpMethod.PUT, newWorkbookApplication); + } + /** * Sets the select clause for the 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 04d47066a91..01c472382e0 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAreaFormatRequest.java @@ -115,6 +115,27 @@ public WorkbookChartAreaFormat post(final WorkbookChartAreaFormat newWorkbookCha return send(HttpMethod.POST, newWorkbookChartAreaFormat); } + /** + * Creates a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartAreaFormat newWorkbookChartAreaFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartAreaFormat); + } + + /** + * Creates a WorkbookChartAreaFormat with a new object + * + * @param newWorkbookChartAreaFormat the object to create/update + * @return the created WorkbookChartAreaFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAreaFormat put(final WorkbookChartAreaFormat newWorkbookChartAreaFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartAreaFormat); + } + /** * Sets the select clause for the request * 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 9c1bf6e96df..e4ba43d2212 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxesRequest.java @@ -113,6 +113,27 @@ public WorkbookChartAxes post(final WorkbookChartAxes newWorkbookChartAxes) thro return send(HttpMethod.POST, newWorkbookChartAxes); } + /** + * Creates a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartAxes newWorkbookChartAxes, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartAxes); + } + + /** + * Creates a WorkbookChartAxes with a new object + * + * @param newWorkbookChartAxes the object to create/update + * @return the created WorkbookChartAxes + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxes put(final WorkbookChartAxes newWorkbookChartAxes) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartAxes); + } + /** * Sets the select clause for the request * 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 00f4541ac90..24b1ea98cdc 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisFormatRequest.java @@ -115,6 +115,27 @@ public WorkbookChartAxisFormat post(final WorkbookChartAxisFormat newWorkbookCha return send(HttpMethod.POST, newWorkbookChartAxisFormat); } + /** + * Creates a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartAxisFormat newWorkbookChartAxisFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartAxisFormat); + } + + /** + * Creates a WorkbookChartAxisFormat with a new object + * + * @param newWorkbookChartAxisFormat the object to create/update + * @return the created WorkbookChartAxisFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisFormat put(final WorkbookChartAxisFormat newWorkbookChartAxisFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartAxisFormat); + } + /** * Sets the select clause for the request * 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 dce795c2684..46eecd0f447 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisRequest.java @@ -117,6 +117,27 @@ public WorkbookChartAxis post(final WorkbookChartAxis newWorkbookChartAxis) thro return send(HttpMethod.POST, newWorkbookChartAxis); } + /** + * Creates a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartAxis newWorkbookChartAxis, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartAxis); + } + + /** + * Creates a WorkbookChartAxis with a new object + * + * @param newWorkbookChartAxis the object to create/update + * @return the created WorkbookChartAxis + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxis put(final WorkbookChartAxis newWorkbookChartAxis) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartAxis); + } + /** * Sets the select clause for the request * 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 791ef3d3780..b423c2f541c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleFormatRequest.java @@ -113,6 +113,27 @@ public WorkbookChartAxisTitleFormat post(final WorkbookChartAxisTitleFormat newW return send(HttpMethod.POST, newWorkbookChartAxisTitleFormat); } + /** + * Creates a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartAxisTitleFormat); + } + + /** + * Creates a WorkbookChartAxisTitleFormat with a new object + * + * @param newWorkbookChartAxisTitleFormat the object to create/update + * @return the created WorkbookChartAxisTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitleFormat put(final WorkbookChartAxisTitleFormat newWorkbookChartAxisTitleFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartAxisTitleFormat); + } + /** * Sets the select clause for the request * 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 7fa224dce2a..00c338b7d5a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartAxisTitleRequest.java @@ -113,6 +113,27 @@ public WorkbookChartAxisTitle post(final WorkbookChartAxisTitle newWorkbookChart return send(HttpMethod.POST, newWorkbookChartAxisTitle); } + /** + * Creates a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartAxisTitle newWorkbookChartAxisTitle, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartAxisTitle); + } + + /** + * Creates a WorkbookChartAxisTitle with a new object + * + * @param newWorkbookChartAxisTitle the object to create/update + * @return the created WorkbookChartAxisTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartAxisTitle put(final WorkbookChartAxisTitle newWorkbookChartAxisTitle) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartAxisTitle); + } + /** * Sets the select clause for the 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 a2ce1db5109..e96d7c1be1f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelFormatRequest.java @@ -115,6 +115,27 @@ public WorkbookChartDataLabelFormat post(final WorkbookChartDataLabelFormat newW return send(HttpMethod.POST, newWorkbookChartDataLabelFormat); } + /** + * Creates a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartDataLabelFormat); + } + + /** + * Creates a WorkbookChartDataLabelFormat with a new object + * + * @param newWorkbookChartDataLabelFormat the object to create/update + * @return the created WorkbookChartDataLabelFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabelFormat put(final WorkbookChartDataLabelFormat newWorkbookChartDataLabelFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartDataLabelFormat); + } + /** * Sets the select clause for the request * 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 6e43abf9727..1028c511b7f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartDataLabelsRequest.java @@ -113,6 +113,27 @@ public WorkbookChartDataLabels post(final WorkbookChartDataLabels newWorkbookCha return send(HttpMethod.POST, newWorkbookChartDataLabels); } + /** + * Creates a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartDataLabels newWorkbookChartDataLabels, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartDataLabels); + } + + /** + * Creates a WorkbookChartDataLabels with a new object + * + * @param newWorkbookChartDataLabels the object to create/update + * @return the created WorkbookChartDataLabels + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartDataLabels put(final WorkbookChartDataLabels newWorkbookChartDataLabels) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartDataLabels); + } + /** * Sets the select clause for the 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 4816ec87a66..8a9f700eb8f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFillRequest.java @@ -111,6 +111,27 @@ public WorkbookChartFill post(final WorkbookChartFill newWorkbookChartFill) thro return send(HttpMethod.POST, newWorkbookChartFill); } + /** + * Creates a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartFill newWorkbookChartFill, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartFill); + } + + /** + * Creates a WorkbookChartFill with a new object + * + * @param newWorkbookChartFill the object to create/update + * @return the created WorkbookChartFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFill put(final WorkbookChartFill newWorkbookChartFill) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartFill); + } + /** * Sets the select clause for the 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 683bc7147ca..4edc2110df4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartFontRequest.java @@ -111,6 +111,27 @@ public WorkbookChartFont post(final WorkbookChartFont newWorkbookChartFont) thro return send(HttpMethod.POST, newWorkbookChartFont); } + /** + * Creates a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartFont newWorkbookChartFont, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartFont); + } + + /** + * Creates a WorkbookChartFont with a new object + * + * @param newWorkbookChartFont the object to create/update + * @return the created WorkbookChartFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartFont put(final WorkbookChartFont newWorkbookChartFont) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartFont); + } + /** * Sets the select clause for the request * 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 1c3488ba858..ef5384de809 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesFormatRequest.java @@ -113,6 +113,27 @@ public WorkbookChartGridlinesFormat post(final WorkbookChartGridlinesFormat newW return send(HttpMethod.POST, newWorkbookChartGridlinesFormat); } + /** + * Creates a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartGridlinesFormat); + } + + /** + * Creates a WorkbookChartGridlinesFormat with a new object + * + * @param newWorkbookChartGridlinesFormat the object to create/update + * @return the created WorkbookChartGridlinesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlinesFormat put(final WorkbookChartGridlinesFormat newWorkbookChartGridlinesFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartGridlinesFormat); + } + /** * Sets the select clause for the request * 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 d13901839c5..d032ecbc04d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartGridlinesRequest.java @@ -113,6 +113,27 @@ public WorkbookChartGridlines post(final WorkbookChartGridlines newWorkbookChart return send(HttpMethod.POST, newWorkbookChartGridlines); } + /** + * Creates a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartGridlines newWorkbookChartGridlines, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartGridlines); + } + + /** + * Creates a WorkbookChartGridlines with a new object + * + * @param newWorkbookChartGridlines the object to create/update + * @return the created WorkbookChartGridlines + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartGridlines put(final WorkbookChartGridlines newWorkbookChartGridlines) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartGridlines); + } + /** * Sets the select clause for the 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 fb88515e882..1bfe3346126 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendFormatRequest.java @@ -115,6 +115,27 @@ public WorkbookChartLegendFormat post(final WorkbookChartLegendFormat newWorkboo return send(HttpMethod.POST, newWorkbookChartLegendFormat); } + /** + * Creates a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartLegendFormat newWorkbookChartLegendFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartLegendFormat); + } + + /** + * Creates a WorkbookChartLegendFormat with a new object + * + * @param newWorkbookChartLegendFormat the object to create/update + * @return the created WorkbookChartLegendFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegendFormat put(final WorkbookChartLegendFormat newWorkbookChartLegendFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartLegendFormat); + } + /** * Sets the select clause for the request * 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 36cab6169f5..f56c46635ce 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLegendRequest.java @@ -113,6 +113,27 @@ public WorkbookChartLegend post(final WorkbookChartLegend newWorkbookChartLegend return send(HttpMethod.POST, newWorkbookChartLegend); } + /** + * Creates a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartLegend newWorkbookChartLegend, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartLegend); + } + + /** + * Creates a WorkbookChartLegend with a new object + * + * @param newWorkbookChartLegend the object to create/update + * @return the created WorkbookChartLegend + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLegend put(final WorkbookChartLegend newWorkbookChartLegend) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartLegend); + } + /** * Sets the select clause for the 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 036a76625cf..e5bfcb675f3 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartLineFormatRequest.java @@ -111,6 +111,27 @@ public WorkbookChartLineFormat post(final WorkbookChartLineFormat newWorkbookCha return send(HttpMethod.POST, newWorkbookChartLineFormat); } + /** + * Creates a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartLineFormat newWorkbookChartLineFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartLineFormat); + } + + /** + * Creates a WorkbookChartLineFormat with a new object + * + * @param newWorkbookChartLineFormat the object to create/update + * @return the created WorkbookChartLineFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartLineFormat put(final WorkbookChartLineFormat newWorkbookChartLineFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartLineFormat); + } + /** * Sets the select clause for the 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 ab2d3267468..cdbfb2ba41f 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointFormatRequest.java @@ -113,6 +113,27 @@ public WorkbookChartPointFormat post(final WorkbookChartPointFormat newWorkbookC return send(HttpMethod.POST, newWorkbookChartPointFormat); } + /** + * Creates a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartPointFormat newWorkbookChartPointFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartPointFormat); + } + + /** + * Creates a WorkbookChartPointFormat with a new object + * + * @param newWorkbookChartPointFormat the object to create/update + * @return the created WorkbookChartPointFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPointFormat put(final WorkbookChartPointFormat newWorkbookChartPointFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartPointFormat); + } + /** * Sets the select clause for the 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 d7f34cceb15..ea075afbc94 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartPointRequest.java @@ -113,6 +113,27 @@ public WorkbookChartPoint post(final WorkbookChartPoint newWorkbookChartPoint) t return send(HttpMethod.POST, newWorkbookChartPoint); } + /** + * Creates a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartPoint newWorkbookChartPoint, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartPoint); + } + + /** + * Creates a WorkbookChartPoint with a new object + * + * @param newWorkbookChartPoint the object to create/update + * @return the created WorkbookChartPoint + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartPoint put(final WorkbookChartPoint newWorkbookChartPoint) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartPoint); + } + /** * Sets the select clause for the request * 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 55a4923cc5f..c7d70e8b640 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartRequest.java @@ -127,6 +127,27 @@ public WorkbookChart post(final WorkbookChart newWorkbookChart) throws ClientExc return send(HttpMethod.POST, newWorkbookChart); } + /** + * Creates a WorkbookChart with a new object + * + * @param newWorkbookChart the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChart newWorkbookChart, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChart); + } + + /** + * Creates a WorkbookChart with a new object + * + * @param newWorkbookChart the object to create/update + * @return the created WorkbookChart + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChart put(final WorkbookChart newWorkbookChart) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChart); + } + /** * Sets the select clause for the 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 8a446b82900..a4caf93afa1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesFormatRequest.java @@ -115,6 +115,27 @@ public WorkbookChartSeriesFormat post(final WorkbookChartSeriesFormat newWorkboo return send(HttpMethod.POST, newWorkbookChartSeriesFormat); } + /** + * Creates a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartSeriesFormat); + } + + /** + * Creates a WorkbookChartSeriesFormat with a new object + * + * @param newWorkbookChartSeriesFormat the object to create/update + * @return the created WorkbookChartSeriesFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeriesFormat put(final WorkbookChartSeriesFormat newWorkbookChartSeriesFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartSeriesFormat); + } + /** * Sets the select clause for the 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 2c30c7deeb4..f61ee13b88a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartSeriesRequest.java @@ -117,6 +117,27 @@ public WorkbookChartSeries post(final WorkbookChartSeries newWorkbookChartSeries return send(HttpMethod.POST, newWorkbookChartSeries); } + /** + * Creates a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartSeries newWorkbookChartSeries, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartSeries); + } + + /** + * Creates a WorkbookChartSeries with a new object + * + * @param newWorkbookChartSeries the object to create/update + * @return the created WorkbookChartSeries + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartSeries put(final WorkbookChartSeries newWorkbookChartSeries) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartSeries); + } + /** * Sets the select clause for the 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 d6f2a09ef08..c800395876b 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleFormatRequest.java @@ -115,6 +115,27 @@ public WorkbookChartTitleFormat post(final WorkbookChartTitleFormat newWorkbookC return send(HttpMethod.POST, newWorkbookChartTitleFormat); } + /** + * Creates a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartTitleFormat newWorkbookChartTitleFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartTitleFormat); + } + + /** + * Creates a WorkbookChartTitleFormat with a new object + * + * @param newWorkbookChartTitleFormat the object to create/update + * @return the created WorkbookChartTitleFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitleFormat put(final WorkbookChartTitleFormat newWorkbookChartTitleFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartTitleFormat); + } + /** * Sets the select clause for the request * 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 435ca8ced95..6a2f7f780c1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookChartTitleRequest.java @@ -113,6 +113,27 @@ public WorkbookChartTitle post(final WorkbookChartTitle newWorkbookChartTitle) t return send(HttpMethod.POST, newWorkbookChartTitle); } + /** + * Creates a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookChartTitle newWorkbookChartTitle, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookChartTitle); + } + + /** + * Creates a WorkbookChartTitle with a new object + * + * @param newWorkbookChartTitle the object to create/update + * @return the created WorkbookChartTitle + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookChartTitle put(final WorkbookChartTitle newWorkbookChartTitle) throws ClientException { + return send(HttpMethod.PUT, newWorkbookChartTitle); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentReplyRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentReplyRequest.java index 21c908dd6a9..1040fb92b32 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentReplyRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentReplyRequest.java @@ -111,6 +111,27 @@ public WorkbookCommentReply post(final WorkbookCommentReply newWorkbookCommentRe return send(HttpMethod.POST, newWorkbookCommentReply); } + /** + * Creates a WorkbookCommentReply with a new object + * + * @param newWorkbookCommentReply the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookCommentReply newWorkbookCommentReply, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookCommentReply); + } + + /** + * Creates a WorkbookCommentReply with a new object + * + * @param newWorkbookCommentReply the object to create/update + * @return the created WorkbookCommentReply + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookCommentReply put(final WorkbookCommentReply newWorkbookCommentReply) throws ClientException { + return send(HttpMethod.PUT, newWorkbookCommentReply); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentRequest.java index bce390a8d6c..3276c8e6dcf 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookCommentRequest.java @@ -115,6 +115,27 @@ public WorkbookComment post(final WorkbookComment newWorkbookComment) throws Cli return send(HttpMethod.POST, newWorkbookComment); } + /** + * Creates a WorkbookComment with a new object + * + * @param newWorkbookComment the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookComment newWorkbookComment, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookComment); + } + + /** + * Creates a WorkbookComment with a new object + * + * @param newWorkbookComment the object to create/update + * @return the created WorkbookComment + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookComment put(final WorkbookComment newWorkbookComment) throws ClientException { + return send(HttpMethod.PUT, newWorkbookComment); + } + /** * Sets the select clause for the 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 ec0f0fc3d54..7311d4a4032 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFilterRequest.java @@ -113,6 +113,27 @@ public WorkbookFilter post(final WorkbookFilter newWorkbookFilter) throws Client return send(HttpMethod.POST, newWorkbookFilter); } + /** + * Creates a WorkbookFilter with a new object + * + * @param newWorkbookFilter the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookFilter newWorkbookFilter, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookFilter); + } + + /** + * Creates a WorkbookFilter with a new object + * + * @param newWorkbookFilter the object to create/update + * @return the created WorkbookFilter + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFilter put(final WorkbookFilter newWorkbookFilter) throws ClientException { + return send(HttpMethod.PUT, newWorkbookFilter); + } + /** * Sets the select clause for the request * 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 5c7b97f5535..59432d77e18 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFormatProtectionRequest.java @@ -111,6 +111,27 @@ public WorkbookFormatProtection post(final WorkbookFormatProtection newWorkbookF return send(HttpMethod.POST, newWorkbookFormatProtection); } + /** + * Creates a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookFormatProtection newWorkbookFormatProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookFormatProtection); + } + + /** + * Creates a WorkbookFormatProtection with a new object + * + * @param newWorkbookFormatProtection the object to create/update + * @return the created WorkbookFormatProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFormatProtection put(final WorkbookFormatProtection newWorkbookFormatProtection) throws ClientException { + return send(HttpMethod.PUT, newWorkbookFormatProtection); + } + /** * Sets the select clause for the request * 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 bfb06d099f8..d13bd69a5bd 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionResultRequest.java @@ -111,6 +111,27 @@ public WorkbookFunctionResult post(final WorkbookFunctionResult newWorkbookFunct return send(HttpMethod.POST, newWorkbookFunctionResult); } + /** + * Creates a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookFunctionResult newWorkbookFunctionResult, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookFunctionResult); + } + + /** + * Creates a WorkbookFunctionResult with a new object + * + * @param newWorkbookFunctionResult the object to create/update + * @return the created WorkbookFunctionResult + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctionResult put(final WorkbookFunctionResult newWorkbookFunctionResult) throws ClientException { + return send(HttpMethod.PUT, newWorkbookFunctionResult); + } + /** * Sets the select clause for the 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 74bbe67d027..2e53977b876 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookFunctionsRequest.java @@ -112,6 +112,27 @@ public WorkbookFunctions post(final WorkbookFunctions newWorkbookFunctions) thro return send(HttpMethod.POST, newWorkbookFunctions); } + /** + * Creates a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookFunctions newWorkbookFunctions, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookFunctions); + } + + /** + * Creates a WorkbookFunctions with a new object + * + * @param newWorkbookFunctions the object to create/update + * @return the created WorkbookFunctions + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookFunctions put(final WorkbookFunctions newWorkbookFunctions) throws ClientException { + return send(HttpMethod.PUT, newWorkbookFunctions); + } + /** * Sets the select clause for the 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 e8b63e34512..98a00920689 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookNamedItemRequest.java @@ -114,6 +114,27 @@ public WorkbookNamedItem post(final WorkbookNamedItem newWorkbookNamedItem) thro return send(HttpMethod.POST, newWorkbookNamedItem); } + /** + * Creates a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookNamedItem newWorkbookNamedItem, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookNamedItem); + } + + /** + * Creates a WorkbookNamedItem with a new object + * + * @param newWorkbookNamedItem the object to create/update + * @return the created WorkbookNamedItem + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookNamedItem put(final WorkbookNamedItem newWorkbookNamedItem) throws ClientException { + return send(HttpMethod.PUT, newWorkbookNamedItem); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookOperationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookOperationRequest.java index de4ca16379e..957f67dbec1 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookOperationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookOperationRequest.java @@ -111,6 +111,27 @@ public WorkbookOperation post(final WorkbookOperation newWorkbookOperation) thro return send(HttpMethod.POST, newWorkbookOperation); } + /** + * Creates a WorkbookOperation with a new object + * + * @param newWorkbookOperation the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookOperation newWorkbookOperation, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookOperation); + } + + /** + * Creates a WorkbookOperation with a new object + * + * @param newWorkbookOperation the object to create/update + * @return the created WorkbookOperation + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookOperation put(final WorkbookOperation newWorkbookOperation) throws ClientException { + return send(HttpMethod.PUT, newWorkbookOperation); + } + /** * Sets the select clause for the 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 6348e858747..250226296c8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookPivotTableRequest.java @@ -113,6 +113,27 @@ public WorkbookPivotTable post(final WorkbookPivotTable newWorkbookPivotTable) t return send(HttpMethod.POST, newWorkbookPivotTable); } + /** + * Creates a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookPivotTable newWorkbookPivotTable, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookPivotTable); + } + + /** + * Creates a WorkbookPivotTable with a new object + * + * @param newWorkbookPivotTable the object to create/update + * @return the created WorkbookPivotTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookPivotTable put(final WorkbookPivotTable newWorkbookPivotTable) throws ClientException { + return send(HttpMethod.PUT, newWorkbookPivotTable); + } + /** * Sets the select clause for the 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 ef4bbe261c6..8f0120caaa6 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeBorderRequest.java @@ -111,6 +111,27 @@ public WorkbookRangeBorder post(final WorkbookRangeBorder newWorkbookRangeBorder return send(HttpMethod.POST, newWorkbookRangeBorder); } + /** + * Creates a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookRangeBorder newWorkbookRangeBorder, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookRangeBorder); + } + + /** + * Creates a WorkbookRangeBorder with a new object + * + * @param newWorkbookRangeBorder the object to create/update + * @return the created WorkbookRangeBorder + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeBorder put(final WorkbookRangeBorder newWorkbookRangeBorder) throws ClientException { + return send(HttpMethod.PUT, newWorkbookRangeBorder); + } + /** * Sets the select clause for the 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 9bc77d9b65f..5cffb3c3fb8 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFillRequest.java @@ -111,6 +111,27 @@ public WorkbookRangeFill post(final WorkbookRangeFill newWorkbookRangeFill) thro return send(HttpMethod.POST, newWorkbookRangeFill); } + /** + * Creates a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookRangeFill newWorkbookRangeFill, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookRangeFill); + } + + /** + * Creates a WorkbookRangeFill with a new object + * + * @param newWorkbookRangeFill the object to create/update + * @return the created WorkbookRangeFill + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFill put(final WorkbookRangeFill newWorkbookRangeFill) throws ClientException { + return send(HttpMethod.PUT, newWorkbookRangeFill); + } + /** * Sets the select clause for the request * 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 7ed91097d57..765ec5e7a23 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFontRequest.java @@ -111,6 +111,27 @@ public WorkbookRangeFont post(final WorkbookRangeFont newWorkbookRangeFont) thro return send(HttpMethod.POST, newWorkbookRangeFont); } + /** + * Creates a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookRangeFont newWorkbookRangeFont, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookRangeFont); + } + + /** + * Creates a WorkbookRangeFont with a new object + * + * @param newWorkbookRangeFont the object to create/update + * @return the created WorkbookRangeFont + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFont put(final WorkbookRangeFont newWorkbookRangeFont) throws ClientException { + return send(HttpMethod.PUT, newWorkbookRangeFont); + } + /** * Sets the select clause for the 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 4e637d94d32..038c60c94f4 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeFormatRequest.java @@ -121,6 +121,27 @@ public WorkbookRangeFormat post(final WorkbookRangeFormat newWorkbookRangeFormat return send(HttpMethod.POST, newWorkbookRangeFormat); } + /** + * Creates a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookRangeFormat newWorkbookRangeFormat, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookRangeFormat); + } + + /** + * Creates a WorkbookRangeFormat with a new object + * + * @param newWorkbookRangeFormat the object to create/update + * @return the created WorkbookRangeFormat + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeFormat put(final WorkbookRangeFormat newWorkbookRangeFormat) throws ClientException { + return send(HttpMethod.PUT, newWorkbookRangeFormat); + } + /** * Sets the select clause for the 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 0a5ab5d210b..cd95150265a 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeRequest.java @@ -118,6 +118,27 @@ public WorkbookRange post(final WorkbookRange newWorkbookRange) throws ClientExc return send(HttpMethod.POST, newWorkbookRange); } + /** + * Creates a WorkbookRange with a new object + * + * @param newWorkbookRange the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookRange newWorkbookRange, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookRange); + } + + /** + * Creates a WorkbookRange with a new object + * + * @param newWorkbookRange the object to create/update + * @return the created WorkbookRange + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRange put(final WorkbookRange newWorkbookRange) throws ClientException { + return send(HttpMethod.PUT, newWorkbookRange); + } + /** * Sets the select clause for the 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 d1762c6f221..fb7d8a0780e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeSortRequest.java @@ -112,6 +112,27 @@ public WorkbookRangeSort post(final WorkbookRangeSort newWorkbookRangeSort) thro return send(HttpMethod.POST, newWorkbookRangeSort); } + /** + * Creates a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookRangeSort newWorkbookRangeSort, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookRangeSort); + } + + /** + * Creates a WorkbookRangeSort with a new object + * + * @param newWorkbookRangeSort the object to create/update + * @return the created WorkbookRangeSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeSort put(final WorkbookRangeSort newWorkbookRangeSort) throws ClientException { + return send(HttpMethod.PUT, newWorkbookRangeSort); + } + /** * Sets the select clause for the 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 c9657152835..8b2484d165c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRangeViewRequest.java @@ -116,6 +116,27 @@ public WorkbookRangeView post(final WorkbookRangeView newWorkbookRangeView) thro return send(HttpMethod.POST, newWorkbookRangeView); } + /** + * Creates a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookRangeView newWorkbookRangeView, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookRangeView); + } + + /** + * Creates a WorkbookRangeView with a new object + * + * @param newWorkbookRangeView the object to create/update + * @return the created WorkbookRangeView + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookRangeView put(final WorkbookRangeView newWorkbookRangeView) throws ClientException { + return send(HttpMethod.PUT, newWorkbookRangeView); + } + /** * Sets the select clause for the 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 607be6040fc..c1d92974add 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookRequest.java @@ -136,6 +136,27 @@ public Workbook post(final Workbook newWorkbook) throws ClientException { return send(HttpMethod.POST, newWorkbook); } + /** + * Creates a Workbook with a new object + * + * @param newWorkbook the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final Workbook newWorkbook, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbook); + } + + /** + * Creates a Workbook with a new object + * + * @param newWorkbook the object to create/update + * @return the created Workbook + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public Workbook put(final Workbook newWorkbook) throws ClientException { + return send(HttpMethod.PUT, newWorkbook); + } + /** * Sets the select clause for the 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 de5e6b5812f..62ab6eb2745 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableColumnRequest.java @@ -114,6 +114,27 @@ public WorkbookTableColumn post(final WorkbookTableColumn newWorkbookTableColumn return send(HttpMethod.POST, newWorkbookTableColumn); } + /** + * Creates a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookTableColumn newWorkbookTableColumn, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookTableColumn); + } + + /** + * Creates a WorkbookTableColumn with a new object + * + * @param newWorkbookTableColumn the object to create/update + * @return the created WorkbookTableColumn + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableColumn put(final WorkbookTableColumn newWorkbookTableColumn) throws ClientException { + return send(HttpMethod.PUT, newWorkbookTableColumn); + } + /** * Sets the select clause for the 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 30222a19835..2579d2a153d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRequest.java @@ -124,6 +124,27 @@ public WorkbookTable post(final WorkbookTable newWorkbookTable) throws ClientExc return send(HttpMethod.POST, newWorkbookTable); } + /** + * Creates a WorkbookTable with a new object + * + * @param newWorkbookTable the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookTable newWorkbookTable, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookTable); + } + + /** + * Creates a WorkbookTable with a new object + * + * @param newWorkbookTable the object to create/update + * @return the created WorkbookTable + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTable put(final WorkbookTable newWorkbookTable) throws ClientException { + return send(HttpMethod.PUT, newWorkbookTable); + } + /** * Sets the select clause for the 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 4dab141f3d0..d2efea34417 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableRowRequest.java @@ -112,6 +112,27 @@ public WorkbookTableRow post(final WorkbookTableRow newWorkbookTableRow) throws return send(HttpMethod.POST, newWorkbookTableRow); } + /** + * Creates a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookTableRow newWorkbookTableRow, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookTableRow); + } + + /** + * Creates a WorkbookTableRow with a new object + * + * @param newWorkbookTableRow the object to create/update + * @return the created WorkbookTableRow + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableRow put(final WorkbookTableRow newWorkbookTableRow) throws ClientException { + return send(HttpMethod.PUT, newWorkbookTableRow); + } + /** * Sets the select clause for the 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 14bf07c159a..abcbe0be47e 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookTableSortRequest.java @@ -112,6 +112,27 @@ public WorkbookTableSort post(final WorkbookTableSort newWorkbookTableSort) thro return send(HttpMethod.POST, newWorkbookTableSort); } + /** + * Creates a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookTableSort newWorkbookTableSort, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookTableSort); + } + + /** + * Creates a WorkbookTableSort with a new object + * + * @param newWorkbookTableSort the object to create/update + * @return the created WorkbookTableSort + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookTableSort put(final WorkbookTableSort newWorkbookTableSort) throws ClientException { + return send(HttpMethod.PUT, newWorkbookTableSort); + } + /** * Sets the select clause for the 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 9faa86ba22d..46d9c0b6057 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetProtectionRequest.java @@ -112,6 +112,27 @@ public WorkbookWorksheetProtection post(final WorkbookWorksheetProtection newWor return send(HttpMethod.POST, newWorkbookWorksheetProtection); } + /** + * Creates a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookWorksheetProtection newWorkbookWorksheetProtection, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookWorksheetProtection); + } + + /** + * Creates a WorkbookWorksheetProtection with a new object + * + * @param newWorkbookWorksheetProtection the object to create/update + * @return the created WorkbookWorksheetProtection + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheetProtection put(final WorkbookWorksheetProtection newWorkbookWorksheetProtection) throws ClientException { + return send(HttpMethod.PUT, newWorkbookWorksheetProtection); + } + /** * Sets the select clause for the 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 deed4076aeb..2740346e86d 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkbookWorksheetRequest.java @@ -130,6 +130,27 @@ public WorkbookWorksheet post(final WorkbookWorksheet newWorkbookWorksheet) thro return send(HttpMethod.POST, newWorkbookWorksheet); } + /** + * Creates a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkbookWorksheet newWorkbookWorksheet, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkbookWorksheet); + } + + /** + * Creates a WorkbookWorksheet with a new object + * + * @param newWorkbookWorksheet the object to create/update + * @return the created WorkbookWorksheet + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkbookWorksheet put(final WorkbookWorksheet newWorkbookWorksheet) throws ClientException { + return send(HttpMethod.PUT, newWorkbookWorksheet); + } + /** * Sets the select clause for the request * diff --git a/src/main/java/com/microsoft/graph/requests/extensions/WorkforceIntegrationRequest.java b/src/main/java/com/microsoft/graph/requests/extensions/WorkforceIntegrationRequest.java index 1271a7d705f..17fbe8d0b6c 100644 --- a/src/main/java/com/microsoft/graph/requests/extensions/WorkforceIntegrationRequest.java +++ b/src/main/java/com/microsoft/graph/requests/extensions/WorkforceIntegrationRequest.java @@ -111,6 +111,27 @@ public WorkforceIntegration post(final WorkforceIntegration newWorkforceIntegrat return send(HttpMethod.POST, newWorkforceIntegration); } + /** + * Creates a WorkforceIntegration with a new object + * + * @param newWorkforceIntegration the object to create/update + * @param callback the callback to be called after success or failure + */ + public void put(final WorkforceIntegration newWorkforceIntegration, final ICallback callback) { + send(HttpMethod.PUT, callback, newWorkforceIntegration); + } + + /** + * Creates a WorkforceIntegration with a new object + * + * @param newWorkforceIntegration the object to create/update + * @return the created WorkforceIntegration + * @throws ClientException this exception occurs if the request was unable to complete for any reason + */ + public WorkforceIntegration put(final WorkforceIntegration newWorkforceIntegration) throws ClientException { + return send(HttpMethod.PUT, newWorkforceIntegration); + } + /** * Sets the select clause for the request *