From 1744c4573dba75f64a3bb3d792b9c57c69af4661 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Sep 2020 18:09:55 +0000 Subject: [PATCH] Update generated beta Java models and requests with build 3629075 --- .../models/extensions/CallRecord.java | 66 +- .../models/extensions/DeviceInfo.java | 144 +- .../extensions/DirectRoutingLogRow.java | 112 +- .../models/extensions/FailureInfo.java | 16 +- .../callrecords/models/extensions/Media.java | 34 +- .../models/extensions/MediaStream.java | 200 +- .../models/extensions/NetworkInfo.java | 168 +- .../extensions/ParticipantEndpoint.java | 18 +- .../models/extensions/PstnCallLogRow.java | 126 +- .../models/extensions/Segment.java | 32 +- .../models/extensions/Session.java | 42 +- .../models/extensions/UserAgent.java | 16 +- .../models/extensions/UserFeedback.java | 16 +- .../CallRecordCollectionRequest.java | 25 +- .../extensions/CallRecordRequest.java | 21 + .../ICallRecordCollectionRequest.java | 16 + .../extensions/ICallRecordRequest.java | 17 + .../extensions/ISegmentCollectionRequest.java | 16 + .../requests/extensions/ISegmentRequest.java | 17 + .../extensions/ISessionCollectionRequest.java | 16 + .../requests/extensions/ISessionRequest.java | 17 + .../extensions/SegmentCollectionRequest.java | 25 +- .../requests/extensions/SegmentRequest.java | 21 + .../extensions/SessionCollectionRequest.java | 25 +- .../requests/extensions/SessionRequest.java | 21 + .../extensions/AadUserConversationMember.java | 16 +- .../models/extensions/AccessPackage.java | 86 +- .../extensions/AccessPackageAssignment.java | 61 +- .../AccessPackageAssignmentPolicy.java | 68 +- .../AccessPackageAssignmentRequest.java | 51 +- .../AccessPackageAssignmentResourceRole.java | 22 +- .../extensions/AccessPackageCatalog.java | 88 +- .../extensions/AccessPackageResource.java | 88 +- .../AccessPackageResourceRequest.java | 28 +- .../extensions/AccessPackageResourceRole.java | 12 +- .../AccessPackageResourceScope.java | 22 +- .../extensions/AccessPackageSubject.java | 36 +- .../graph/models/extensions/AccessReview.java | 122 +- .../extensions/AccessReviewDecision.java | 52 +- .../extensions/AccessReviewInstance.java | 12 +- .../AccessReviewInstanceDecisionItem.java | 46 +- ...nceDecisionItemServicePrincipalTarget.java | 12 +- ...sReviewInstanceDecisionItemUserTarget.java | 12 +- .../AccessReviewRecurrenceSettings.java | 24 +- .../AccessReviewScheduleDefinition.java | 50 +- .../AccessReviewScheduleSettings.java | 56 +- .../extensions/AccessReviewSettings.java | 56 +- .../graph/models/extensions/Account.java | 36 +- .../graph/models/extensions/Acl.java | 26 +- .../extensions/ActivityHistoryItem.java | 32 +- .../models/extensions/ActivityStatistics.java | 18 +- .../extensions/AddContentFooterAction.java | 30 +- .../extensions/AddContentHeaderAction.java | 30 +- .../graph/models/extensions/AddFooter.java | 12 +- .../graph/models/extensions/AddHeader.java | 12 +- .../graph/models/extensions/AddIn.java | 12 +- .../models/extensions/AddWatermarkAction.java | 36 +- .../extensions/AdminConsentRequestPolicy.java | 16 +- .../models/extensions/AdministrativeUnit.java | 12 +- ...rotectionOnboardingDeviceSettingState.java | 80 +- ...hreatProtectionOnboardingStateSummary.java | 64 +- .../extensions/AgedAccountsPayable.java | 36 +- .../extensions/AgedAccountsReceivable.java | 40 +- .../graph/models/extensions/Agreement.java | 74 +- .../extensions/AgreementAcceptance.java | 64 +- .../extensions/AgreementFileProperties.java | 18 +- .../extensions/AirPrintDestination.java | 24 +- .../extensions/AllowedDataLocation.java | 12 +- .../extensions/AlternativeSecurityId.java | 16 +- .../AndroidCertificateProfileBase.java | 52 +- .../extensions/AndroidCompliancePolicy.java | 194 +- ...roidDeviceOwnerCertificateProfileBase.java | 42 +- .../AndroidDeviceOwnerCompliancePolicy.java | 104 +- .../AndroidDeviceOwnerEnrollmentProfile.java | 88 +- ...eviceOwnerEnterpriseWiFiConfiguration.java | 38 +- ...DeviceOwnerGeneralDeviceConfiguration.java | 314 +-- .../AndroidDeviceOwnerGlobalProxyDirect.java | 16 +- ...roidDeviceOwnerPkcsCertificateProfile.java | 42 +- ...roidDeviceOwnerScepCertificateProfile.java | 62 +- ...roidDeviceOwnerTrustedRootCertificate.java | 16 +- .../AndroidDeviceOwnerVpnConfiguration.java | 42 +- .../AndroidDeviceOwnerWiFiConfiguration.java | 40 +- .../AndroidEasEmailProfileConfiguration.java | 74 +- .../AndroidEnterpriseWiFiConfiguration.java | 44 +- .../models/extensions/AndroidForWorkApp.java | 32 +- ...roidForWorkAppConfigurationSchemaItem.java | 56 +- .../AndroidForWorkCertificateProfileBase.java | 42 +- .../AndroidForWorkCompliancePolicy.java | 154 +- .../AndroidForWorkEnrollmentProfile.java | 64 +- ...oidForWorkEnterpriseWiFiConfiguration.java | 36 +- ...roidForWorkGeneralDeviceConfiguration.java | 200 +- .../AndroidForWorkPkcsCertificateProfile.java | 16 +- .../AndroidForWorkScepCertificateProfile.java | 62 +- .../extensions/AndroidForWorkSettings.java | 50 +- .../AndroidForWorkTrustedRootCertificate.java | 16 +- .../AndroidForWorkVpnConfiguration.java | 60 +- .../AndroidForWorkWiFiConfiguration.java | 32 +- .../AndroidGeneralDeviceConfiguration.java | 168 +- .../models/extensions/AndroidLobApp.java | 32 +- .../AndroidManagedAppProtection.java | 196 +- ...ManagedStoreAccountEnterpriseSettings.java | 84 +- .../extensions/AndroidManagedStoreApp.java | 56 +- .../AndroidManagedStoreAppConfiguration.java | 16 +- ...oidManagedStoreAppConfigurationSchema.java | 16 +- ...anagedStoreAppConfigurationSchemaItem.java | 80 +- .../AndroidManagedStoreAppTrack.java | 16 +- .../extensions/AndroidPermissionAction.java | 16 +- .../AndroidPkcsCertificateProfile.java | 16 +- .../AndroidScepCertificateProfile.java | 44 +- .../models/extensions/AndroidStoreApp.java | 16 +- .../AndroidTrustedRootCertificate.java | 16 +- .../extensions/AndroidVpnConfiguration.java | 60 +- .../extensions/AndroidWiFiConfiguration.java | 32 +- ...roidWorkProfileCertificateProfileBase.java | 42 +- .../AndroidWorkProfileCompliancePolicy.java | 162 +- ...orkProfileEnterpriseWiFiConfiguration.java | 44 +- ...WorkProfileGeneralDeviceConfiguration.java | 200 +- ...roidWorkProfilePkcsCertificateProfile.java | 40 +- ...roidWorkProfileScepCertificateProfile.java | 62 +- ...roidWorkProfileTrustedRootCertificate.java | 16 +- .../AndroidWorkProfileVpnConfiguration.java | 92 +- .../AndroidWorkProfileWiFiConfiguration.java | 32 +- .../models/extensions/ApiApplication.java | 18 +- .../models/extensions/AppConsentRequest.java | 12 +- .../graph/models/extensions/AppListItem.java | 32 +- .../AppLogCollectionDownloadDetails.java | 16 +- .../extensions/AppLogCollectionRequest.java | 32 +- .../graph/models/extensions/AppScope.java | 12 +- .../AppVulnerabilityManagedDevice.java | 16 +- .../extensions/AppVulnerabilityMobileApp.java | 24 +- .../extensions/AppVulnerabilityTask.java | 16 +- .../AppleOwnerTypeEnrollmentType.java | 18 +- .../ApplePushNotificationCertificate.java | 48 +- .../AppleUserInitiatedEnrollmentProfile.java | 58 +- .../AppleVpnAlwaysOnConfiguration.java | 74 +- .../extensions/AppleVpnConfiguration.java | 124 +- .../graph/models/extensions/Application.java | 97 +- .../ApplicationSignInDetailedSummary.java | 18 +- .../extensions/ApplicationSignInSummary.java | 12 +- .../extensions/ApplicationTemplate.java | 42 +- .../AppliedConditionalAccessPolicy.java | 32 +- .../models/extensions/ApplyLabelAction.java | 26 +- .../graph/models/extensions/Approval.java | 28 +- .../models/extensions/ApprovalSettings.java | 30 +- .../models/extensions/ApprovalStage.java | 30 +- .../graph/models/extensions/ApprovalStep.java | 16 +- .../extensions/ApprovalWorkflowProvider.java | 40 +- .../models/extensions/ArchivedPrintJob.java | 86 +- .../models/extensions/AssignedLabel.java | 16 +- .../extensions/AssignmentReviewSettings.java | 32 +- .../graph/models/extensions/Attachment.java | 32 +- .../models/extensions/AttachmentItem.java | 32 +- .../graph/models/extensions/Attendee.java | 18 +- .../extensions/AttributeDefinition.java | 12 +- .../models/extensions/AudioConferencing.java | 16 +- .../models/extensions/AudioRoutingGroup.java | 16 +- .../extensions/AuditActivityInitiator.java | 18 +- .../graph/models/extensions/AuditActor.java | 72 +- .../graph/models/extensions/AuditEvent.java | 80 +- .../graph/models/extensions/AuditLogRoot.java | 100 +- .../models/extensions/AuditProperty.java | 16 +- .../models/extensions/AuditResource.java | 16 +- .../models/extensions/Authentication.java | 242 +- .../extensions/AuthenticationDetail.java | 28 +- .../extensions/AuthenticationFlowsPolicy.java | 12 +- .../AuthenticationRequirementPolicy.java | 12 +- .../extensions/AuthorizationPolicy.java | 9 + .../graph/models/extensions/AutoLabeling.java | 12 +- .../extensions/AutomaticRepliesMailTips.java | 16 +- .../extensions/AutomaticRepliesSetting.java | 42 +- .../extensions/AzureADFeatureUsage.java | 12 +- .../extensions/AzureADLicenseUsage.java | 12 +- .../extensions/AzureADUserFeatureUsage.java | 44 +- .../AzureActiveDirectoryTenant.java | 12 +- .../BinaryManagementConditionExpression.java | 18 +- .../extensions/BitLockerFixedDrivePolicy.java | 16 +- .../extensions/BitLockerRecoveryOptions.java | 42 +- .../BitLockerRemovableDrivePolicy.java | 16 +- .../BitLockerSystemDrivePolicy.java | 90 +- .../extensions/BitlockerRecoveryKey.java | 16 +- .../models/extensions/BookingAppointment.java | 148 +- .../models/extensions/BookingBusiness.java | 62 +- .../models/extensions/BookingReminder.java | 16 +- .../extensions/BookingSchedulingPolicy.java | 32 +- .../models/extensions/BookingService.java | 12 +- .../extensions/BookingWorkTimeSlot.java | 12 +- .../BulkManagedDeviceActionResult.java | 16 +- .../graph/models/extensions/Bundle.java | 12 +- .../graph/models/extensions/BusinessFlow.java | 46 +- .../graph/models/extensions/Calendar.java | 234 +- .../models/extensions/CalendarGroup.java | 16 +- .../models/extensions/CalendarPermission.java | 34 +- .../extensions/CalendarSharingMessage.java | 16 +- .../CalendarSharingMessageAction.java | 16 +- .../graph/models/extensions/Call.java | 258 +- .../graph/models/extensions/CallRoute.java | 18 +- .../extensions/CallTranscriptionInfo.java | 16 +- .../extensions/CartToClassAssociation.java | 48 +- .../extensions/CertificateAuthority.java | 16 +- .../CertificateConnectorSetting.java | 32 +- .../models/extensions/ChangeNotification.java | 72 +- .../ChangeNotificationEncryptedContent.java | 12 +- .../extensions/ChangeTrackedEntity.java | 16 +- .../graph/models/extensions/Channel.java | 94 +- .../models/extensions/ChannelIdentity.java | 12 +- .../extensions/ChannelModerationSettings.java | 26 +- .../graph/models/extensions/Chat.java | 66 +- .../graph/models/extensions/ChatInfo.java | 16 +- .../graph/models/extensions/ChatMessage.java | 174 +- .../extensions/ChatMessageAttachment.java | 16 +- .../models/extensions/ChatMessageMention.java | 16 +- .../ChatMessagePolicyViolationPolicyTip.java | 12 +- .../extensions/ChatMessageReaction.java | 12 +- .../models/extensions/ClaimsMapping.java | 18 +- .../extensions/ClassifcationErrorBase.java | 16 +- .../extensions/ClassificationInnerError.java | 24 +- .../extensions/ClassificationResult.java | 12 +- .../extensions/ComanagedDevicesSummary.java | 48 +- .../ComanagementEligibleDevice.java | 108 +- .../ComanagementEligibleDevicesSummary.java | 24 +- .../graph/models/extensions/Command.java | 44 +- .../models/extensions/CommsOperation.java | 18 +- .../graph/models/extensions/Company.java | 784 +++--- .../models/extensions/CompanyDetail.java | 24 +- .../models/extensions/CompanyInformation.java | 60 +- .../CompanyPortalBlockedAction.java | 20 +- .../ComplianceManagementPartner.java | 82 +- .../ConditionalAccessApplications.java | 16 +- .../ConditionalAccessConditionSet.java | 70 +- .../ConditionalAccessDeviceStates.java | 12 +- .../extensions/ConditionalAccessDevices.java | 12 +- .../ConditionalAccessGrantControls.java | 16 +- .../ConditionalAccessLocations.java | 16 +- .../ConditionalAccessPlatforms.java | 16 +- .../extensions/ConditionalAccessPolicy.java | 56 +- .../extensions/ConditionalAccessRoot.java | 46 +- .../ConditionalAccessSessionControls.java | 18 +- .../extensions/ConditionalAccessUsers.java | 32 +- ...igurationManagerClientEnabledFeatures.java | 64 +- ...ConfigurationManagerClientHealthState.java | 16 +- .../extensions/ConnectedOrganization.java | 58 +- .../ConnectedOrganizationMembers.java | 12 +- .../extensions/ConnectionOperation.java | 14 +- .../graph/models/extensions/Connector.java | 12 +- .../models/extensions/ConnectorGroup.java | 62 +- .../graph/models/extensions/Contact.java | 290 +-- .../models/extensions/ContactFolder.java | 122 +- .../extensions/ContentClassification.java | 24 +- .../graph/models/extensions/ContentInfo.java | 18 +- .../models/extensions/ContentProperties.java | 12 +- .../ContinuousAccessEvaluationPolicy.java | 109 + .../graph/models/extensions/Conversation.java | 32 +- .../models/extensions/ConversationMember.java | 16 +- .../models/extensions/ConversationThread.java | 56 +- .../models/extensions/ConvertIdResult.java | 16 +- .../models/extensions/CopyNotebookModel.java | 88 +- .../models/extensions/CountryRegion.java | 16 +- .../graph/models/extensions/Credential.java | 12 +- .../CredentialSingleSignOnExtension.java | 32 +- .../extensions/CredentialUsageSummary.java | 26 +- .../CredentialUserRegistrationDetails.java | 42 +- .../models/extensions/CryptographySuite.java | 36 +- .../graph/models/extensions/Currency.java | 36 +- .../graph/models/extensions/CurrentLabel.java | 12 +- .../CustomSubjectAlternativeName.java | 16 +- .../models/extensions/CustomTimeZone.java | 18 +- .../extensions/CustomUpdateTimeWindow.java | 32 +- .../graph/models/extensions/Customer.java | 130 +- .../models/extensions/CustomerPayment.java | 78 +- .../extensions/CustomerPaymentJournal.java | 40 +- .../extensions/DataClassificationService.java | 144 +- .../extensions/DataPolicyOperation.java | 24 +- .../models/extensions/DataSharingConsent.java | 40 +- .../models/extensions/DataStoreField.java | 12 +- .../DefaultManagedAppProtection.java | 300 +-- .../DefenderDetectedMalwareActions.java | 16 +- .../DelegatedPermissionClassification.java | 16 +- .../extensions/DepEnrollmentBaseProfile.java | 160 +- .../extensions/DepEnrollmentProfile.java | 176 +- .../extensions/DepIOSEnrollmentProfile.java | 128 +- .../extensions/DepMacOSEnrollmentProfile.java | 16 +- .../extensions/DepOnboardingSetting.java | 64 +- .../graph/models/extensions/DetectedApp.java | 24 +- .../DetectedSensitiveContentBase.java | 24 +- .../graph/models/extensions/Device.java | 24 +- .../models/extensions/DeviceActionResult.java | 16 +- ...ceAndAppManagementAssignedRoleDetails.java | 16 +- ...eviceAndAppManagementAssignmentFilter.java | 32 +- .../extensions/DeviceAppManagement.java | 386 +-- .../extensions/DeviceAppManagementTask.java | 64 +- .../models/extensions/DeviceCategory.java | 16 +- .../DeviceComplianceActionItem.java | 24 +- .../DeviceComplianceDeviceOverview.java | 72 +- .../DeviceComplianceDeviceStatus.java | 40 +- .../extensions/DeviceCompliancePolicy.java | 164 +- .../DeviceCompliancePolicyAssignment.java | 18 +- ...iceCompliancePolicyDeviceStateSummary.java | 64 +- ...DeviceCompliancePolicyGroupAssignment.java | 16 +- .../DeviceCompliancePolicySettingState.java | 98 +- ...ceCompliancePolicySettingStateSummary.java | 64 +- .../DeviceCompliancePolicyState.java | 50 +- .../extensions/DeviceComplianceScript.java | 86 +- .../DeviceComplianceScriptDeviceState.java | 32 +- .../DeviceComplianceScriptRule.java | 34 +- .../DeviceComplianceScriptRunSummary.java | 32 +- ...eviceComplianceScriptValidationResult.java | 18 +- .../DeviceComplianceSettingState.java | 80 +- .../DeviceComplianceUserOverview.java | 56 +- .../DeviceComplianceUserStatus.java | 24 +- .../extensions/DeviceConfiguration.java | 172 +- .../DeviceConfigurationAssignment.java | 18 +- .../DeviceConfigurationDeviceOverview.java | 72 +- ...DeviceConfigurationDeviceStateSummary.java | 56 +- .../DeviceConfigurationDeviceStatus.java | 40 +- .../DeviceConfigurationGroupAssignment.java | 16 +- .../DeviceConfigurationSettingState.java | 98 +- .../extensions/DeviceConfigurationState.java | 50 +- ...iceConfigurationTargetedUserAndDevice.java | 24 +- .../DeviceConfigurationUserOverview.java | 56 +- .../DeviceConfigurationUserStateSummary.java | 56 +- .../DeviceConfigurationUserStatus.java | 24 +- .../graph/models/extensions/DeviceDetail.java | 48 +- .../DeviceEnrollmentConfiguration.java | 34 +- .../DeviceEnrollmentPlatformRestriction.java | 32 +- ...mentPlatformRestrictionsConfiguration.java | 48 +- ...tWindowsHelloForBusinessConfiguration.java | 90 +- .../DeviceExchangeAccessStateSummary.java | 16 +- .../models/extensions/DeviceGeoLocation.java | 64 +- .../DeviceHealthAttestationState.java | 248 +- .../models/extensions/DeviceHealthScript.java | 136 +- .../DeviceHealthScriptAssignment.java | 18 +- .../DeviceHealthScriptDeviceState.java | 56 +- .../DeviceHealthScriptParameter.java | 16 +- .../DeviceHealthScriptRemediationHistory.java | 16 +- ...iceHealthScriptRemediationHistoryData.java | 16 +- .../DeviceHealthScriptRemediationSummary.java | 16 +- .../DeviceHealthScriptRunSummary.java | 72 +- .../DeviceHealthScriptTimeSchedule.java | 16 +- .../models/extensions/DeviceInstallState.java | 48 +- .../graph/models/extensions/DeviceKey.java | 12 +- .../DeviceLogCollectionResponse.java | 56 +- .../models/extensions/DeviceManagement.java | 1464 +++++------ ...eManagementApplicabilityRuleOsEdition.java | 16 +- ...eManagementApplicabilityRuleOsVersion.java | 16 +- .../DeviceManagementAutopilotEvent.java | 188 +- ...ManagementAutopilotPolicyStatusDetail.java | 34 +- ...ceManagementCachedReportConfiguration.java | 56 +- ...ceManagementDerivedCredentialSettings.java | 16 +- .../extensions/DeviceManagementEnumValue.java | 16 +- .../DeviceManagementExchangeAccessRule.java | 18 +- .../DeviceManagementExchangeConnector.java | 74 +- ...iceManagementExchangeOnPremisesPolicy.java | 26 +- .../extensions/DeviceManagementExportJob.java | 56 +- .../extensions/DeviceManagementIntent.java | 124 +- ...gementIntentDeviceSettingStateSummary.java | 16 +- .../DeviceManagementIntentDeviceState.java | 40 +- .../DeviceManagementIntentUserState.java | 32 +- .../extensions/DeviceManagementPartner.java | 84 +- .../DeviceManagementReportSchedule.java | 90 +- .../extensions/DeviceManagementScript.java | 128 +- .../DeviceManagementScriptDeviceState.java | 32 +- .../DeviceManagementScriptRunSummary.java | 32 +- .../DeviceManagementScriptUserState.java | 16 +- ...ManagementSettingCollectionConstraint.java | 16 +- .../DeviceManagementSettingComparison.java | 40 +- .../DeviceManagementSettingDefinition.java | 58 +- .../DeviceManagementSettingDependency.java | 16 +- ...iceManagementSettingIntegerConstraint.java | 16 +- ...nagementSettingStringLengthConstraint.java | 16 +- .../extensions/DeviceManagementSettings.java | 72 +- .../extensions/DeviceManagementTemplate.java | 102 +- ...anagementTroubleshootingErrorResource.java | 16 +- .../DeviceManagementTroubleshootingEvent.java | 26 +- ...eManagementUserRightsLocalUserOrGroup.java | 16 +- .../DeviceManagementUserRightsSetting.java | 18 +- .../DeviceOperatingSystemSummary.java | 96 +- .../extensions/DeviceProtectionOverview.java | 80 +- .../extensions/DeviceRestrictionAction.java | 16 +- .../extensions/DeviceSetupConfiguration.java | 16 +- .../models/extensions/DeviceShellScript.java | 136 +- .../models/extensions/DirectoryAudit.java | 76 +- .../extensions/DirectoryDefinition.java | 12 +- .../extensions/DirectorySettingTemplate.java | 12 +- .../models/extensions/DirectorySizeQuota.java | 12 +- .../extensions/DiscoveredSensitiveType.java | 12 +- .../extensions/DisplayNameLocalization.java | 12 +- .../DlpEvaluatePoliciesRequest.java | 16 +- .../models/extensions/DlpEvaluationInput.java | 16 +- .../DlpWindowsDevicesNotification.java | 12 +- .../graph/models/extensions/Domain.java | 60 +- .../extensions/DomainIdentitySource.java | 12 +- .../graph/models/extensions/DomainState.java | 16 +- .../extensions/DowngradeJustification.java | 12 +- .../DriveItemUploadableProperties.java | 16 +- .../extensions/EBookInstallSummary.java | 32 +- .../EasEmailProfileConfigurationBase.java | 36 +- .../models/extensions/EdiscoveryCase.java | 54 +- .../EditionUpgradeConfiguration.java | 32 +- .../extensions/EducationAssignment.java | 148 +- .../models/extensions/EducationClass.java | 152 +- .../models/extensions/EducationCourse.java | 16 +- .../models/extensions/EducationFeedback.java | 14 +- ...ileSynchronizationVerificationMessage.java | 12 +- .../extensions/EducationFormResource.java | 18 +- .../EducationIdentityMatchingOptions.java | 12 +- .../models/extensions/EducationItemBody.java | 12 +- .../extensions/EducationOneNoteResource.java | 12 +- .../EducationOneRosterApiDataProvider.java | 34 +- .../extensions/EducationOrganization.java | 16 +- .../EducationPowerSchoolDataProvider.java | 30 +- .../models/extensions/EducationResource.java | 24 +- .../models/extensions/EducationRoot.java | 18 +- .../models/extensions/EducationRubric.java | 54 +- .../extensions/EducationRubricOutcome.java | 24 +- .../models/extensions/EducationSchool.java | 92 +- .../models/extensions/EducationStudent.java | 48 +- .../extensions/EducationSubmission.java | 112 +- .../EducationSubmissionResource.java | 12 +- ...EducationSynchronizationCustomization.java | 24 +- ...ducationSynchronizationCustomizations.java | 12 +- ...h2ClientCredentialsConnectionSettings.java | 12 +- .../EducationSynchronizationProfile.java | 22 +- ...EducationSynchronizationProfileStatus.java | 12 +- .../models/extensions/EducationTeacher.java | 16 +- .../models/extensions/EducationTerm.java | 32 +- .../models/extensions/EducationUser.java | 234 +- .../extensions/EmailActivitySummary.java | 36 +- .../extensions/EmailActivityUserDetail.java | 52 +- .../graph/models/extensions/EmailAddress.java | 16 +- .../EmailAppUsageAppsUserCounts.java | 48 +- .../extensions/EmailAppUsageUserCounts.java | 54 +- .../extensions/EmailAppUsageUserDetail.java | 70 +- .../EmailAppUsageVersionsUserCounts.java | 36 +- .../EmailFileAssessmentRequest.java | 16 +- .../EmbeddedSIMActivationCodePool.java | 40 +- .../extensions/EmbeddedSIMDeviceState.java | 48 +- .../graph/models/extensions/Employee.java | 82 +- .../extensions/EncryptWithTemplate.java | 12 +- .../EncryptWithUserDefinedRights.java | 12 +- .../graph/models/extensions/Endpoint.java | 16 +- .../EnrollmentConfigurationAssignment.java | 18 +- .../models/extensions/EnrollmentProfile.java | 32 +- ...estrictionsConfigurationPolicySetItem.java | 16 +- .../EnrollmentTroubleshootingEvent.java | 64 +- .../EnterpriseCodeSigningCertificate.java | 48 +- .../extensions/EntitlementManagement.java | 224 +- .../EntitlementManagementSettings.java | 12 +- .../graph/models/extensions/ErrorDetail.java | 16 +- .../EvaluateDynamicMembershipResult.java | 12 +- .../extensions/EvaluateLabelJobResult.java | 16 +- .../EvaluateLabelsAndPoliciesResult.java | 16 +- .../EvaluateSensitivityLabelsRequest.java | 14 +- .../graph/models/extensions/Event.java | 428 ++-- .../graph/models/extensions/EventMessage.java | 60 +- .../extensions/EventMessageRequest.java | 34 +- .../ExactMatchClassificationRequest.java | 16 +- .../extensions/ExactMatchDataStore.java | 12 +- .../models/extensions/ExactMatchJobBase.java | 28 +- .../models/extensions/ExactMatchSession.java | 70 +- .../extensions/ExactMatchUploadAgent.java | 12 +- .../models/extensions/ExpirationPattern.java | 103 + .../ExpressionEvaluationDetails.java | 16 +- .../models/extensions/ExtensionProperty.java | 16 +- .../models/extensions/ExternalConnection.java | 64 +- .../extensions/ExternalDomainFederation.java | 12 +- .../models/extensions/ExternalGroup.java | 12 +- .../extensions/ExternalGroupMember.java | 14 +- .../graph/models/extensions/ExternalItem.java | 16 +- .../extensions/ExternalItemContent.java | 12 +- .../extensions/FeatureRolloutPolicy.java | 24 +- .../models/extensions/FeatureUsageDetail.java | 24 +- .../extensions/Fido2KeyRestrictions.java | 12 +- .../extensions/FileAssessmentRequest.java | 16 +- .../models/extensions/FileAttachment.java | 16 +- .../models/extensions/FileEncryptionInfo.java | 32 +- .../graph/models/extensions/Filter.java | 16 +- .../graph/models/extensions/FollowupFlag.java | 16 +- .../models/extensions/GeneralLedgerEntry.java | 52 +- .../graph/models/extensions/GenericError.java | 16 +- .../GovernanceNotificationPolicy.java | 12 +- .../GovernanceNotificationTemplate.java | 24 +- .../models/extensions/GovernanceResource.java | 86 +- .../extensions/GovernanceRoleAssignment.java | 72 +- .../GovernanceRoleAssignmentRequest.java | 62 +- ...GovernanceRoleAssignmentRequestStatus.java | 12 +- .../extensions/GovernanceRoleDefinition.java | 18 +- .../extensions/GovernanceRoleSetting.java | 50 +- .../models/extensions/GovernanceSchedule.java | 24 +- .../models/extensions/GovernanceSubject.java | 18 +- .../graph/models/extensions/Group.java | 358 +-- .../GroupEvaluateDynamicMembershipBody.java | 8 - .../extensions/GroupLifecyclePolicy.java | 16 +- .../graph/models/extensions/GroupMembers.java | 12 +- .../extensions/GroupPolicyCategory.java | 26 +- .../extensions/GroupPolicyConfiguration.java | 68 +- .../extensions/GroupPolicyDefinition.java | 50 +- .../extensions/GroupPolicyDefinitionFile.java | 48 +- .../GroupPolicyDefinitionValue.java | 30 +- .../GroupPolicyMigrationReport.java | 74 +- .../extensions/GroupPolicyObjectFile.java | 32 +- .../extensions/GroupPolicyOperation.java | 26 +- .../GroupPolicyPresentationComboBox.java | 16 +- ...GroupPolicyPresentationDecimalTextBox.java | 32 +- ...pPolicyPresentationLongDecimalTextBox.java | 32 +- .../GroupPolicyPresentationMultiTextBox.java | 16 +- .../GroupPolicyPresentationTextBox.java | 16 +- .../GroupPolicyPresentationValue.java | 16 +- .../extensions/GroupPolicySettingMapping.java | 146 +- .../GroupPolicyUploadedDefinitionFile.java | 50 +- .../GroupPolicyUploadedLanguageFile.java | 32 +- .../extensions/GroupPrintUsageSummary.java | 28 +- .../extensions/HardwareInformation.java | 212 +- .../extensions/HasPayloadLinkResultItem.java | 16 +- .../HybridAgentUpdaterConfiguration.java | 16 +- .../extensions/IBaseGraphServiceClient.java | 763 +++--- .../extensions/IGraphServiceClient.java | 117 +- .../graph/models/extensions/Identity.java | 16 +- .../models/extensions/IdentityContainer.java | 59 +- .../models/extensions/IdentityGovernance.java | 18 +- .../models/extensions/IdentityProvider.java | 24 +- .../graph/models/extensions/ImageInfo.java | 32 +- .../extensions/ImplicitGrantSettings.java | 16 +- .../ImportedAppleDeviceIdentity.java | 80 +- .../extensions/ImportedDeviceIdentity.java | 58 +- ...mportedWindowsAutopilotDeviceIdentity.java | 56 +- ...edWindowsAutopilotDeviceIdentityState.java | 32 +- .../models/extensions/IncomingContext.java | 16 +- .../extensions/InformationProtection.java | 50 +- .../InformationProtectionContentLabel.java | 12 +- .../InformationProtectionLabel.java | 28 +- .../graph/models/extensions/Initiator.java | 12 +- .../models/extensions/InnerErrorDetail.java | 12 +- .../models/extensions/InsightIdentity.java | 16 +- .../extensions/InstanceResourceAccess.java | 12 +- .../graph/models/extensions/IntegerRange.java | 18 +- .../graph/models/extensions/IntuneBrand.java | 188 +- .../extensions/IntuneBrandingProfile.java | 228 +- .../graph/models/extensions/Invitation.java | 50 +- .../extensions/InvitationParticipantInfo.java | 18 +- .../extensions/InvitedUserMessageInfo.java | 16 +- .../extensions/IosAvailableUpdateVersion.java | 16 +- .../IosAzureAdSingleSignOnExtension.java | 16 +- .../graph/models/extensions/IosBookmark.java | 16 +- .../extensions/IosCertificateProfileBase.java | 44 +- .../extensions/IosCompliancePolicy.java | 146 +- .../IosCredentialSingleSignOnExtension.java | 32 +- .../extensions/IosCustomConfiguration.java | 16 +- .../IosDeviceFeaturesConfiguration.java | 52 +- .../IosEasEmailProfileConfiguration.java | 116 +- .../extensions/IosEduCertificateSettings.java | 56 +- .../extensions/IosEduDeviceConfiguration.java | 16 +- .../IosEnterpriseWiFiConfiguration.java | 70 +- .../IosGeneralDeviceConfiguration.java | 768 +++--- .../extensions/IosHomeScreenFolderPage.java | 16 +- .../IosKerberosSingleSignOnExtension.java | 112 +- .../graph/models/extensions/IosLobApp.java | 48 +- .../IosLobAppAssignmentSettings.java | 16 +- .../IosLobAppProvisioningConfiguration.java | 114 +- .../extensions/IosManagedAppProtection.java | 106 +- .../extensions/IosMinimumOperatingSystem.java | 32 +- .../extensions/IosNetworkUsageRule.java | 16 +- .../extensions/IosNotificationSettings.java | 48 +- .../extensions/IosPkcsCertificateProfile.java | 40 +- .../IosRedirectSingleSignOnExtension.java | 16 +- .../extensions/IosScepCertificateProfile.java | 70 +- .../graph/models/extensions/IosStoreApp.java | 16 +- .../IosStoreAppAssignmentSettings.java | 16 +- .../extensions/IosTrustedRootCertificate.java | 16 +- .../extensions/IosUpdateConfiguration.java | 50 +- .../extensions/IosUpdateDeviceStatus.java | 72 +- .../extensions/IosVpnConfiguration.java | 42 +- .../IosVpnSecurityAssociationParameters.java | 32 +- .../graph/models/extensions/IosVppApp.java | 84 +- .../IosVppAppAssignedDeviceLicense.java | 16 +- .../IosVppAppAssignmentSettings.java | 16 +- .../IosVppAppRevokeLicensesActionResult.java | 64 +- .../graph/models/extensions/IosVppEBook.java | 40 +- .../extensions/IosWiFiConfiguration.java | 66 +- .../extensions/IosikEv2VpnConfiguration.java | 66 +- .../graph/models/extensions/Item.java | 92 +- .../models/extensions/ItemActivityStat.java | 48 +- .../graph/models/extensions/ItemAddress.java | 12 +- .../models/extensions/ItemAnalytics.java | 12 +- .../graph/models/extensions/ItemBody.java | 16 +- .../graph/models/extensions/ItemFacet.java | 26 +- .../extensions/ItemInsightsSettings.java | 12 +- .../graph/models/extensions/ItemPhone.java | 12 +- .../models/extensions/JobResponseBase.java | 42 +- .../graph/models/extensions/Journal.java | 30 +- .../graph/models/extensions/JournalLine.java | 54 +- .../KerberosSingleSignOnExtension.java | 112 +- .../models/extensions/KeyCredential.java | 32 +- .../graph/models/extensions/LabelDetails.java | 40 +- .../models/extensions/LabelingOptions.java | 16 +- .../extensions/LanguageProficiency.java | 24 +- .../extensions/LicenseAssignmentState.java | 24 +- .../models/extensions/LicenseInfoDetail.java | 12 +- .../models/extensions/LinkedResource.java | 101 + .../extensions/LobbyBypassSettings.java | 95 + .../graph/models/extensions/LocaleInfo.java | 16 +- .../LocalizedNotificationMessage.java | 24 +- .../graph/models/extensions/Location.java | 40 +- .../models/extensions/LocationConstraint.java | 16 +- .../graph/models/extensions/LoggedOnUser.java | 16 +- .../extensions/LongRunningOperation.java | 16 +- .../extensions/MacOSAppleEventReceiver.java | 16 +- .../MacOSAzureAdSingleSignOnExtension.java | 16 +- .../MacOSCertificateProfileBase.java | 44 +- .../extensions/MacOSCompliancePolicy.java | 162 +- .../MacOSCredentialSingleSignOnExtension.java | 32 +- .../MacOSCustomAppConfiguration.java | 16 +- .../extensions/MacOSCustomConfiguration.java | 16 +- .../MacOSDeviceFeaturesConfiguration.java | 300 +-- .../MacOSEndpointProtectionConfiguration.java | 190 +- .../MacOSEnterpriseWiFiConfiguration.java | 54 +- .../MacOSExtensionsConfiguration.java | 40 +- .../extensions/MacOSFirewallApplication.java | 16 +- .../MacOSGeneralDeviceConfiguration.java | 386 +-- .../MacOSKerberosSingleSignOnExtension.java | 112 +- .../extensions/MacOSKernelExtension.java | 16 +- .../models/extensions/MacOSLaunchItem.java | 16 +- .../graph/models/extensions/MacOSLobApp.java | 58 +- .../models/extensions/MacOSLobChildApp.java | 16 +- .../MacOSMinimumOperatingSystem.java | 48 +- .../MacOSPkcsCertificateProfile.java | 56 +- .../MacOSPrivacyAccessControlItem.java | 162 +- .../MacOSRedirectSingleSignOnExtension.java | 16 +- .../MacOSScepCertificateProfile.java | 80 +- .../extensions/MacOSSystemExtension.java | 16 +- .../MacOSSystemExtensionTypeMapping.java | 16 +- .../MacOSTrustedRootCertificate.java | 16 +- .../extensions/MacOSWiFiConfiguration.java | 66 +- .../MacOSWiredNetworkConfiguration.java | 72 +- .../graph/models/extensions/MacOsVppApp.java | 66 +- ...MacOsVppAppRevokeLicensesActionResult.java | 64 +- .../extensions/MailAssessmentRequest.java | 16 +- .../graph/models/extensions/MailFolder.java | 136 +- .../models/extensions/MailSearchFolder.java | 24 +- .../graph/models/extensions/MailTips.java | 84 +- .../models/extensions/MailTipsError.java | 16 +- .../models/extensions/MailboxSettings.java | 69 +- .../models/extensions/MailboxUsageDetail.java | 84 +- .../extensions/MailboxUsageMailboxCounts.java | 30 +- .../MailboxUsageQuotaStatusMailboxCounts.java | 46 +- .../extensions/MailboxUsageStorage.java | 24 +- .../MalwareStateForWindowsDevice.java | 24 +- .../ManagedAllDeviceCertificateState.java | 80 +- .../extensions/ManagedAndroidLobApp.java | 32 +- .../extensions/ManagedAndroidStoreApp.java | 16 +- .../ManagedAppDiagnosticStatus.java | 16 +- .../models/extensions/ManagedAppPolicy.java | 16 +- .../ManagedAppPolicyDeploymentSummary.java | 24 +- ...nagedAppPolicyDeploymentSummaryPerApp.java | 16 +- .../extensions/ManagedAppProtection.java | 314 +-- .../extensions/ManagedAppRegistration.java | 114 +- .../models/extensions/ManagedDevice.java | 694 ++--- .../ManagedDeviceCertificateState.java | 194 +- .../ManagedDeviceEncryptionState.java | 84 +- .../ManagedDeviceMobileAppConfiguration.java | 54 +- ...iceMobileAppConfigurationDeviceStatus.java | 40 +- ...ceMobileAppConfigurationDeviceSummary.java | 72 +- ...iceMobileAppConfigurationSettingState.java | 98 +- ...agedDeviceMobileAppConfigurationState.java | 50 +- ...eviceMobileAppConfigurationUserStatus.java | 24 +- ...viceMobileAppConfigurationUserSummary.java | 56 +- .../ManagedDeviceModelsAndManufacturers.java | 16 +- .../extensions/ManagedDeviceOverview.java | 42 +- .../ManagedDeviceSummarizedAppState.java | 16 +- .../graph/models/extensions/ManagedEBook.java | 112 +- .../extensions/ManagedEBookAssignment.java | 18 +- .../models/extensions/ManagedIOSLobApp.java | 48 +- .../models/extensions/ManagedIOSStoreApp.java | 16 +- .../ManagementCertificateWithThumbprint.java | 16 +- .../extensions/ManagementCondition.java | 48 +- .../ManagementConditionStatement.java | 50 +- .../graph/models/extensions/MarkContent.java | 16 +- .../models/extensions/MatchingDlpRule.java | 34 +- .../models/extensions/MatchingLabel.java | 54 +- .../graph/models/extensions/MediaInfo.java | 16 +- .../graph/models/extensions/MediaPrompt.java | 16 +- .../graph/models/extensions/MediaStream.java | 34 +- .../extensions/MeetingActivityStatistics.java | 30 +- .../models/extensions/MeetingCapability.java | 12 +- .../extensions/MeetingParticipants.java | 24 +- .../extensions/MeetingTimeSuggestion.java | 50 +- .../MeetingTimeSuggestionsResult.java | 16 +- .../graph/models/extensions/Mention.java | 40 +- .../graph/models/extensions/Message.java | 324 +-- .../graph/models/extensions/MessageRule.java | 50 +- .../models/extensions/MessageRuleActions.java | 50 +- .../extensions/MessageRulePredicates.java | 212 +- .../models/extensions/MetadataAction.java | 12 +- .../graph/models/extensions/MfaDetail.java | 12 +- ...thenticatorAuthenticationMethodTarget.java | 12 +- .../MicrosoftStoreForBusinessApp.java | 48 +- .../graph/models/extensions/MobileApp.java | 214 +- .../extensions/MobileAppAssignment.java | 18 +- .../models/extensions/MobileAppContent.java | 50 +- .../extensions/MobileAppContentFile.java | 72 +- .../extensions/MobileAppInstallStatus.java | 64 +- .../extensions/MobileAppInstallSummary.java | 56 +- .../MobileAppInstallTimeSettings.java | 16 +- .../extensions/MobileAppIntentAndState.java | 16 +- .../MobileAppIntentAndStateDetail.java | 18 +- .../extensions/MobileAppRelationship.java | 16 +- .../MobileAppRelationshipState.java | 56 +- .../MobileAppSupportedDeviceType.java | 16 +- ...oubleshootingAppPolicyCreationHistory.java | 16 +- ...bileAppTroubleshootingAppStateHistory.java | 16 +- ...ileAppTroubleshootingAppTargetHistory.java | 16 +- .../MobileAppTroubleshootingEvent.java | 32 +- .../MobileThreatDefenseConnector.java | 104 +- .../models/extensions/ModifiedProperty.java | 16 +- .../models/extensions/NamedLocation.java | 16 +- .../models/extensions/NdesConnector.java | 16 +- ...kIPv4ConfigurationManagementCondition.java | 32 +- ...kIPv6ConfigurationManagementCondition.java | 32 +- .../extensions/NetworkLocationDetail.java | 12 +- .../graph/models/extensions/Note.java | 202 ++ .../graph/models/extensions/Notebook.java | 78 +- .../graph/models/extensions/Notification.java | 24 +- .../NotificationMessageTemplate.java | 32 +- .../models/extensions/NotifyUserAction.java | 24 +- .../models/extensions/ObjectIdentity.java | 16 +- .../models/extensions/OfferShiftRequest.java | 24 +- .../extensions/Office365ActivationCounts.java | 36 +- .../Office365ActivationsUserCounts.java | 24 +- .../Office365ActivationsUserDetail.java | 24 +- .../extensions/Office365ActiveUserCounts.java | 54 +- .../extensions/Office365ActiveUserDetail.java | 108 +- .../Office365GroupsActivityCounts.java | 36 +- .../Office365GroupsActivityDetail.java | 108 +- .../Office365GroupsActivityFileCounts.java | 30 +- .../Office365GroupsActivityGroupCounts.java | 30 +- .../Office365GroupsActivityStorage.java | 30 +- .../Office365ServicesUserCounts.java | 76 +- .../extensions/OfficeClientCheckinStatus.java | 40 +- .../extensions/OfficeClientConfiguration.java | 18 +- .../extensions/OfficeGraphInsights.java | 50 +- .../models/extensions/OfficeSuiteApp.java | 70 +- .../extensions/OfficeUserCheckinSummary.java | 12 +- .../graph/models/extensions/OmaSetting.java | 16 +- .../models/extensions/OmaSettingInteger.java | 16 +- .../models/extensions/OnPremisesAgent.java | 12 +- .../extensions/OnPremisesAgentGroup.java | 12 +- .../OnPremisesConditionalAccessSettings.java | 16 +- .../OnPremisesExtensionAttributes.java | 96 +- .../OnPremisesProvisioningError.java | 24 +- .../extensions/OnPremisesPublishing.java | 106 +- .../OnPremisesPublishingProfile.java | 110 +- .../OnPremisesPublishingSingleSignOn.java | 14 +- .../OneDriveActivityUserDetail.java | 54 +- .../OneDriveUsageAccountCounts.java | 36 +- .../OneDriveUsageAccountDetail.java | 60 +- .../extensions/OneDriveUsageFileCounts.java | 36 +- .../graph/models/extensions/Onenote.java | 106 +- .../OnenoteEntityHierarchyModel.java | 16 +- .../models/extensions/OnenoteOperation.java | 32 +- .../graph/models/extensions/OnenotePage.java | 58 +- .../models/extensions/OnenotePagePreview.java | 12 +- .../OnenotePatchContentCommand.java | 16 +- .../models/extensions/OnenoteSection.java | 14 +- .../models/extensions/OnlineMeeting.java | 145 +- .../models/extensions/OnlineMeetingInfo.java | 40 +- .../extensions/OpenIdConnectProvider.java | 38 +- .../graph/models/extensions/OpenShift.java | 24 +- .../OperatingSystemVersionRange.java | 16 +- .../graph/models/extensions/Operation.java | 16 +- .../models/extensions/OptionalClaim.java | 32 +- .../models/extensions/OptionalClaims.java | 16 +- .../graph/models/extensions/OrgContact.java | 28 +- .../graph/models/extensions/Organization.java | 18 +- .../extensions/OrganizationSettings.java | 14 +- .../models/extensions/OsVersionCount.java | 16 +- .../OutOfBoxExperienceSettings.java | 42 +- .../models/extensions/OutlookCategory.java | 16 +- .../extensions/OutlookGeoCoordinates.java | 32 +- .../graph/models/extensions/OutlookItem.java | 32 +- .../graph/models/extensions/OutlookTask.java | 52 +- .../models/extensions/OutlookTaskFolder.java | 64 +- .../models/extensions/OutlookTaskGroup.java | 16 +- .../graph/models/extensions/OutlookUser.java | 46 +- .../extensions/OverallPrintUsageSummary.java | 38 +- .../extensions/ParseExpressionResponse.java | 12 +- .../graph/models/extensions/Participant.java | 34 +- .../models/extensions/ParticipantInfo.java | 26 +- .../PasswordAuthenticationMethod.java | 12 +- .../models/extensions/PasswordCredential.java | 40 +- .../models/extensions/PasswordProfile.java | 16 +- .../PasswordSingleSignOnCredentialSet.java | 12 +- .../extensions/PasswordSingleSignOnField.java | 16 +- .../graph/models/extensions/PaymentTerm.java | 34 +- .../PermissionGrantConditionSet.java | 48 +- .../extensions/PermissionGrantPolicy.java | 28 +- .../graph/models/extensions/Person.java | 146 +- .../models/extensions/PersonAnniversary.java | 12 +- .../models/extensions/PersonInterest.java | 16 +- .../graph/models/extensions/PersonName.java | 28 +- .../extensions/PersonResponsibility.java | 16 +- .../graph/models/extensions/Phone.java | 16 +- .../models/extensions/PhysicalAddress.java | 48 +- .../graph/models/extensions/Picture.java | 12 +- .../graph/models/extensions/Place.java | 18 +- .../graph/models/extensions/Planner.java | 56 +- .../PlannerAssignedToTaskBoardTaskFormat.java | 16 +- .../models/extensions/PlannerBucket.java | 16 +- .../extensions/PlannerChecklistItem.java | 32 +- .../extensions/PlannerExternalReference.java | 32 +- .../graph/models/extensions/PlannerPlan.java | 68 +- .../models/extensions/PlannerPlanDetails.java | 18 +- .../graph/models/extensions/PlannerTask.java | 184 +- .../models/extensions/PlannerTaskDetails.java | 18 +- .../graph/models/extensions/PlannerUser.java | 88 +- .../graph/models/extensions/PolicyRoot.java | 14 +- .../graph/models/extensions/PolicySet.java | 42 +- .../models/extensions/PolicySetItem.java | 58 +- .../graph/models/extensions/Post.java | 184 +- .../models/extensions/PostalAddressType.java | 30 +- .../graph/models/extensions/Presence.java | 12 +- .../graph/models/extensions/Print.java | 142 +- .../models/extensions/PrintConnector.java | 36 +- .../models/extensions/PrintDocument.java | 18 +- .../graph/models/extensions/PrintJob.java | 18 +- .../models/extensions/PrintJobStatus.java | 16 +- .../graph/models/extensions/PrintMargin.java | 18 +- .../models/extensions/PrintOperation.java | 12 +- .../extensions/PrintOperationStatus.java | 12 +- .../graph/models/extensions/PrintTask.java | 12 +- .../extensions/PrintTaskDefinition.java | 12 +- .../models/extensions/PrintTaskStatus.java | 12 +- .../PrintUsageSummaryByPrinter.java | 30 +- .../extensions/PrintUsageSummaryByUser.java | 30 +- .../graph/models/extensions/Printer.java | 68 +- .../graph/models/extensions/PrinterBase.java | 44 +- .../extensions/PrinterCapabilities.java | 194 +- .../models/extensions/PrinterDefaults.java | 118 +- .../PrinterDocumentConfiguration.java | 114 +- .../models/extensions/PrinterLocation.java | 96 +- .../graph/models/extensions/PrinterShare.java | 52 +- .../models/extensions/PrinterStatus.java | 12 +- .../extensions/PrinterUsageSummary.java | 36 +- .../models/extensions/PrivilegedAccess.java | 52 +- .../models/extensions/PrivilegedApproval.java | 36 +- .../extensions/PrivilegedOperationEvent.java | 84 +- .../models/extensions/PrivilegedRole.java | 14 +- .../extensions/PrivilegedRoleAssignment.java | 30 +- .../PrivilegedRoleAssignmentRequest.java | 60 +- .../extensions/PrivilegedRoleSettings.java | 54 +- .../extensions/PrivilegedRoleSummary.java | 30 +- .../extensions/ProfileCardProperty.java | 12 +- .../graph/models/extensions/Program.java | 12 +- .../models/extensions/ProgramControl.java | 30 +- .../extensions/ProjectParticipation.java | 30 +- .../graph/models/extensions/Property.java | 56 +- .../extensions/ProvisionedIdentity.java | 18 +- .../extensions/ProvisioningObjectSummary.java | 96 +- .../models/extensions/ProvisioningStep.java | 32 +- .../extensions/ProvisioningSystemDetails.java | 12 +- .../graph/models/extensions/PublicError.java | 24 +- .../models/extensions/PublishedResource.java | 12 +- .../models/extensions/PurchaseInvoice.java | 168 +- .../extensions/PurchaseInvoiceLine.java | 140 +- .../graph/models/extensions/Quota.java | 16 +- .../models/extensions/RbacApplication.java | 46 +- .../extensions/RbacApplicationMultiple.java | 46 +- .../extensions/RecommendLabelAction.java | 26 +- .../models/extensions/RecordOperation.java | 16 +- .../models/extensions/RecordingInfo.java | 18 +- .../models/extensions/RecurrencePattern.java | 50 +- .../models/extensions/RecurrenceRange.java | 40 +- .../RedirectSingleSignOnExtension.java | 16 +- .../extensions/ReferenceAttachment.java | 38 +- .../RegionalAndLanguageSettings.java | 24 +- .../extensions/RegionalFormatOverrides.java | 24 +- .../RegistrationAndResetTarget.java | 16 +- .../models/extensions/RelatedContact.java | 24 +- .../RelyingPartyDetailedSummary.java | 66 +- .../graph/models/extensions/Reminder.java | 48 +- .../models/extensions/RemoteActionAudit.java | 72 +- .../extensions/RemoteAssistancePartner.java | 32 +- .../graph/models/extensions/ReportRoot.java | 74 +- .../models/extensions/RequestSchedule.java | 104 + .../models/extensions/RequestorSettings.java | 16 +- .../extensions/RequiredResourceAccess.java | 16 +- .../extensions/ResetPasscodeActionResult.java | 16 +- .../models/extensions/ResourceOperation.java | 32 +- .../models/extensions/ResourceReference.java | 16 +- .../ResourceSpecificPermissionGrant.java | 24 +- .../extensions/ResourceVisualization.java | 48 +- .../extensions/ResponsibleSensitiveType.java | 22 +- .../extensions/RestrictedAppsViolation.java | 66 +- .../graph/models/extensions/ResultInfo.java | 12 +- .../RetireScheduledManagedDevice.java | 66 +- .../graph/models/extensions/ReviewSet.java | 12 +- .../models/extensions/ReviewSetQuery.java | 36 +- .../RevokeAppleVppLicensesActionResult.java | 16 +- .../graph/models/extensions/RgbColor.java | 16 +- .../models/extensions/RiskDetection.java | 164 +- .../models/extensions/RiskUserActivity.java | 18 +- .../graph/models/extensions/RiskyUser.java | 18 +- .../extensions/RiskyUserHistoryItem.java | 16 +- .../models/extensions/RoleAssignment.java | 24 +- .../models/extensions/RoleDefinition.java | 40 +- .../graph/models/extensions/RoleScopeTag.java | 16 +- .../extensions/RoleSuccessStatistics.java | 48 +- .../graph/models/extensions/Room.java | 88 +- .../graph/models/extensions/RubricLevel.java | 18 +- .../models/extensions/RubricQuality.java | 30 +- .../RubricQualityFeedbackModel.java | 12 +- .../RubricQualitySelectedColumnModel.java | 12 +- .../models/extensions/SalesCreditMemo.java | 190 +- .../extensions/SalesCreditMemoLine.java | 146 +- .../graph/models/extensions/SalesInvoice.java | 190 +- .../models/extensions/SalesInvoiceLine.java | 146 +- .../graph/models/extensions/SalesOrder.java | 200 +- .../models/extensions/SalesOrderLine.java | 170 +- .../graph/models/extensions/SalesQuote.java | 196 +- .../models/extensions/SalesQuoteLine.java | 130 +- .../graph/models/extensions/Schedule.java | 254 +- .../extensions/ScheduleChangeRequest.java | 36 +- .../models/extensions/ScheduleEntity.java | 12 +- .../extensions/ScheduleInformation.java | 34 +- .../graph/models/extensions/ScheduleItem.java | 32 +- .../models/extensions/SchemaExtension.java | 16 +- .../extensions/ScopedRoleMembership.java | 12 +- .../{Search.java => SearchEntity.java} | 4 +- ...ryBody.java => SearchEntityQueryBody.java} | 4 +- .../extensions/SearchHitsContainer.java | 12 +- .../models/extensions/SearchRequest.java | 34 +- .../models/extensions/SearchResponse.java | 12 +- .../graph/models/extensions/SectionGroup.java | 64 +- .../graph/models/extensions/Security.java | 50 +- .../SecurityBaselineDeviceState.java | 32 +- .../SecurityBaselineSettingState.java | 16 +- .../extensions/SecurityBaselineState.java | 16 +- .../SecurityBaselineStateSummary.java | 48 +- .../extensions/SecurityBaselineTemplate.java | 56 +- .../extensions/SecurityConfigurationTask.java | 34 +- .../extensions/SensitiveContentEvidence.java | 16 +- .../extensions/SensitiveContentLocation.java | 18 +- .../models/extensions/SensitiveType.java | 38 +- .../models/extensions/SensitivityLabel.java | 68 +- .../extensions/SensitivityPolicySettings.java | 24 +- .../models/extensions/ServicePlanInfo.java | 32 +- .../models/extensions/ServicePrincipal.java | 214 +- .../models/extensions/SettingSource.java | 12 +- .../extensions/SettingStateDeviceSummary.java | 64 +- .../extensions/SettingTemplateValue.java | 32 +- .../graph/models/extensions/Settings.java | 16 +- .../extensions/SharePointActivityPages.java | 24 +- .../SharePointActivityUserCounts.java | 42 +- .../SharePointActivityUserDetail.java | 60 +- .../extensions/SharePointSiteUsageDetail.java | 82 +- .../SharePointSiteUsageFileCounts.java | 36 +- .../extensions/SharePointSiteUsagePages.java | 30 +- .../SharePointSiteUsageSiteCounts.java | 36 +- .../extensions/SharedAppleDeviceUser.java | 22 +- .../models/extensions/SharedInsight.java | 18 +- .../extensions/SharedPCConfiguration.java | 88 +- .../models/extensions/SharingDetail.java | 16 +- .../graph/models/extensions/SharingLink.java | 16 +- .../graph/models/extensions/Shift.java | 32 +- .../models/extensions/ShiftActivity.java | 32 +- .../models/extensions/ShiftAvailability.java | 16 +- .../graph/models/extensions/ShiftItem.java | 16 +- .../models/extensions/SideLoadingKey.java | 24 +- .../graph/models/extensions/SignIn.java | 64 +- .../SignInFrequencySessionControl.java | 16 +- .../models/extensions/SignInLocation.java | 16 +- .../graph/models/extensions/SignInStatus.java | 16 +- .../graph/models/extensions/SingleUser.java | 12 +- .../extensions/SiteActivitySummary.java | 42 +- .../graph/models/extensions/SitePage.java | 30 +- .../models/extensions/SiteUsageStorage.java | 30 +- .../graph/models/extensions/SizeRange.java | 16 +- .../models/extensions/SkillProficiency.java | 16 +- .../SkypeForBusinessActivityCounts.java | 22 +- .../SkypeForBusinessActivityUserCounts.java | 22 +- .../SkypeForBusinessActivityUserDetail.java | 210 +- ...nessDeviceUsageDistributionUserCounts.java | 42 +- ...SkypeForBusinessDeviceUsageUserCounts.java | 48 +- ...SkypeForBusinessDeviceUsageUserDetail.java | 54 +- ...ypeForBusinessOrganizerActivityCounts.java | 44 +- ...BusinessOrganizerActivityMinuteCounts.java | 16 +- ...orBusinessOrganizerActivityUserCounts.java | 44 +- ...eForBusinessParticipantActivityCounts.java | 42 +- ...sinessParticipantActivityMinuteCounts.java | 16 +- ...BusinessParticipantActivityUserCounts.java | 42 +- ...peForBusinessPeerToPeerActivityCounts.java | 42 +- ...usinessPeerToPeerActivityMinuteCounts.java | 24 +- ...rBusinessPeerToPeerActivityUserCounts.java | 42 +- .../SoftwareUpdateStatusSummary.java | 104 +- .../models/extensions/SpaApplication.java | 86 + .../extensions/StandardTimeZoneOffset.java | 16 +- .../models/extensions/StatusDetails.java | 24 +- .../models/extensions/SubscribedSku.java | 16 +- .../graph/models/extensions/Subscription.java | 70 +- .../SymantecCodeSigningCertificate.java | 56 +- .../models/extensions/SynchronizationJob.java | 12 +- .../extensions/SynchronizationQuarantine.java | 18 +- .../extensions/SynchronizationStatus.java | 16 +- .../SynchronizationTaskExecution.java | 14 +- .../models/extensions/TargetResource.java | 40 +- .../TargetedManagedAppConfiguration.java | 14 +- .../TargetedManagedAppPolicyAssignment.java | 18 +- .../graph/models/extensions/TaxArea.java | 12 +- .../graph/models/extensions/TaxGroup.java | 12 +- .../graph/models/extensions/Team.java | 260 +- .../models/extensions/TeamFunSettings.java | 24 +- .../models/extensions/TeamMemberSettings.java | 32 +- .../extensions/TeamMessagingSettings.java | 32 +- .../graph/models/extensions/TeamsApp.java | 16 +- .../models/extensions/TeamsAppDefinition.java | 56 +- .../extensions/TeamsAsyncOperation.java | 42 +- ...eamsDeviceUsageDistributionUserCounts.java | 42 +- .../TeamsDeviceUsageUserCounts.java | 54 +- .../TeamsDeviceUsageUserDetail.java | 58 +- .../graph/models/extensions/TeamsTab.java | 28 +- .../extensions/TeamsTabConfiguration.java | 16 +- .../extensions/TeamsUserActivityCounts.java | 42 +- .../TeamsUserActivityUserCounts.java | 42 +- .../TeamsUserActivityUserDetail.java | 66 +- .../TelecomExpenseManagementPartner.java | 32 +- .../TeleconferenceDeviceMediaQuality.java | 152 +- .../TeleconferenceDeviceQuality.java | 64 +- .../TeleconferenceDeviceVideoQuality.java | 32 +- .../models/extensions/TenantSetupInfo.java | 22 +- .../models/extensions/TermsAndConditions.java | 128 +- .../TermsAndConditionsAcceptanceStatus.java | 16 +- .../models/extensions/TermsExpiration.java | 12 +- .../extensions/TermsOfUseContainer.java | 46 +- .../extensions/TextClassificationRequest.java | 18 +- .../extensions/ThreatAssessmentRequest.java | 46 +- .../ThreatAssessmentRequestsCount.java | 16 +- .../extensions/ThreatAssessmentResult.java | 16 +- .../graph/models/extensions/TimeOff.java | 32 +- .../models/extensions/TimeOffRequest.java | 12 +- .../graph/models/extensions/TimeRange.java | 16 +- .../graph/models/extensions/TimeSlot.java | 16 +- .../graph/models/extensions/Todo.java | 94 + .../graph/models/extensions/TodoTask.java | 220 ++ .../graph/models/extensions/TodoTaskList.java | 152 ++ .../graph/models/extensions/Trending.java | 34 +- .../models/extensions/TrustFramework.java | 46 +- .../models/extensions/TrustFrameworkKey.java | 76 +- .../models/extensions/TypedEmailAddress.java | 12 +- .../UnaryManagementConditionExpression.java | 18 +- .../extensions/UnifiedRoleAssignment.java | 50 +- .../UnifiedRoleAssignmentMultiple.java | 94 +- .../extensions/UnifiedRolePermission.java | 12 +- .../UnsupportedDeviceConfiguration.java | 16 +- .../UnsupportedGroupPolicyExtension.java | 24 +- .../graph/models/extensions/UpdateWindow.java | 12 +- ...teWindowsDeviceAccountActionParameter.java | 28 +- .../models/extensions/UploadSession.java | 16 +- .../graph/models/extensions/UsedInsight.java | 18 +- .../graph/models/extensions/User.java | 419 +-- .../extensions/UserActivationCounts.java | 48 +- .../graph/models/extensions/UserActivity.java | 50 +- .../extensions/UserAppInstallStatus.java | 40 +- .../models/extensions/UserConsentRequest.java | 16 +- .../UserCredentialUsageDetails.java | 44 +- ...lyticsAppHealthApplicationPerformance.java | 112 +- .../UserExperienceAnalyticsBaseline.java | 24 +- ...rExperienceAnalyticsDevicePerformance.java | 128 +- ...perienceAnalyticsDeviceStartupHistory.java | 104 +- ...lyticsDeviceStartupProcessPerformance.java | 32 +- .../UserExperienceAnalyticsInsight.java | 30 +- .../UserExperienceAnalyticsMetric.java | 16 +- ...rExperienceAnalyticsRegressionSummary.java | 32 +- .../extensions/UserInstallStateSummary.java | 24 +- .../models/extensions/UserPFXCertificate.java | 80 +- .../extensions/UserPrintUsageSummary.java | 30 +- .../extensions/UserRegistrationCount.java | 12 +- .../graph/models/extensions/UserSettings.java | 12 +- .../graph/models/extensions/Vendor.java | 108 +- ...ifiedCustomDomainCertificatesMetadata.java | 24 +- .../graph/models/extensions/VisualInfo.java | 16 +- .../models/extensions/VisualProperties.java | 12 +- .../models/extensions/VpnConfiguration.java | 16 +- .../graph/models/extensions/VpnDnsRule.java | 32 +- .../models/extensions/VpnOnDemandRule.java | 40 +- .../models/extensions/VpnProxyServer.java | 16 +- .../graph/models/extensions/VpnServer.java | 16 +- .../models/extensions/VpnTrafficRule.java | 76 +- .../models/extensions/VppLicensingType.java | 22 +- .../graph/models/extensions/VppToken.java | 132 +- .../extensions/VppTokenActionResult.java | 16 +- .../extensions/VppTokenLicenseSummary.java | 32 +- .../VppTokenRevokeLicensesActionResult.java | 16 +- .../extensions/VulnerableManagedDevice.java | 16 +- .../graph/models/extensions/WebAccount.java | 16 +- .../models/extensions/WebApplication.java | 32 +- .../graph/models/extensions/WebPart.java | 12 +- .../graph/models/extensions/Website.java | 16 +- .../graph/models/extensions/Win32LobApp.java | 112 +- .../Win32LobAppAssignmentSettings.java | 36 +- .../Win32LobAppFileSystemDetection.java | 40 +- .../Win32LobAppFileSystemRequirement.java | 32 +- .../extensions/Win32LobAppFileSystemRule.java | 32 +- .../Win32LobAppInstallExperience.java | 18 +- .../extensions/Win32LobAppMsiInformation.java | 48 +- ...in32LobAppPowerShellScriptRequirement.java | 18 +- .../Win32LobAppPowerShellScriptRule.java | 50 +- .../Win32LobAppProductCodeDetection.java | 16 +- .../Win32LobAppProductCodeRule.java | 16 +- .../Win32LobAppRegistryDetection.java | 32 +- .../Win32LobAppRegistryRequirement.java | 16 +- .../extensions/Win32LobAppRegistryRule.java | 24 +- .../extensions/Win32LobAppRequirement.java | 16 +- .../Win32LobAppRestartSettings.java | 16 +- .../Windows10AppsForceUpdateSchedule.java | 16 +- .../extensions/Windows10CompliancePolicy.java | 252 +- ...0DeviceFirmwareConfigurationInterface.java | 42 +- ...Windows10EasEmailProfileConfiguration.java | 48 +- ...dows10EndpointProtectionConfiguration.java | 1806 ++++++------- ...EnrollmentCompletionPageConfiguration.java | 64 +- .../Windows10GeneralConfiguration.java | 2252 ++++++++--------- .../Windows10MobileCompliancePolicy.java | 128 +- .../Windows10PkcsCertificateProfile.java | 58 +- ...indows10SecureAssessmentConfiguration.java | 64 +- .../Windows10TeamGeneralConfiguration.java | 32 +- .../extensions/Windows10VpnConfiguration.java | 174 +- .../Windows81CertificateProfileBase.java | 18 +- .../extensions/Windows81CompliancePolicy.java | 56 +- .../Windows81GeneralConfiguration.java | 66 +- .../Windows81SCEPCertificateProfile.java | 68 +- .../Windows81TrustedRootCertificate.java | 16 +- .../extensions/Windows81VpnConfiguration.java | 16 +- .../Windows81WifiImportConfiguration.java | 16 +- .../graph/models/extensions/WindowsAppX.java | 16 +- .../WindowsAssignedAccessProfile.java | 42 +- .../WindowsAutopilotDeploymentProfile.java | 68 +- ...sAutopilotDeploymentProfileAssignment.java | 18 +- .../WindowsAutopilotDeviceIdentity.java | 138 +- .../extensions/WindowsAutopilotSettings.java | 12 +- .../WindowsCertificateProfileBase.java | 44 +- ...AdvancedThreatProtectionConfiguration.java | 48 +- ...rApplicationControlSupplementalPolicy.java | 48 +- ...rolSupplementalPolicyDeploymentStatus.java | 48 +- ...dowsDeliveryOptimizationConfiguration.java | 132 +- .../extensions/WindowsDeviceMalwareState.java | 68 +- .../WindowsDomainJoinConfiguration.java | 16 +- ...WindowsEnrollmentStatusScreenSettings.java | 40 +- .../WindowsFeatureUpdateProfile.java | 24 +- .../WindowsFirewallNetworkProfile.java | 176 +- .../extensions/WindowsFirewallRule.java | 108 +- .../WindowsHealthMonitoringConfiguration.java | 16 +- ...indowsIdentityProtectionConfiguration.java | 72 +- .../WindowsInformationProtection.java | 216 +- .../WindowsInformationProtectionApp.java | 24 +- ...owsInformationProtectionAppLockerFile.java | 16 +- ...tionProtectionDataRecoveryCertificate.java | 16 +- ...indowsInformationProtectionDesktopApp.java | 16 +- ...formationProtectionDeviceRegistration.java | 40 +- ...ationProtectionNetworkLearningSummary.java | 16 +- .../WindowsInformationProtectionPolicy.java | 88 +- ...indowsInformationProtectionWipeAction.java | 40 +- .../extensions/WindowsKioskAppBase.java | 34 +- .../extensions/WindowsKioskConfiguration.java | 64 +- .../extensions/WindowsKioskDesktopApp.java | 16 +- .../WindowsKioskForceUpdateSchedule.java | 34 +- .../extensions/WindowsKioskMultipleApps.java | 34 +- .../extensions/WindowsKioskProfile.java | 18 +- .../models/extensions/WindowsKioskUWPApp.java | 16 +- .../WindowsMalwareExecutionStateCount.java | 16 +- .../extensions/WindowsMalwareInformation.java | 34 +- .../extensions/WindowsMalwareNameCount.java | 32 +- .../extensions/WindowsMalwareOverview.java | 70 +- .../WindowsMalwareSeverityCount.java | 32 +- .../extensions/WindowsMalwareStateCount.java | 32 +- .../WindowsManagementAppHealthState.java | 32 +- .../WindowsMinimumOperatingSystem.java | 32 +- .../models/extensions/WindowsMobileMSI.java | 32 +- .../WindowsNetworkIsolationPolicy.java | 32 +- .../models/extensions/WindowsPhone81AppX.java | 16 +- .../WindowsPhone81CertificateProfileBase.java | 62 +- .../WindowsPhone81CompliancePolicy.java | 56 +- .../WindowsPhone81GeneralConfiguration.java | 66 +- .../WindowsPhone81SCEPCertificateProfile.java | 54 +- .../WindowsPhone81TrustedRootCertificate.java | 16 +- .../WindowsPhone81VpnConfiguration.java | 24 +- ...dowsPhoneEASEmailProfileConfiguration.java | 48 +- .../models/extensions/WindowsPhoneXAP.java | 16 +- .../WindowsPrivacyDataAccessControlItem.java | 16 +- .../extensions/WindowsProtectionState.java | 128 +- .../extensions/WindowsUniversalAppX.java | 16 +- .../WindowsUpdateActiveHoursInstall.java | 16 +- ...WindowsUpdateForBusinessConfiguration.java | 266 +- .../models/extensions/WindowsUpdateState.java | 64 +- .../extensions/WindowsVpnConfiguration.java | 16 +- .../extensions/WindowsWifiConfiguration.java | 98 +- ...WindowsWifiEnterpriseEAPConfiguration.java | 130 +- .../graph/models/extensions/WorkPosition.java | 26 +- .../graph/models/extensions/Workbook.java | 114 +- .../models/extensions/WorkbookOperation.java | 18 +- .../extensions/WorkbookOperationError.java | 16 +- .../models/extensions/WorkbookRange.java | 16 +- .../models/extensions/WorkbookRangeView.java | 16 +- .../extensions/WorkforceIntegration.java | 42 +- .../graph/models/extensions/WorkingHours.java | 16 +- .../extensions/YammerActivitySummary.java | 16 +- .../extensions/YammerActivityUserDetail.java | 66 +- ...mmerDeviceUsageDistributionUserCounts.java | 48 +- .../YammerDeviceUsageUserCounts.java | 54 +- .../YammerDeviceUsageUserDetail.java | 72 +- .../YammerGroupsActivityCounts.java | 16 +- .../YammerGroupsActivityDetail.java | 64 +- .../YammerGroupsActivityGroupCounts.java | 30 +- .../models/extensions/YomiPersonName.java | 16 +- .../models/generated/AllowInvitesFrom.java | 37 + .../graph/models/generated/CalendarColor.java | 8 +- .../graph/models/generated/CategoryColor.java | 8 +- .../models/generated/ChannelCreationMode.java | 21 + .../generated/ExpirationPatternType.java | 33 + .../models/generated/FreeBusyStatus.java | 8 +- .../generated/IosUpdatesInstallStatus.java | 72 +- .../models/generated/LobbyBypassScope.java | 37 + .../models/generated/OnenoteUserRole.java | 8 +- .../models/generated/ResultantAppState.java | 8 +- .../generated/ResultantAppStateDetail.java | 80 +- .../generated/SecurityNetworkProtocol.java | 8 +- .../models/generated/StagedFeatureName.java | 8 +- .../models/generated/TeamCreationMode.java | 21 + .../models/generated/WellknownListName.java | 33 + .../AadUserConversationMemberRequest.java | 21 + ...essPackageAssignmentCollectionRequest.java | 25 +- ...kageAssignmentPolicyCollectionRequest.java | 25 +- .../AccessPackageAssignmentPolicyRequest.java | 21 + .../AccessPackageAssignmentRequest.java | 21 + ...AccessPackageAssignmentRequestBuilder.java | 18 +- ...ageAssignmentRequestCollectionRequest.java | 25 +- ...AccessPackageAssignmentRequestRequest.java | 21 + ...signmentResourceRoleCollectionRequest.java | 25 +- ...sPackageAssignmentResourceRoleRequest.java | 25 +- ...eAssignmentResourceRoleRequestBuilder.java | 32 +- ...AccessPackageCatalogCollectionRequest.java | 25 +- .../AccessPackageCatalogReferenceRequest.java | 8 +- ...PackageCatalogReferenceRequestBuilder.java | 8 +- .../AccessPackageCatalogRequest.java | 29 +- .../AccessPackageCatalogRequestBuilder.java | 22 +- ...essPackageCatalogWithReferenceRequest.java | 8 +- ...ageCatalogWithReferenceRequestBuilder.java | 8 +- .../AccessPackageCollectionRequest.java | 25 +- .../AccessPackageReferenceRequest.java | 8 +- .../AccessPackageReferenceRequestBuilder.java | 8 +- .../extensions/AccessPackageRequest.java | 29 +- .../AccessPackageRequestBuilder.java | 22 +- ...ccessPackageResourceCollectionRequest.java | 25 +- ...AccessPackageResourceReferenceRequest.java | 8 +- ...ackageResourceReferenceRequestBuilder.java | 8 +- .../AccessPackageResourceRequest.java | 29 +- .../AccessPackageResourceRequestBuilder.java | 22 +- ...ckageResourceRequestCollectionRequest.java | 25 +- .../AccessPackageResourceRequestRequest.java | 21 + ...sPackageResourceRoleCollectionRequest.java | 25 +- .../AccessPackageResourceRoleRequest.java | 21 + ...ageResourceRoleScopeCollectionRequest.java | 25 +- ...AccessPackageResourceRoleScopeRequest.java | 21 + ...PackageResourceScopeCollectionRequest.java | 25 +- .../AccessPackageResourceScopeRequest.java | 21 + ...ssPackageResourceWithReferenceRequest.java | 8 +- ...geResourceWithReferenceRequestBuilder.java | 8 +- .../AccessPackageSubjectRequest.java | 21 + .../AccessPackageWithReferenceRequest.java | 8 +- ...essPackageWithReferenceRequestBuilder.java | 8 +- .../AccessReviewCollectionRequest.java | 25 +- ...AccessReviewDecisionCollectionRequest.java | 25 +- .../AccessReviewDecisionRequest.java | 21 + ...AccessReviewInstanceCollectionRequest.java | 25 +- ...InstanceDecisionItemCollectionRequest.java | 25 +- ...cessReviewInstanceDecisionItemRequest.java | 21 + .../AccessReviewInstanceRequest.java | 21 + .../AccessReviewInstanceRequestBuilder.java | 16 +- .../extensions/AccessReviewRequest.java | 29 +- .../AccessReviewRequestBuilder.java | 46 +- ...AccessReviewReviewerCollectionRequest.java | 25 +- .../AccessReviewReviewerRequest.java | 21 + ...ewScheduleDefinitionCollectionRequest.java | 25 +- ...AccessReviewScheduleDefinitionRequest.java | 21 + .../extensions/AccessReviewSetRequest.java | 21 + .../extensions/AccountCollectionRequest.java | 25 +- .../requests/extensions/AccountRequest.java | 21 + ...dowsAutopilotDeploymentProfileRequest.java | 21 + ...tyBasedTimeoutPolicyCollectionRequest.java | 25 +- .../ActivityBasedTimeoutPolicyRequest.java | 21 + .../ActivityHistoryItemCollectionRequest.java | 25 +- .../ActivityHistoryItemRequest.java | 21 + .../ActivityStatisticsCollectionRequest.java | 25 +- .../extensions/ActivityStatisticsRequest.java | 21 + .../AdminConsentRequestPolicyRequest.java | 21 + .../AdministrativeUnitCollectionRequest.java | 25 +- .../extensions/AdministrativeUnitRequest.java | 21 + ...ngDeviceSettingStateCollectionRequest.java | 25 +- ...onOnboardingDeviceSettingStateRequest.java | 21 + ...otectionOnboardingStateSummaryRequest.java | 21 + .../AgedAccountsPayableCollectionRequest.java | 25 +- .../AgedAccountsPayableRequest.java | 21 + ...edAccountsReceivableCollectionRequest.java | 25 +- .../AgedAccountsReceivableRequest.java | 21 + ...tAcceptanceCollectionReferenceRequest.java | 4 +- .../AgreementAcceptanceCollectionRequest.java | 25 +- .../AgreementAcceptanceRequest.java | 21 + .../AgreementCollectionRequest.java | 25 +- ...mentFileLocalizationCollectionRequest.java | 25 +- .../AgreementFileLocalizationRequest.java | 21 + .../AgreementFilePropertiesRequest.java | 21 + .../extensions/AgreementFileRequest.java | 21 + .../requests/extensions/AgreementRequest.java | 29 +- .../extensions/AgreementRequestBuilder.java | 22 +- .../extensions/AlertCollectionRequest.java | 25 +- .../requests/extensions/AlertRequest.java | 21 + .../AllowedDataLocationCollectionRequest.java | 25 +- .../AllowedDataLocationRequest.java | 21 + .../AndroidCertificateProfileBaseRequest.java | 21 + ...dCertificateProfileBaseRequestBuilder.java | 42 +- .../AndroidCompliancePolicyRequest.java | 21 + ...AndroidCompliancePolicyRequestBuilder.java | 50 +- .../AndroidCustomConfigurationRequest.java | 21 + ...roidCustomConfigurationRequestBuilder.java | 42 +- ...eviceComplianceLocalActionBaseRequest.java | 21 + ...omplianceLocalActionLockDeviceRequest.java | 21 + ...alActionLockDeviceWithPasscodeRequest.java | 21 + ...iceOwnerCertificateProfileBaseRequest.java | 21 + ...rCertificateProfileBaseRequestBuilder.java | 42 +- ...oidDeviceOwnerCompliancePolicyRequest.java | 21 + ...ceOwnerCompliancePolicyRequestBuilder.java | 50 +- ...ialAuthenticationConfigurationRequest.java | 21 + ...enticationConfigurationRequestBuilder.java | 42 +- ...nerEnrollmentProfileCollectionRequest.java | 25 +- ...idDeviceOwnerEnrollmentProfileRequest.java | 21 + ...eOwnerEnrollmentProfileRequestBuilder.java | 8 +- ...nerEnterpriseWiFiConfigurationRequest.java | 29 +- ...rpriseWiFiConfigurationRequestBuilder.java | 66 +- ...wnerGeneralDeviceConfigurationRequest.java | 21 + ...eralDeviceConfigurationRequestBuilder.java | 42 +- ...rImportedPFXCertificateProfileRequest.java | 21 + ...edPFXCertificateProfileRequestBuilder.java | 42 +- ...iceOwnerPkcsCertificateProfileRequest.java | 21 + ...rPkcsCertificateProfileRequestBuilder.java | 42 +- ...iceOwnerScepCertificateProfileRequest.java | 21 + ...rScepCertificateProfileRequestBuilder.java | 42 +- ...iceOwnerTrustedRootCertificateRequest.java | 21 + ...rTrustedRootCertificateRequestBuilder.java | 42 +- ...oidDeviceOwnerVpnConfigurationRequest.java | 25 +- ...ceOwnerVpnConfigurationRequestBuilder.java | 60 +- ...idDeviceOwnerWiFiConfigurationRequest.java | 21 + ...eOwnerWiFiConfigurationRequestBuilder.java | 42 +- ...idEasEmailProfileConfigurationRequest.java | 21 + ...ailProfileConfigurationRequestBuilder.java | 42 +- ...oidEnterpriseWiFiConfigurationRequest.java | 25 +- ...rpriseWiFiConfigurationRequestBuilder.java | 60 +- ...pConfigurationSchemaCollectionRequest.java | 25 +- ...dForWorkAppConfigurationSchemaRequest.java | 21 + .../extensions/AndroidForWorkAppRequest.java | 21 + .../AndroidForWorkAppRequestBuilder.java | 30 +- ...dForWorkCertificateProfileBaseRequest.java | 21 + ...kCertificateProfileBaseRequestBuilder.java | 42 +- ...AndroidForWorkCompliancePolicyRequest.java | 21 + ...ForWorkCompliancePolicyRequestBuilder.java | 50 +- ...roidForWorkCustomConfigurationRequest.java | 21 + ...WorkCustomConfigurationRequestBuilder.java | 42 +- ...roidForWorkEasEmailProfileBaseRequest.java | 21 + ...WorkEasEmailProfileBaseRequestBuilder.java | 42 +- ...orkEnrollmentProfileCollectionRequest.java | 25 +- ...ndroidForWorkEnrollmentProfileRequest.java | 21 + ...orWorkEnrollmentProfileRequestBuilder.java | 8 +- ...orkEnterpriseWiFiConfigurationRequest.java | 25 +- ...rpriseWiFiConfigurationRequestBuilder.java | 60 +- ...WorkGeneralDeviceConfigurationRequest.java | 21 + ...eralDeviceConfigurationRequestBuilder.java | 42 +- ...idForWorkGmailEasConfigurationRequest.java | 21 + ...rkGmailEasConfigurationRequestBuilder.java | 42 +- ...kImportedPFXCertificateProfileRequest.java | 21 + ...edPFXCertificateProfileRequestBuilder.java | 42 +- ...dForWorkMobileAppConfigurationRequest.java | 21 + ...kMobileAppConfigurationRequestBuilder.java | 14 +- ...orWorkNineWorkEasConfigurationRequest.java | 21 + ...ineWorkEasConfigurationRequestBuilder.java | 42 +- ...dForWorkPkcsCertificateProfileRequest.java | 21 + ...kPkcsCertificateProfileRequestBuilder.java | 42 +- ...dForWorkScepCertificateProfileRequest.java | 21 + ...kScepCertificateProfileRequestBuilder.java | 42 +- .../AndroidForWorkSettingsRequest.java | 21 + .../AndroidForWorkSettingsRequestBuilder.java | 8 +- ...dForWorkTrustedRootCertificateRequest.java | 21 + ...kTrustedRootCertificateRequestBuilder.java | 42 +- ...AndroidForWorkVpnConfigurationRequest.java | 21 + ...ForWorkVpnConfigurationRequestBuilder.java | 42 +- ...ndroidForWorkWiFiConfigurationRequest.java | 21 + ...orWorkWiFiConfigurationRequestBuilder.java | 42 +- ...roidGeneralDeviceConfigurationRequest.java | 21 + ...eralDeviceConfigurationRequestBuilder.java | 42 +- ...dImportedPFXCertificateProfileRequest.java | 21 + ...edPFXCertificateProfileRequestBuilder.java | 42 +- .../extensions/AndroidLobAppRequest.java | 21 + .../AndroidLobAppRequestBuilder.java | 30 +- ...ManagedAppProtectionCollectionRequest.java | 25 +- .../AndroidManagedAppProtectionRequest.java | 21 + .../AndroidManagedAppRegistrationRequest.java | 21 + ...StoreAccountEnterpriseSettingsRequest.java | 21 + ...countEnterpriseSettingsRequestBuilder.java | 20 +- ...idManagedStoreAppConfigurationRequest.java | 21 + ...edStoreAppConfigurationRequestBuilder.java | 14 +- ...pConfigurationSchemaCollectionRequest.java | 25 +- ...gedStoreAppConfigurationSchemaRequest.java | 21 + .../AndroidManagedStoreAppRequest.java | 21 + .../AndroidManagedStoreAppRequestBuilder.java | 30 +- .../AndroidManagedStoreWebAppRequest.java | 21 + ...droidManagedStoreWebAppRequestBuilder.java | 30 +- .../AndroidOmaCpConfigurationRequest.java | 21 + ...droidOmaCpConfigurationRequestBuilder.java | 42 +- .../AndroidPkcsCertificateProfileRequest.java | 21 + ...dPkcsCertificateProfileRequestBuilder.java | 42 +- .../AndroidScepCertificateProfileRequest.java | 21 + ...dScepCertificateProfileRequestBuilder.java | 42 +- .../extensions/AndroidStoreAppRequest.java | 21 + .../AndroidStoreAppRequestBuilder.java | 30 +- .../AndroidTrustedRootCertificateRequest.java | 21 + ...dTrustedRootCertificateRequestBuilder.java | 42 +- .../AndroidVpnConfigurationRequest.java | 21 + ...AndroidVpnConfigurationRequestBuilder.java | 42 +- .../AndroidWiFiConfigurationRequest.java | 21 + ...ndroidWiFiConfigurationRequestBuilder.java | 42 +- ...kProfileCertificateProfileBaseRequest.java | 21 + ...eCertificateProfileBaseRequestBuilder.java | 42 +- ...oidWorkProfileCompliancePolicyRequest.java | 21 + ...ProfileCompliancePolicyRequestBuilder.java | 50 +- ...WorkProfileCustomConfigurationRequest.java | 21 + ...fileCustomConfigurationRequestBuilder.java | 42 +- ...WorkProfileEasEmailProfileBaseRequest.java | 21 + ...fileEasEmailProfileBaseRequestBuilder.java | 42 +- ...ileEnterpriseWiFiConfigurationRequest.java | 25 +- ...rpriseWiFiConfigurationRequestBuilder.java | 60 +- ...fileGeneralDeviceConfigurationRequest.java | 21 + ...eralDeviceConfigurationRequestBuilder.java | 42 +- ...rkProfileGmailEasConfigurationRequest.java | 21 + ...leGmailEasConfigurationRequestBuilder.java | 42 +- ...rofileNineWorkEasConfigurationRequest.java | 21 + ...ineWorkEasConfigurationRequestBuilder.java | 42 +- ...kProfilePkcsCertificateProfileRequest.java | 21 + ...ePkcsCertificateProfileRequestBuilder.java | 42 +- ...kProfileScepCertificateProfileRequest.java | 21 + ...eScepCertificateProfileRequestBuilder.java | 42 +- ...kProfileTrustedRootCertificateRequest.java | 21 + ...eTrustedRootCertificateRequestBuilder.java | 42 +- ...oidWorkProfileVpnConfigurationRequest.java | 21 + ...ProfileVpnConfigurationRequestBuilder.java | 42 +- ...idWorkProfileWiFiConfigurationRequest.java | 21 + ...rofileWiFiConfigurationRequestBuilder.java | 42 +- .../extensions/AppCatalogsRequest.java | 21 + .../AppConsentRequestCollectionRequest.java | 25 +- .../extensions/AppConsentRequestRequest.java | 21 + ...LogCollectionRequestCollectionRequest.java | 25 +- .../AppLogCollectionRequestRequest.java | 21 + .../AppRoleAssignmentCollectionRequest.java | 25 +- .../extensions/AppRoleAssignmentRequest.java | 21 + .../extensions/AppScopeCollectionRequest.java | 25 +- .../requests/extensions/AppScopeRequest.java | 21 + ...abilityManagedDeviceCollectionRequest.java | 25 +- .../AppVulnerabilityManagedDeviceRequest.java | 21 + ...lnerabilityMobileAppCollectionRequest.java | 25 +- .../AppVulnerabilityMobileAppRequest.java | 21 + .../AppVulnerabilityTaskRequest.java | 21 + ...eviceFeaturesConfigurationBaseRequest.java | 21 + ...aturesConfigurationBaseRequestBuilder.java | 42 +- ...entProfileAssignmentCollectionRequest.java | 25 +- ...pleEnrollmentProfileAssignmentRequest.java | 21 + ...editedCheckinConfigurationBaseRequest.java | 21 + ...heckinConfigurationBaseRequestBuilder.java | 42 +- ...plePushNotificationCertificateRequest.java | 21 + ...tedEnrollmentProfileCollectionRequest.java | 25 +- ...UserInitiatedEnrollmentProfileRequest.java | 21 + .../AppleVpnConfigurationRequest.java | 21 + .../AppleVpnConfigurationRequestBuilder.java | 42 +- ...leVppTokenTroubleshootingEventRequest.java | 21 + ...ApplicationCollectionReferenceRequest.java | 4 +- .../ApplicationCollectionRequest.java | 25 +- .../ApplicationReferenceRequest.java | 8 +- .../ApplicationReferenceRequestBuilder.java | 8 +- .../extensions/ApplicationRequest.java | 29 +- .../extensions/ApplicationRequestBuilder.java | 30 +- ...ignInDetailedSummaryCollectionRequest.java | 25 +- ...plicationSignInDetailedSummaryRequest.java | 21 + .../ApplicationSignInSummaryRequest.java | 21 + .../ApplicationTemplateCollectionRequest.java | 25 +- .../ApplicationTemplateRequest.java | 21 + .../ApplicationWithReferenceRequest.java | 8 +- ...pplicationWithReferenceRequestBuilder.java | 8 +- .../extensions/ApprovalCollectionRequest.java | 25 +- .../requests/extensions/ApprovalRequest.java | 21 + .../extensions/ApprovalRequestBuilder.java | 14 +- .../ApprovalStepCollectionRequest.java | 25 +- .../extensions/ApprovalStepRequest.java | 21 + ...ovalWorkflowProviderCollectionRequest.java | 25 +- .../ApprovalWorkflowProviderRequest.java | 21 + ...pprovalWorkflowProviderRequestBuilder.java | 14 +- .../AttachmentCollectionRequest.java | 27 +- .../AttachmentCollectionRequestBuilder.java | 4 +- .../extensions/AttachmentRequest.java | 21 + ...appingFunctionSchemaCollectionRequest.java | 25 +- ...AttributeMappingFunctionSchemaRequest.java | 21 + .../AudioRoutingGroupCollectionRequest.java | 25 +- .../extensions/AudioRoutingGroupRequest.java | 21 + .../AuditEventCollectionRequest.java | 25 +- .../AuditEventCollectionRequestBuilder.java | 10 +- .../extensions/AuditEventRequest.java | 21 + .../extensions/AuditLogRootRequest.java | 37 +- .../AuditLogRootRequestBuilder.java | 44 +- .../AuthenticationFlowsPolicyRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- .../AuthenticationMethodRequest.java | 21 + .../AuthenticationMethodRequestBuilder.java | 8 +- .../AuthenticationMethodTargetRequest.java | 21 + .../extensions/AuthenticationRequest.java | 77 +- .../AuthenticationRequestBuilder.java | 132 +- .../AuthorizationPolicyCollectionRequest.java | 25 +- .../AuthorizationPolicyRequest.java | 21 + .../AzureADFeatureUsageRequest.java | 21 + .../AzureADLicenseUsageRequest.java | 21 + .../AzureADUserFeatureUsageRequest.java | 21 + ...dowsAutopilotDeploymentProfileRequest.java | 21 + .../B2cIdentityUserFlowCollectionRequest.java | 25 +- .../B2cIdentityUserFlowRequest.java | 21 + .../B2xIdentityUserFlowCollectionRequest.java | 25 +- .../B2xIdentityUserFlowRequest.java | 21 + .../extensions/BaseGraphServiceClient.java | 1080 ++++---- .../extensions/BaseItemCollectionRequest.java | 25 +- .../requests/extensions/BaseItemRequest.java | 21 + .../extensions/BaseItemVersionRequest.java | 21 + ...BitlockerRecoveryKeyCollectionRequest.java | 25 +- .../BitlockerRecoveryKeyRequest.java | 21 + .../requests/extensions/BitlockerRequest.java | 21 + .../BookingAppointmentCollectionRequest.java | 25 +- .../extensions/BookingAppointmentRequest.java | 21 + .../BookingBusinessCollectionRequest.java | 25 +- .../extensions/BookingBusinessRequest.java | 21 + .../BookingCurrencyCollectionRequest.java | 25 +- .../extensions/BookingCurrencyRequest.java | 21 + .../BookingCustomerCollectionRequest.java | 25 +- .../extensions/BookingCustomerRequest.java | 21 + .../extensions/BookingNamedEntityRequest.java | 21 + .../extensions/BookingPersonRequest.java | 21 + .../BookingServiceCollectionRequest.java | 25 +- .../extensions/BookingServiceRequest.java | 21 + .../BookingStaffMemberCollectionRequest.java | 25 +- .../extensions/BookingStaffMemberRequest.java | 21 + .../BusinessFlowCollectionRequest.java | 25 +- .../extensions/BusinessFlowRequest.java | 21 + ...BusinessFlowTemplateCollectionRequest.java | 25 +- .../BusinessFlowTemplateRequest.java | 21 + .../extensions/CalendarCollectionRequest.java | 25 +- .../CalendarGroupCollectionRequest.java | 25 +- .../extensions/CalendarGroupRequest.java | 21 + .../CalendarPermissionCollectionRequest.java | 25 +- .../extensions/CalendarPermissionRequest.java | 21 + .../requests/extensions/CalendarRequest.java | 37 +- .../extensions/CalendarRequestBuilder.java | 52 +- .../CalendarSharingMessageRequest.java | 21 + .../CalendarSharingMessageRequestBuilder.java | 28 +- .../CallActivityStatisticsRequest.java | 21 + .../extensions/CallCollectionRequest.java | 27 +- .../CallCollectionRequestBuilder.java | 2 +- .../requests/extensions/CallRequest.java | 31 +- .../extensions/CallRequestBuilder.java | 24 +- ...CancelMediaProcessingOperationRequest.java | 21 + ...rtToClassAssociationCollectionRequest.java | 25 +- .../CartToClassAssociationRequest.java | 21 + ...nfigurationCollectionReferenceRequest.java | 4 +- ...sedAuthConfigurationCollectionRequest.java | 25 +- ...tificateBasedAuthConfigurationRequest.java | 21 + .../ChangeTrackedEntityRequest.java | 21 + .../extensions/ChannelCollectionRequest.java | 25 +- .../ChannelCompleteMigrationRequest.java | 62 + ...hannelCompleteMigrationRequestBuilder.java | 56 + .../requests/extensions/ChannelRequest.java | 29 +- .../extensions/ChannelRequestBuilder.java | 40 +- .../ChatActivityStatisticsRequest.java | 21 + .../extensions/ChatCollectionRequest.java | 25 +- .../ChatMessageCollectionRequest.java | 25 +- ...MessageHostedContentCollectionRequest.java | 25 +- .../ChatMessageHostedContentRequest.java | 21 + .../extensions/ChatMessageRequest.java | 29 +- .../extensions/ChatMessageRequestBuilder.java | 22 +- .../extensions/ChatReferenceRequest.java | 8 +- .../ChatReferenceRequestBuilder.java | 8 +- .../requests/extensions/ChatRequest.java | 29 +- .../extensions/ChatRequestBuilder.java | 22 +- .../extensions/ChatWithReferenceRequest.java | 8 +- .../ChatWithReferenceRequestBuilder.java | 8 +- ...larGeofenceManagementConditionRequest.java | 21 + ...ppingPolicyCollectionReferenceRequest.java | 4 +- .../ClaimsMappingPolicyCollectionRequest.java | 25 +- .../ClaimsMappingPolicyRequest.java | 21 + .../ClassificationJobResponseRequest.java | 21 + ...udAppSecurityProfileCollectionRequest.java | 25 +- .../CloudAppSecurityProfileRequest.java | 21 + .../CloudCommunicationsRequest.java | 21 + .../ColumnDefinitionCollectionRequest.java | 25 +- .../extensions/ColumnDefinitionRequest.java | 21 + .../ColumnLinkCollectionRequest.java | 25 +- .../extensions/ColumnLinkRequest.java | 21 + ...gementEligibleDeviceCollectionRequest.java | 25 +- .../ComanagementEligibleDeviceRequest.java | 21 + .../extensions/CommandCollectionRequest.java | 25 +- .../requests/extensions/CommandRequest.java | 21 + .../extensions/CommsApplicationRequest.java | 21 + .../CommsOperationCollectionRequest.java | 25 +- .../extensions/CommsOperationRequest.java | 21 + .../extensions/CompanyCollectionRequest.java | 25 +- .../CompanyInformationCollectionRequest.java | 25 +- .../extensions/CompanyInformationRequest.java | 21 + .../requests/extensions/CompanyRequest.java | 229 +- .../extensions/CompanyRequestBuilder.java | 444 ++-- ...nceManagementPartnerCollectionRequest.java | 25 +- .../ComplianceManagementPartnerRequest.java | 21 + .../extensions/ComplianceRequest.java | 21 + ...ditionalAccessPolicyCollectionRequest.java | 25 +- .../ConditionalAccessPolicyRequest.java | 21 + .../ConditionalAccessRootRequest.java | 29 +- .../ConditionalAccessRootRequestBuilder.java | 22 +- ...onnectedOrganizationCollectionRequest.java | 25 +- .../ConnectedOrganizationRequest.java | 21 + .../ConnectedOrganizationRequestBuilder.java | 14 +- .../ConnectionOperationCollectionRequest.java | 25 +- .../ConnectionOperationRequest.java | 21 + .../ConnectorCollectionReferenceRequest.java | 4 +- .../ConnectorCollectionRequest.java | 25 +- ...nectorGroupCollectionReferenceRequest.java | 4 +- .../ConnectorGroupCollectionRequest.java | 25 +- .../ConnectorGroupReferenceRequest.java | 8 +- ...ConnectorGroupReferenceRequestBuilder.java | 8 +- .../extensions/ConnectorGroupRequest.java | 29 +- .../ConnectorGroupRequestBuilder.java | 22 +- .../ConnectorGroupWithReferenceRequest.java | 8 +- ...ectorGroupWithReferenceRequestBuilder.java | 8 +- .../requests/extensions/ConnectorRequest.java | 21 + .../extensions/ContactCollectionRequest.java | 25 +- .../ContactFolderCollectionRequest.java | 25 +- .../extensions/ContactFolderRequest.java | 45 +- .../ContactFolderRequestBuilder.java | 54 +- .../requests/extensions/ContactRequest.java | 37 +- .../extensions/ContactRequestBuilder.java | 32 +- .../ContentTypeCollectionRequest.java | 25 +- .../extensions/ContentTypeRequest.java | 21 + ...ntinuousAccessEvaluationPolicyRequest.java | 158 ++ ...sAccessEvaluationPolicyRequestBuilder.java | 54 + .../extensions/ContractCollectionRequest.java | 25 +- .../requests/extensions/ContractRequest.java | 21 + .../ConversationCollectionRequest.java | 25 +- .../ConversationMemberCollectionRequest.java | 25 +- .../extensions/ConversationMemberRequest.java | 21 + .../extensions/ConversationRequest.java | 21 + .../ConversationThreadCollectionRequest.java | 25 +- .../extensions/ConversationThreadRequest.java | 21 + .../CountryNamedLocationRequest.java | 21 + .../CountryRegionCollectionRequest.java | 25 +- .../extensions/CountryRegionRequest.java | 21 + .../CredentialUsageSummaryRequest.java | 21 + ...redentialUserRegistrationCountRequest.java | 21 + ...rRegistrationDetailsCollectionRequest.java | 25 +- ...dentialUserRegistrationDetailsRequest.java | 21 + .../extensions/CurrencyCollectionRequest.java | 25 +- .../requests/extensions/CurrencyRequest.java | 21 + .../extensions/CustomerCollectionRequest.java | 25 +- .../CustomerPaymentCollectionRequest.java | 25 +- ...stomerPaymentJournalCollectionRequest.java | 25 +- .../CustomerPaymentJournalRequest.java | 21 + .../CustomerPaymentJournalRequestBuilder.java | 14 +- .../extensions/CustomerPaymentRequest.java | 21 + .../requests/extensions/CustomerRequest.java | 25 +- .../extensions/CustomerRequestBuilder.java | 36 +- .../DataClassificationServiceRequest.java | 37 +- ...taClassificationServiceRequestBuilder.java | 68 +- ...LossPreventionPolicyCollectionRequest.java | 25 +- .../DataLossPreventionPolicyRequest.java | 21 + .../DataPolicyOperationCollectionRequest.java | 25 +- .../DataPolicyOperationRequest.java | 21 + .../DataSharingConsentCollectionRequest.java | 25 +- .../extensions/DataSharingConsentRequest.java | 21 + .../DefaultDeviceCompliancePolicyRequest.java | 21 + ...tDeviceCompliancePolicyRequestBuilder.java | 50 +- ...ManagedAppProtectionCollectionRequest.java | 25 +- .../DefaultManagedAppProtectionRequest.java | 21 + ...egatedPermissionClassificationRequest.java | 21 + .../DepEnrollmentBaseProfileRequest.java | 21 + .../DepEnrollmentProfileRequest.java | 21 + .../DepIOSEnrollmentProfileRequest.java | 21 + .../DepMacOSEnrollmentProfileRequest.java | 21 + ...DepOnboardingSettingCollectionRequest.java | 25 +- .../DepOnboardingSettingRequest.java | 21 + .../DepOnboardingSettingRequestBuilder.java | 12 +- ...DetectedAppCollectionReferenceRequest.java | 4 +- .../DetectedAppCollectionRequest.java | 25 +- .../extensions/DetectedAppRequest.java | 21 + ...mentAssignmentFilterCollectionRequest.java | 25 +- ...dAppManagementAssignmentFilterRequest.java | 21 + ...gementRoleAssignmentCollectionRequest.java | 25 +- ...AndAppManagementRoleAssignmentRequest.java | 21 + ...AndAppManagementRoleDefinitionRequest.java | 21 + .../DeviceAppManagementRequest.java | 93 +- .../DeviceAppManagementRequestBuilder.java | 184 +- ...iceAppManagementTaskCollectionRequest.java | 25 +- .../DeviceAppManagementTaskRequest.java | 21 + .../DeviceCategoryCollectionRequest.java | 25 +- .../extensions/DeviceCategoryRequest.java | 21 + .../extensions/DeviceCollectionRequest.java | 25 +- ...ComplianceActionItemCollectionRequest.java | 25 +- .../DeviceComplianceActionItemRequest.java | 21 + ...DeviceComplianceDeviceOverviewRequest.java | 21 + ...mplianceDeviceStatusCollectionRequest.java | 25 +- .../DeviceComplianceDeviceStatusRequest.java | 21 + ...ancePolicyAssignmentCollectionRequest.java | 25 +- ...viceCompliancePolicyAssignmentRequest.java | 21 + ...viceCompliancePolicyCollectionRequest.java | 29 +- ...pliancePolicyCollectionRequestBuilder.java | 20 +- ...liancePolicyDeviceStateSummaryRequest.java | 21 + ...ompliancePolicyGroupAssignmentRequest.java | 21 + ...eCompliancePolicyPolicySetItemRequest.java | 21 + ...eviceCompliancePolicyReferenceRequest.java | 28 +- ...mpliancePolicyReferenceRequestBuilder.java | 28 +- .../DeviceCompliancePolicyRequest.java | 49 +- .../DeviceCompliancePolicyRequestBuilder.java | 78 +- ...ySettingStateSummaryCollectionRequest.java | 25 +- ...iancePolicySettingStateSummaryRequest.java | 21 + ...ompliancePolicyStateCollectionRequest.java | 25 +- .../DeviceCompliancePolicyStateRequest.java | 21 + ...eCompliancePolicyWithReferenceRequest.java | 28 +- ...ancePolicyWithReferenceRequestBuilder.java | 28 +- ...heduledActionForRuleCollectionRequest.java | 25 +- ...mplianceScheduledActionForRuleRequest.java | 21 + ...viceComplianceScriptCollectionRequest.java | 25 +- ...nceScriptDeviceStateCollectionRequest.java | 25 +- ...iceComplianceScriptDeviceStateRequest.java | 21 + .../DeviceComplianceScriptRequest.java | 21 + .../DeviceComplianceScriptRequestBuilder.java | 14 +- ...viceComplianceScriptRunSummaryRequest.java | 21 + ...mplianceSettingStateCollectionRequest.java | 25 +- .../DeviceComplianceSettingStateRequest.java | 21 + .../DeviceComplianceUserOverviewRequest.java | 21 + ...ComplianceUserStatusCollectionRequest.java | 25 +- .../DeviceComplianceUserStatusRequest.java | 21 + ...figurationAssignmentCollectionRequest.java | 25 +- .../DeviceConfigurationAssignmentRequest.java | 21 + ...nfigurationCollectionReferenceRequest.java | 6 +- ...tionCollectionReferenceRequestBuilder.java | 2 +- .../DeviceConfigurationCollectionRequest.java | 27 +- ...ConfigurationCollectionRequestBuilder.java | 2 +- ...igurationCollectionWithReferencesPage.java | 2 +- ...rationCollectionWithReferencesRequest.java | 2 +- ...ollectionWithReferencesRequestBuilder.java | 2 +- ...ationConflictSummaryCollectionRequest.java | 25 +- ...ceConfigurationConflictSummaryRequest.java | 21 + ...iceConfigurationDeviceOverviewRequest.java | 21 + ...onfigurationDeviceStateSummaryRequest.java | 21 + ...gurationDeviceStatusCollectionRequest.java | 25 +- ...eviceConfigurationDeviceStatusRequest.java | 21 + ...ationGroupAssignmentCollectionRequest.java | 25 +- ...ceConfigurationGroupAssignmentRequest.java | 21 + ...viceConfigurationPolicySetItemRequest.java | 21 + .../DeviceConfigurationReferenceRequest.java | 18 +- ...eConfigurationReferenceRequestBuilder.java | 18 +- .../DeviceConfigurationRequest.java | 39 +- .../DeviceConfigurationRequestBuilder.java | 68 +- ...ceConfigurationStateCollectionRequest.java | 25 +- .../DeviceConfigurationStateRequest.java | 21 + ...eviceConfigurationUserOverviewRequest.java | 21 + ...eConfigurationUserStateSummaryRequest.java | 21 + ...figurationUserStatusCollectionRequest.java | 25 +- .../DeviceConfigurationUserStatusRequest.java | 21 + ...viceConfigurationWithReferenceRequest.java | 18 +- ...figurationWithReferenceRequestBuilder.java | 18 +- ...ollmentConfigurationCollectionRequest.java | 25 +- .../DeviceEnrollmentConfigurationRequest.java | 21 + ...EnrollmentConfigurationRequestBuilder.java | 8 +- ...ceEnrollmentLimitConfigurationRequest.java | 21 + ...tformRestrictionsConfigurationRequest.java | 21 + ...sHelloForBusinessConfigurationRequest.java | 21 + ...althScriptAssignmentCollectionRequest.java | 27 +- ...iptAssignmentCollectionRequestBuilder.java | 4 +- .../DeviceHealthScriptAssignmentRequest.java | 21 + .../DeviceHealthScriptCollectionRequest.java | 25 +- ...lthScriptDeviceStateCollectionRequest.java | 25 +- .../DeviceHealthScriptDeviceStateRequest.java | 21 + .../extensions/DeviceHealthScriptRequest.java | 21 + .../DeviceHealthScriptRequestBuilder.java | 22 +- .../DeviceHealthScriptRunSummaryRequest.java | 21 + .../DeviceInstallStateCollectionRequest.java | 25 +- .../extensions/DeviceInstallStateRequest.java | 21 + ...ogCollectionResponseCollectionRequest.java | 25 +- .../DeviceLogCollectionResponseRequest.java | 21 + ...stractComplexSettingDefinitionRequest.java | 21 + ...AbstractComplexSettingInstanceRequest.java | 21 + ...gementAutopilotEventCollectionRequest.java | 25 +- ...DeviceManagementAutopilotEventRequest.java | 21 + ...otPolicyStatusDetailCollectionRequest.java | 25 +- ...entAutopilotPolicyStatusDetailRequest.java | 21 + ...nagementBooleanSettingInstanceRequest.java | 21 + ...dReportConfigurationCollectionRequest.java | 25 +- ...ementCachedReportConfigurationRequest.java | 21 + ...entCollectionSettingDefinitionRequest.java | 21 + ...ementCollectionSettingInstanceRequest.java | 21 + ...gementComplexSettingDefinitionRequest.java | 21 + ...nagementComplexSettingInstanceRequest.java | 21 + ...edCredentialSettingsCollectionRequest.java | 25 +- ...ementDerivedCredentialSettingsRequest.java | 21 + ...tDomainJoinConnectorCollectionRequest.java | 25 +- ...eManagementDomainJoinConnectorRequest.java | 21 + ...entExchangeConnectorCollectionRequest.java | 25 +- ...iceManagementExchangeConnectorRequest.java | 21 + ...angeOnPremisesPolicyCollectionRequest.java | 25 +- ...gementExchangeOnPremisesPolicyRequest.java | 21 + ...eManagementExportJobCollectionRequest.java | 25 +- .../DeviceManagementExportJobRequest.java | 21 + ...nagementIntegerSettingInstanceRequest.java | 21 + ...mentIntentAssignmentCollectionRequest.java | 25 +- ...viceManagementIntentAssignmentRequest.java | 21 + ...viceManagementIntentCollectionRequest.java | 27 +- ...agementIntentCollectionRequestBuilder.java | 2 +- ...eSettingStateSummaryCollectionRequest.java | 25 +- ...ntentDeviceSettingStateSummaryRequest.java | 21 + ...entIntentDeviceStateCollectionRequest.java | 25 +- ...iceManagementIntentDeviceStateRequest.java | 21 + ...gementIntentDeviceStateSummaryRequest.java | 21 + .../DeviceManagementIntentRequest.java | 39 +- .../DeviceManagementIntentRequestBuilder.java | 70 +- ...ntentSettingCategoryCollectionRequest.java | 25 +- ...anagementIntentSettingCategoryRequest.java | 21 + ...ementIntentUserStateCollectionRequest.java | 25 +- ...eviceManagementIntentUserStateRequest.java | 21 + ...nagementIntentUserStateSummaryRequest.java | 21 + ...iceManagementPartnerCollectionRequest.java | 25 +- .../DeviceManagementPartnerRequest.java | 21 + ...gementReportScheduleCollectionRequest.java | 25 +- ...DeviceManagementReportScheduleRequest.java | 21 + .../DeviceManagementReportsRequest.java | 21 + ...DeviceManagementReportsRequestBuilder.java | 32 +- .../extensions/DeviceManagementRequest.java | 295 ++- .../DeviceManagementRequestBuilder.java | 784 +++--- ...mentScriptAssignmentCollectionRequest.java | 25 +- ...viceManagementScriptAssignmentRequest.java | 21 + ...viceManagementScriptCollectionRequest.java | 25 +- ...entScriptDeviceStateCollectionRequest.java | 25 +- ...iceManagementScriptDeviceStateRequest.java | 21 + ...criptGroupAssignmentCollectionRequest.java | 25 +- ...anagementScriptGroupAssignmentRequest.java | 21 + ...eManagementScriptPolicySetItemRequest.java | 21 + .../DeviceManagementScriptRequest.java | 29 +- .../DeviceManagementScriptRequestBuilder.java | 36 +- ...viceManagementScriptRunSummaryRequest.java | 21 + ...ementScriptUserStateCollectionRequest.java | 25 +- ...eviceManagementScriptUserStateRequest.java | 21 + ...ementSettingCategoryCollectionRequest.java | 25 +- ...eviceManagementSettingCategoryRequest.java | 21 + ...entSettingDefinitionCollectionRequest.java | 25 +- ...iceManagementSettingDefinitionRequest.java | 21 + ...ementSettingInstanceCollectionRequest.java | 27 +- ...ttingInstanceCollectionRequestBuilder.java | 4 +- ...eviceManagementSettingInstanceRequest.java | 21 + ...anagementStringSettingInstanceRequest.java | 21 + ...ceManagementTemplateCollectionRequest.java | 25 +- .../DeviceManagementTemplateRequest.java | 29 +- ...eviceManagementTemplateRequestBuilder.java | 22 +- ...plateSettingCategoryCollectionRequest.java | 25 +- ...agementTemplateSettingCategoryRequest.java | 21 + ...TroubleshootingEventCollectionRequest.java | 25 +- ...ManagementTroubleshootingEventRequest.java | 21 + .../DeviceRegistrationPolicyRequest.java | 21 + .../requests/extensions/DeviceRequest.java | 21 + .../DeviceSetupConfigurationRequest.java | 21 + .../DeviceShellScriptCollectionRequest.java | 25 +- .../extensions/DeviceShellScriptRequest.java | 29 +- .../DeviceShellScriptRequestBuilder.java | 36 +- .../DimensionCollectionRequest.java | 25 +- .../requests/extensions/DimensionRequest.java | 21 + .../DimensionValueCollectionRequest.java | 25 +- .../extensions/DimensionValueRequest.java | 21 + .../DirectoryAuditCollectionRequest.java | 25 +- .../extensions/DirectoryAuditRequest.java | 21 + .../DirectoryDefinitionCollectionRequest.java | 25 +- .../DirectoryDefinitionRequest.java | 21 + ...ctoryObjectCollectionReferenceRequest.java | 4 +- .../DirectoryObjectCollectionRequest.java | 25 +- ...rectoryObjectCollectionRequestBuilder.java | 10 +- ...irectoryObjectPartnerReferenceRequest.java | 21 + .../extensions/DirectoryObjectRequest.java | 21 + .../requests/extensions/DirectoryRequest.java | 21 + ...irectoryRoleAccessReviewPolicyRequest.java | 21 + .../DirectoryRoleCollectionRequest.java | 25 +- .../extensions/DirectoryRoleRequest.java | 21 + ...irectoryRoleTemplateCollectionRequest.java | 25 +- .../DirectoryRoleTemplateRequest.java | 21 + .../DirectorySettingCollectionRequest.java | 25 +- .../extensions/DirectorySettingRequest.java | 21 + ...ctorySettingTemplateCollectionRequest.java | 25 +- .../DirectorySettingTemplateRequest.java | 21 + ...DlpEvaluatePoliciesJobResponseRequest.java | 21 + .../DocumentCommentCollectionRequest.java | 25 +- ...DocumentCommentReplyCollectionRequest.java | 25 +- .../DocumentCommentReplyRequest.java | 21 + .../extensions/DocumentCommentRequest.java | 21 + .../requests/extensions/DocumentRequest.java | 21 + .../extensions/DomainCollectionRequest.java | 25 +- .../DomainDnsCnameRecordRequest.java | 21 + .../extensions/DomainDnsMxRecordRequest.java | 21 + .../DomainDnsRecordCollectionRequest.java | 25 +- .../extensions/DomainDnsRecordRequest.java | 21 + .../extensions/DomainDnsSrvRecordRequest.java | 21 + .../extensions/DomainDnsTxtRecordRequest.java | 21 + .../DomainDnsUnavailableRecordRequest.java | 21 + .../requests/extensions/DomainRequest.java | 29 +- .../extensions/DomainRequestBuilder.java | 22 +- ...omainSecurityProfileCollectionRequest.java | 25 +- .../DomainSecurityProfileRequest.java | 21 + .../extensions/DriveCollectionRequest.java | 25 +- .../DriveItemCollectionRequest.java | 25 +- .../DriveItemDeltaCollectionRequest.java | 2 +- ...riveItemDeltaCollectionRequestBuilder.java | 16 +- .../requests/extensions/DriveItemRequest.java | 21 + .../extensions/DriveItemRequestBuilder.java | 16 +- .../DriveItemVersionCollectionRequest.java | 25 +- .../extensions/DriveItemVersionRequest.java | 21 + .../requests/extensions/DriveRequest.java | 21 + .../EBookInstallSummaryRequest.java | 21 + ...sEmailProfileConfigurationBaseRequest.java | 21 + ...rofileConfigurationBaseRequestBuilder.java | 42 +- .../EdiscoveryCaseCollectionRequest.java | 25 +- .../extensions/EdiscoveryCaseRequest.java | 21 + .../extensions/EdiscoveryRequest.java | 21 + .../EditionUpgradeConfigurationRequest.java | 21 + ...ionUpgradeConfigurationRequestBuilder.java | 42 +- .../EducationAssignmentCollectionRequest.java | 25 +- .../EducationAssignmentRequest.java | 29 +- .../EducationAssignmentRequestBuilder.java | 36 +- ...onAssignmentResourceCollectionRequest.java | 25 +- .../EducationAssignmentResourceRequest.java | 21 + .../EducationCategoryCollectionRequest.java | 27 +- ...ationCategoryCollectionRequestBuilder.java | 4 +- .../extensions/EducationCategoryRequest.java | 21 + ...cationClassCollectionReferenceRequest.java | 10 +- ...lassCollectionReferenceRequestBuilder.java | 4 +- .../EducationClassCollectionRequest.java | 25 +- ...tionClassCollectionWithReferencesPage.java | 2 +- ...nClassCollectionWithReferencesRequest.java | 2 +- ...ollectionWithReferencesRequestBuilder.java | 4 +- .../EducationClassReferenceRequest.java | 8 +- ...EducationClassReferenceRequestBuilder.java | 8 +- .../extensions/EducationClassRequest.java | 29 +- .../EducationClassRequestBuilder.java | 46 +- .../EducationClassWithReferenceRequest.java | 8 +- ...ationClassWithReferenceRequestBuilder.java | 8 +- .../EducationFeedbackOutcomeRequest.java | 21 + .../EducationOrganizationRequest.java | 21 + .../EducationOutcomeCollectionRequest.java | 25 +- .../extensions/EducationOutcomeRequest.java | 21 + .../EducationPointsOutcomeRequest.java | 21 + .../extensions/EducationRootRequest.java | 21 + .../EducationRootRequestBuilder.java | 18 +- .../EducationRubricCollectionRequest.java | 25 +- .../EducationRubricOutcomeRequest.java | 21 + .../extensions/EducationRubricRequest.java | 21 + ...ationSchoolCollectionReferenceRequest.java | 4 +- .../EducationSchoolCollectionRequest.java | 25 +- .../extensions/EducationSchoolRequest.java | 21 + .../EducationSchoolRequestBuilder.java | 18 +- .../EducationSubmissionCollectionRequest.java | 25 +- .../EducationSubmissionRequest.java | 29 +- .../EducationSubmissionRequestBuilder.java | 22 +- ...onSubmissionResourceCollectionRequest.java | 25 +- .../EducationSubmissionResourceRequest.java | 21 + ...SynchronizationErrorCollectionRequest.java | 25 +- .../EducationSynchronizationErrorRequest.java | 21 + ...nchronizationProfileCollectionRequest.java | 25 +- ...ducationSynchronizationProfileRequest.java | 21 + ...nSynchronizationProfileRequestBuilder.java | 8 +- ...onSynchronizationProfileStatusRequest.java | 21 + ...ucationUserCollectionReferenceRequest.java | 4 +- .../EducationUserCollectionRequest.java | 25 +- .../extensions/EducationUserRequest.java | 21 + .../EducationUserRequestBuilder.java | 14 +- .../EducationalActivityCollectionRequest.java | 25 +- .../EducationalActivityRequest.java | 21 + .../EmailActivityStatisticsRequest.java | 21 + .../EmailActivitySummaryRequest.java | 21 + .../EmailActivityUserDetailRequest.java | 21 + .../EmailAppUsageAppsUserCountsRequest.java | 21 + .../EmailAppUsageUserCountsRequest.java | 21 + .../EmailAppUsageUserDetailRequest.java | 21 + ...mailAppUsageVersionsUserCountsRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- .../EmailAuthenticationMethodRequest.java | 21 + .../EmailFileAssessmentRequestRequest.java | 21 + ...onCodePoolAssignmentCollectionRequest.java | 25 +- ...IMActivationCodePoolAssignmentRequest.java | 21 + ...IMActivationCodePoolCollectionRequest.java | 25 +- .../EmbeddedSIMActivationCodePoolRequest.java | 21 + ...beddedSIMDeviceStateCollectionRequest.java | 25 +- .../EmbeddedSIMDeviceStateRequest.java | 21 + .../extensions/EmployeeCollectionRequest.java | 25 +- .../requests/extensions/EmployeeRequest.java | 21 + .../extensions/EndpointCollectionRequest.java | 25 +- .../requests/extensions/EndpointRequest.java | 21 + ...figurationAssignmentCollectionRequest.java | 25 +- ...ollmentConfigurationAssignmentRequest.java | 21 + .../EnrollmentProfileCollectionRequest.java | 25 +- .../extensions/EnrollmentProfileRequest.java | 21 + ...ionsConfigurationPolicySetItemRequest.java | 21 + ...EnrollmentTroubleshootingEventRequest.java | 21 + ...deSigningCertificateCollectionRequest.java | 25 +- ...terpriseCodeSigningCertificateRequest.java | 21 + .../EntitlementManagementRequest.java | 61 +- .../EntitlementManagementRequestBuilder.java | 118 +- .../EntitlementManagementSettingsRequest.java | 21 + .../EvaluateLabelJobResponseRequest.java | 21 + ...teLabelsAndPoliciesJobResponseRequest.java | 21 + .../extensions/EventCollectionRequest.java | 28 +- .../EventCollectionRequestBuilder.java | 5 +- .../extensions/EventMessageRequest.java | 21 + .../EventMessageRequestBuilder.java | 28 +- .../EventMessageRequestRequest.java | 21 + .../EventMessageRequestRequestBuilder.java | 28 +- .../EventMessageResponseRequest.java | 21 + .../EventMessageResponseRequestBuilder.java | 28 +- .../requests/extensions/EventRequest.java | 47 +- .../extensions/EventRequestBuilder.java | 96 +- .../ExactMatchDataStoreCollectionRequest.java | 25 +- .../ExactMatchDataStoreRequest.java | 21 + .../extensions/ExactMatchJobBaseRequest.java | 21 + .../ExactMatchLookupJobRequest.java | 21 + .../ExactMatchSessionCollectionRequest.java | 25 +- .../extensions/ExactMatchSessionRequest.java | 21 + ...xactMatchUploadAgentCollectionRequest.java | 25 +- .../ExactMatchUploadAgentRequest.java | 21 + .../ExtensionCollectionRequest.java | 27 +- .../ExtensionCollectionRequestBuilder.java | 4 +- .../ExtensionPropertyCollectionRequest.java | 25 +- .../extensions/ExtensionPropertyRequest.java | 21 + .../requests/extensions/ExtensionRequest.java | 21 + .../ExternalConnectionCollectionRequest.java | 25 +- .../extensions/ExternalConnectionRequest.java | 29 +- .../ExternalConnectionRequestBuilder.java | 32 +- .../ExternalGroupCollectionRequest.java | 25 +- .../ExternalGroupMemberCollectionRequest.java | 25 +- .../ExternalGroupMemberRequest.java | 21 + .../extensions/ExternalGroupRequest.java | 21 + .../ExternalItemCollectionRequest.java | 25 +- .../extensions/ExternalItemRequest.java | 21 + .../requests/extensions/ExternalRequest.java | 21 + ...FeatureRolloutPolicyCollectionRequest.java | 25 +- .../FeatureRolloutPolicyRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- .../Fido2AuthenticationMethodRequest.java | 21 + .../extensions/FieldValueSetRequest.java | 21 + .../FileAssessmentRequestRequest.java | 21 + .../extensions/FileAttachmentRequest.java | 21 + ...lassificationRequestCollectionRequest.java | 25 +- .../FileClassificationRequestRequest.java | 21 + .../FileSecurityProfileCollectionRequest.java | 25 +- .../FileSecurityProfileRequest.java | 21 + ...FilterOperatorSchemaCollectionRequest.java | 25 +- .../FilterOperatorSchemaRequest.java | 21 + .../extensions/FinancialsRequest.java | 21 + .../FocusActivityStatisticsRequest.java | 21 + .../GeneralLedgerEntryCollectionRequest.java | 25 +- .../extensions/GeneralLedgerEntryRequest.java | 21 + ...rnancePolicyTemplateCollectionRequest.java | 25 +- .../GovernancePolicyTemplateRequest.java | 21 + .../GovernanceResourceCollectionRequest.java | 25 +- .../extensions/GovernanceResourceRequest.java | 37 +- .../GovernanceResourceRequestBuilder.java | 32 +- ...rnanceRoleAssignmentCollectionRequest.java | 25 +- ...ernanceRoleAssignmentReferenceRequest.java | 4 +- ...RoleAssignmentReferenceRequestBuilder.java | 4 +- .../GovernanceRoleAssignmentRequest.java | 25 +- ...overnanceRoleAssignmentRequestBuilder.java | 22 +- ...oleAssignmentRequestCollectionRequest.java | 25 +- ...overnanceRoleAssignmentRequestRequest.java | 21 + ...nceRoleAssignmentWithReferenceRequest.java | 4 +- ...AssignmentWithReferenceRequestBuilder.java | 4 +- ...rnanceRoleDefinitionCollectionRequest.java | 25 +- .../GovernanceRoleDefinitionRequest.java | 21 + ...overnanceRoleSettingCollectionRequest.java | 25 +- .../GovernanceRoleSettingRequest.java | 25 +- .../GovernanceRoleSettingRequestBuilder.java | 20 +- .../GovernanceSubjectCollectionRequest.java | 25 +- .../extensions/GovernanceSubjectRequest.java | 21 + .../extensions/GraphServiceClient.java | 234 +- .../extensions/GroupCollectionRequest.java | 29 +- .../GroupCollectionRequestBuilder.java | 4 +- ...aluateDynamicMembershipRequestBuilder.java | 12 +- ...GroupLifecyclePolicyCollectionRequest.java | 25 +- .../GroupLifecyclePolicyRequest.java | 21 + ...icyCategoryCollectionReferenceRequest.java | 4 +- .../GroupPolicyCategoryCollectionRequest.java | 25 +- .../GroupPolicyCategoryRequest.java | 21 + .../GroupPolicyCategoryRequestBuilder.java | 26 +- ...figurationAssignmentCollectionRequest.java | 25 +- ...pPolicyConfigurationAssignmentRequest.java | 21 + ...pPolicyConfigurationCollectionRequest.java | 25 +- .../GroupPolicyConfigurationRequest.java | 29 +- ...roupPolicyConfigurationRequestBuilder.java | 22 +- ...yDefinitionCollectionReferenceRequest.java | 4 +- ...roupPolicyDefinitionCollectionRequest.java | 25 +- ...PolicyDefinitionFileCollectionRequest.java | 25 +- .../GroupPolicyDefinitionFileRequest.java | 21 + ...GroupPolicyDefinitionReferenceRequest.java | 4 +- ...licyDefinitionReferenceRequestBuilder.java | 4 +- .../GroupPolicyDefinitionRequest.java | 25 +- .../GroupPolicyDefinitionRequestBuilder.java | 20 +- ...olicyDefinitionValueCollectionRequest.java | 25 +- .../GroupPolicyDefinitionValueRequest.java | 21 + ...upPolicyDefinitionValueRequestBuilder.java | 14 +- ...pPolicyDefinitionWithReferenceRequest.java | 4 +- ...DefinitionWithReferenceRequestBuilder.java | 4 +- ...olicyMigrationReportCollectionRequest.java | 25 +- .../GroupPolicyMigrationReportRequest.java | 21 + ...roupPolicyObjectFileCollectionRequest.java | 25 +- .../GroupPolicyObjectFileRequest.java | 21 + ...GroupPolicyOperationCollectionRequest.java | 25 +- .../GroupPolicyOperationRequest.java | 21 + ...roupPolicyPresentationCheckBoxRequest.java | 21 + ...upPolicyPresentationCollectionRequest.java | 25 +- ...roupPolicyPresentationComboBoxRequest.java | 21 + ...licyPresentationDecimalTextBoxRequest.java | 21 + ...PolicyPresentationDropdownListRequest.java | 21 + ...GroupPolicyPresentationListBoxRequest.java | 21 + ...PresentationLongDecimalTextBoxRequest.java | 21 + ...PolicyPresentationMultiTextBoxRequest.java | 21 + .../GroupPolicyPresentationRequest.java | 21 + ...GroupPolicyPresentationTextBoxRequest.java | 21 + .../GroupPolicyPresentationTextRequest.java | 21 + ...PolicyPresentationValueBooleanRequest.java | 21 + ...icyPresentationValueCollectionRequest.java | 25 +- ...PolicyPresentationValueDecimalRequest.java | 21 + ...oupPolicyPresentationValueListRequest.java | 21 + ...cyPresentationValueLongDecimalRequest.java | 21 + ...licyPresentationValueMultiTextRequest.java | 21 + .../GroupPolicyPresentationValueRequest.java | 21 + ...oupPolicyPresentationValueTextRequest.java | 21 + ...PolicySettingMappingCollectionRequest.java | 25 +- .../GroupPolicySettingMappingRequest.java | 21 + ...loadedDefinitionFileCollectionRequest.java | 25 +- ...upPolicyUploadedDefinitionFileRequest.java | 21 + ...yUploadedDefinitionFileRequestBuilder.java | 8 +- .../extensions/GroupReferenceRequest.java | 28 +- .../GroupReferenceRequestBuilder.java | 28 +- .../requests/extensions/GroupRequest.java | 49 +- .../extensions/GroupRequestBuilder.java | 184 +- .../extensions/GroupWithReferenceRequest.java | 28 +- .../GroupWithReferenceRequestBuilder.java | 28 +- ...overyPolicyCollectionReferenceRequest.java | 4 +- ...RealmDiscoveryPolicyCollectionRequest.java | 25 +- .../HomeRealmDiscoveryPolicyRequest.java | 21 + .../HostSecurityProfileCollectionRequest.java | 25 +- .../HostSecurityProfileRequest.java | 21 + .../IAadUserConversationMemberRequest.java | 17 + ...essPackageAssignmentCollectionRequest.java | 16 + ...kageAssignmentPolicyCollectionRequest.java | 16 + ...IAccessPackageAssignmentPolicyRequest.java | 17 + .../IAccessPackageAssignmentRequest.java | 17 + ...AccessPackageAssignmentRequestBuilder.java | 14 +- ...ageAssignmentRequestCollectionRequest.java | 16 + ...AccessPackageAssignmentRequestRequest.java | 17 + ...signmentResourceRoleCollectionRequest.java | 16 + ...sPackageAssignmentResourceRoleRequest.java | 17 + ...eAssignmentResourceRoleRequestBuilder.java | 22 +- ...AccessPackageCatalogCollectionRequest.java | 16 + ...IAccessPackageCatalogReferenceRequest.java | 4 +- ...PackageCatalogReferenceRequestBuilder.java | 4 +- .../IAccessPackageCatalogRequest.java | 17 + .../IAccessPackageCatalogRequestBuilder.java | 12 +- ...essPackageCatalogWithReferenceRequest.java | 4 +- ...ageCatalogWithReferenceRequestBuilder.java | 4 +- .../IAccessPackageCollectionRequest.java | 16 + .../IAccessPackageReferenceRequest.java | 4 +- ...IAccessPackageReferenceRequestBuilder.java | 4 +- .../extensions/IAccessPackageRequest.java | 17 + .../IAccessPackageRequestBuilder.java | 12 +- ...ccessPackageResourceCollectionRequest.java | 16 + ...AccessPackageResourceReferenceRequest.java | 4 +- ...ackageResourceReferenceRequestBuilder.java | 4 +- .../IAccessPackageResourceRequest.java | 17 + .../IAccessPackageResourceRequestBuilder.java | 12 +- ...ckageResourceRequestCollectionRequest.java | 16 + .../IAccessPackageResourceRequestRequest.java | 17 + ...sPackageResourceRoleCollectionRequest.java | 16 + .../IAccessPackageResourceRoleRequest.java | 17 + ...ageResourceRoleScopeCollectionRequest.java | 16 + ...AccessPackageResourceRoleScopeRequest.java | 17 + ...PackageResourceScopeCollectionRequest.java | 16 + .../IAccessPackageResourceScopeRequest.java | 17 + ...ssPackageResourceWithReferenceRequest.java | 4 +- ...geResourceWithReferenceRequestBuilder.java | 4 +- .../IAccessPackageSubjectRequest.java | 17 + .../IAccessPackageWithReferenceRequest.java | 4 +- ...essPackageWithReferenceRequestBuilder.java | 4 +- .../IAccessReviewCollectionRequest.java | 16 + ...AccessReviewDecisionCollectionRequest.java | 16 + .../IAccessReviewDecisionRequest.java | 17 + ...AccessReviewInstanceCollectionRequest.java | 16 + ...InstanceDecisionItemCollectionRequest.java | 16 + ...cessReviewInstanceDecisionItemRequest.java | 17 + .../IAccessReviewInstanceRequest.java | 17 + .../IAccessReviewInstanceRequestBuilder.java | 8 +- .../extensions/IAccessReviewRequest.java | 17 + .../IAccessReviewRequestBuilder.java | 22 +- ...AccessReviewReviewerCollectionRequest.java | 16 + .../IAccessReviewReviewerRequest.java | 17 + ...ewScheduleDefinitionCollectionRequest.java | 16 + ...AccessReviewScheduleDefinitionRequest.java | 17 + .../extensions/IAccessReviewSetRequest.java | 17 + .../extensions/IAccountCollectionRequest.java | 16 + .../requests/extensions/IAccountRequest.java | 17 + ...dowsAutopilotDeploymentProfileRequest.java | 17 + ...tyBasedTimeoutPolicyCollectionRequest.java | 16 + .../IActivityBasedTimeoutPolicyRequest.java | 17 + ...IActivityHistoryItemCollectionRequest.java | 16 + .../IActivityHistoryItemRequest.java | 17 + .../IActivityStatisticsCollectionRequest.java | 16 + .../IActivityStatisticsRequest.java | 17 + .../IAdminConsentRequestPolicyRequest.java | 17 + .../IAdministrativeUnitCollectionRequest.java | 16 + .../IAdministrativeUnitRequest.java | 17 + ...ngDeviceSettingStateCollectionRequest.java | 16 + ...onOnboardingDeviceSettingStateRequest.java | 17 + ...otectionOnboardingStateSummaryRequest.java | 17 + ...IAgedAccountsPayableCollectionRequest.java | 16 + .../IAgedAccountsPayableRequest.java | 17 + ...edAccountsReceivableCollectionRequest.java | 16 + .../IAgedAccountsReceivableRequest.java | 17 + ...IAgreementAcceptanceCollectionRequest.java | 16 + .../IAgreementAcceptanceRequest.java | 17 + .../IAgreementCollectionRequest.java | 16 + ...mentFileLocalizationCollectionRequest.java | 16 + .../IAgreementFileLocalizationRequest.java | 17 + .../IAgreementFilePropertiesRequest.java | 17 + .../extensions/IAgreementFileRequest.java | 17 + .../extensions/IAgreementRequest.java | 17 + .../extensions/IAgreementRequestBuilder.java | 12 +- .../extensions/IAlertCollectionRequest.java | 16 + .../requests/extensions/IAlertRequest.java | 17 + ...IAllowedDataLocationCollectionRequest.java | 16 + .../IAllowedDataLocationRequest.java | 17 + ...IAndroidCertificateProfileBaseRequest.java | 17 + ...dCertificateProfileBaseRequestBuilder.java | 24 +- .../IAndroidCompliancePolicyRequest.java | 17 + ...AndroidCompliancePolicyRequestBuilder.java | 28 +- .../IAndroidCustomConfigurationRequest.java | 17 + ...roidCustomConfigurationRequestBuilder.java | 24 +- ...eviceComplianceLocalActionBaseRequest.java | 17 + ...omplianceLocalActionLockDeviceRequest.java | 17 + ...alActionLockDeviceWithPasscodeRequest.java | 17 + ...iceOwnerCertificateProfileBaseRequest.java | 17 + ...rCertificateProfileBaseRequestBuilder.java | 24 +- ...oidDeviceOwnerCompliancePolicyRequest.java | 17 + ...ceOwnerCompliancePolicyRequestBuilder.java | 28 +- ...ialAuthenticationConfigurationRequest.java | 17 + ...enticationConfigurationRequestBuilder.java | 24 +- ...nerEnrollmentProfileCollectionRequest.java | 16 + ...idDeviceOwnerEnrollmentProfileRequest.java | 17 + ...eOwnerEnrollmentProfileRequestBuilder.java | 2 +- ...nerEnterpriseWiFiConfigurationRequest.java | 17 + ...rpriseWiFiConfigurationRequestBuilder.java | 40 +- ...wnerGeneralDeviceConfigurationRequest.java | 17 + ...eralDeviceConfigurationRequestBuilder.java | 24 +- ...rImportedPFXCertificateProfileRequest.java | 17 + ...edPFXCertificateProfileRequestBuilder.java | 24 +- ...iceOwnerPkcsCertificateProfileRequest.java | 17 + ...rPkcsCertificateProfileRequestBuilder.java | 24 +- ...iceOwnerScepCertificateProfileRequest.java | 17 + ...rScepCertificateProfileRequestBuilder.java | 24 +- ...iceOwnerTrustedRootCertificateRequest.java | 17 + ...rTrustedRootCertificateRequestBuilder.java | 24 +- ...oidDeviceOwnerVpnConfigurationRequest.java | 17 + ...ceOwnerVpnConfigurationRequestBuilder.java | 38 +- ...idDeviceOwnerWiFiConfigurationRequest.java | 17 + ...eOwnerWiFiConfigurationRequestBuilder.java | 24 +- ...idEasEmailProfileConfigurationRequest.java | 17 + ...ailProfileConfigurationRequestBuilder.java | 24 +- ...oidEnterpriseWiFiConfigurationRequest.java | 17 + ...rpriseWiFiConfigurationRequestBuilder.java | 38 +- ...pConfigurationSchemaCollectionRequest.java | 16 + ...dForWorkAppConfigurationSchemaRequest.java | 17 + .../extensions/IAndroidForWorkAppRequest.java | 17 + .../IAndroidForWorkAppRequestBuilder.java | 16 +- ...dForWorkCertificateProfileBaseRequest.java | 17 + ...kCertificateProfileBaseRequestBuilder.java | 24 +- ...AndroidForWorkCompliancePolicyRequest.java | 17 + ...ForWorkCompliancePolicyRequestBuilder.java | 28 +- ...roidForWorkCustomConfigurationRequest.java | 17 + ...WorkCustomConfigurationRequestBuilder.java | 24 +- ...roidForWorkEasEmailProfileBaseRequest.java | 17 + ...WorkEasEmailProfileBaseRequestBuilder.java | 24 +- ...orkEnrollmentProfileCollectionRequest.java | 16 + ...ndroidForWorkEnrollmentProfileRequest.java | 17 + ...orWorkEnrollmentProfileRequestBuilder.java | 2 +- ...orkEnterpriseWiFiConfigurationRequest.java | 17 + ...rpriseWiFiConfigurationRequestBuilder.java | 38 +- ...WorkGeneralDeviceConfigurationRequest.java | 17 + ...eralDeviceConfigurationRequestBuilder.java | 24 +- ...idForWorkGmailEasConfigurationRequest.java | 17 + ...rkGmailEasConfigurationRequestBuilder.java | 24 +- ...kImportedPFXCertificateProfileRequest.java | 17 + ...edPFXCertificateProfileRequestBuilder.java | 24 +- ...dForWorkMobileAppConfigurationRequest.java | 17 + ...kMobileAppConfigurationRequestBuilder.java | 8 +- ...orWorkNineWorkEasConfigurationRequest.java | 17 + ...ineWorkEasConfigurationRequestBuilder.java | 24 +- ...dForWorkPkcsCertificateProfileRequest.java | 17 + ...kPkcsCertificateProfileRequestBuilder.java | 24 +- ...dForWorkScepCertificateProfileRequest.java | 17 + ...kScepCertificateProfileRequestBuilder.java | 24 +- .../IAndroidForWorkSettingsRequest.java | 17 + ...IAndroidForWorkSettingsRequestBuilder.java | 2 +- ...dForWorkTrustedRootCertificateRequest.java | 17 + ...kTrustedRootCertificateRequestBuilder.java | 24 +- ...AndroidForWorkVpnConfigurationRequest.java | 17 + ...ForWorkVpnConfigurationRequestBuilder.java | 24 +- ...ndroidForWorkWiFiConfigurationRequest.java | 17 + ...orWorkWiFiConfigurationRequestBuilder.java | 24 +- ...roidGeneralDeviceConfigurationRequest.java | 17 + ...eralDeviceConfigurationRequestBuilder.java | 24 +- ...dImportedPFXCertificateProfileRequest.java | 17 + ...edPFXCertificateProfileRequestBuilder.java | 24 +- .../extensions/IAndroidLobAppRequest.java | 17 + .../IAndroidLobAppRequestBuilder.java | 16 +- ...ManagedAppProtectionCollectionRequest.java | 16 + .../IAndroidManagedAppProtectionRequest.java | 17 + ...IAndroidManagedAppRegistrationRequest.java | 17 + ...StoreAccountEnterpriseSettingsRequest.java | 17 + ...countEnterpriseSettingsRequestBuilder.java | 6 +- ...idManagedStoreAppConfigurationRequest.java | 17 + ...edStoreAppConfigurationRequestBuilder.java | 8 +- ...pConfigurationSchemaCollectionRequest.java | 16 + ...gedStoreAppConfigurationSchemaRequest.java | 17 + .../IAndroidManagedStoreAppRequest.java | 17 + ...IAndroidManagedStoreAppRequestBuilder.java | 16 +- .../IAndroidManagedStoreWebAppRequest.java | 17 + ...droidManagedStoreWebAppRequestBuilder.java | 16 +- .../IAndroidOmaCpConfigurationRequest.java | 17 + ...droidOmaCpConfigurationRequestBuilder.java | 24 +- ...IAndroidPkcsCertificateProfileRequest.java | 17 + ...dPkcsCertificateProfileRequestBuilder.java | 24 +- ...IAndroidScepCertificateProfileRequest.java | 17 + ...dScepCertificateProfileRequestBuilder.java | 24 +- .../extensions/IAndroidStoreAppRequest.java | 17 + .../IAndroidStoreAppRequestBuilder.java | 16 +- ...IAndroidTrustedRootCertificateRequest.java | 17 + ...dTrustedRootCertificateRequestBuilder.java | 24 +- .../IAndroidVpnConfigurationRequest.java | 17 + ...AndroidVpnConfigurationRequestBuilder.java | 24 +- .../IAndroidWiFiConfigurationRequest.java | 17 + ...ndroidWiFiConfigurationRequestBuilder.java | 24 +- ...kProfileCertificateProfileBaseRequest.java | 17 + ...eCertificateProfileBaseRequestBuilder.java | 24 +- ...oidWorkProfileCompliancePolicyRequest.java | 17 + ...ProfileCompliancePolicyRequestBuilder.java | 28 +- ...WorkProfileCustomConfigurationRequest.java | 17 + ...fileCustomConfigurationRequestBuilder.java | 24 +- ...WorkProfileEasEmailProfileBaseRequest.java | 17 + ...fileEasEmailProfileBaseRequestBuilder.java | 24 +- ...ileEnterpriseWiFiConfigurationRequest.java | 17 + ...rpriseWiFiConfigurationRequestBuilder.java | 38 +- ...fileGeneralDeviceConfigurationRequest.java | 17 + ...eralDeviceConfigurationRequestBuilder.java | 24 +- ...rkProfileGmailEasConfigurationRequest.java | 17 + ...leGmailEasConfigurationRequestBuilder.java | 24 +- ...rofileNineWorkEasConfigurationRequest.java | 17 + ...ineWorkEasConfigurationRequestBuilder.java | 24 +- ...kProfilePkcsCertificateProfileRequest.java | 17 + ...ePkcsCertificateProfileRequestBuilder.java | 24 +- ...kProfileScepCertificateProfileRequest.java | 17 + ...eScepCertificateProfileRequestBuilder.java | 24 +- ...kProfileTrustedRootCertificateRequest.java | 17 + ...eTrustedRootCertificateRequestBuilder.java | 24 +- ...oidWorkProfileVpnConfigurationRequest.java | 17 + ...ProfileVpnConfigurationRequestBuilder.java | 24 +- ...idWorkProfileWiFiConfigurationRequest.java | 17 + ...rofileWiFiConfigurationRequestBuilder.java | 24 +- .../extensions/IAppCatalogsRequest.java | 17 + .../IAppConsentRequestCollectionRequest.java | 16 + .../extensions/IAppConsentRequestRequest.java | 17 + ...LogCollectionRequestCollectionRequest.java | 16 + .../IAppLogCollectionRequestRequest.java | 17 + .../IAppRoleAssignmentCollectionRequest.java | 16 + .../extensions/IAppRoleAssignmentRequest.java | 17 + .../IAppScopeCollectionRequest.java | 16 + .../requests/extensions/IAppScopeRequest.java | 17 + ...abilityManagedDeviceCollectionRequest.java | 16 + ...IAppVulnerabilityManagedDeviceRequest.java | 17 + ...lnerabilityMobileAppCollectionRequest.java | 16 + .../IAppVulnerabilityMobileAppRequest.java | 17 + .../IAppVulnerabilityTaskRequest.java | 17 + ...eviceFeaturesConfigurationBaseRequest.java | 17 + ...aturesConfigurationBaseRequestBuilder.java | 24 +- ...entProfileAssignmentCollectionRequest.java | 16 + ...pleEnrollmentProfileAssignmentRequest.java | 17 + ...editedCheckinConfigurationBaseRequest.java | 17 + ...heckinConfigurationBaseRequestBuilder.java | 24 +- ...plePushNotificationCertificateRequest.java | 17 + ...tedEnrollmentProfileCollectionRequest.java | 16 + ...UserInitiatedEnrollmentProfileRequest.java | 17 + .../IAppleVpnConfigurationRequest.java | 17 + .../IAppleVpnConfigurationRequestBuilder.java | 24 +- ...leVppTokenTroubleshootingEventRequest.java | 17 + .../IApplicationCollectionRequest.java | 16 + .../IApplicationReferenceRequest.java | 4 +- .../IApplicationReferenceRequestBuilder.java | 4 +- .../extensions/IApplicationRequest.java | 17 + .../IApplicationRequestBuilder.java | 16 +- ...ignInDetailedSummaryCollectionRequest.java | 16 + ...plicationSignInDetailedSummaryRequest.java | 17 + .../IApplicationSignInSummaryRequest.java | 17 + ...IApplicationTemplateCollectionRequest.java | 16 + .../IApplicationTemplateRequest.java | 17 + .../IApplicationWithReferenceRequest.java | 4 +- ...pplicationWithReferenceRequestBuilder.java | 4 +- .../IApprovalCollectionRequest.java | 16 + .../requests/extensions/IApprovalRequest.java | 17 + .../extensions/IApprovalRequestBuilder.java | 8 +- .../IApprovalStepCollectionRequest.java | 16 + .../extensions/IApprovalStepRequest.java | 17 + ...ovalWorkflowProviderCollectionRequest.java | 16 + .../IApprovalWorkflowProviderRequest.java | 17 + ...pprovalWorkflowProviderRequestBuilder.java | 8 +- .../extensions/IAttachmentCollectionPage.java | 2 +- .../IAttachmentCollectionRequest.java | 18 +- .../IAttachmentCollectionRequestBuilder.java | 2 +- .../extensions/IAttachmentRequest.java | 17 + ...appingFunctionSchemaCollectionRequest.java | 16 + ...AttributeMappingFunctionSchemaRequest.java | 17 + .../IAudioRoutingGroupCollectionRequest.java | 16 + .../extensions/IAudioRoutingGroupRequest.java | 17 + .../IAuditEventCollectionRequest.java | 16 + .../IAuditEventCollectionRequestBuilder.java | 6 +- .../extensions/IAuditEventRequest.java | 17 + .../extensions/IAuditLogRootRequest.java | 17 + .../IAuditLogRootRequestBuilder.java | 24 +- .../IAuthenticationFlowsPolicyRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + .../IAuthenticationMethodRequest.java | 17 + .../IAuthenticationMethodRequestBuilder.java | 2 +- .../IAuthenticationMethodTargetRequest.java | 17 + .../extensions/IAuthenticationRequest.java | 17 + .../IAuthenticationRequestBuilder.java | 68 +- ...IAuthorizationPolicyCollectionRequest.java | 16 + .../IAuthorizationPolicyRequest.java | 17 + .../IAzureADFeatureUsageRequest.java | 17 + .../IAzureADLicenseUsageRequest.java | 17 + .../IAzureADUserFeatureUsageRequest.java | 17 + ...dowsAutopilotDeploymentProfileRequest.java | 17 + ...IB2cIdentityUserFlowCollectionRequest.java | 16 + .../IB2cIdentityUserFlowRequest.java | 17 + ...IB2xIdentityUserFlowCollectionRequest.java | 16 + .../IB2xIdentityUserFlowRequest.java | 17 + .../IBaseItemCollectionRequest.java | 16 + .../requests/extensions/IBaseItemRequest.java | 17 + .../extensions/IBaseItemVersionRequest.java | 17 + ...BitlockerRecoveryKeyCollectionRequest.java | 16 + .../IBitlockerRecoveryKeyRequest.java | 17 + .../extensions/IBitlockerRequest.java | 17 + .../IBookingAppointmentCollectionRequest.java | 16 + .../IBookingAppointmentRequest.java | 17 + .../IBookingBusinessCollectionRequest.java | 16 + .../extensions/IBookingBusinessRequest.java | 17 + .../IBookingCurrencyCollectionRequest.java | 16 + .../extensions/IBookingCurrencyRequest.java | 17 + .../IBookingCustomerCollectionRequest.java | 16 + .../extensions/IBookingCustomerRequest.java | 17 + .../IBookingNamedEntityRequest.java | 17 + .../extensions/IBookingPersonRequest.java | 17 + .../IBookingServiceCollectionRequest.java | 16 + .../extensions/IBookingServiceRequest.java | 17 + .../IBookingStaffMemberCollectionRequest.java | 16 + .../IBookingStaffMemberRequest.java | 17 + .../IBusinessFlowCollectionRequest.java | 16 + .../extensions/IBusinessFlowRequest.java | 17 + ...BusinessFlowTemplateCollectionRequest.java | 16 + .../IBusinessFlowTemplateRequest.java | 17 + .../ICalendarCollectionRequest.java | 16 + .../ICalendarGroupCollectionRequest.java | 16 + .../extensions/ICalendarGroupRequest.java | 17 + .../ICalendarPermissionCollectionRequest.java | 16 + .../ICalendarPermissionRequest.java | 17 + .../requests/extensions/ICalendarRequest.java | 17 + .../extensions/ICalendarRequestBuilder.java | 28 +- .../ICalendarSharingMessageRequest.java | 17 + ...ICalendarSharingMessageRequestBuilder.java | 16 +- .../ICallActivityStatisticsRequest.java | 17 + .../extensions/ICallCollectionPage.java | 2 +- .../extensions/ICallCollectionRequest.java | 18 +- .../ICallCollectionRequestBuilder.java | 2 +- .../requests/extensions/ICallRequest.java | 17 + .../extensions/ICallRequestBuilder.java | 14 +- ...CancelMediaProcessingOperationRequest.java | 17 + ...rtToClassAssociationCollectionRequest.java | 16 + .../ICartToClassAssociationRequest.java | 17 + ...sedAuthConfigurationCollectionRequest.java | 16 + ...tificateBasedAuthConfigurationRequest.java | 17 + .../IChangeTrackedEntityRequest.java | 17 + .../extensions/IChannelCollectionRequest.java | 16 + .../IChannelCompleteMigrationRequest.java | 36 + ...hannelCompleteMigrationRequestBuilder.java | 31 + .../requests/extensions/IChannelRequest.java | 17 + .../extensions/IChannelRequestBuilder.java | 27 +- .../IChatActivityStatisticsRequest.java | 17 + .../extensions/IChatCollectionRequest.java | 16 + .../IChatMessageCollectionRequest.java | 16 + ...MessageHostedContentCollectionRequest.java | 16 + .../IChatMessageHostedContentRequest.java | 17 + .../extensions/IChatMessageRequest.java | 17 + .../IChatMessageRequestBuilder.java | 12 +- .../extensions/IChatReferenceRequest.java | 4 +- .../IChatReferenceRequestBuilder.java | 4 +- .../requests/extensions/IChatRequest.java | 17 + .../extensions/IChatRequestBuilder.java | 12 +- .../extensions/IChatWithReferenceRequest.java | 4 +- .../IChatWithReferenceRequestBuilder.java | 4 +- ...larGeofenceManagementConditionRequest.java | 17 + ...IClaimsMappingPolicyCollectionRequest.java | 16 + .../IClaimsMappingPolicyRequest.java | 17 + .../IClassificationJobResponseRequest.java | 17 + ...udAppSecurityProfileCollectionRequest.java | 16 + .../ICloudAppSecurityProfileRequest.java | 17 + .../ICloudCommunicationsRequest.java | 17 + .../IColumnDefinitionCollectionRequest.java | 16 + .../extensions/IColumnDefinitionRequest.java | 17 + .../IColumnLinkCollectionRequest.java | 16 + .../extensions/IColumnLinkRequest.java | 17 + ...gementEligibleDeviceCollectionRequest.java | 16 + .../IComanagementEligibleDeviceRequest.java | 17 + .../extensions/ICommandCollectionRequest.java | 16 + .../requests/extensions/ICommandRequest.java | 17 + .../extensions/ICommsApplicationRequest.java | 17 + .../ICommsOperationCollectionRequest.java | 16 + .../extensions/ICommsOperationRequest.java | 17 + .../extensions/ICompanyCollectionRequest.java | 16 + .../ICompanyInformationCollectionRequest.java | 16 + .../ICompanyInformationRequest.java | 17 + .../requests/extensions/ICompanyRequest.java | 17 + .../extensions/ICompanyRequestBuilder.java | 224 +- ...nceManagementPartnerCollectionRequest.java | 16 + .../IComplianceManagementPartnerRequest.java | 17 + .../extensions/IComplianceRequest.java | 17 + ...ditionalAccessPolicyCollectionRequest.java | 16 + .../IConditionalAccessPolicyRequest.java | 17 + .../IConditionalAccessRootRequest.java | 17 + .../IConditionalAccessRootRequestBuilder.java | 12 +- ...onnectedOrganizationCollectionRequest.java | 16 + .../IConnectedOrganizationRequest.java | 17 + .../IConnectedOrganizationRequestBuilder.java | 8 +- ...IConnectionOperationCollectionRequest.java | 16 + .../IConnectionOperationRequest.java | 17 + .../IConnectorCollectionRequest.java | 16 + .../IConnectorGroupCollectionRequest.java | 16 + .../IConnectorGroupReferenceRequest.java | 4 +- ...ConnectorGroupReferenceRequestBuilder.java | 4 +- .../extensions/IConnectorGroupRequest.java | 17 + .../IConnectorGroupRequestBuilder.java | 12 +- .../IConnectorGroupWithReferenceRequest.java | 4 +- ...ectorGroupWithReferenceRequestBuilder.java | 4 +- .../extensions/IConnectorRequest.java | 17 + .../extensions/IContactCollectionRequest.java | 16 + .../IContactFolderCollectionRequest.java | 16 + .../extensions/IContactFolderRequest.java | 17 + .../IContactFolderRequestBuilder.java | 28 +- .../requests/extensions/IContactRequest.java | 17 + .../extensions/IContactRequestBuilder.java | 16 +- .../IContentTypeCollectionRequest.java | 16 + .../extensions/IContentTypeRequest.java | 17 + ...ntinuousAccessEvaluationPolicyRequest.java | 116 + ...sAccessEvaluationPolicyRequestBuilder.java | 36 + .../IContractCollectionRequest.java | 16 + .../requests/extensions/IContractRequest.java | 17 + .../IConversationCollectionRequest.java | 16 + .../IConversationMemberCollectionRequest.java | 16 + .../IConversationMemberRequest.java | 17 + .../extensions/IConversationRequest.java | 17 + .../IConversationThreadCollectionRequest.java | 16 + .../IConversationThreadRequest.java | 17 + .../ICountryNamedLocationRequest.java | 17 + .../ICountryRegionCollectionRequest.java | 16 + .../extensions/ICountryRegionRequest.java | 17 + .../ICredentialUsageSummaryRequest.java | 17 + ...redentialUserRegistrationCountRequest.java | 17 + ...rRegistrationDetailsCollectionRequest.java | 16 + ...dentialUserRegistrationDetailsRequest.java | 17 + .../ICurrencyCollectionRequest.java | 16 + .../requests/extensions/ICurrencyRequest.java | 17 + .../ICustomerCollectionRequest.java | 16 + .../ICustomerPaymentCollectionRequest.java | 16 + ...stomerPaymentJournalCollectionRequest.java | 16 + .../ICustomerPaymentJournalRequest.java | 17 + ...ICustomerPaymentJournalRequestBuilder.java | 8 +- .../extensions/ICustomerPaymentRequest.java | 17 + .../requests/extensions/ICustomerRequest.java | 17 + .../extensions/ICustomerRequestBuilder.java | 24 +- .../IDataClassificationServiceRequest.java | 17 + ...taClassificationServiceRequestBuilder.java | 36 +- ...LossPreventionPolicyCollectionRequest.java | 16 + .../IDataLossPreventionPolicyRequest.java | 17 + ...IDataPolicyOperationCollectionRequest.java | 16 + .../IDataPolicyOperationRequest.java | 17 + .../IDataSharingConsentCollectionRequest.java | 16 + .../IDataSharingConsentRequest.java | 17 + ...IDefaultDeviceCompliancePolicyRequest.java | 17 + ...tDeviceCompliancePolicyRequestBuilder.java | 28 +- ...ManagedAppProtectionCollectionRequest.java | 16 + .../IDefaultManagedAppProtectionRequest.java | 17 + ...egatedPermissionClassificationRequest.java | 17 + .../IDepEnrollmentBaseProfileRequest.java | 17 + .../IDepEnrollmentProfileRequest.java | 17 + .../IDepIOSEnrollmentProfileRequest.java | 17 + .../IDepMacOSEnrollmentProfileRequest.java | 17 + ...DepOnboardingSettingCollectionRequest.java | 16 + .../IDepOnboardingSettingRequest.java | 17 + .../IDepOnboardingSettingRequestBuilder.java | 4 +- .../IDetectedAppCollectionRequest.java | 16 + .../extensions/IDetectedAppRequest.java | 17 + ...mentAssignmentFilterCollectionRequest.java | 16 + ...dAppManagementAssignmentFilterRequest.java | 17 + ...gementRoleAssignmentCollectionRequest.java | 16 + ...AndAppManagementRoleAssignmentRequest.java | 17 + ...AndAppManagementRoleDefinitionRequest.java | 17 + .../IDeviceAppManagementRequest.java | 17 + .../IDeviceAppManagementRequestBuilder.java | 96 +- ...iceAppManagementTaskCollectionRequest.java | 16 + .../IDeviceAppManagementTaskRequest.java | 17 + .../IDeviceCategoryCollectionRequest.java | 16 + .../extensions/IDeviceCategoryRequest.java | 17 + .../extensions/IDeviceCollectionRequest.java | 16 + ...ComplianceActionItemCollectionRequest.java | 16 + .../IDeviceComplianceActionItemRequest.java | 17 + ...DeviceComplianceDeviceOverviewRequest.java | 17 + ...mplianceDeviceStatusCollectionRequest.java | 16 + .../IDeviceComplianceDeviceStatusRequest.java | 17 + ...ancePolicyAssignmentCollectionRequest.java | 16 + ...viceCompliancePolicyAssignmentRequest.java | 17 + ...IDeviceCompliancePolicyCollectionPage.java | 4 +- ...viceCompliancePolicyCollectionRequest.java | 20 +- ...pliancePolicyCollectionRequestBuilder.java | 12 +- ...liancePolicyDeviceStateSummaryRequest.java | 17 + ...ompliancePolicyGroupAssignmentRequest.java | 17 + ...eCompliancePolicyPolicySetItemRequest.java | 17 + ...eviceCompliancePolicyReferenceRequest.java | 16 +- ...mpliancePolicyReferenceRequestBuilder.java | 16 +- .../IDeviceCompliancePolicyRequest.java | 17 + ...IDeviceCompliancePolicyRequestBuilder.java | 44 +- ...ySettingStateSummaryCollectionRequest.java | 16 + ...iancePolicySettingStateSummaryRequest.java | 17 + ...ompliancePolicyStateCollectionRequest.java | 16 + .../IDeviceCompliancePolicyStateRequest.java | 17 + ...eCompliancePolicyWithReferenceRequest.java | 16 +- ...ancePolicyWithReferenceRequestBuilder.java | 16 +- ...heduledActionForRuleCollectionRequest.java | 16 + ...mplianceScheduledActionForRuleRequest.java | 17 + ...viceComplianceScriptCollectionRequest.java | 16 + ...nceScriptDeviceStateCollectionRequest.java | 16 + ...iceComplianceScriptDeviceStateRequest.java | 17 + .../IDeviceComplianceScriptRequest.java | 17 + ...IDeviceComplianceScriptRequestBuilder.java | 8 +- ...viceComplianceScriptRunSummaryRequest.java | 17 + ...mplianceSettingStateCollectionRequest.java | 16 + .../IDeviceComplianceSettingStateRequest.java | 17 + .../IDeviceComplianceUserOverviewRequest.java | 17 + ...ComplianceUserStatusCollectionRequest.java | 16 + .../IDeviceComplianceUserStatusRequest.java | 17 + ...figurationAssignmentCollectionRequest.java | 16 + ...IDeviceConfigurationAssignmentRequest.java | 17 + .../IDeviceConfigurationCollectionPage.java | 2 +- ...nfigurationCollectionReferenceRequest.java | 2 +- ...tionCollectionReferenceRequestBuilder.java | 2 +- ...IDeviceConfigurationCollectionRequest.java | 18 +- ...ConfigurationCollectionRequestBuilder.java | 2 +- ...igurationCollectionWithReferencesPage.java | 2 +- ...rationCollectionWithReferencesRequest.java | 2 +- ...ollectionWithReferencesRequestBuilder.java | 2 +- ...ationConflictSummaryCollectionRequest.java | 16 + ...ceConfigurationConflictSummaryRequest.java | 17 + ...iceConfigurationDeviceOverviewRequest.java | 17 + ...onfigurationDeviceStateSummaryRequest.java | 17 + ...gurationDeviceStatusCollectionRequest.java | 16 + ...eviceConfigurationDeviceStatusRequest.java | 17 + ...ationGroupAssignmentCollectionRequest.java | 16 + ...ceConfigurationGroupAssignmentRequest.java | 17 + ...viceConfigurationPolicySetItemRequest.java | 17 + .../IDeviceConfigurationReferenceRequest.java | 10 +- ...eConfigurationReferenceRequestBuilder.java | 10 +- .../IDeviceConfigurationRequest.java | 17 + .../IDeviceConfigurationRequestBuilder.java | 36 +- ...ceConfigurationStateCollectionRequest.java | 16 + .../IDeviceConfigurationStateRequest.java | 17 + ...eviceConfigurationUserOverviewRequest.java | 17 + ...eConfigurationUserStateSummaryRequest.java | 17 + ...figurationUserStatusCollectionRequest.java | 16 + ...IDeviceConfigurationUserStatusRequest.java | 17 + ...viceConfigurationWithReferenceRequest.java | 10 +- ...figurationWithReferenceRequestBuilder.java | 10 +- ...ollmentConfigurationCollectionRequest.java | 16 + ...IDeviceEnrollmentConfigurationRequest.java | 17 + ...EnrollmentConfigurationRequestBuilder.java | 2 +- ...ceEnrollmentLimitConfigurationRequest.java | 17 + ...tformRestrictionsConfigurationRequest.java | 17 + ...sHelloForBusinessConfigurationRequest.java | 17 + ...eHealthScriptAssignmentCollectionPage.java | 2 +- ...althScriptAssignmentCollectionRequest.java | 18 +- ...iptAssignmentCollectionRequestBuilder.java | 2 +- .../IDeviceHealthScriptAssignmentRequest.java | 17 + .../IDeviceHealthScriptCollectionRequest.java | 16 + ...lthScriptDeviceStateCollectionRequest.java | 16 + ...IDeviceHealthScriptDeviceStateRequest.java | 17 + .../IDeviceHealthScriptRequest.java | 17 + .../IDeviceHealthScriptRequestBuilder.java | 10 +- .../IDeviceHealthScriptRunSummaryRequest.java | 17 + .../IDeviceInstallStateCollectionRequest.java | 16 + .../IDeviceInstallStateRequest.java | 17 + ...ogCollectionResponseCollectionRequest.java | 16 + .../IDeviceLogCollectionResponseRequest.java | 17 + ...stractComplexSettingDefinitionRequest.java | 17 + ...AbstractComplexSettingInstanceRequest.java | 17 + ...gementAutopilotEventCollectionRequest.java | 16 + ...DeviceManagementAutopilotEventRequest.java | 17 + ...otPolicyStatusDetailCollectionRequest.java | 16 + ...entAutopilotPolicyStatusDetailRequest.java | 17 + ...nagementBooleanSettingInstanceRequest.java | 17 + ...dReportConfigurationCollectionRequest.java | 16 + ...ementCachedReportConfigurationRequest.java | 17 + ...entCollectionSettingDefinitionRequest.java | 17 + ...ementCollectionSettingInstanceRequest.java | 17 + ...gementComplexSettingDefinitionRequest.java | 17 + ...nagementComplexSettingInstanceRequest.java | 17 + ...edCredentialSettingsCollectionRequest.java | 16 + ...ementDerivedCredentialSettingsRequest.java | 17 + ...tDomainJoinConnectorCollectionRequest.java | 16 + ...eManagementDomainJoinConnectorRequest.java | 17 + ...entExchangeConnectorCollectionRequest.java | 16 + ...iceManagementExchangeConnectorRequest.java | 17 + ...angeOnPremisesPolicyCollectionRequest.java | 16 + ...gementExchangeOnPremisesPolicyRequest.java | 17 + ...eManagementExportJobCollectionRequest.java | 16 + .../IDeviceManagementExportJobRequest.java | 17 + ...nagementIntegerSettingInstanceRequest.java | 17 + ...mentIntentAssignmentCollectionRequest.java | 16 + ...viceManagementIntentAssignmentRequest.java | 17 + ...IDeviceManagementIntentCollectionPage.java | 2 +- ...viceManagementIntentCollectionRequest.java | 18 +- ...agementIntentCollectionRequestBuilder.java | 2 +- ...eSettingStateSummaryCollectionRequest.java | 16 + ...ntentDeviceSettingStateSummaryRequest.java | 17 + ...entIntentDeviceStateCollectionRequest.java | 16 + ...iceManagementIntentDeviceStateRequest.java | 17 + ...gementIntentDeviceStateSummaryRequest.java | 17 + .../IDeviceManagementIntentRequest.java | 17 + ...IDeviceManagementIntentRequestBuilder.java | 36 +- ...ntentSettingCategoryCollectionRequest.java | 16 + ...anagementIntentSettingCategoryRequest.java | 17 + ...ementIntentUserStateCollectionRequest.java | 16 + ...eviceManagementIntentUserStateRequest.java | 17 + ...nagementIntentUserStateSummaryRequest.java | 17 + ...iceManagementPartnerCollectionRequest.java | 16 + .../IDeviceManagementPartnerRequest.java | 17 + ...gementReportScheduleCollectionRequest.java | 16 + ...DeviceManagementReportScheduleRequest.java | 17 + .../IDeviceManagementReportsRequest.java | 17 + ...DeviceManagementReportsRequestBuilder.java | 12 +- .../extensions/IDeviceManagementRequest.java | 17 + .../IDeviceManagementRequestBuilder.java | 442 ++-- ...mentScriptAssignmentCollectionRequest.java | 16 + ...viceManagementScriptAssignmentRequest.java | 17 + ...viceManagementScriptCollectionRequest.java | 16 + ...entScriptDeviceStateCollectionRequest.java | 16 + ...iceManagementScriptDeviceStateRequest.java | 17 + ...criptGroupAssignmentCollectionRequest.java | 16 + ...anagementScriptGroupAssignmentRequest.java | 17 + ...eManagementScriptPolicySetItemRequest.java | 17 + .../IDeviceManagementScriptRequest.java | 17 + ...IDeviceManagementScriptRequestBuilder.java | 20 +- ...viceManagementScriptRunSummaryRequest.java | 17 + ...ementScriptUserStateCollectionRequest.java | 16 + ...eviceManagementScriptUserStateRequest.java | 17 + ...ementSettingCategoryCollectionRequest.java | 16 + ...eviceManagementSettingCategoryRequest.java | 17 + ...entSettingDefinitionCollectionRequest.java | 16 + ...iceManagementSettingDefinitionRequest.java | 17 + ...nagementSettingInstanceCollectionPage.java | 2 +- ...ementSettingInstanceCollectionRequest.java | 18 +- ...ttingInstanceCollectionRequestBuilder.java | 2 +- ...eviceManagementSettingInstanceRequest.java | 17 + ...anagementStringSettingInstanceRequest.java | 17 + ...ceManagementTemplateCollectionRequest.java | 16 + .../IDeviceManagementTemplateRequest.java | 17 + ...eviceManagementTemplateRequestBuilder.java | 12 +- ...plateSettingCategoryCollectionRequest.java | 16 + ...agementTemplateSettingCategoryRequest.java | 17 + ...TroubleshootingEventCollectionRequest.java | 16 + ...ManagementTroubleshootingEventRequest.java | 17 + .../IDeviceRegistrationPolicyRequest.java | 17 + .../requests/extensions/IDeviceRequest.java | 17 + .../IDeviceSetupConfigurationRequest.java | 17 + .../IDeviceShellScriptCollectionRequest.java | 16 + .../extensions/IDeviceShellScriptRequest.java | 17 + .../IDeviceShellScriptRequestBuilder.java | 20 +- .../IDimensionCollectionRequest.java | 16 + .../extensions/IDimensionRequest.java | 17 + .../IDimensionValueCollectionRequest.java | 16 + .../extensions/IDimensionValueRequest.java | 17 + .../IDirectoryAuditCollectionRequest.java | 16 + .../extensions/IDirectoryAuditRequest.java | 17 + ...IDirectoryDefinitionCollectionRequest.java | 16 + .../IDirectoryDefinitionRequest.java | 17 + .../IDirectoryObjectCollectionRequest.java | 16 + ...rectoryObjectCollectionRequestBuilder.java | 4 +- ...irectoryObjectPartnerReferenceRequest.java | 17 + .../extensions/IDirectoryObjectRequest.java | 17 + .../extensions/IDirectoryRequest.java | 17 + ...irectoryRoleAccessReviewPolicyRequest.java | 17 + .../IDirectoryRoleCollectionRequest.java | 16 + .../extensions/IDirectoryRoleRequest.java | 17 + ...irectoryRoleTemplateCollectionRequest.java | 16 + .../IDirectoryRoleTemplateRequest.java | 17 + .../IDirectorySettingCollectionRequest.java | 16 + .../extensions/IDirectorySettingRequest.java | 17 + ...ctorySettingTemplateCollectionRequest.java | 16 + .../IDirectorySettingTemplateRequest.java | 17 + ...DlpEvaluatePoliciesJobResponseRequest.java | 17 + .../IDocumentCommentCollectionRequest.java | 16 + ...DocumentCommentReplyCollectionRequest.java | 16 + .../IDocumentCommentReplyRequest.java | 17 + .../extensions/IDocumentCommentRequest.java | 17 + .../requests/extensions/IDocumentRequest.java | 17 + .../extensions/IDomainCollectionRequest.java | 16 + .../IDomainDnsCnameRecordRequest.java | 17 + .../extensions/IDomainDnsMxRecordRequest.java | 17 + .../IDomainDnsRecordCollectionRequest.java | 16 + .../extensions/IDomainDnsRecordRequest.java | 17 + .../IDomainDnsSrvRecordRequest.java | 17 + .../IDomainDnsTxtRecordRequest.java | 17 + .../IDomainDnsUnavailableRecordRequest.java | 17 + .../requests/extensions/IDomainRequest.java | 17 + .../extensions/IDomainRequestBuilder.java | 12 +- ...omainSecurityProfileCollectionRequest.java | 16 + .../IDomainSecurityProfileRequest.java | 17 + .../extensions/IDriveCollectionRequest.java | 16 + .../IDriveItemCollectionRequest.java | 16 + .../extensions/IDriveItemRequest.java | 17 + .../extensions/IDriveItemRequestBuilder.java | 6 +- .../IDriveItemVersionCollectionRequest.java | 16 + .../extensions/IDriveItemVersionRequest.java | 17 + .../requests/extensions/IDriveRequest.java | 17 + .../IEBookInstallSummaryRequest.java | 17 + ...sEmailProfileConfigurationBaseRequest.java | 17 + ...rofileConfigurationBaseRequestBuilder.java | 24 +- .../IEdiscoveryCaseCollectionRequest.java | 16 + .../extensions/IEdiscoveryCaseRequest.java | 17 + .../extensions/IEdiscoveryRequest.java | 17 + .../IEditionUpgradeConfigurationRequest.java | 17 + ...ionUpgradeConfigurationRequestBuilder.java | 24 +- ...IEducationAssignmentCollectionRequest.java | 16 + .../IEducationAssignmentRequest.java | 17 + .../IEducationAssignmentRequestBuilder.java | 20 +- ...onAssignmentResourceCollectionRequest.java | 16 + .../IEducationAssignmentResourceRequest.java | 17 + .../IEducationCategoryCollectionPage.java | 2 +- .../IEducationCategoryCollectionRequest.java | 18 +- ...ationCategoryCollectionRequestBuilder.java | 2 +- .../extensions/IEducationCategoryRequest.java | 17 + ...cationClassCollectionReferenceRequest.java | 2 +- ...lassCollectionReferenceRequestBuilder.java | 2 +- .../IEducationClassCollectionRequest.java | 16 + ...tionClassCollectionWithReferencesPage.java | 2 +- ...nClassCollectionWithReferencesRequest.java | 2 +- ...ollectionWithReferencesRequestBuilder.java | 2 +- .../IEducationClassReferenceRequest.java | 4 +- ...EducationClassReferenceRequestBuilder.java | 4 +- .../extensions/IEducationClassRequest.java | 17 + .../IEducationClassRequestBuilder.java | 30 +- .../IEducationClassWithReferenceRequest.java | 4 +- ...ationClassWithReferenceRequestBuilder.java | 4 +- .../IEducationFeedbackOutcomeRequest.java | 17 + .../IEducationOrganizationRequest.java | 17 + .../IEducationOutcomeCollectionRequest.java | 16 + .../extensions/IEducationOutcomeRequest.java | 17 + .../IEducationPointsOutcomeRequest.java | 17 + .../extensions/IEducationRootRequest.java | 17 + .../IEducationRootRequestBuilder.java | 14 +- .../IEducationRubricCollectionRequest.java | 16 + .../IEducationRubricOutcomeRequest.java | 17 + .../extensions/IEducationRubricRequest.java | 17 + .../IEducationSchoolCollectionRequest.java | 16 + .../extensions/IEducationSchoolRequest.java | 17 + .../IEducationSchoolRequestBuilder.java | 14 +- ...IEducationSubmissionCollectionRequest.java | 16 + .../IEducationSubmissionRequest.java | 17 + .../IEducationSubmissionRequestBuilder.java | 12 +- ...onSubmissionResourceCollectionRequest.java | 16 + .../IEducationSubmissionResourceRequest.java | 17 + ...SynchronizationErrorCollectionRequest.java | 16 + ...IEducationSynchronizationErrorRequest.java | 17 + ...nchronizationProfileCollectionRequest.java | 16 + ...ducationSynchronizationProfileRequest.java | 17 + ...nSynchronizationProfileRequestBuilder.java | 2 +- ...onSynchronizationProfileStatusRequest.java | 17 + .../IEducationUserCollectionRequest.java | 16 + .../extensions/IEducationUserRequest.java | 17 + .../IEducationUserRequestBuilder.java | 8 +- ...IEducationalActivityCollectionRequest.java | 16 + .../IEducationalActivityRequest.java | 17 + .../IEmailActivityStatisticsRequest.java | 17 + .../IEmailActivitySummaryRequest.java | 17 + .../IEmailActivityUserDetailRequest.java | 17 + .../IEmailAppUsageAppsUserCountsRequest.java | 17 + .../IEmailAppUsageUserCountsRequest.java | 17 + .../IEmailAppUsageUserDetailRequest.java | 17 + ...mailAppUsageVersionsUserCountsRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + .../IEmailAuthenticationMethodRequest.java | 17 + .../IEmailFileAssessmentRequestRequest.java | 17 + ...onCodePoolAssignmentCollectionRequest.java | 16 + ...IMActivationCodePoolAssignmentRequest.java | 17 + ...IMActivationCodePoolCollectionRequest.java | 16 + ...IEmbeddedSIMActivationCodePoolRequest.java | 17 + ...beddedSIMDeviceStateCollectionRequest.java | 16 + .../IEmbeddedSIMDeviceStateRequest.java | 17 + .../IEmployeeCollectionRequest.java | 16 + .../requests/extensions/IEmployeeRequest.java | 17 + .../IEndpointCollectionRequest.java | 16 + .../requests/extensions/IEndpointRequest.java | 17 + ...figurationAssignmentCollectionRequest.java | 16 + ...ollmentConfigurationAssignmentRequest.java | 17 + .../IEnrollmentProfileCollectionRequest.java | 16 + .../extensions/IEnrollmentProfileRequest.java | 17 + ...ionsConfigurationPolicySetItemRequest.java | 17 + ...EnrollmentTroubleshootingEventRequest.java | 17 + ...deSigningCertificateCollectionRequest.java | 16 + ...terpriseCodeSigningCertificateRequest.java | 17 + .../IEntitlementManagementRequest.java | 17 + .../IEntitlementManagementRequestBuilder.java | 64 +- ...IEntitlementManagementSettingsRequest.java | 17 + .../IEvaluateLabelJobResponseRequest.java | 17 + ...teLabelsAndPoliciesJobResponseRequest.java | 17 + .../extensions/IEventCollectionPage.java | 3 +- .../extensions/IEventCollectionRequest.java | 19 +- .../IEventCollectionRequestBuilder.java | 3 +- .../extensions/IEventMessageRequest.java | 17 + .../IEventMessageRequestBuilder.java | 16 +- .../IEventMessageRequestRequest.java | 17 + .../IEventMessageRequestRequestBuilder.java | 16 +- .../IEventMessageResponseRequest.java | 17 + .../IEventMessageResponseRequestBuilder.java | 16 +- .../requests/extensions/IEventRequest.java | 17 + .../extensions/IEventRequestBuilder.java | 50 +- ...IExactMatchDataStoreCollectionRequest.java | 16 + .../IExactMatchDataStoreRequest.java | 17 + .../extensions/IExactMatchJobBaseRequest.java | 17 + .../IExactMatchLookupJobRequest.java | 17 + .../IExactMatchSessionCollectionRequest.java | 16 + .../extensions/IExactMatchSessionRequest.java | 17 + ...xactMatchUploadAgentCollectionRequest.java | 16 + .../IExactMatchUploadAgentRequest.java | 17 + .../extensions/IExtensionCollectionPage.java | 2 +- .../IExtensionCollectionRequest.java | 18 +- .../IExtensionCollectionRequestBuilder.java | 2 +- .../IExtensionPropertyCollectionRequest.java | 16 + .../extensions/IExtensionPropertyRequest.java | 17 + .../extensions/IExtensionRequest.java | 17 + .../IExternalConnectionCollectionRequest.java | 16 + .../IExternalConnectionRequest.java | 17 + .../IExternalConnectionRequestBuilder.java | 22 +- .../IExternalGroupCollectionRequest.java | 16 + ...IExternalGroupMemberCollectionRequest.java | 16 + .../IExternalGroupMemberRequest.java | 17 + .../extensions/IExternalGroupRequest.java | 17 + .../IExternalItemCollectionRequest.java | 16 + .../extensions/IExternalItemRequest.java | 17 + .../requests/extensions/IExternalRequest.java | 17 + ...FeatureRolloutPolicyCollectionRequest.java | 16 + .../IFeatureRolloutPolicyRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + .../IFido2AuthenticationMethodRequest.java | 17 + .../extensions/IFieldValueSetRequest.java | 17 + .../IFileAssessmentRequestRequest.java | 17 + .../extensions/IFileAttachmentRequest.java | 17 + ...lassificationRequestCollectionRequest.java | 16 + .../IFileClassificationRequestRequest.java | 17 + ...IFileSecurityProfileCollectionRequest.java | 16 + .../IFileSecurityProfileRequest.java | 17 + ...FilterOperatorSchemaCollectionRequest.java | 16 + .../IFilterOperatorSchemaRequest.java | 17 + .../extensions/IFinancialsRequest.java | 17 + .../IFocusActivityStatisticsRequest.java | 17 + .../IGeneralLedgerEntryCollectionRequest.java | 16 + .../IGeneralLedgerEntryRequest.java | 17 + ...rnancePolicyTemplateCollectionRequest.java | 16 + .../IGovernancePolicyTemplateRequest.java | 17 + .../IGovernanceResourceCollectionRequest.java | 16 + .../IGovernanceResourceRequest.java | 17 + .../IGovernanceResourceRequestBuilder.java | 16 +- ...rnanceRoleAssignmentCollectionRequest.java | 16 + ...ernanceRoleAssignmentReferenceRequest.java | 2 +- ...RoleAssignmentReferenceRequestBuilder.java | 2 +- .../IGovernanceRoleAssignmentRequest.java | 17 + ...overnanceRoleAssignmentRequestBuilder.java | 16 +- ...oleAssignmentRequestCollectionRequest.java | 16 + ...overnanceRoleAssignmentRequestRequest.java | 17 + ...nceRoleAssignmentWithReferenceRequest.java | 2 +- ...AssignmentWithReferenceRequestBuilder.java | 2 +- ...rnanceRoleDefinitionCollectionRequest.java | 16 + .../IGovernanceRoleDefinitionRequest.java | 17 + ...overnanceRoleSettingCollectionRequest.java | 16 + .../IGovernanceRoleSettingRequest.java | 17 + .../IGovernanceRoleSettingRequestBuilder.java | 14 +- .../IGovernanceSubjectCollectionRequest.java | 16 + .../extensions/IGovernanceSubjectRequest.java | 17 + .../extensions/IGroupCollectionPage.java | 4 +- .../extensions/IGroupCollectionRequest.java | 20 +- .../IGroupCollectionRequestBuilder.java | 4 +- ...GroupLifecyclePolicyCollectionRequest.java | 16 + .../IGroupLifecyclePolicyRequest.java | 17 + ...IGroupPolicyCategoryCollectionRequest.java | 16 + .../IGroupPolicyCategoryRequest.java | 17 + .../IGroupPolicyCategoryRequestBuilder.java | 20 +- ...figurationAssignmentCollectionRequest.java | 16 + ...pPolicyConfigurationAssignmentRequest.java | 17 + ...pPolicyConfigurationCollectionRequest.java | 16 + .../IGroupPolicyConfigurationRequest.java | 17 + ...roupPolicyConfigurationRequestBuilder.java | 12 +- ...roupPolicyDefinitionCollectionRequest.java | 16 + ...PolicyDefinitionFileCollectionRequest.java | 16 + .../IGroupPolicyDefinitionFileRequest.java | 17 + ...GroupPolicyDefinitionReferenceRequest.java | 2 +- ...licyDefinitionReferenceRequestBuilder.java | 2 +- .../IGroupPolicyDefinitionRequest.java | 17 + .../IGroupPolicyDefinitionRequestBuilder.java | 14 +- ...olicyDefinitionValueCollectionRequest.java | 16 + .../IGroupPolicyDefinitionValueRequest.java | 17 + ...upPolicyDefinitionValueRequestBuilder.java | 8 +- ...pPolicyDefinitionWithReferenceRequest.java | 2 +- ...DefinitionWithReferenceRequestBuilder.java | 2 +- ...olicyMigrationReportCollectionRequest.java | 16 + .../IGroupPolicyMigrationReportRequest.java | 17 + ...roupPolicyObjectFileCollectionRequest.java | 16 + .../IGroupPolicyObjectFileRequest.java | 17 + ...GroupPolicyOperationCollectionRequest.java | 16 + .../IGroupPolicyOperationRequest.java | 17 + ...roupPolicyPresentationCheckBoxRequest.java | 17 + ...upPolicyPresentationCollectionRequest.java | 16 + ...roupPolicyPresentationComboBoxRequest.java | 17 + ...licyPresentationDecimalTextBoxRequest.java | 17 + ...PolicyPresentationDropdownListRequest.java | 17 + ...GroupPolicyPresentationListBoxRequest.java | 17 + ...PresentationLongDecimalTextBoxRequest.java | 17 + ...PolicyPresentationMultiTextBoxRequest.java | 17 + .../IGroupPolicyPresentationRequest.java | 17 + ...GroupPolicyPresentationTextBoxRequest.java | 17 + .../IGroupPolicyPresentationTextRequest.java | 17 + ...PolicyPresentationValueBooleanRequest.java | 17 + ...icyPresentationValueCollectionRequest.java | 16 + ...PolicyPresentationValueDecimalRequest.java | 17 + ...oupPolicyPresentationValueListRequest.java | 17 + ...cyPresentationValueLongDecimalRequest.java | 17 + ...licyPresentationValueMultiTextRequest.java | 17 + .../IGroupPolicyPresentationValueRequest.java | 17 + ...oupPolicyPresentationValueTextRequest.java | 17 + ...PolicySettingMappingCollectionRequest.java | 16 + .../IGroupPolicySettingMappingRequest.java | 17 + ...loadedDefinitionFileCollectionRequest.java | 16 + ...upPolicyUploadedDefinitionFileRequest.java | 17 + ...yUploadedDefinitionFileRequestBuilder.java | 2 +- .../extensions/IGroupReferenceRequest.java | 16 +- .../IGroupReferenceRequestBuilder.java | 16 +- .../requests/extensions/IGroupRequest.java | 17 + .../extensions/IGroupRequestBuilder.java | 98 +- .../IGroupWithReferenceRequest.java | 16 +- .../IGroupWithReferenceRequestBuilder.java | 16 +- ...RealmDiscoveryPolicyCollectionRequest.java | 16 + .../IHomeRealmDiscoveryPolicyRequest.java | 17 + ...IHostSecurityProfileCollectionRequest.java | 16 + .../IHostSecurityProfileRequest.java | 17 + .../extensions/IIdentityContainerRequest.java | 17 + .../IIdentityContainerRequestBuilder.java | 20 +- .../IIdentityGovernanceRequest.java | 17 + .../IIdentityGovernanceRequestBuilder.java | 16 +- .../IIdentityProtectionRootRequest.java | 17 + .../IIdentityProviderCollectionRequest.java | 16 + .../extensions/IIdentityProviderRequest.java | 17 + ...urityDefaultsEnforcementPolicyRequest.java | 17 + .../IIdentityUserFlowCollectionRequest.java | 16 + .../extensions/IIdentityUserFlowRequest.java | 17 + ...dAppleDeviceIdentityCollectionRequest.java | 16 + .../IImportedAppleDeviceIdentityRequest.java | 17 + ...ortedAppleDeviceIdentityResultRequest.java | 17 + ...portedDeviceIdentityCollectionRequest.java | 16 + .../IImportedDeviceIdentityRequest.java | 17 + .../IImportedDeviceIdentityResultRequest.java | 17 + ...opilotDeviceIdentityCollectionRequest.java | 16 + ...WindowsAutopilotDeviceIdentityRequest.java | 17 + ...sAutopilotDeviceIdentityUploadRequest.java | 17 + ...assificationOverrideCollectionRequest.java | 16 + ...nferenceClassificationOverrideRequest.java | 17 + .../IInferenceClassificationRequest.java | 17 + ...ormationProtectionLabelCollectionPage.java | 4 +- ...ationProtectionLabelCollectionRequest.java | 20 +- ...otectionLabelCollectionRequestBuilder.java | 14 +- .../IInformationProtectionLabelRequest.java | 17 + ...ormationProtectionLabelRequestBuilder.java | 4 +- .../IInformationProtectionPolicyRequest.java | 17 + .../IInformationProtectionRequest.java | 17 + .../IInformationProtectionRequestBuilder.java | 12 +- ...ingProfileAssignmentCollectionRequest.java | 16 + ...ntuneBrandingProfileAssignmentRequest.java | 17 + ...ntuneBrandingProfileCollectionRequest.java | 16 + .../IIntuneBrandingProfileRequest.java | 17 + .../IInvitationCollectionRequest.java | 16 + .../extensions/IInvitationRequest.java | 17 + .../IInviteParticipantsOperationRequest.java | 17 + .../IIosCertificateProfileBaseRequest.java | 17 + ...sCertificateProfileBaseRequestBuilder.java | 24 +- .../IIosCertificateProfileRequest.java | 17 + .../IIosCertificateProfileRequestBuilder.java | 24 +- .../IIosCompliancePolicyRequest.java | 17 + .../IIosCompliancePolicyRequestBuilder.java | 28 +- .../IIosCustomConfigurationRequest.java | 17 + ...IIosCustomConfigurationRequestBuilder.java | 24 +- ...ialAuthenticationConfigurationRequest.java | 17 + ...enticationConfigurationRequestBuilder.java | 24 +- ...IosDeviceFeaturesConfigurationRequest.java | 17 + ...ceFeaturesConfigurationRequestBuilder.java | 24 +- ...osEasEmailProfileConfigurationRequest.java | 17 + ...ailProfileConfigurationRequestBuilder.java | 42 +- .../IIosEduDeviceConfigurationRequest.java | 17 + ...sEduDeviceConfigurationRequestBuilder.java | 24 +- ...osEducationDeviceConfigurationRequest.java | 17 + ...tionDeviceConfigurationRequestBuilder.java | 24 +- ...IosEnterpriseWiFiConfigurationRequest.java | 17 + ...rpriseWiFiConfigurationRequestBuilder.java | 44 +- ...sExpeditedCheckinConfigurationRequest.java | 17 + ...tedCheckinConfigurationRequestBuilder.java | 24 +- ...IIosGeneralDeviceConfigurationRequest.java | 17 + ...eralDeviceConfigurationRequestBuilder.java | 24 +- ...sImportedPFXCertificateProfileRequest.java | 17 + ...edPFXCertificateProfileRequestBuilder.java | 24 +- ...figurationAssignmentCollectionRequest.java | 16 + ...sioningConfigurationAssignmentRequest.java | 17 + ...sioningConfigurationCollectionRequest.java | 16 + ...ningConfigurationPolicySetItemRequest.java | 17 + ...obAppProvisioningConfigurationRequest.java | 17 + ...ovisioningConfigurationRequestBuilder.java | 12 +- .../extensions/IIosLobAppRequest.java | 17 + .../extensions/IIosLobAppRequestBuilder.java | 16 +- ...ManagedAppProtectionCollectionRequest.java | 16 + .../IIosManagedAppProtectionRequest.java | 17 + .../IIosManagedAppRegistrationRequest.java | 17 + .../IIosMobileAppConfigurationRequest.java | 17 + ...sMobileAppConfigurationRequestBuilder.java | 8 +- .../IIosPkcsCertificateProfileRequest.java | 17 + ...sPkcsCertificateProfileRequestBuilder.java | 24 +- .../IIosScepCertificateProfileRequest.java | 17 + ...sScepCertificateProfileRequestBuilder.java | 28 +- .../extensions/IIosStoreAppRequest.java | 17 + .../IIosStoreAppRequestBuilder.java | 16 +- ...ustedRootCertificateCollectionRequest.java | 16 + .../IIosTrustedRootCertificateRequest.java | 17 + ...sTrustedRootCertificateRequestBuilder.java | 24 +- .../IIosUpdateConfigurationRequest.java | 17 + ...IIosUpdateConfigurationRequestBuilder.java | 24 +- ...osUpdateDeviceStatusCollectionRequest.java | 16 + .../IIosUpdateDeviceStatusRequest.java | 17 + .../IIosVpnConfigurationRequest.java | 17 + .../IIosVpnConfigurationRequestBuilder.java | 38 +- ...IosVppAppAssignedDeviceLicenseRequest.java | 17 + ...ppAppAssignedLicenseCollectionRequest.java | 16 + .../IIosVppAppAssignedLicenseRequest.java | 17 + .../IIosVppAppAssignedUserLicenseRequest.java | 17 + .../extensions/IIosVppAppRequest.java | 17 + .../extensions/IIosVppAppRequestBuilder.java | 18 +- .../IIosVppEBookAssignmentRequest.java | 17 + .../extensions/IIosVppEBookRequest.java | 17 + .../IIosVppEBookRequestBuilder.java | 12 +- .../IIosWiFiConfigurationRequest.java | 17 + .../IIosWiFiConfigurationRequestBuilder.java | 24 +- .../IIosikEv2VpnConfigurationRequest.java | 17 + ...osikEv2VpnConfigurationRequestBuilder.java | 36 +- .../extensions/IIpNamedLocationRequest.java | 17 + .../IIpSecurityProfileCollectionRequest.java | 16 + .../extensions/IIpSecurityProfileRequest.java | 17 + .../IItemActivityCollectionRequest.java | 16 + .../IItemActivityOLDCollectionPage.java | 2 +- .../IItemActivityOLDCollectionRequest.java | 18 +- ...emActivityOLDCollectionRequestBuilder.java | 2 +- .../extensions/IItemActivityOLDRequest.java | 17 + .../extensions/IItemActivityRequest.java | 17 + .../IItemActivityStatCollectionRequest.java | 16 + .../extensions/IItemActivityStatRequest.java | 17 + .../IItemAddressCollectionRequest.java | 16 + .../extensions/IItemAddressRequest.java | 17 + .../extensions/IItemAnalyticsRequest.java | 17 + .../IItemAnalyticsRequestBuilder.java | 8 +- .../extensions/IItemAttachmentRequest.java | 17 + .../IItemCategoryCollectionRequest.java | 16 + .../extensions/IItemCategoryRequest.java | 17 + .../extensions/IItemCollectionRequest.java | 16 + .../IItemEmailCollectionRequest.java | 16 + .../extensions/IItemEmailRequest.java | 17 + .../extensions/IItemFacetRequest.java | 17 + .../extensions/IItemInsightsRequest.java | 17 + .../IItemInsightsRequestBuilder.java | 8 +- .../IItemInsightsSettingsRequest.java | 17 + .../IItemPatentCollectionRequest.java | 16 + .../extensions/IItemPatentRequest.java | 17 + .../IItemPhoneCollectionRequest.java | 16 + .../extensions/IItemPhoneRequest.java | 17 + .../IItemPublicationCollectionRequest.java | 16 + .../extensions/IItemPublicationRequest.java | 17 + .../requests/extensions/IItemRequest.java | 17 + .../extensions/IItemRequestBuilder.java | 8 +- .../IJobResponseBaseCollectionRequest.java | 16 + .../extensions/IJobResponseBaseRequest.java | 17 + .../extensions/IJournalCollectionRequest.java | 16 + .../IJournalLineCollectionRequest.java | 16 + .../extensions/IJournalLineRequest.java | 17 + .../requests/extensions/IJournalRequest.java | 17 + ...ILanguageProficiencyCollectionRequest.java | 16 + .../ILanguageProficiencyRequest.java | 17 + .../ILicenseDetailsCollectionRequest.java | 16 + .../extensions/ILicenseDetailsRequest.java | 17 + .../ILinkedResourceCollectionPage.java | 24 + .../ILinkedResourceCollectionRequest.java | 71 + ...inkedResourceCollectionRequestBuilder.java | 31 + .../extensions/ILinkedResourceRequest.java | 116 + .../ILinkedResourceRequestBuilder.java | 36 + .../extensions/IListCollectionRequest.java | 16 + .../IListItemCollectionRequest.java | 16 + .../requests/extensions/IListItemRequest.java | 17 + .../IListItemVersionCollectionRequest.java | 16 + .../extensions/IListItemVersionRequest.java | 17 + .../requests/extensions/IListRequest.java | 17 + ...dNotificationMessageCollectionRequest.java | 16 + .../ILocalizedNotificationMessageRequest.java | 17 + .../ILocationManagementConditionRequest.java | 17 + ...LongRunningOperationCollectionRequest.java | 16 + .../ILongRunningOperationRequest.java | 17 + .../ILookupResultRowCollectionRequest.java | 16 + .../extensions/ILookupResultRowRequest.java | 17 + .../IMacOSCertificateProfileBaseRequest.java | 17 + ...SCertificateProfileBaseRequestBuilder.java | 24 +- .../IMacOSCompliancePolicyRequest.java | 17 + .../IMacOSCompliancePolicyRequestBuilder.java | 28 +- .../IMacOSCustomAppConfigurationRequest.java | 17 + ...SCustomAppConfigurationRequestBuilder.java | 24 +- .../IMacOSCustomConfigurationRequest.java | 17 + ...acOSCustomConfigurationRequestBuilder.java | 24 +- ...cOSDeviceFeaturesConfigurationRequest.java | 17 + ...ceFeaturesConfigurationRequestBuilder.java | 24 +- ...ndpointProtectionConfigurationRequest.java | 17 + ...ProtectionConfigurationRequestBuilder.java | 24 +- ...cOSEnterpriseWiFiConfigurationRequest.java | 17 + ...rpriseWiFiConfigurationRequestBuilder.java | 36 +- .../IMacOSExtensionsConfigurationRequest.java | 17 + ...ExtensionsConfigurationRequestBuilder.java | 24 +- ...acOSGeneralDeviceConfigurationRequest.java | 17 + ...eralDeviceConfigurationRequestBuilder.java | 24 +- ...SImportedPFXCertificateProfileRequest.java | 17 + ...edPFXCertificateProfileRequestBuilder.java | 24 +- .../extensions/IMacOSLobAppRequest.java | 17 + .../IMacOSLobAppRequestBuilder.java | 16 +- .../extensions/IMacOSMdatpAppRequest.java | 17 + .../IMacOSMdatpAppRequestBuilder.java | 16 +- .../IMacOSMicrosoftEdgeAppRequest.java | 17 + .../IMacOSMicrosoftEdgeAppRequestBuilder.java | 16 +- .../IMacOSOfficeSuiteAppRequest.java | 17 + .../IMacOSOfficeSuiteAppRequestBuilder.java | 16 +- .../IMacOSPkcsCertificateProfileRequest.java | 17 + ...SPkcsCertificateProfileRequestBuilder.java | 24 +- .../IMacOSScepCertificateProfileRequest.java | 17 + ...SScepCertificateProfileRequestBuilder.java | 28 +- ...ustedRootCertificateCollectionRequest.java | 16 + .../IMacOSTrustedRootCertificateRequest.java | 17 + ...STrustedRootCertificateRequestBuilder.java | 24 +- .../IMacOSVpnConfigurationRequest.java | 17 + .../IMacOSVpnConfigurationRequestBuilder.java | 24 +- .../IMacOSWiFiConfigurationRequest.java | 17 + ...IMacOSWiFiConfigurationRequestBuilder.java | 24 +- ...MacOSWiredNetworkConfigurationRequest.java | 17 + ...redNetworkConfigurationRequestBuilder.java | 38 +- ...ppAppAssignedLicenseCollectionRequest.java | 16 + .../IMacOsVppAppAssignedLicenseRequest.java | 17 + .../extensions/IMacOsVppAppRequest.java | 17 + .../IMacOsVppAppRequestBuilder.java | 16 +- .../IMailAssessmentRequestRequest.java | 17 + .../IMailFolderCollectionRequest.java | 16 + .../extensions/IMailFolderRequest.java | 17 + .../extensions/IMailFolderRequestBuilder.java | 32 +- .../extensions/IMailSearchFolderRequest.java | 17 + .../IMailSearchFolderRequestBuilder.java | 16 +- .../IMailboxUsageDetailRequest.java | 17 + .../IMailboxUsageMailboxCountsRequest.java | 17 + ...xUsageQuotaStatusMailboxCountsRequest.java | 17 + .../IMailboxUsageStorageRequest.java | 17 + ...tateForWindowsDeviceCollectionRequest.java | 16 + .../IMalwareStateForWindowsDeviceRequest.java | 17 + ...viceCertificateStateCollectionRequest.java | 16 + ...nagedAllDeviceCertificateStateRequest.java | 17 + .../IManagedAndroidLobAppRequest.java | 17 + .../IManagedAndroidLobAppRequestBuilder.java | 16 +- .../IManagedAndroidStoreAppRequest.java | 17 + ...IManagedAndroidStoreAppRequestBuilder.java | 16 +- .../IManagedAppConfigurationRequest.java | 17 + ...IManagedAppOperationCollectionRequest.java | 16 + .../IManagedAppOperationRequest.java | 17 + .../IManagedAppPolicyCollectionRequest.java | 16 + ...agedAppPolicyDeploymentSummaryRequest.java | 17 + .../extensions/IManagedAppPolicyRequest.java | 17 + ...agedAppProtectionPolicySetItemRequest.java | 17 + .../IManagedAppProtectionRequest.java | 17 + ...nagedAppRegistrationCollectionRequest.java | 16 + .../IManagedAppRegistrationRequest.java | 17 + .../extensions/IManagedAppRequest.java | 17 + .../extensions/IManagedAppRequestBuilder.java | 16 +- .../IManagedAppStatusCollectionRequest.java | 16 + .../IManagedAppStatusRawRequest.java | 17 + .../extensions/IManagedAppStatusRequest.java | 17 + ...viceCertificateStateCollectionRequest.java | 16 + ...IManagedDeviceCertificateStateRequest.java | 17 + .../IManagedDeviceCollectionPage.java | 2 +- ...nagedDeviceCollectionReferenceRequest.java | 2 +- ...viceCollectionReferenceRequestBuilder.java | 2 +- .../IManagedDeviceCollectionRequest.java | 18 +- ...ManagedDeviceCollectionRequestBuilder.java | 2 +- ...gedDeviceCollectionWithReferencesPage.java | 2 +- ...DeviceCollectionWithReferencesRequest.java | 2 +- ...ollectionWithReferencesRequestBuilder.java | 2 +- ...eviceEncryptionStateCollectionRequest.java | 16 + .../IManagedDeviceEncryptionStateRequest.java | 17 + ...figurationAssignmentCollectionRequest.java | 16 + ...bileAppConfigurationAssignmentRequest.java | 17 + ...bileAppConfigurationCollectionRequest.java | 16 + ...nfigurationDeviceStatusCollectionPage.java | 2 +- ...gurationDeviceStatusCollectionRequest.java | 18 +- ...nDeviceStatusCollectionRequestBuilder.java | 2 +- ...leAppConfigurationDeviceStatusRequest.java | 17 + ...eAppConfigurationDeviceSummaryRequest.java | 17 + ...eAppConfigurationPolicySetItemRequest.java | 17 + ...edDeviceMobileAppConfigurationRequest.java | 17 + ...eMobileAppConfigurationRequestBuilder.java | 8 +- ...ppConfigurationStateCollectionRequest.java | 16 + ...iceMobileAppConfigurationStateRequest.java | 17 + ...ConfigurationUserStatusCollectionPage.java | 2 +- ...figurationUserStatusCollectionRequest.java | 18 +- ...ionUserStatusCollectionRequestBuilder.java | 2 +- ...bileAppConfigurationUserStatusRequest.java | 17 + ...ileAppConfigurationUserSummaryRequest.java | 17 + .../IManagedDeviceOverviewRequest.java | 17 + .../IManagedDeviceReferenceRequest.java | 10 +- ...IManagedDeviceReferenceRequestBuilder.java | 10 +- .../extensions/IManagedDeviceRequest.java | 17 + .../IManagedDeviceRequestBuilder.java | 70 +- .../IManagedDeviceWithReferenceRequest.java | 10 +- ...agedDeviceWithReferenceRequestBuilder.java | 10 +- ...nagedEBookAssignmentCollectionRequest.java | 16 + .../IManagedEBookAssignmentRequest.java | 17 + ...ManagedEBookCategoryCollectionRequest.java | 16 + .../IManagedEBookCategoryRequest.java | 17 + .../IManagedEBookCollectionRequest.java | 16 + .../extensions/IManagedEBookRequest.java | 17 + .../IManagedEBookRequestBuilder.java | 16 +- .../extensions/IManagedIOSLobAppRequest.java | 17 + .../IManagedIOSLobAppRequestBuilder.java | 16 +- .../IManagedIOSStoreAppRequest.java | 17 + .../IManagedIOSStoreAppRequestBuilder.java | 16 +- .../IManagedMobileAppCollectionRequest.java | 16 + .../extensions/IManagedMobileAppRequest.java | 17 + .../IManagedMobileLobAppRequest.java | 17 + .../IManagedMobileLobAppRequestBuilder.java | 16 +- ...IManagementConditionCollectionRequest.java | 16 + .../IManagementConditionRequest.java | 17 + ...ntConditionStatementCollectionRequest.java | 16 + .../IManagementConditionStatementRequest.java | 17 + ...tionProtectionPolicyCollectionRequest.java | 16 + ...nProtectionPolicyPolicySetItemRequest.java | 17 + ...owsInformationProtectionPolicyRequest.java | 17 + ...rmationProtectionPolicyRequestBuilder.java | 8 +- .../IMeetingActivityStatisticsRequest.java | 17 + .../extensions/IMentionCollectionRequest.java | 16 + .../requests/extensions/IMentionRequest.java | 17 + .../extensions/IMessageCollectionRequest.java | 16 + .../requests/extensions/IMessageRequest.java | 17 + .../extensions/IMessageRequestBuilder.java | 32 +- .../IMessageRuleCollectionRequest.java | 16 + .../extensions/IMessageRuleRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + ...henticatorAuthenticationMethodRequest.java | 17 + ...atorAuthenticationMethodTargetRequest.java | 17 + .../IMicrosoftStoreForBusinessAppRequest.java | 17 + ...softStoreForBusinessAppRequestBuilder.java | 16 +- ...ftStoreForBusinessContainedAppRequest.java | 17 + ...IMobileAppAssignmentCollectionRequest.java | 16 + .../IMobileAppAssignmentRequest.java | 17 + .../IMobileAppCategoryCollectionRequest.java | 16 + .../extensions/IMobileAppCategoryRequest.java | 17 + .../IMobileAppCollectionRequest.java | 16 + .../IMobileAppContentCollectionPage.java | 2 +- .../IMobileAppContentCollectionRequest.java | 18 +- ...ileAppContentCollectionRequestBuilder.java | 2 +- ...MobileAppContentFileCollectionRequest.java | 16 + .../IMobileAppContentFileRequest.java | 17 + .../extensions/IMobileAppContentRequest.java | 17 + .../IMobileAppContentRequestBuilder.java | 12 +- .../IMobileAppDependencyRequest.java | 17 + ...bileAppInstallStatusCollectionRequest.java | 16 + .../IMobileAppInstallStatusRequest.java | 17 + .../IMobileAppInstallSummaryRequest.java | 17 + ...ileAppIntentAndStateCollectionRequest.java | 16 + .../IMobileAppIntentAndStateRequest.java | 17 + .../IMobileAppPolicySetItemRequest.java | 17 + ...onfigGroupAssignmentCollectionRequest.java | 16 + ...visioningConfigGroupAssignmentRequest.java | 17 + .../IMobileAppReferenceRequest.java | 8 +- .../IMobileAppReferenceRequestBuilder.java | 8 +- ...obileAppRelationshipCollectionRequest.java | 16 + .../IMobileAppRelationshipRequest.java | 17 + .../extensions/IMobileAppRequest.java | 17 + .../extensions/IMobileAppRequestBuilder.java | 24 +- ...TroubleshootingEventCollectionRequest.java | 16 + ...IMobileAppTroubleshootingEventRequest.java | 17 + .../IMobileAppWithReferenceRequest.java | 8 +- ...IMobileAppWithReferenceRequestBuilder.java | 8 +- .../IMobileContainedAppCollectionPage.java | 2 +- .../IMobileContainedAppCollectionRequest.java | 18 +- ...eContainedAppCollectionRequestBuilder.java | 2 +- .../IMobileContainedAppRequest.java | 17 + .../extensions/IMobileLobAppRequest.java | 17 + .../IMobileLobAppRequestBuilder.java | 16 +- ...reatDefenseConnectorCollectionRequest.java | 16 + .../IMobileThreatDefenseConnectorRequest.java | 17 + ...eLegacyExtendedPropertyCollectionPage.java | 2 +- ...gacyExtendedPropertyCollectionRequest.java | 18 +- ...endedPropertyCollectionRequestBuilder.java | 2 +- ...ltiValueLegacyExtendedPropertyRequest.java | 17 + .../IMuteParticipantOperationRequest.java | 17 + .../IMuteParticipantsOperationRequest.java | 17 + .../INamedLocationCollectionRequest.java | 16 + .../extensions/INamedLocationRequest.java | 17 + .../INdesConnectorCollectionRequest.java | 16 + .../extensions/INdesConnectorRequest.java | 17 + ...nfigurationManagementConditionRequest.java | 17 + ...nfigurationManagementConditionRequest.java | 17 + .../INetworkManagementConditionRequest.java | 17 + .../extensions/INoteDeltaCollectionPage.java | 30 + .../INoteDeltaCollectionRequest.java | 53 + .../INoteDeltaCollectionRequestBuilder.java | 27 + ...{ISearchRequest.java => INoteRequest.java} | 67 +- .../extensions/INoteRequestBuilder.java | 60 + .../INotebookCollectionRequest.java | 16 + .../requests/extensions/INotebookRequest.java | 17 + .../extensions/INotebookRequestBuilder.java | 12 +- .../INotificationCollectionRequest.java | 16 + ...ationMessageTemplateCollectionRequest.java | 16 + .../INotificationMessageTemplateRequest.java | 17 + .../extensions/INotificationRequest.java | 17 + ...Auth2PermissionGrantCollectionRequest.java | 16 + .../IOAuth2PermissionGrantRequest.java | 17 + .../IOfferShiftRequestCollectionRequest.java | 16 + .../extensions/IOfferShiftRequestRequest.java | 17 + .../IOffice365ActivationCountsRequest.java | 17 + ...Office365ActivationsUserCountsRequest.java | 17 + ...Office365ActivationsUserDetailRequest.java | 17 + .../IOffice365ActiveUserCountsRequest.java | 17 + .../IOffice365ActiveUserDetailRequest.java | 17 + ...IOffice365GroupsActivityCountsRequest.java | 17 + ...IOffice365GroupsActivityDetailRequest.java | 17 + ...ice365GroupsActivityFileCountsRequest.java | 17 + ...ce365GroupsActivityGroupCountsRequest.java | 17 + ...Office365GroupsActivityStorageRequest.java | 17 + .../IOffice365ServicesUserCountsRequest.java | 17 + ...figurationAssignmentCollectionRequest.java | 16 + ...eClientConfigurationAssignmentRequest.java | 17 + ...eClientConfigurationCollectionRequest.java | 16 + .../IOfficeClientConfigurationRequest.java | 17 + ...ficeClientConfigurationRequestBuilder.java | 4 +- .../IOfficeConfigurationRequest.java | 17 + .../IOfficeGraphInsightsRequest.java | 17 + .../IOfficeGraphInsightsRequestBuilder.java | 12 +- .../extensions/IOfficeSuiteAppRequest.java | 17 + .../IOfficeSuiteAppRequestBuilder.java | 16 +- .../IOnPremisesAgentCollectionRequest.java | 16 + ...OnPremisesAgentGroupCollectionRequest.java | 16 + .../IOnPremisesAgentGroupRequest.java | 17 + .../extensions/IOnPremisesAgentRequest.java | 17 + ...misesConditionalAccessSettingsRequest.java | 17 + ...sesPublishingProfileCollectionRequest.java | 16 + .../IOnPremisesPublishingProfileRequest.java | 17 + ...emisesPublishingProfileRequestBuilder.java | 28 +- .../IOneDriveActivityUserDetailRequest.java | 17 + .../IOneDriveUsageAccountCountsRequest.java | 17 + .../IOneDriveUsageAccountDetailRequest.java | 17 + .../IOneDriveUsageFileCountsRequest.java | 17 + .../IOnenoteEntityBaseModelRequest.java | 17 + .../IOnenoteEntityHierarchyModelRequest.java | 17 + ...OnenoteEntitySchemaObjectModelRequest.java | 17 + .../IOnenoteOperationCollectionRequest.java | 16 + .../extensions/IOnenoteOperationRequest.java | 17 + .../IOnenotePageCollectionPage.java | 2 +- .../IOnenotePageCollectionRequest.java | 18 +- .../IOnenotePageCollectionRequestBuilder.java | 2 +- .../extensions/IOnenotePageRequest.java | 17 + .../IOnenotePageRequestBuilder.java | 18 +- .../requests/extensions/IOnenoteRequest.java | 17 + .../extensions/IOnenoteRequestBuilder.java | 28 +- .../IOnenoteResourceCollectionRequest.java | 16 + .../extensions/IOnenoteResourceRequest.java | 17 + .../IOnenoteSectionCollectionRequest.java | 16 + .../extensions/IOnenoteSectionRequest.java | 17 + .../IOnenoteSectionRequestBuilder.java | 8 +- .../IOnlineMeetingCollectionRequest.java | 16 + .../extensions/IOnlineMeetingRequest.java | 17 + .../IOpenIdConnectProviderRequest.java | 17 + ...enShiftChangeRequestCollectionRequest.java | 16 + .../IOpenShiftChangeRequestRequest.java | 17 + .../IOpenShiftCollectionRequest.java | 16 + .../extensions/IOpenShiftRequest.java | 17 + .../extensions/IOpenTypeExtensionRequest.java | 17 + .../extensions/IOperationRequest.java | 17 + .../IOrgContactCollectionRequest.java | 16 + .../extensions/IOrgContactRequest.java | 17 + .../extensions/IOrgContactRequestBuilder.java | 8 +- .../IOrganizationCollectionRequest.java | 16 + .../extensions/IOrganizationRequest.java | 17 + .../IOrganizationSettingsRequest.java | 17 + .../IOrganizationSettingsRequestBuilder.java | 8 +- ...ganizationalBrandingCollectionRequest.java | 16 + .../IOrganizationalBrandingRequest.java | 17 + .../IOutlookCategoryCollectionRequest.java | 16 + .../extensions/IOutlookCategoryRequest.java | 17 + .../extensions/IOutlookItemRequest.java | 17 + .../IOutlookTaskCollectionRequest.java | 16 + .../IOutlookTaskFolderCollectionRequest.java | 16 + .../extensions/IOutlookTaskFolderRequest.java | 17 + .../IOutlookTaskFolderRequestBuilder.java | 16 +- .../IOutlookTaskGroupCollectionRequest.java | 16 + .../extensions/IOutlookTaskGroupRequest.java | 17 + .../extensions/IOutlookTaskRequest.java | 17 + .../IOutlookTaskRequestBuilder.java | 16 +- .../extensions/IOutlookUserRequest.java | 17 + .../IOutlookUserRequestBuilder.java | 12 +- .../IParticipantCollectionRequest.java | 16 + .../extensions/IParticipantRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + .../IPasswordAuthenticationMethodRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + ...henticatorAuthenticationMethodRequest.java | 17 + ...atorAuthenticationMethodTargetRequest.java | 17 + .../IPayloadResponseCollectionRequest.java | 16 + .../extensions/IPayloadResponseRequest.java | 17 + .../IPaymentMethodCollectionRequest.java | 16 + .../extensions/IPaymentMethodRequest.java | 17 + .../IPaymentTermCollectionRequest.java | 16 + .../extensions/IPaymentTermRequest.java | 17 + .../IPermissionCollectionRequest.java | 16 + ...ionGrantConditionSetCollectionRequest.java | 16 + .../IPermissionGrantConditionSetRequest.java | 17 + ...ermissionGrantPolicyCollectionRequest.java | 16 + .../IPermissionGrantPolicyRequest.java | 17 + .../IPermissionGrantPolicyRequestBuilder.java | 8 +- .../extensions/IPermissionRequest.java | 17 + .../IPersonAnniversaryCollectionRequest.java | 16 + .../extensions/IPersonAnniversaryRequest.java | 17 + .../IPersonAnnotationCollectionRequest.java | 16 + .../extensions/IPersonAnnotationRequest.java | 17 + .../IPersonAwardCollectionRequest.java | 16 + .../extensions/IPersonAwardRequest.java | 17 + ...IPersonCertificationCollectionRequest.java | 16 + .../IPersonCertificationRequest.java | 17 + .../extensions/IPersonCollectionRequest.java | 16 + .../IPersonInterestCollectionRequest.java | 16 + .../extensions/IPersonInterestRequest.java | 17 + .../IPersonNameCollectionRequest.java | 16 + .../extensions/IPersonNameRequest.java | 17 + .../requests/extensions/IPersonRequest.java | 17 + .../IPersonResponsibilityRequest.java | 17 + .../IPersonWebsiteCollectionRequest.java | 16 + .../extensions/IPersonWebsiteRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + .../IPhoneAuthenticationMethodRequest.java | 17 + .../extensions/IPictureCollectionPage.java | 2 +- .../extensions/IPictureCollectionRequest.java | 18 +- .../IPictureCollectionRequestBuilder.java | 2 +- .../requests/extensions/IPictureRequest.java | 17 + .../extensions/IPlaceCollectionRequest.java | 16 + .../requests/extensions/IPlaceRequest.java | 17 + ...rAssignedToTaskBoardTaskFormatRequest.java | 17 + .../IPlannerBucketCollectionPage.java | 2 +- .../IPlannerBucketCollectionRequest.java | 18 +- ...PlannerBucketCollectionRequestBuilder.java | 2 +- .../extensions/IPlannerBucketRequest.java | 17 + ...annerBucketTaskBoardTaskFormatRequest.java | 17 + .../IPlannerDeltaCollectionRequest.java | 16 + .../extensions/IPlannerDeltaRequest.java | 17 + .../extensions/IPlannerGroupRequest.java | 17 + .../IPlannerPlanCollectionRequest.java | 16 + .../IPlannerPlanDetailsRequest.java | 17 + .../IPlannerPlanReferenceRequest.java | 4 +- .../IPlannerPlanReferenceRequestBuilder.java | 4 +- .../extensions/IPlannerPlanRequest.java | 17 + .../IPlannerPlanRequestBuilder.java | 12 +- .../IPlannerPlanWithReferenceRequest.java | 4 +- ...lannerPlanWithReferenceRequestBuilder.java | 4 +- ...nerProgressTaskBoardTaskFormatRequest.java | 17 + .../requests/extensions/IPlannerRequest.java | 17 + .../extensions/IPlannerRequestBuilder.java | 16 +- .../IPlannerTaskCollectionPage.java | 2 +- .../IPlannerTaskCollectionRequest.java | 18 +- .../IPlannerTaskCollectionRequestBuilder.java | 2 +- .../IPlannerTaskDetailsRequest.java | 17 + .../extensions/IPlannerTaskRequest.java | 17 + .../IPlannerTaskRequestBuilder.java | 28 +- .../extensions/IPlannerUserRequest.java | 17 + .../IPlannerUserRequestBuilder.java | 24 +- .../IPlayPromptOperationRequest.java | 17 + .../extensions/IPolicyBaseRequest.java | 17 + .../extensions/IPolicyRootRequest.java | 17 + .../extensions/IPolicyRootRequestBuilder.java | 8 +- ...IPolicySetAssignmentCollectionRequest.java | 16 + .../IPolicySetAssignmentRequest.java | 17 + .../IPolicySetCollectionRequest.java | 16 + .../IPolicySetItemCollectionRequest.java | 16 + .../extensions/IPolicySetItemRequest.java | 17 + .../extensions/IPolicySetRequest.java | 17 + .../extensions/IPostCollectionRequest.java | 16 + .../requests/extensions/IPostRequest.java | 17 + .../extensions/IPostRequestBuilder.java | 38 +- .../IPresenceCollectionRequest.java | 16 + .../requests/extensions/IPresenceRequest.java | 17 + .../extensions/IPresentationRequest.java | 17 + .../IPrintConnectorCollectionRequest.java | 16 + .../extensions/IPrintConnectorRequest.java | 17 + .../IPrintDocumentCollectionRequest.java | 16 + .../extensions/IPrintDocumentRequest.java | 17 + .../IPrintIdentityCollectionRequest.java | 16 + .../extensions/IPrintIdentityRequest.java | 17 + .../IPrintJobCollectionRequest.java | 16 + .../requests/extensions/IPrintJobRequest.java | 17 + .../extensions/IPrintJobRequestBuilder.java | 2 +- .../IPrintOperationCollectionRequest.java | 16 + .../extensions/IPrintOperationRequest.java | 17 + .../requests/extensions/IPrintRequest.java | 17 + .../extensions/IPrintRequestBuilder.java | 36 +- .../IPrintServiceCollectionRequest.java | 16 + ...PrintServiceEndpointCollectionRequest.java | 16 + .../IPrintServiceEndpointRequest.java | 17 + .../extensions/IPrintServiceRequest.java | 17 + .../extensions/IPrintTaskCollectionPage.java | 2 +- .../IPrintTaskCollectionRequest.java | 18 +- .../IPrintTaskCollectionRequestBuilder.java | 2 +- ...IPrintTaskDefinitionCollectionRequest.java | 16 + .../IPrintTaskDefinitionRequest.java | 17 + .../extensions/IPrintTaskRequest.java | 17 + .../IPrintTaskTriggerCollectionRequest.java | 16 + .../extensions/IPrintTaskTriggerRequest.java | 17 + ...sageSummaryByPrinterCollectionRequest.java | 16 + .../IPrintUsageSummaryByPrinterRequest.java | 17 + ...ntUsageSummaryByUserCollectionRequest.java | 16 + .../IPrintUsageSummaryByUserRequest.java | 17 + .../IPrintUserIdentityCollectionRequest.java | 16 + .../extensions/IPrintUserIdentityRequest.java | 17 + .../extensions/IPrinterBaseRequest.java | 17 + .../extensions/IPrinterCollectionRequest.java | 16 + .../IPrinterCreateOperationRequest.java | 17 + .../extensions/IPrinterReferenceRequest.java | 4 +- .../IPrinterReferenceRequestBuilder.java | 4 +- .../requests/extensions/IPrinterRequest.java | 17 + .../extensions/IPrinterRequestBuilder.java | 16 +- .../IPrinterShareCollectionRequest.java | 16 + .../IPrinterShareReferenceRequest.java | 4 +- .../IPrinterShareReferenceRequestBuilder.java | 4 +- .../extensions/IPrinterShareRequest.java | 17 + .../IPrinterShareRequestBuilder.java | 20 +- .../IPrinterShareWithReferenceRequest.java | 4 +- ...interShareWithReferenceRequestBuilder.java | 4 +- .../IPrinterWithReferenceRequest.java | 4 +- .../IPrinterWithReferenceRequestBuilder.java | 4 +- .../IPrivilegedAccessCollectionRequest.java | 16 + .../extensions/IPrivilegedAccessRequest.java | 17 + .../IPrivilegedAccessRequestBuilder.java | 16 +- .../IPrivilegedApprovalCollectionRequest.java | 16 + .../IPrivilegedApprovalRequest.java | 17 + ...ilegedOperationEventCollectionRequest.java | 16 + .../IPrivilegedOperationEventRequest.java | 17 + ...ilegedRoleAssignmentCollectionRequest.java | 16 + .../IPrivilegedRoleAssignmentRequest.java | 17 + ...rivilegedRoleAssignmentRequestBuilder.java | 2 +- ...oleAssignmentRequestCollectionRequest.java | 16 + ...rivilegedRoleAssignmentRequestRequest.java | 17 + .../IPrivilegedRoleCollectionRequest.java | 16 + .../extensions/IPrivilegedRoleRequest.java | 17 + .../IPrivilegedRoleRequestBuilder.java | 8 +- .../IPrivilegedRoleSettingsRequest.java | 17 + .../IPrivilegedRoleSummaryRequest.java | 17 + ...ivilegedSignupStatusCollectionRequest.java | 16 + ...dSignupStatusCollectionRequestBuilder.java | 8 +- .../IPrivilegedSignupStatusRequest.java | 17 + ...IProfileCardPropertyCollectionRequest.java | 16 + .../IProfileCardPropertyRequest.java | 17 + .../IProfilePhotoCollectionRequest.java | 16 + .../extensions/IProfilePhotoRequest.java | 17 + .../requests/extensions/IProfileRequest.java | 17 + .../extensions/IProgramCollectionRequest.java | 16 + .../IProgramControlCollectionRequest.java | 16 + .../extensions/IProgramControlRequest.java | 17 + .../IProgramControlTypeCollectionRequest.java | 16 + .../IProgramControlTypeRequest.java | 17 + .../requests/extensions/IProgramRequest.java | 17 + ...ProjectParticipationCollectionRequest.java | 16 + .../IProjectParticipationRequest.java | 17 + ...roviderTenantSettingCollectionRequest.java | 16 + .../IProviderTenantSettingRequest.java | 17 + ...sioningObjectSummaryCollectionRequest.java | 16 + .../IProvisioningObjectSummaryRequest.java | 17 + .../IPublishedResourceCollectionRequest.java | 16 + .../extensions/IPublishedResourceRequest.java | 17 + .../IPurchaseInvoiceCollectionRequest.java | 16 + ...IPurchaseInvoiceLineCollectionRequest.java | 16 + .../IPurchaseInvoiceLineRequest.java | 17 + .../IPurchaseInvoiceLineRequestBuilder.java | 14 +- .../extensions/IPurchaseInvoiceRequest.java | 17 + .../IPurchaseInvoiceRequestBuilder.java | 16 +- .../IRbacApplicationMultipleRequest.java | 17 + ...RbacApplicationMultipleRequestBuilder.java | 12 +- .../extensions/IRbacApplicationRequest.java | 17 + .../IRbacApplicationRequestBuilder.java | 12 +- .../extensions/IRecordOperationRequest.java | 17 + .../IReferenceAttachmentRequest.java | 17 + .../IRegionalAndLanguageSettingsRequest.java | 17 + .../IRelyingPartyDetailedSummaryRequest.java | 17 + .../IRemoteActionAuditCollectionRequest.java | 16 + .../extensions/IRemoteActionAuditRequest.java | 17 + ...oteAssistancePartnerCollectionRequest.java | 16 + .../IRemoteAssistancePartnerRequest.java | 17 + .../extensions/IReportRootCollectionPage.java | 82 +- .../IReportRootCollectionRequest.java | 98 +- .../IReportRootCollectionRequestBuilder.java | 108 +- .../extensions/IReportRootRequest.java | 17 + .../extensions/IReportRootRequestBuilder.java | 264 +- .../requests/extensions/IRequestRequest.java | 17 + .../extensions/IRequestRequestBuilder.java | 2 +- .../IResourceOperationCollectionRequest.java | 16 + .../extensions/IResourceOperationRequest.java | 17 + ...cificPermissionGrantCollectionRequest.java | 16 + ...esourceSpecificPermissionGrantRequest.java | 17 + ...trictedAppsViolationCollectionRequest.java | 16 + .../IRestrictedAppsViolationRequest.java | 17 + .../IRestrictedSignInCollectionRequest.java | 16 + .../extensions/IRestrictedSignInRequest.java | 17 + .../IReviewSetCollectionRequest.java | 16 + .../IReviewSetQueryCollectionRequest.java | 16 + .../extensions/IReviewSetQueryRequest.java | 17 + .../extensions/IReviewSetRequest.java | 17 + .../IRiskDetectionCollectionRequest.java | 16 + .../extensions/IRiskDetectionRequest.java | 17 + .../IRiskyUserCollectionRequest.java | 16 + .../IRiskyUserCollectionRequestBuilder.java | 4 +- ...RiskyUserHistoryItemCollectionRequest.java | 16 + .../IRiskyUserHistoryItemRequest.java | 17 + .../extensions/IRiskyUserRequest.java | 17 + .../IRoleAssignmentCollectionRequest.java | 16 + .../extensions/IRoleAssignmentRequest.java | 17 + .../IRoleDefinitionCollectionRequest.java | 16 + .../extensions/IRoleDefinitionRequest.java | 17 + .../extensions/IRoleManagementRequest.java | 17 + ...opeTagAutoAssignmentCollectionRequest.java | 16 + .../IRoleScopeTagAutoAssignmentRequest.java | 17 + .../IRoleScopeTagCollectionRequest.java | 16 + .../extensions/IRoleScopeTagRequest.java | 17 + .../extensions/IRoomCollectionRequest.java | 16 + .../requests/extensions/IRoomListRequest.java | 17 + .../requests/extensions/IRoomRequest.java | 17 + .../ISalesCreditMemoCollectionRequest.java | 16 + ...ISalesCreditMemoLineCollectionRequest.java | 16 + .../ISalesCreditMemoLineRequest.java | 17 + .../ISalesCreditMemoLineRequestBuilder.java | 14 +- .../extensions/ISalesCreditMemoRequest.java | 17 + .../ISalesCreditMemoRequestBuilder.java | 22 +- .../ISalesInvoiceCollectionRequest.java | 16 + .../ISalesInvoiceLineCollectionRequest.java | 16 + .../extensions/ISalesInvoiceLineRequest.java | 17 + .../ISalesInvoiceLineRequestBuilder.java | 14 +- .../extensions/ISalesInvoiceRequest.java | 17 + .../ISalesInvoiceRequestBuilder.java | 26 +- .../ISalesOrderCollectionRequest.java | 16 + .../ISalesOrderLineCollectionRequest.java | 16 + .../extensions/ISalesOrderLineRequest.java | 17 + .../ISalesOrderLineRequestBuilder.java | 14 +- .../extensions/ISalesOrderRequest.java | 17 + .../extensions/ISalesOrderRequestBuilder.java | 22 +- .../ISalesQuoteCollectionRequest.java | 16 + .../ISalesQuoteLineCollectionRequest.java | 16 + .../extensions/ISalesQuoteLineRequest.java | 17 + .../ISalesQuoteLineRequestBuilder.java | 14 +- .../extensions/ISalesQuoteRequest.java | 17 + .../extensions/ISalesQuoteRequestBuilder.java | 22 +- .../IScheduleChangeRequestRequest.java | 17 + .../requests/extensions/IScheduleRequest.java | 17 + .../extensions/IScheduleRequestBuilder.java | 52 +- .../ISchedulingGroupCollectionRequest.java | 16 + .../extensions/ISchedulingGroupRequest.java | 17 + .../ISchemaExtensionCollectionRequest.java | 16 + .../extensions/ISchemaExtensionRequest.java | 17 + .../requests/extensions/ISchemaRequest.java | 17 + ...ScopedRoleMembershipCollectionRequest.java | 16 + .../IScopedRoleMembershipRequest.java | 17 + ... => ISearchEntityQueryCollectionPage.java} | 6 +- ... ISearchEntityQueryCollectionRequest.java} | 14 +- ...hEntityQueryCollectionRequestBuilder.java} | 10 +- .../extensions/ISearchEntityRequest.java | 116 + ....java => ISearchEntityRequestBuilder.java} | 16 +- .../ISectionGroupCollectionRequest.java | 16 + .../extensions/ISectionGroupRequest.java | 17 + .../ISectionGroupRequestBuilder.java | 12 +- .../ISecureScoreCollectionRequest.java | 16 + ...eScoreControlProfileCollectionRequest.java | 16 + .../ISecureScoreControlProfileRequest.java | 17 + .../extensions/ISecureScoreRequest.java | 17 + .../ISecurityActionCollectionRequest.java | 16 + .../extensions/ISecurityActionRequest.java | 17 + ...CategoryStateSummaryCollectionRequest.java | 16 + ...tyBaselineCategoryStateSummaryRequest.java | 17 + ...yBaselineDeviceStateCollectionRequest.java | 16 + .../ISecurityBaselineDeviceStateRequest.java | 17 + ...BaselineSettingStateCollectionRequest.java | 16 + .../ISecurityBaselineSettingStateRequest.java | 17 + ...ecurityBaselineStateCollectionRequest.java | 16 + .../ISecurityBaselineStateRequest.java | 17 + .../ISecurityBaselineStateSummaryRequest.java | 17 + .../ISecurityBaselineTemplateRequest.java | 17 + ...ecurityBaselineTemplateRequestBuilder.java | 28 +- .../ISecurityConfigurationTaskRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + ...tyQuestionAuthenticationMethodRequest.java | 17 + .../requests/extensions/ISecurityRequest.java | 17 + .../extensions/ISecurityRequestBuilder.java | 12 +- .../ISensitiveTypeCollectionRequest.java | 16 + .../extensions/ISensitiveTypeRequest.java | 17 + .../ISensitivityLabelCollectionRequest.java | 16 + .../extensions/ISensitivityLabelRequest.java | 17 + .../ISensitivityPolicySettingsRequest.java | 17 + .../IServicePrincipalCollectionRequest.java | 16 + .../extensions/IServicePrincipalRequest.java | 17 + .../IServicePrincipalRequestBuilder.java | 46 +- ...ttingStateDeviceSummaryCollectionPage.java | 2 +- ...ngStateDeviceSummaryCollectionRequest.java | 18 +- ...DeviceSummaryCollectionRequestBuilder.java | 2 +- .../ISettingStateDeviceSummaryRequest.java | 17 + .../ISharePointActivityPagesRequest.java | 17 + .../ISharePointActivityUserCountsRequest.java | 17 + .../ISharePointActivityUserDetailRequest.java | 17 + .../ISharePointSiteUsageDetailRequest.java | 17 + ...ISharePointSiteUsageFileCountsRequest.java | 17 + .../ISharePointSiteUsagePagesRequest.java | 17 + ...ISharePointSiteUsageSiteCountsRequest.java | 17 + .../ISharedDriveItemCollectionRequest.java | 16 + .../extensions/ISharedDriveItemRequest.java | 17 + .../ISharedInsightCollectionRequest.java | 16 + .../extensions/ISharedInsightRequest.java | 17 + .../ISharedPCConfigurationRequest.java | 17 + .../ISharedPCConfigurationRequestBuilder.java | 24 +- .../extensions/IShiftCollectionRequest.java | 16 + .../extensions/IShiftPreferencesRequest.java | 17 + .../requests/extensions/IShiftRequest.java | 17 + .../IShipmentMethodCollectionRequest.java | 16 + .../extensions/IShipmentMethodRequest.java | 17 + .../ISideLoadingKeyCollectionRequest.java | 16 + .../extensions/ISideLoadingKeyRequest.java | 17 + .../extensions/ISignInCollectionRequest.java | 16 + .../requests/extensions/ISignInRequest.java | 17 + ...eLegacyExtendedPropertyCollectionPage.java | 2 +- ...gacyExtendedPropertyCollectionRequest.java | 18 +- ...endedPropertyCollectionRequestBuilder.java | 2 +- ...gleValueLegacyExtendedPropertyRequest.java | 17 + .../ISiteActivitySummaryRequest.java | 17 + .../extensions/ISiteCollectionRequest.java | 16 + .../ISitePageCollectionRequest.java | 16 + .../requests/extensions/ISitePageRequest.java | 17 + .../requests/extensions/ISiteRequest.java | 17 + .../extensions/ISiteUsageStorageRequest.java | 17 + .../ISkillProficiencyCollectionRequest.java | 16 + .../extensions/ISkillProficiencyRequest.java | 17 + ...SkypeForBusinessActivityCountsRequest.java | 17 + ...eForBusinessActivityUserCountsRequest.java | 17 + ...eForBusinessActivityUserDetailRequest.java | 17 + ...iceUsageDistributionUserCountsRequest.java | 17 + ...rBusinessDeviceUsageUserCountsRequest.java | 17 + ...rBusinessDeviceUsageUserDetailRequest.java | 17 + ...usinessOrganizerActivityCountsRequest.java | 17 + ...sOrganizerActivityMinuteCountsRequest.java | 17 + ...essOrganizerActivityUserCountsRequest.java | 17 + ...inessParticipantActivityCountsRequest.java | 17 + ...articipantActivityMinuteCountsRequest.java | 17 + ...sParticipantActivityUserCountsRequest.java | 17 + ...sinessPeerToPeerActivityCountsRequest.java | 17 + ...PeerToPeerActivityMinuteCountsRequest.java | 17 + ...ssPeerToPeerActivityUserCountsRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + ...ftwareOathAuthenticationMethodRequest.java | 17 + .../ISoftwareUpdateStatusSummaryRequest.java | 17 + .../extensions/IStsPolicyRequest.java | 17 + .../ISubscribeToToneOperationRequest.java | 17 + .../ISubscribedSkuCollectionRequest.java | 16 + .../extensions/ISubscribedSkuRequest.java | 17 + .../ISubscriptionCollectionRequest.java | 16 + .../extensions/ISubscriptionRequest.java | 17 + ...pShiftsChangeRequestCollectionRequest.java | 16 + .../ISwapShiftsChangeRequestRequest.java | 17 + ...SymantecCodeSigningCertificateRequest.java | 17 + .../ISynchronizationJobCollectionRequest.java | 16 + .../ISynchronizationJobRequest.java | 17 + .../ISynchronizationJobRequestBuilder.java | 2 +- .../extensions/ISynchronizationRequest.java | 17 + .../ISynchronizationSchemaRequest.java | 17 + .../ISynchronizationSchemaRequestBuilder.java | 6 +- ...chronizationTemplateCollectionRequest.java | 16 + .../ISynchronizationTemplateRequest.java | 17 + ...agedAppConfigurationCollectionRequest.java | 16 + ...dAppConfigurationPolicySetItemRequest.java | 17 + ...argetedManagedAppConfigurationRequest.java | 17 + ...ManagedAppConfigurationRequestBuilder.java | 8 +- ...agedAppPolicyAssignmentCollectionPage.java | 2 +- ...dAppPolicyAssignmentCollectionRequest.java | 18 +- ...icyAssignmentCollectionRequestBuilder.java | 2 +- ...etedManagedAppPolicyAssignmentRequest.java | 17 + .../ITargetedManagedAppProtectionRequest.java | 17 + .../extensions/ITaxAreaCollectionRequest.java | 16 + .../requests/extensions/ITaxAreaRequest.java | 17 + .../ITaxGroupCollectionRequest.java | 16 + .../requests/extensions/ITaxGroupRequest.java | 17 + .../extensions/ITeamCollectionPage.java | 6 +- .../extensions/ITeamCollectionRequest.java | 22 +- .../ITeamCollectionRequestBuilder.java | 6 +- .../ITeamCompleteMigrationRequest.java | 36 + .../ITeamCompleteMigrationRequestBuilder.java | 31 + .../requests/extensions/ITeamRequest.java | 17 + .../extensions/ITeamRequestBuilder.java | 71 +- .../ITeamsAppCollectionRequest.java | 16 + .../ITeamsAppDefinitionCollectionRequest.java | 16 + .../ITeamsAppDefinitionRequest.java | 17 + ...TeamsAppInstallationCollectionRequest.java | 16 + .../ITeamsAppInstallationRequest.java | 17 + .../requests/extensions/ITeamsAppRequest.java | 17 + ...ITeamsAsyncOperationCollectionRequest.java | 16 + .../ITeamsAsyncOperationRequest.java | 17 + ...iceUsageDistributionUserCountsRequest.java | 17 + .../ITeamsDeviceUsageUserCountsRequest.java | 17 + .../ITeamsDeviceUsageUserDetailRequest.java | 17 + .../ITeamsTabCollectionRequest.java | 16 + .../requests/extensions/ITeamsTabRequest.java | 17 + .../ITeamsTemplateCollectionRequest.java | 16 + .../extensions/ITeamsTemplateRequest.java | 17 + .../ITeamsUserActivityCountsRequest.java | 17 + .../ITeamsUserActivityUserCountsRequest.java | 17 + .../ITeamsUserActivityUserDetailRequest.java | 17 + .../requests/extensions/ITeamworkRequest.java | 17 + ...nseManagementPartnerCollectionRequest.java | 16 + ...elecomExpenseManagementPartnerRequest.java | 17 + ...AuthenticationMethodCollectionRequest.java | 16 + ...AccessPassAuthenticationMethodRequest.java | 17 + .../extensions/ITenantSetupInfoRequest.java | 17 + ...ionsAcceptanceStatusCollectionRequest.java | 16 + ...sAndConditionsAcceptanceStatusRequest.java | 17 + ...ConditionsAssignmentCollectionRequest.java | 16 + .../ITermsAndConditionsAssignmentRequest.java | 17 + .../ITermsAndConditionsCollectionRequest.java | 16 + ...tionsGroupAssignmentCollectionRequest.java | 16 + ...msAndConditionsGroupAssignmentRequest.java | 17 + .../ITermsAndConditionsReferenceRequest.java | 8 +- ...sAndConditionsReferenceRequestBuilder.java | 8 +- .../ITermsAndConditionsRequest.java | 17 + .../ITermsAndConditionsRequestBuilder.java | 16 +- ...ermsAndConditionsWithReferenceRequest.java | 8 +- ...ConditionsWithReferenceRequestBuilder.java | 8 +- .../ITermsOfUseContainerRequest.java | 17 + .../ITermsOfUseContainerRequestBuilder.java | 12 +- ...lassificationRequestCollectionRequest.java | 16 + .../ITextClassificationRequestRequest.java | 17 + ...eatAssessmentRequestCollectionRequest.java | 16 + .../IThreatAssessmentRequestRequest.java | 17 + ...reatAssessmentResultCollectionRequest.java | 16 + .../IThreatAssessmentResultRequest.java | 17 + .../extensions/IThumbnailRequest.java | 17 + .../IThumbnailSetCollectionRequest.java | 16 + .../extensions/IThumbnailSetRequest.java | 17 + .../ITiIndicatorCollectionRequest.java | 16 + .../ITiIndicatorCollectionRequestBuilder.java | 12 +- .../extensions/ITiIndicatorRequest.java | 17 + .../extensions/ITimeOffCollectionRequest.java | 16 + .../ITimeOffReasonCollectionRequest.java | 16 + .../extensions/ITimeOffReasonRequest.java | 17 + .../requests/extensions/ITimeOffRequest.java | 17 + .../ITimeOffRequestCollectionRequest.java | 16 + .../extensions/ITimeOffRequestRequest.java | 17 + .../requests/extensions/ITodoRequest.java | 116 + .../extensions/ITodoRequestBuilder.java | 42 + .../extensions/ITodoTaskCollectionPage.java | 24 + .../ITodoTaskCollectionRequest.java | 71 + .../ITodoTaskCollectionRequestBuilder.java | 36 + .../ITodoTaskDeltaCollectionPage.java | 30 + .../ITodoTaskDeltaCollectionRequest.java | 53 + ...TodoTaskDeltaCollectionRequestBuilder.java | 27 + .../ITodoTaskListCollectionPage.java | 24 + .../ITodoTaskListCollectionRequest.java | 71 + ...ITodoTaskListCollectionRequestBuilder.java | 36 + .../ITodoTaskListDeltaCollectionPage.java | 30 + .../ITodoTaskListDeltaCollectionRequest.java | 53 + ...TaskListDeltaCollectionRequestBuilder.java | 27 + .../extensions/ITodoTaskListRequest.java | 116 + .../ITodoTaskListRequestBuilder.java | 48 + .../requests/extensions/ITodoTaskRequest.java | 116 + .../extensions/ITodoTaskRequestBuilder.java | 48 + ...ITokenIssuancePolicyCollectionRequest.java | 16 + .../ITokenIssuancePolicyRequest.java | 17 + ...ITokenLifetimePolicyCollectionRequest.java | 16 + .../ITokenLifetimePolicyRequest.java | 17 + .../ITrendingCollectionRequest.java | 16 + .../requests/extensions/ITrendingRequest.java | 17 + ...TrustFrameworkKeySetCollectionRequest.java | 16 + .../ITrustFrameworkKeySetRequest.java | 17 + .../ITrustFrameworkKeySetRequestBuilder.java | 2 +- ...TrustFrameworkPolicyCollectionRequest.java | 16 + .../ITrustFrameworkPolicyRequest.java | 17 + .../extensions/ITrustFrameworkRequest.java | 17 + .../ITrustFrameworkRequestBuilder.java | 12 +- ...nifiedRoleAssignmentCollectionRequest.java | 16 + ...leAssignmentMultipleCollectionRequest.java | 16 + ...IUnifiedRoleAssignmentMultipleRequest.java | 17 + ...dRoleAssignmentMultipleRequestBuilder.java | 26 +- .../IUnifiedRoleAssignmentRequest.java | 17 + .../IUnifiedRoleAssignmentRequestBuilder.java | 20 +- .../IUnifiedRoleDefinitionCollectionPage.java | 1 + ...nifiedRoleDefinitionCollectionRequest.java | 17 + ...oleDefinitionCollectionRequestBuilder.java | 1 + .../IUnifiedRoleDefinitionRequest.java | 17 + .../IUnitOfMeasureCollectionRequest.java | 16 + .../extensions/IUnitOfMeasureRequest.java | 17 + .../IUnmuteParticipantOperationRequest.java | 17 + ...UnsupportedDeviceConfigurationRequest.java | 17 + ...rtedDeviceConfigurationRequestBuilder.java | 24 +- ...GroupPolicyExtensionCollectionRequest.java | 16 + ...nsupportedGroupPolicyExtensionRequest.java | 17 + ...UpdateRecordingStatusOperationRequest.java | 17 + .../IUrlAssessmentRequestRequest.java | 17 + .../IUsedInsightCollectionRequest.java | 16 + .../extensions/IUsedInsightRequest.java | 17 + ...erAccountInformationCollectionRequest.java | 16 + .../IUserAccountInformationRequest.java | 17 + .../IUserActivityCollectionRequest.java | 16 + .../extensions/IUserActivityRequest.java | 17 + .../extensions/IUserAnalyticsRequest.java | 17 + ...UserAppInstallStatusCollectionRequest.java | 16 + .../IUserAppInstallStatusRequest.java | 17 + .../extensions/IUserCollectionPage.java | 4 +- .../IUserCollectionReferenceRequest.java | 4 +- ...UserCollectionReferenceRequestBuilder.java | 4 +- .../extensions/IUserCollectionRequest.java | 20 +- .../IUserCollectionRequestBuilder.java | 4 +- .../IUserCollectionWithReferencesPage.java | 4 +- .../IUserCollectionWithReferencesRequest.java | 4 +- ...ollectionWithReferencesRequestBuilder.java | 4 +- .../IUserConfigurationCollectionRequest.java | 16 + .../extensions/IUserConfigurationRequest.java | 17 + .../IUserConsentRequestCollectionRequest.java | 16 + .../IUserConsentRequestRequest.java | 17 + ...edentialUsageDetailsCollectionRequest.java | 16 + .../IUserCredentialUsageDetailsRequest.java | 17 + ...plicationPerformanceCollectionRequest.java | 16 + ...ppHealthApplicationPerformanceRequest.java | 17 + ...nceAnalyticsBaselineCollectionRequest.java | 16 + ...serExperienceAnalyticsBaselineRequest.java | 17 + ...rienceAnalyticsBaselineRequestBuilder.java | 4 +- ...nceAnalyticsCategoryCollectionRequest.java | 16 + ...serExperienceAnalyticsCategoryRequest.java | 17 + ...icsDevicePerformanceCollectionRequest.java | 16 + ...enceAnalyticsDevicePerformanceRequest.java | 17 + ...DeviceStartupHistoryCollectionRequest.java | 16 + ...eAnalyticsDeviceStartupHistoryRequest.java | 17 + ...DeviceStartupProcessCollectionRequest.java | 16 + ...upProcessPerformanceCollectionRequest.java | 16 + ...eviceStartupProcessPerformanceRequest.java | 17 + ...eAnalyticsDeviceStartupProcessRequest.java | 17 + ...ienceAnalyticsMetricCollectionRequest.java | 16 + ...alyticsMetricHistoryCollectionRequest.java | 16 + ...perienceAnalyticsMetricHistoryRequest.java | 17 + ...IUserExperienceAnalyticsMetricRequest.java | 17 + ...serExperienceAnalyticsOverviewRequest.java | 17 + ...enceAnalyticsRegressionSummaryRequest.java | 17 + ...lyticsRegressionSummaryRequestBuilder.java | 8 +- ...nalyticsScoreHistoryCollectionRequest.java | 16 + ...xperienceAnalyticsScoreHistoryRequest.java | 17 + ...rInstallStateSummaryCollectionRequest.java | 16 + .../IUserInstallStateSummaryRequest.java | 17 + .../IUserPFXCertificateCollectionRequest.java | 16 + .../IUserPFXCertificateRequest.java | 17 + .../extensions/IUserReferenceRequest.java | 35 +- .../IUserReferenceRequestBuilder.java | 35 +- .../requests/extensions/IUserRequest.java | 17 + .../extensions/IUserRequestBuilder.java | 124 +- ...TeamsAppInstallationCollectionRequest.java | 16 + ...IUserScopeTeamsAppInstallationRequest.java | 17 + ...IUserSecurityProfileCollectionRequest.java | 16 + .../IUserSecurityProfileRequest.java | 17 + .../extensions/IUserSettingsRequest.java | 17 + .../extensions/IUserTeamworkRequest.java | 17 + .../extensions/IUserWithReferenceRequest.java | 35 +- .../IUserWithReferenceRequestBuilder.java | 35 +- .../extensions/IVendorCollectionRequest.java | 16 + .../requests/extensions/IVendorRequest.java | 17 + .../extensions/IVendorRequestBuilder.java | 22 +- .../extensions/IVpnConfigurationRequest.java | 17 + .../IVpnConfigurationRequestBuilder.java | 24 +- .../IVppTokenCollectionRequest.java | 16 + .../requests/extensions/IVppTokenRequest.java | 17 + .../extensions/IVppTokenRequestBuilder.java | 2 +- ...nerableManagedDeviceCollectionRequest.java | 16 + .../IVulnerableManagedDeviceRequest.java | 17 + .../IWebAccountCollectionRequest.java | 16 + .../extensions/IWebAccountRequest.java | 17 + .../requests/extensions/IWebAppRequest.java | 17 + .../extensions/IWebAppRequestBuilder.java | 16 +- .../extensions/IWin32LobAppRequest.java | 17 + .../IWin32LobAppRequestBuilder.java | 16 +- ...indows10CertificateProfileBaseRequest.java | 17 + ...0CertificateProfileBaseRequestBuilder.java | 24 +- .../IWindows10CompliancePolicyRequest.java | 17 + ...ndows10CompliancePolicyRequestBuilder.java | 28 +- .../IWindows10CustomConfigurationRequest.java | 17 + ...ws10CustomConfigurationRequestBuilder.java | 24 +- ...FirmwareConfigurationInterfaceRequest.java | 17 + ...eConfigurationInterfaceRequestBuilder.java | 24 +- ...10EasEmailProfileConfigurationRequest.java | 17 + ...ailProfileConfigurationRequestBuilder.java | 24 +- ...ndpointProtectionConfigurationRequest.java | 17 + ...ProtectionConfigurationRequestBuilder.java | 24 +- ...PageConfigurationPolicySetItemRequest.java | 17 + ...entCompletionPageConfigurationRequest.java | 17 + ...dernAppManagementConfigurationRequest.java | 17 + ...ManagementConfigurationRequestBuilder.java | 24 +- ...IWindows10GeneralConfigurationRequest.java | 17 + ...s10GeneralConfigurationRequestBuilder.java | 24 +- ...0ImportedPFXCertificateProfileRequest.java | 17 + ...edPFXCertificateProfileRequestBuilder.java | 24 +- ...indows10MobileCompliancePolicyRequest.java | 17 + ...0MobileCompliancePolicyRequestBuilder.java | 28 +- ...10NetworkBoundaryConfigurationRequest.java | 17 + ...rkBoundaryConfigurationRequestBuilder.java | 24 +- ...s10PFXImportCertificateProfileRequest.java | 17 + ...mportCertificateProfileRequestBuilder.java | 24 +- ...indows10PkcsCertificateProfileRequest.java | 17 + ...0PkcsCertificateProfileRequestBuilder.java | 24 +- ...0SecureAssessmentConfigurationRequest.java | 17 + ...AssessmentConfigurationRequestBuilder.java | 24 +- ...dows10TeamGeneralConfigurationRequest.java | 17 + ...eamGeneralConfigurationRequestBuilder.java | 24 +- .../IWindows10VpnConfigurationRequest.java | 17 + ...ndows10VpnConfigurationRequestBuilder.java | 24 +- ...indows81CertificateProfileBaseRequest.java | 17 + ...1CertificateProfileBaseRequestBuilder.java | 24 +- .../IWindows81CompliancePolicyRequest.java | 17 + ...ndows81CompliancePolicyRequestBuilder.java | 28 +- ...IWindows81GeneralConfigurationRequest.java | 17 + ...s81GeneralConfigurationRequestBuilder.java | 24 +- ...indows81SCEPCertificateProfileRequest.java | 17 + ...1SCEPCertificateProfileRequestBuilder.java | 28 +- ...ustedRootCertificateCollectionRequest.java | 16 + ...indows81TrustedRootCertificateRequest.java | 17 + ...1TrustedRootCertificateRequestBuilder.java | 24 +- .../IWindows81VpnConfigurationRequest.java | 17 + ...ndows81VpnConfigurationRequestBuilder.java | 24 +- ...ndows81WifiImportConfigurationRequest.java | 17 + ...WifiImportConfigurationRequestBuilder.java | 24 +- .../extensions/IWindowsAppXRequest.java | 17 + .../IWindowsAppXRequestBuilder.java | 16 +- .../IWindowsAssignedAccessProfileRequest.java | 17 + ...entProfileAssignmentCollectionRequest.java | 16 + ...lotDeploymentProfileAssignmentRequest.java | 17 + ...lotDeploymentProfileCollectionRequest.java | 16 + ...DeploymentProfilePolicySetItemRequest.java | 17 + ...dowsAutopilotDeploymentProfileRequest.java | 17 + ...opilotDeviceIdentityCollectionRequest.java | 16 + ...WindowsAutopilotDeviceIdentityRequest.java | 17 + ...AutopilotDeviceIdentityRequestBuilder.java | 4 +- .../IWindowsAutopilotSettingsRequest.java | 17 + ...IWindowsCertificateProfileBaseRequest.java | 17 + ...sCertificateProfileBaseRequestBuilder.java | 24 +- ...dThreatProtectionConfigurationRequest.java | 17 + ...ProtectionConfigurationRequestBuilder.java | 24 +- ...ntalPolicyAssignmentCollectionRequest.java | 16 + ...olSupplementalPolicyAssignmentRequest.java | 17 + ...olSupplementalPolicyCollectionRequest.java | 16 + ...licyDeploymentStatusCollectionRequest.java | 16 + ...lementalPolicyDeploymentStatusRequest.java | 17 + ...ementalPolicyDeploymentSummaryRequest.java | 17 + ...ationControlSupplementalPolicyRequest.java | 17 + ...iveryOptimizationConfigurationRequest.java | 17 + ...timizationConfigurationRequestBuilder.java | 24 +- ...wsDeviceMalwareStateCollectionRequest.java | 16 + .../IWindowsDeviceMalwareStateRequest.java | 17 + ...WindowsDomainJoinConfigurationRequest.java | 17 + ...DomainJoinConfigurationRequestBuilder.java | 24 +- ...ateProfileAssignmentCollectionRequest.java | 16 + ...FeatureUpdateProfileAssignmentRequest.java | 17 + ...FeatureUpdateProfileCollectionRequest.java | 16 + .../IWindowsFeatureUpdateProfileRequest.java | 17 + ...sHealthMonitoringConfigurationRequest.java | 17 + ...MonitoringConfigurationRequestBuilder.java | 24 +- ...dentityProtectionConfigurationRequest.java | 17 + ...ProtectionConfigurationRequestBuilder.java | 24 +- ...onAppLearningSummaryCollectionRequest.java | 16 + ...onProtectionAppLearningSummaryRequest.java | 17 + ...tectionAppLockerFileCollectionRequest.java | 16 + ...rmationProtectionAppLockerFileRequest.java | 17 + ...onDeviceRegistrationCollectionRequest.java | 16 + ...onProtectionDeviceRegistrationRequest.java | 17 + ...tworkLearningSummaryCollectionRequest.java | 16 + ...otectionNetworkLearningSummaryRequest.java | 17 + ...tionProtectionPolicyCollectionRequest.java | 16 + ...owsInformationProtectionPolicyRequest.java | 17 + ...rmationProtectionPolicyRequestBuilder.java | 8 +- .../IWindowsInformationProtectionRequest.java | 17 + ...wsInformationProtectionRequestBuilder.java | 12 +- ...ProtectionWipeActionCollectionRequest.java | 16 + ...nformationProtectionWipeActionRequest.java | 17 + .../IWindowsKioskConfigurationRequest.java | 17 + ...ndowsKioskConfigurationRequestBuilder.java | 24 +- ...wsMalwareInformationCollectionRequest.java | 16 + .../IWindowsMalwareInformationRequest.java | 17 + .../IWindowsManagedDeviceRequest.java | 17 + .../IWindowsManagedDeviceRequestBuilder.java | 24 +- ...gementAppHealthStateCollectionRequest.java | 16 + ...indowsManagementAppHealthStateRequest.java | 17 + ...dowsManagementAppHealthSummaryRequest.java | 17 + .../IWindowsManagementAppRequest.java | 17 + .../IWindowsMicrosoftEdgeAppRequest.java | 17 + ...WindowsMicrosoftEdgeAppRequestBuilder.java | 16 +- .../extensions/IWindowsMobileMSIRequest.java | 17 + .../IWindowsMobileMSIRequestBuilder.java | 16 +- ...ndowsOfficeClientConfigurationRequest.java | 17 + ...iceClientSecurityConfigurationRequest.java | 17 + .../IWindowsPhone81AppXBundleRequest.java | 17 + ...indowsPhone81AppXBundleRequestBuilder.java | 16 +- .../IWindowsPhone81AppXRequest.java | 17 + .../IWindowsPhone81AppXRequestBuilder.java | 16 +- ...sPhone81CertificateProfileBaseRequest.java | 17 + ...1CertificateProfileBaseRequestBuilder.java | 24 +- ...WindowsPhone81CompliancePolicyRequest.java | 17 + ...Phone81CompliancePolicyRequestBuilder.java | 28 +- ...dowsPhone81CustomConfigurationRequest.java | 17 + ...ne81CustomConfigurationRequestBuilder.java | 24 +- ...owsPhone81GeneralConfigurationRequest.java | 17 + ...e81GeneralConfigurationRequestBuilder.java | 24 +- ...1ImportedPFXCertificateProfileRequest.java | 17 + ...edPFXCertificateProfileRequestBuilder.java | 24 +- ...sPhone81SCEPCertificateProfileRequest.java | 17 + ...1SCEPCertificateProfileRequestBuilder.java | 28 +- .../IWindowsPhone81StoreAppRequest.java | 17 + ...IWindowsPhone81StoreAppRequestBuilder.java | 16 +- ...sPhone81TrustedRootCertificateRequest.java | 17 + ...1TrustedRootCertificateRequestBuilder.java | 24 +- ...WindowsPhone81VpnConfigurationRequest.java | 17 + ...Phone81VpnConfigurationRequestBuilder.java | 24 +- ...neEASEmailProfileConfigurationRequest.java | 17 + ...ailProfileConfigurationRequestBuilder.java | 24 +- .../extensions/IWindowsPhoneXAPRequest.java | 17 + .../IWindowsPhoneXAPRequestBuilder.java | 16 +- ...ataAccessControlItemCollectionRequest.java | 16 + ...wsPrivacyDataAccessControlItemRequest.java | 17 + .../IWindowsProtectionStateRequest.java | 17 + .../extensions/IWindowsStoreAppRequest.java | 17 + .../IWindowsStoreAppRequestBuilder.java | 16 +- ...ndowsUniversalAppXContainedAppRequest.java | 17 + .../IWindowsUniversalAppXRequest.java | 17 + .../IWindowsUniversalAppXRequestBuilder.java | 16 +- ...UpdateForBusinessConfigurationRequest.java | 17 + ...orBusinessConfigurationRequestBuilder.java | 24 +- .../IWindowsUpdateStateCollectionRequest.java | 16 + .../IWindowsUpdateStateRequest.java | 17 + .../IWindowsVpnConfigurationRequest.java | 17 + ...WindowsVpnConfigurationRequestBuilder.java | 24 +- .../IWindowsWifiConfigurationRequest.java | 17 + ...indowsWifiConfigurationRequestBuilder.java | 24 +- ...WifiEnterpriseEAPConfigurationRequest.java | 17 + ...erpriseEAPConfigurationRequestBuilder.java | 32 +- .../IWorkPositionCollectionRequest.java | 16 + .../extensions/IWorkPositionRequest.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 + .../IWorkbookChartCollectionRequest.java | 16 + ...WorkbookChartCollectionRequestBuilder.java | 4 +- .../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 + .../IWorkbookChartPointCollectionRequest.java | 16 + ...ookChartPointCollectionRequestBuilder.java | 4 +- .../IWorkbookChartPointFormatRequest.java | 17 + .../IWorkbookChartPointRequest.java | 17 + .../extensions/IWorkbookChartRequest.java | 17 + ...IWorkbookChartSeriesCollectionRequest.java | 16 + ...okChartSeriesCollectionRequestBuilder.java | 4 +- .../IWorkbookChartSeriesFormatRequest.java | 17 + .../IWorkbookChartSeriesRequest.java | 17 + .../IWorkbookChartTitleFormatRequest.java | 17 + .../IWorkbookChartTitleRequest.java | 17 + .../IWorkbookCommentCollectionRequest.java | 16 + ...WorkbookCommentReplyCollectionRequest.java | 16 + .../IWorkbookCommentReplyRequest.java | 17 + .../extensions/IWorkbookCommentRequest.java | 17 + .../extensions/IWorkbookFilterRequest.java | 17 + .../IWorkbookFormatProtectionRequest.java | 17 + .../IWorkbookFunctionResultRequest.java | 17 + .../extensions/IWorkbookFunctionsRequest.java | 17 + .../IWorkbookFunctionsRequestBuilder.java | 78 +- .../IWorkbookNamedItemCollectionRequest.java | 16 + .../extensions/IWorkbookNamedItemRequest.java | 17 + .../IWorkbookOperationCollectionRequest.java | 16 + .../extensions/IWorkbookOperationRequest.java | 17 + .../IWorkbookPivotTableCollectionRequest.java | 16 + .../IWorkbookPivotTableRequest.java | 17 + ...IWorkbookRangeBorderCollectionRequest.java | 16 + ...okRangeBorderCollectionRequestBuilder.java | 4 +- .../IWorkbookRangeBorderRequest.java | 17 + .../extensions/IWorkbookRangeFillRequest.java | 17 + .../extensions/IWorkbookRangeFontRequest.java | 17 + .../IWorkbookRangeFormatRequest.java | 17 + .../extensions/IWorkbookRangeRequest.java | 17 + .../extensions/IWorkbookRangeSortRequest.java | 17 + .../IWorkbookRangeViewCollectionRequest.java | 16 + .../extensions/IWorkbookRangeViewRequest.java | 17 + .../requests/extensions/IWorkbookRequest.java | 17 + .../extensions/IWorkbookRequestBuilder.java | 34 +- .../IWorkbookTableCollectionRequest.java | 16 + ...WorkbookTableCollectionRequestBuilder.java | 4 +- ...IWorkbookTableColumnCollectionRequest.java | 16 + ...okTableColumnCollectionRequestBuilder.java | 4 +- .../IWorkbookTableColumnRequest.java | 17 + .../extensions/IWorkbookTableRequest.java | 17 + .../IWorkbookTableRowCollectionRequest.java | 16 + ...kbookTableRowCollectionRequestBuilder.java | 4 +- .../extensions/IWorkbookTableRowRequest.java | 17 + .../extensions/IWorkbookTableSortRequest.java | 17 + .../IWorkbookWorksheetCollectionRequest.java | 16 + .../IWorkbookWorksheetProtectionRequest.java | 17 + .../extensions/IWorkbookWorksheetRequest.java | 17 + ...WorkforceIntegrationCollectionRequest.java | 16 + .../IWorkforceIntegrationRequest.java | 17 + .../IYammerActivitySummaryRequest.java | 17 + .../IYammerActivityUserDetailRequest.java | 17 + ...iceUsageDistributionUserCountsRequest.java | 17 + .../IYammerDeviceUsageUserCountsRequest.java | 17 + .../IYammerDeviceUsageUserDetailRequest.java | 17 + .../IYammerGroupsActivityCountsRequest.java | 17 + .../IYammerGroupsActivityDetailRequest.java | 17 + ...ammerGroupsActivityGroupCountsRequest.java | 17 + .../extensions/IdentityContainerRequest.java | 31 +- .../IdentityContainerRequestBuilder.java | 33 +- .../extensions/IdentityGovernanceRequest.java | 25 +- .../IdentityGovernanceRequestBuilder.java | 22 +- .../IdentityProtectionRootRequest.java | 21 + ...ityProviderCollectionReferenceRequest.java | 4 +- .../IdentityProviderCollectionRequest.java | 25 +- .../extensions/IdentityProviderRequest.java | 21 + ...urityDefaultsEnforcementPolicyRequest.java | 21 + .../IdentityUserFlowCollectionRequest.java | 25 +- .../extensions/IdentityUserFlowRequest.java | 21 + ...dAppleDeviceIdentityCollectionRequest.java | 25 +- .../ImportedAppleDeviceIdentityRequest.java | 21 + ...ortedAppleDeviceIdentityResultRequest.java | 21 + ...portedDeviceIdentityCollectionRequest.java | 25 +- .../ImportedDeviceIdentityRequest.java | 21 + .../ImportedDeviceIdentityResultRequest.java | 21 + ...opilotDeviceIdentityCollectionRequest.java | 25 +- ...WindowsAutopilotDeviceIdentityRequest.java | 21 + ...sAutopilotDeviceIdentityUploadRequest.java | 21 + ...assificationOverrideCollectionRequest.java | 25 +- ...nferenceClassificationOverrideRequest.java | 21 + .../InferenceClassificationRequest.java | 21 + ...ationProtectionLabelCollectionRequest.java | 29 +- ...otectionLabelCollectionRequestBuilder.java | 20 +- .../InformationProtectionLabelRequest.java | 25 +- ...ormationProtectionLabelRequestBuilder.java | 4 +- .../InformationProtectionPolicyRequest.java | 21 + .../InformationProtectionRequest.java | 29 +- .../InformationProtectionRequestBuilder.java | 22 +- ...ingProfileAssignmentCollectionRequest.java | 25 +- ...ntuneBrandingProfileAssignmentRequest.java | 21 + ...ntuneBrandingProfileCollectionRequest.java | 25 +- .../IntuneBrandingProfileRequest.java | 21 + .../InvitationCollectionRequest.java | 25 +- .../extensions/InvitationRequest.java | 21 + .../InviteParticipantsOperationRequest.java | 21 + .../IosCertificateProfileBaseRequest.java | 21 + ...sCertificateProfileBaseRequestBuilder.java | 42 +- .../IosCertificateProfileRequest.java | 21 + .../IosCertificateProfileRequestBuilder.java | 42 +- .../IosCompliancePolicyRequest.java | 21 + .../IosCompliancePolicyRequestBuilder.java | 50 +- .../IosCustomConfigurationRequest.java | 21 + .../IosCustomConfigurationRequestBuilder.java | 42 +- ...ialAuthenticationConfigurationRequest.java | 21 + ...enticationConfigurationRequestBuilder.java | 42 +- ...IosDeviceFeaturesConfigurationRequest.java | 21 + ...ceFeaturesConfigurationRequestBuilder.java | 42 +- ...osEasEmailProfileConfigurationRequest.java | 25 +- ...ailProfileConfigurationRequestBuilder.java | 68 +- .../IosEduDeviceConfigurationRequest.java | 21 + ...sEduDeviceConfigurationRequestBuilder.java | 42 +- ...osEducationDeviceConfigurationRequest.java | 21 + ...tionDeviceConfigurationRequestBuilder.java | 42 +- ...IosEnterpriseWiFiConfigurationRequest.java | 25 +- ...rpriseWiFiConfigurationRequestBuilder.java | 70 +- ...sExpeditedCheckinConfigurationRequest.java | 21 + ...tedCheckinConfigurationRequestBuilder.java | 42 +- .../IosGeneralDeviceConfigurationRequest.java | 21 + ...eralDeviceConfigurationRequestBuilder.java | 42 +- ...sImportedPFXCertificateProfileRequest.java | 21 + ...edPFXCertificateProfileRequestBuilder.java | 42 +- ...figurationAssignmentCollectionRequest.java | 25 +- ...sioningConfigurationAssignmentRequest.java | 21 + ...sioningConfigurationCollectionRequest.java | 25 +- ...ningConfigurationPolicySetItemRequest.java | 21 + ...obAppProvisioningConfigurationRequest.java | 29 +- ...ovisioningConfigurationRequestBuilder.java | 22 +- .../requests/extensions/IosLobAppRequest.java | 21 + .../extensions/IosLobAppRequestBuilder.java | 30 +- ...ManagedAppProtectionCollectionRequest.java | 25 +- .../IosManagedAppProtectionRequest.java | 21 + .../IosManagedAppRegistrationRequest.java | 21 + .../IosMobileAppConfigurationRequest.java | 21 + ...sMobileAppConfigurationRequestBuilder.java | 14 +- .../IosPkcsCertificateProfileRequest.java | 21 + ...sPkcsCertificateProfileRequestBuilder.java | 42 +- .../IosScepCertificateProfileRequest.java | 21 + ...sScepCertificateProfileRequestBuilder.java | 50 +- .../extensions/IosStoreAppRequest.java | 21 + .../extensions/IosStoreAppRequestBuilder.java | 30 +- ...ustedRootCertificateCollectionRequest.java | 25 +- .../IosTrustedRootCertificateRequest.java | 21 + ...sTrustedRootCertificateRequestBuilder.java | 42 +- .../IosUpdateConfigurationRequest.java | 21 + .../IosUpdateConfigurationRequestBuilder.java | 42 +- ...osUpdateDeviceStatusCollectionRequest.java | 25 +- .../IosUpdateDeviceStatusRequest.java | 21 + .../IosVpnConfigurationRequest.java | 25 +- .../IosVpnConfigurationRequestBuilder.java | 60 +- ...IosVppAppAssignedDeviceLicenseRequest.java | 21 + ...ppAppAssignedLicenseCollectionRequest.java | 25 +- .../IosVppAppAssignedLicenseRequest.java | 21 + .../IosVppAppAssignedUserLicenseRequest.java | 21 + .../requests/extensions/IosVppAppRequest.java | 21 + .../extensions/IosVppAppRequestBuilder.java | 38 +- .../IosVppEBookAssignmentRequest.java | 21 + .../extensions/IosVppEBookRequest.java | 21 + .../extensions/IosVppEBookRequestBuilder.java | 22 +- .../IosWiFiConfigurationRequest.java | 21 + .../IosWiFiConfigurationRequestBuilder.java | 42 +- .../IosikEv2VpnConfigurationRequest.java | 21 + ...osikEv2VpnConfigurationRequestBuilder.java | 56 +- .../extensions/IpNamedLocationRequest.java | 21 + .../IpSecurityProfileCollectionRequest.java | 25 +- .../extensions/IpSecurityProfileRequest.java | 21 + .../ItemActivityCollectionRequest.java | 25 +- .../ItemActivityOLDCollectionRequest.java | 27 +- ...emActivityOLDCollectionRequestBuilder.java | 4 +- .../extensions/ItemActivityOLDRequest.java | 21 + .../extensions/ItemActivityRequest.java | 21 + .../ItemActivityStatCollectionRequest.java | 25 +- .../extensions/ItemActivityStatRequest.java | 21 + .../ItemAddressCollectionRequest.java | 25 +- .../extensions/ItemAddressRequest.java | 21 + .../extensions/ItemAnalyticsRequest.java | 21 + .../ItemAnalyticsRequestBuilder.java | 14 +- .../extensions/ItemAttachmentRequest.java | 21 + .../ItemCategoryCollectionRequest.java | 25 +- .../extensions/ItemCategoryRequest.java | 21 + .../extensions/ItemCollectionRequest.java | 25 +- .../ItemEmailCollectionRequest.java | 25 +- .../requests/extensions/ItemEmailRequest.java | 21 + .../requests/extensions/ItemFacetRequest.java | 21 + .../extensions/ItemInsightsRequest.java | 21 + .../ItemInsightsRequestBuilder.java | 14 +- .../ItemInsightsSettingsRequest.java | 21 + .../ItemPatentCollectionRequest.java | 25 +- .../extensions/ItemPatentRequest.java | 21 + .../ItemPhoneCollectionRequest.java | 25 +- .../requests/extensions/ItemPhoneRequest.java | 21 + .../ItemPublicationCollectionRequest.java | 25 +- .../extensions/ItemPublicationRequest.java | 21 + .../requests/extensions/ItemRequest.java | 21 + .../extensions/ItemRequestBuilder.java | 14 +- .../JobResponseBaseCollectionRequest.java | 25 +- .../extensions/JobResponseBaseRequest.java | 21 + .../extensions/JournalCollectionRequest.java | 25 +- .../JournalLineCollectionRequest.java | 25 +- .../extensions/JournalLineRequest.java | 21 + .../requests/extensions/JournalRequest.java | 21 + .../LanguageProficiencyCollectionRequest.java | 25 +- .../LanguageProficiencyRequest.java | 21 + .../LicenseDetailsCollectionRequest.java | 25 +- .../extensions/LicenseDetailsRequest.java | 21 + .../LinkedResourceCollectionPage.java | 28 + .../LinkedResourceCollectionRequest.java | 140 + ...inkedResourceCollectionRequestBuilder.java | 51 + .../LinkedResourceCollectionResponse.java | 90 + .../extensions/LinkedResourceRequest.java | 158 ++ .../LinkedResourceRequestBuilder.java | 54 + .../extensions/ListCollectionRequest.java | 25 +- .../extensions/ListItemCollectionRequest.java | 25 +- .../requests/extensions/ListItemRequest.java | 21 + .../ListItemVersionCollectionRequest.java | 25 +- .../extensions/ListItemVersionRequest.java | 21 + .../requests/extensions/ListRequest.java | 21 + ...dNotificationMessageCollectionRequest.java | 25 +- .../LocalizedNotificationMessageRequest.java | 21 + .../LocationManagementConditionRequest.java | 21 + ...LongRunningOperationCollectionRequest.java | 25 +- .../LongRunningOperationRequest.java | 21 + .../LookupResultRowCollectionRequest.java | 25 +- .../extensions/LookupResultRowRequest.java | 21 + .../MacOSCertificateProfileBaseRequest.java | 21 + ...SCertificateProfileBaseRequestBuilder.java | 42 +- .../MacOSCompliancePolicyRequest.java | 21 + .../MacOSCompliancePolicyRequestBuilder.java | 50 +- .../MacOSCustomAppConfigurationRequest.java | 21 + ...SCustomAppConfigurationRequestBuilder.java | 42 +- .../MacOSCustomConfigurationRequest.java | 21 + ...acOSCustomConfigurationRequestBuilder.java | 42 +- ...cOSDeviceFeaturesConfigurationRequest.java | 21 + ...ceFeaturesConfigurationRequestBuilder.java | 42 +- ...ndpointProtectionConfigurationRequest.java | 21 + ...ProtectionConfigurationRequestBuilder.java | 42 +- ...cOSEnterpriseWiFiConfigurationRequest.java | 21 + ...rpriseWiFiConfigurationRequestBuilder.java | 56 +- .../MacOSExtensionsConfigurationRequest.java | 21 + ...ExtensionsConfigurationRequestBuilder.java | 42 +- ...acOSGeneralDeviceConfigurationRequest.java | 21 + ...eralDeviceConfigurationRequestBuilder.java | 42 +- ...SImportedPFXCertificateProfileRequest.java | 21 + ...edPFXCertificateProfileRequestBuilder.java | 42 +- .../extensions/MacOSLobAppRequest.java | 21 + .../extensions/MacOSLobAppRequestBuilder.java | 30 +- .../extensions/MacOSMdatpAppRequest.java | 21 + .../MacOSMdatpAppRequestBuilder.java | 30 +- .../MacOSMicrosoftEdgeAppRequest.java | 21 + .../MacOSMicrosoftEdgeAppRequestBuilder.java | 30 +- .../MacOSOfficeSuiteAppRequest.java | 21 + .../MacOSOfficeSuiteAppRequestBuilder.java | 30 +- .../MacOSPkcsCertificateProfileRequest.java | 21 + ...SPkcsCertificateProfileRequestBuilder.java | 42 +- .../MacOSScepCertificateProfileRequest.java | 21 + ...SScepCertificateProfileRequestBuilder.java | 50 +- ...ustedRootCertificateCollectionRequest.java | 25 +- .../MacOSTrustedRootCertificateRequest.java | 21 + ...STrustedRootCertificateRequestBuilder.java | 42 +- .../MacOSVpnConfigurationRequest.java | 21 + .../MacOSVpnConfigurationRequestBuilder.java | 42 +- .../MacOSWiFiConfigurationRequest.java | 21 + .../MacOSWiFiConfigurationRequestBuilder.java | 42 +- ...MacOSWiredNetworkConfigurationRequest.java | 25 +- ...redNetworkConfigurationRequestBuilder.java | 60 +- ...ppAppAssignedLicenseCollectionRequest.java | 25 +- .../MacOsVppAppAssignedLicenseRequest.java | 21 + .../extensions/MacOsVppAppRequest.java | 21 + .../extensions/MacOsVppAppRequestBuilder.java | 30 +- .../MailAssessmentRequestRequest.java | 21 + .../MailFolderCollectionRequest.java | 25 +- .../extensions/MailFolderRequest.java | 53 +- .../extensions/MailFolderRequestBuilder.java | 64 +- .../extensions/MailSearchFolderRequest.java | 21 + .../MailSearchFolderRequestBuilder.java | 32 +- .../extensions/MailboxUsageDetailRequest.java | 21 + .../MailboxUsageMailboxCountsRequest.java | 21 + ...xUsageQuotaStatusMailboxCountsRequest.java | 21 + .../MailboxUsageStorageRequest.java | 21 + ...tateForWindowsDeviceCollectionRequest.java | 25 +- .../MalwareStateForWindowsDeviceRequest.java | 21 + ...viceCertificateStateCollectionRequest.java | 25 +- ...nagedAllDeviceCertificateStateRequest.java | 21 + .../ManagedAndroidLobAppRequest.java | 21 + .../ManagedAndroidLobAppRequestBuilder.java | 30 +- .../ManagedAndroidStoreAppRequest.java | 21 + .../ManagedAndroidStoreAppRequestBuilder.java | 30 +- .../ManagedAppConfigurationRequest.java | 21 + .../ManagedAppOperationCollectionRequest.java | 25 +- .../ManagedAppOperationRequest.java | 21 + .../ManagedAppPolicyCollectionRequest.java | 25 +- ...agedAppPolicyDeploymentSummaryRequest.java | 21 + .../extensions/ManagedAppPolicyRequest.java | 21 + ...agedAppProtectionPolicySetItemRequest.java | 21 + .../ManagedAppProtectionRequest.java | 21 + ...egistrationCollectionReferenceRequest.java | 4 +- ...nagedAppRegistrationCollectionRequest.java | 25 +- .../ManagedAppRegistrationRequest.java | 21 + .../extensions/ManagedAppRequest.java | 21 + .../extensions/ManagedAppRequestBuilder.java | 30 +- .../ManagedAppStatusCollectionRequest.java | 25 +- .../ManagedAppStatusRawRequest.java | 21 + .../extensions/ManagedAppStatusRequest.java | 21 + ...viceCertificateStateCollectionRequest.java | 25 +- .../ManagedDeviceCertificateStateRequest.java | 21 + ...nagedDeviceCollectionReferenceRequest.java | 6 +- ...viceCollectionReferenceRequestBuilder.java | 2 +- .../ManagedDeviceCollectionRequest.java | 27 +- ...ManagedDeviceCollectionRequestBuilder.java | 2 +- ...gedDeviceCollectionWithReferencesPage.java | 2 +- ...DeviceCollectionWithReferencesRequest.java | 2 +- ...ollectionWithReferencesRequestBuilder.java | 2 +- ...eviceEncryptionStateCollectionRequest.java | 25 +- .../ManagedDeviceEncryptionStateRequest.java | 21 + ...figurationAssignmentCollectionRequest.java | 25 +- ...bileAppConfigurationAssignmentRequest.java | 21 + ...bileAppConfigurationCollectionRequest.java | 25 +- ...gurationDeviceStatusCollectionRequest.java | 27 +- ...nDeviceStatusCollectionRequestBuilder.java | 4 +- ...leAppConfigurationDeviceStatusRequest.java | 21 + ...eAppConfigurationDeviceSummaryRequest.java | 21 + ...eAppConfigurationPolicySetItemRequest.java | 21 + ...edDeviceMobileAppConfigurationRequest.java | 21 + ...eMobileAppConfigurationRequestBuilder.java | 14 +- ...ppConfigurationStateCollectionRequest.java | 25 +- ...iceMobileAppConfigurationStateRequest.java | 21 + ...figurationUserStatusCollectionRequest.java | 27 +- ...ionUserStatusCollectionRequestBuilder.java | 4 +- ...bileAppConfigurationUserStatusRequest.java | 21 + ...ileAppConfigurationUserSummaryRequest.java | 21 + .../ManagedDeviceOverviewRequest.java | 21 + .../ManagedDeviceReferenceRequest.java | 18 +- .../ManagedDeviceReferenceRequestBuilder.java | 18 +- .../extensions/ManagedDeviceRequest.java | 39 +- .../ManagedDeviceRequestBuilder.java | 158 +- .../ManagedDeviceWithReferenceRequest.java | 18 +- ...agedDeviceWithReferenceRequestBuilder.java | 18 +- ...nagedEBookAssignmentCollectionRequest.java | 25 +- .../ManagedEBookAssignmentRequest.java | 21 + ...ookCategoryCollectionReferenceRequest.java | 4 +- ...ManagedEBookCategoryCollectionRequest.java | 25 +- .../ManagedEBookCategoryRequest.java | 21 + .../ManagedEBookCollectionRequest.java | 25 +- .../extensions/ManagedEBookRequest.java | 29 +- .../ManagedEBookRequestBuilder.java | 30 +- .../extensions/ManagedIOSLobAppRequest.java | 21 + .../ManagedIOSLobAppRequestBuilder.java | 30 +- .../extensions/ManagedIOSStoreAppRequest.java | 21 + .../ManagedIOSStoreAppRequestBuilder.java | 30 +- .../ManagedMobileAppCollectionRequest.java | 25 +- .../extensions/ManagedMobileAppRequest.java | 21 + .../ManagedMobileLobAppRequest.java | 21 + .../ManagedMobileLobAppRequestBuilder.java | 30 +- ...ntConditionCollectionReferenceRequest.java | 4 +- .../ManagementConditionCollectionRequest.java | 25 +- .../ManagementConditionRequest.java | 21 + ...onStatementCollectionReferenceRequest.java | 4 +- ...ntConditionStatementCollectionRequest.java | 25 +- .../ManagementConditionStatementRequest.java | 21 + ...tionProtectionPolicyCollectionRequest.java | 25 +- ...nProtectionPolicyPolicySetItemRequest.java | 21 + ...owsInformationProtectionPolicyRequest.java | 21 + ...rmationProtectionPolicyRequestBuilder.java | 16 +- .../MeetingActivityStatisticsRequest.java | 21 + .../extensions/MentionCollectionRequest.java | 25 +- .../requests/extensions/MentionRequest.java | 21 + .../extensions/MessageCollectionRequest.java | 25 +- .../requests/extensions/MessageRequest.java | 37 +- .../extensions/MessageRequestBuilder.java | 64 +- .../MessageRuleCollectionRequest.java | 25 +- .../extensions/MessageRuleRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- ...henticatorAuthenticationMethodRequest.java | 21 + ...atorAuthenticationMethodTargetRequest.java | 21 + .../MicrosoftStoreForBusinessAppRequest.java | 21 + ...softStoreForBusinessAppRequestBuilder.java | 30 +- ...ftStoreForBusinessContainedAppRequest.java | 21 + .../MobileAppAssignmentCollectionRequest.java | 25 +- .../MobileAppAssignmentRequest.java | 21 + ...AppCategoryCollectionReferenceRequest.java | 4 +- .../MobileAppCategoryCollectionRequest.java | 25 +- .../extensions/MobileAppCategoryRequest.java | 21 + .../MobileAppCollectionRequest.java | 25 +- .../MobileAppContentCollectionRequest.java | 27 +- ...ileAppContentCollectionRequestBuilder.java | 4 +- ...MobileAppContentFileCollectionRequest.java | 25 +- .../MobileAppContentFileRequest.java | 21 + .../extensions/MobileAppContentRequest.java | 29 +- .../MobileAppContentRequestBuilder.java | 22 +- .../MobileAppDependencyRequest.java | 21 + ...bileAppInstallStatusCollectionRequest.java | 25 +- .../MobileAppInstallStatusRequest.java | 21 + .../MobileAppInstallSummaryRequest.java | 21 + ...ileAppIntentAndStateCollectionRequest.java | 25 +- .../MobileAppIntentAndStateRequest.java | 21 + .../MobileAppPolicySetItemRequest.java | 21 + ...onfigGroupAssignmentCollectionRequest.java | 25 +- ...visioningConfigGroupAssignmentRequest.java | 21 + .../extensions/MobileAppReferenceRequest.java | 16 +- .../MobileAppReferenceRequestBuilder.java | 16 +- ...obileAppRelationshipCollectionRequest.java | 25 +- .../MobileAppRelationshipRequest.java | 21 + .../requests/extensions/MobileAppRequest.java | 37 +- .../extensions/MobileAppRequestBuilder.java | 46 +- ...TroubleshootingEventCollectionRequest.java | 25 +- .../MobileAppTroubleshootingEventRequest.java | 21 + .../MobileAppWithReferenceRequest.java | 16 +- .../MobileAppWithReferenceRequestBuilder.java | 16 +- .../MobileContainedAppCollectionRequest.java | 27 +- ...eContainedAppCollectionRequestBuilder.java | 4 +- .../extensions/MobileContainedAppRequest.java | 21 + .../extensions/MobileLobAppRequest.java | 21 + .../MobileLobAppRequestBuilder.java | 30 +- ...reatDefenseConnectorCollectionRequest.java | 25 +- .../MobileThreatDefenseConnectorRequest.java | 21 + ...gacyExtendedPropertyCollectionRequest.java | 27 +- ...endedPropertyCollectionRequestBuilder.java | 4 +- ...ltiValueLegacyExtendedPropertyRequest.java | 21 + .../MuteParticipantOperationRequest.java | 21 + .../MuteParticipantsOperationRequest.java | 21 + .../NamedLocationCollectionRequest.java | 25 +- .../extensions/NamedLocationRequest.java | 21 + .../NdesConnectorCollectionRequest.java | 25 +- .../extensions/NdesConnectorRequest.java | 21 + ...nfigurationManagementConditionRequest.java | 21 + ...nfigurationManagementConditionRequest.java | 21 + .../NetworkManagementConditionRequest.java | 21 + .../extensions/NoteDeltaCollectionPage.java | 59 + .../NoteDeltaCollectionRequest.java | 107 + .../NoteDeltaCollectionRequestBuilder.java | 56 + .../NoteDeltaCollectionResponse.java | 90 + .../requests/extensions/NoteRequest.java | 174 ++ .../extensions/NoteRequestBuilder.java | 98 + .../extensions/NotebookCollectionRequest.java | 25 +- .../requests/extensions/NotebookRequest.java | 29 +- .../extensions/NotebookRequestBuilder.java | 22 +- .../NotificationCollectionRequest.java | 25 +- ...ationMessageTemplateCollectionRequest.java | 25 +- .../NotificationMessageTemplateRequest.java | 21 + .../extensions/NotificationRequest.java | 21 + ...issionGrantCollectionReferenceRequest.java | 4 +- ...Auth2PermissionGrantCollectionRequest.java | 25 +- .../OAuth2PermissionGrantRequest.java | 21 + .../OfferShiftRequestCollectionRequest.java | 25 +- .../extensions/OfferShiftRequestRequest.java | 21 + .../Office365ActivationCountsRequest.java | 21 + ...Office365ActivationsUserCountsRequest.java | 21 + ...Office365ActivationsUserDetailRequest.java | 21 + .../Office365ActiveUserCountsRequest.java | 21 + .../Office365ActiveUserDetailRequest.java | 21 + .../Office365GroupsActivityCountsRequest.java | 21 + .../Office365GroupsActivityDetailRequest.java | 21 + ...ice365GroupsActivityFileCountsRequest.java | 21 + ...ce365GroupsActivityGroupCountsRequest.java | 21 + ...Office365GroupsActivityStorageRequest.java | 21 + .../Office365ServicesUserCountsRequest.java | 21 + ...figurationAssignmentCollectionRequest.java | 25 +- ...eClientConfigurationAssignmentRequest.java | 21 + ...eClientConfigurationCollectionRequest.java | 25 +- .../OfficeClientConfigurationRequest.java | 21 + ...ficeClientConfigurationRequestBuilder.java | 8 +- .../OfficeConfigurationRequest.java | 21 + .../OfficeGraphInsightsRequest.java | 29 +- .../OfficeGraphInsightsRequestBuilder.java | 22 +- .../extensions/OfficeSuiteAppRequest.java | 21 + .../OfficeSuiteAppRequestBuilder.java | 30 +- .../OnPremisesAgentCollectionRequest.java | 25 +- ...OnPremisesAgentGroupCollectionRequest.java | 25 +- .../OnPremisesAgentGroupRequest.java | 21 + .../extensions/OnPremisesAgentRequest.java | 21 + ...misesConditionalAccessSettingsRequest.java | 21 + ...sesPublishingProfileCollectionRequest.java | 25 +- .../OnPremisesPublishingProfileRequest.java | 45 +- ...emisesPublishingProfileRequestBuilder.java | 54 +- .../OneDriveActivityUserDetailRequest.java | 21 + .../OneDriveUsageAccountCountsRequest.java | 21 + .../OneDriveUsageAccountDetailRequest.java | 21 + .../OneDriveUsageFileCountsRequest.java | 21 + .../OnenoteEntityBaseModelRequest.java | 21 + .../OnenoteEntityHierarchyModelRequest.java | 21 + ...OnenoteEntitySchemaObjectModelRequest.java | 21 + .../OnenoteOperationCollectionRequest.java | 25 +- .../extensions/OnenoteOperationRequest.java | 21 + .../OnenotePageCollectionRequest.java | 27 +- .../OnenotePageCollectionRequestBuilder.java | 2 +- .../extensions/OnenotePageRequest.java | 27 +- .../extensions/OnenotePageRequestBuilder.java | 30 +- .../requests/extensions/OnenoteRequest.java | 45 +- .../extensions/OnenoteRequestBuilder.java | 54 +- .../OnenoteResourceCollectionRequest.java | 25 +- .../extensions/OnenoteResourceRequest.java | 21 + .../OnenoteSectionCollectionRequest.java | 25 +- .../extensions/OnenoteSectionRequest.java | 21 + .../OnenoteSectionRequestBuilder.java | 14 +- .../OnlineMeetingCollectionRequest.java | 25 +- .../extensions/OnlineMeetingRequest.java | 21 + .../OpenIdConnectProviderRequest.java | 21 + ...enShiftChangeRequestCollectionRequest.java | 25 +- .../OpenShiftChangeRequestRequest.java | 21 + .../OpenShiftCollectionRequest.java | 25 +- .../requests/extensions/OpenShiftRequest.java | 21 + .../extensions/OpenTypeExtensionRequest.java | 21 + .../requests/extensions/OperationRequest.java | 21 + .../OrgContactCollectionRequest.java | 25 +- .../extensions/OrgContactRequest.java | 21 + .../extensions/OrgContactRequestBuilder.java | 14 +- .../OrganizationCollectionRequest.java | 25 +- .../extensions/OrganizationRequest.java | 21 + .../OrganizationSettingsRequest.java | 21 + .../OrganizationSettingsRequestBuilder.java | 14 +- ...ganizationalBrandingCollectionRequest.java | 25 +- .../OrganizationalBrandingRequest.java | 21 + .../OutlookCategoryCollectionRequest.java | 25 +- .../extensions/OutlookCategoryRequest.java | 21 + .../extensions/OutlookItemRequest.java | 21 + .../OutlookTaskCollectionRequest.java | 25 +- .../OutlookTaskFolderCollectionRequest.java | 25 +- .../extensions/OutlookTaskFolderRequest.java | 37 +- .../OutlookTaskFolderRequestBuilder.java | 32 +- .../OutlookTaskGroupCollectionRequest.java | 25 +- .../extensions/OutlookTaskGroupRequest.java | 21 + .../extensions/OutlookTaskRequest.java | 37 +- .../extensions/OutlookTaskRequestBuilder.java | 32 +- .../extensions/OutlookUserRequest.java | 29 +- .../extensions/OutlookUserRequestBuilder.java | 22 +- .../ParticipantCollectionRequest.java | 25 +- .../extensions/ParticipantRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- .../PasswordAuthenticationMethodRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- ...henticatorAuthenticationMethodRequest.java | 21 + ...atorAuthenticationMethodTargetRequest.java | 21 + .../PayloadResponseCollectionRequest.java | 25 +- .../extensions/PayloadResponseRequest.java | 21 + .../PaymentMethodCollectionRequest.java | 25 +- .../extensions/PaymentMethodRequest.java | 21 + .../PaymentTermCollectionRequest.java | 25 +- .../extensions/PaymentTermRequest.java | 21 + .../PermissionCollectionRequest.java | 25 +- ...ionGrantConditionSetCollectionRequest.java | 25 +- .../PermissionGrantConditionSetRequest.java | 21 + ...ermissionGrantPolicyCollectionRequest.java | 25 +- .../PermissionGrantPolicyRequest.java | 21 + .../PermissionGrantPolicyRequestBuilder.java | 14 +- .../extensions/PermissionRequest.java | 21 + .../PersonAnniversaryCollectionRequest.java | 25 +- .../extensions/PersonAnniversaryRequest.java | 21 + .../PersonAnnotationCollectionRequest.java | 25 +- .../extensions/PersonAnnotationRequest.java | 21 + .../PersonAwardCollectionRequest.java | 25 +- .../extensions/PersonAwardRequest.java | 21 + .../PersonCertificationCollectionRequest.java | 25 +- .../PersonCertificationRequest.java | 21 + .../extensions/PersonCollectionRequest.java | 25 +- .../PersonInterestCollectionRequest.java | 25 +- .../extensions/PersonInterestRequest.java | 21 + .../PersonNameCollectionRequest.java | 25 +- .../extensions/PersonNameRequest.java | 21 + .../requests/extensions/PersonRequest.java | 21 + .../PersonResponsibilityRequest.java | 21 + .../PersonWebsiteCollectionRequest.java | 25 +- .../extensions/PersonWebsiteRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- .../PhoneAuthenticationMethodRequest.java | 21 + .../extensions/PictureCollectionRequest.java | 27 +- .../PictureCollectionRequestBuilder.java | 4 +- .../requests/extensions/PictureRequest.java | 21 + .../extensions/PlaceCollectionRequest.java | 25 +- .../requests/extensions/PlaceRequest.java | 21 + ...rAssignedToTaskBoardTaskFormatRequest.java | 21 + .../PlannerBucketCollectionRequest.java | 27 +- ...PlannerBucketCollectionRequestBuilder.java | 4 +- .../extensions/PlannerBucketRequest.java | 21 + ...annerBucketTaskBoardTaskFormatRequest.java | 21 + .../PlannerDeltaCollectionRequest.java | 25 +- .../extensions/PlannerDeltaRequest.java | 21 + .../extensions/PlannerGroupRequest.java | 21 + ...PlannerPlanCollectionReferenceRequest.java | 4 +- .../PlannerPlanCollectionRequest.java | 25 +- .../extensions/PlannerPlanDetailsRequest.java | 21 + .../PlannerPlanReferenceRequest.java | 8 +- .../PlannerPlanReferenceRequestBuilder.java | 8 +- .../extensions/PlannerPlanRequest.java | 29 +- .../extensions/PlannerPlanRequestBuilder.java | 22 +- .../PlannerPlanWithReferenceRequest.java | 8 +- ...lannerPlanWithReferenceRequestBuilder.java | 8 +- ...nerProgressTaskBoardTaskFormatRequest.java | 21 + .../requests/extensions/PlannerRequest.java | 37 +- .../extensions/PlannerRequestBuilder.java | 32 +- .../PlannerTaskCollectionRequest.java | 27 +- .../PlannerTaskCollectionRequestBuilder.java | 4 +- .../extensions/PlannerTaskDetailsRequest.java | 21 + .../extensions/PlannerTaskRequest.java | 29 +- .../extensions/PlannerTaskRequestBuilder.java | 40 +- .../extensions/PlannerUserRequest.java | 37 +- .../extensions/PlannerUserRequestBuilder.java | 46 +- .../PlayPromptOperationRequest.java | 21 + .../extensions/PolicyBaseRequest.java | 21 + .../extensions/PolicyRootRequest.java | 21 + .../extensions/PolicyRootRequestBuilder.java | 14 +- .../PolicySetAssignmentCollectionRequest.java | 25 +- .../PolicySetAssignmentRequest.java | 21 + .../PolicySetCollectionRequest.java | 25 +- .../PolicySetItemCollectionRequest.java | 25 +- .../extensions/PolicySetItemRequest.java | 21 + .../requests/extensions/PolicySetRequest.java | 21 + .../extensions/PostCollectionRequest.java | 25 +- .../requests/extensions/PostRequest.java | 45 +- .../extensions/PostRequestBuilder.java | 72 +- .../extensions/PresenceCollectionRequest.java | 25 +- .../requests/extensions/PresenceRequest.java | 21 + .../extensions/PresentationRequest.java | 21 + ...ntConnectorCollectionReferenceRequest.java | 4 +- .../PrintConnectorCollectionRequest.java | 25 +- .../extensions/PrintConnectorRequest.java | 21 + .../PrintDocumentCollectionRequest.java | 25 +- .../extensions/PrintDocumentRequest.java | 21 + .../PrintIdentityCollectionRequest.java | 25 +- .../extensions/PrintIdentityRequest.java | 21 + .../extensions/PrintJobCollectionRequest.java | 25 +- .../requests/extensions/PrintJobRequest.java | 21 + .../extensions/PrintJobRequestBuilder.java | 8 +- .../PrintOperationCollectionRequest.java | 25 +- .../extensions/PrintOperationRequest.java | 21 + .../requests/extensions/PrintRequest.java | 45 +- .../extensions/PrintRequestBuilder.java | 68 +- .../PrintServiceCollectionRequest.java | 25 +- ...PrintServiceEndpointCollectionRequest.java | 25 +- .../PrintServiceEndpointRequest.java | 21 + .../extensions/PrintServiceRequest.java | 21 + .../PrintTaskCollectionRequest.java | 27 +- .../PrintTaskCollectionRequestBuilder.java | 4 +- .../PrintTaskDefinitionCollectionRequest.java | 25 +- .../PrintTaskDefinitionRequest.java | 21 + .../requests/extensions/PrintTaskRequest.java | 21 + .../PrintTaskTriggerCollectionRequest.java | 25 +- .../extensions/PrintTaskTriggerRequest.java | 21 + ...sageSummaryByPrinterCollectionRequest.java | 25 +- .../PrintUsageSummaryByPrinterRequest.java | 21 + ...ntUsageSummaryByUserCollectionRequest.java | 25 +- .../PrintUsageSummaryByUserRequest.java | 21 + .../PrintUserIdentityCollectionRequest.java | 25 +- .../extensions/PrintUserIdentityRequest.java | 21 + .../extensions/PrinterBaseRequest.java | 21 + .../extensions/PrinterCollectionRequest.java | 25 +- .../PrinterCreateOperationRequest.java | 21 + .../extensions/PrinterReferenceRequest.java | 8 +- .../PrinterReferenceRequestBuilder.java | 8 +- .../requests/extensions/PrinterRequest.java | 29 +- .../extensions/PrinterRequestBuilder.java | 30 +- .../PrinterShareCollectionRequest.java | 25 +- .../PrinterShareReferenceRequest.java | 8 +- .../PrinterShareReferenceRequestBuilder.java | 8 +- .../extensions/PrinterShareRequest.java | 29 +- .../PrinterShareRequestBuilder.java | 32 +- .../PrinterShareWithReferenceRequest.java | 8 +- ...interShareWithReferenceRequestBuilder.java | 8 +- .../PrinterWithReferenceRequest.java | 8 +- .../PrinterWithReferenceRequestBuilder.java | 8 +- .../PrivilegedAccessCollectionRequest.java | 25 +- .../extensions/PrivilegedAccessRequest.java | 37 +- .../PrivilegedAccessRequestBuilder.java | 32 +- .../PrivilegedApprovalCollectionRequest.java | 25 +- .../extensions/PrivilegedApprovalRequest.java | 21 + ...ilegedOperationEventCollectionRequest.java | 25 +- .../PrivilegedOperationEventRequest.java | 21 + ...eAssignmentCollectionReferenceRequest.java | 4 +- ...ilegedRoleAssignmentCollectionRequest.java | 25 +- .../PrivilegedRoleAssignmentRequest.java | 21 + ...rivilegedRoleAssignmentRequestBuilder.java | 8 +- ...oleAssignmentRequestCollectionRequest.java | 25 +- ...rivilegedRoleAssignmentRequestRequest.java | 21 + .../PrivilegedRoleCollectionRequest.java | 25 +- .../extensions/PrivilegedRoleRequest.java | 21 + .../PrivilegedRoleRequestBuilder.java | 14 +- .../PrivilegedRoleSettingsRequest.java | 21 + .../PrivilegedRoleSummaryRequest.java | 21 + ...ivilegedSignupStatusCollectionRequest.java | 25 +- ...dSignupStatusCollectionRequestBuilder.java | 16 +- .../PrivilegedSignupStatusRequest.java | 21 + .../ProfileCardPropertyCollectionRequest.java | 25 +- .../ProfileCardPropertyRequest.java | 21 + .../ProfilePhotoCollectionRequest.java | 25 +- .../extensions/ProfilePhotoRequest.java | 21 + .../requests/extensions/ProfileRequest.java | 21 + .../extensions/ProgramCollectionRequest.java | 25 +- .../ProgramControlCollectionRequest.java | 25 +- .../extensions/ProgramControlRequest.java | 21 + .../ProgramControlTypeCollectionRequest.java | 25 +- .../extensions/ProgramControlTypeRequest.java | 21 + .../requests/extensions/ProgramRequest.java | 21 + ...ProjectParticipationCollectionRequest.java | 25 +- .../ProjectParticipationRequest.java | 21 + ...roviderTenantSettingCollectionRequest.java | 25 +- .../ProviderTenantSettingRequest.java | 21 + ...sioningObjectSummaryCollectionRequest.java | 25 +- .../ProvisioningObjectSummaryRequest.java | 21 + .../PublishedResourceCollectionRequest.java | 25 +- .../extensions/PublishedResourceRequest.java | 21 + .../PurchaseInvoiceCollectionRequest.java | 25 +- .../PurchaseInvoiceLineCollectionRequest.java | 25 +- .../PurchaseInvoiceLineRequest.java | 25 +- .../PurchaseInvoiceLineRequestBuilder.java | 20 +- .../extensions/PurchaseInvoiceRequest.java | 25 +- .../PurchaseInvoiceRequestBuilder.java | 22 +- .../RbacApplicationMultipleRequest.java | 29 +- ...RbacApplicationMultipleRequestBuilder.java | 22 +- .../extensions/RbacApplicationRequest.java | 29 +- .../RbacApplicationRequestBuilder.java | 22 +- .../extensions/RecordOperationRequest.java | 21 + .../ReferenceAttachmentRequest.java | 21 + .../RegionalAndLanguageSettingsRequest.java | 21 + .../RelyingPartyDetailedSummaryRequest.java | 21 + .../RemoteActionAuditCollectionRequest.java | 25 +- .../extensions/RemoteActionAuditRequest.java | 21 + ...oteAssistancePartnerCollectionRequest.java | 25 +- .../RemoteAssistancePartnerRequest.java | 21 + .../ReportRootCollectionRequest.java | 107 +- .../ReportRootCollectionRequestBuilder.java | 128 +- .../extensions/ReportRootRequest.java | 111 +- .../extensions/ReportRootRequestBuilder.java | 458 ++-- .../requests/extensions/RequestRequest.java | 21 + .../extensions/RequestRequestBuilder.java | 8 +- .../ResourceOperationCollectionRequest.java | 25 +- .../extensions/ResourceOperationRequest.java | 21 + ...cificPermissionGrantCollectionRequest.java | 25 +- ...esourceSpecificPermissionGrantRequest.java | 21 + ...trictedAppsViolationCollectionRequest.java | 25 +- .../RestrictedAppsViolationRequest.java | 21 + .../RestrictedSignInCollectionRequest.java | 25 +- .../extensions/RestrictedSignInRequest.java | 21 + .../ReviewSetCollectionRequest.java | 25 +- .../ReviewSetQueryCollectionRequest.java | 25 +- .../extensions/ReviewSetQueryRequest.java | 21 + .../requests/extensions/ReviewSetRequest.java | 21 + .../RiskDetectionCollectionRequest.java | 25 +- .../extensions/RiskDetectionRequest.java | 21 + .../RiskyUserCollectionRequest.java | 25 +- .../RiskyUserCollectionRequestBuilder.java | 10 +- ...RiskyUserHistoryItemCollectionRequest.java | 25 +- .../RiskyUserHistoryItemRequest.java | 21 + .../requests/extensions/RiskyUserRequest.java | 21 + .../RoleAssignmentCollectionRequest.java | 25 +- .../extensions/RoleAssignmentRequest.java | 21 + .../RoleDefinitionCollectionRequest.java | 25 +- .../extensions/RoleDefinitionRequest.java | 21 + .../extensions/RoleManagementRequest.java | 21 + ...opeTagAutoAssignmentCollectionRequest.java | 25 +- .../RoleScopeTagAutoAssignmentRequest.java | 21 + ...oleScopeTagCollectionReferenceRequest.java | 4 +- .../RoleScopeTagCollectionRequest.java | 25 +- .../extensions/RoleScopeTagRequest.java | 21 + .../extensions/RoomCollectionRequest.java | 25 +- .../requests/extensions/RoomListRequest.java | 21 + .../requests/extensions/RoomRequest.java | 21 + .../SalesCreditMemoCollectionRequest.java | 25 +- .../SalesCreditMemoLineCollectionRequest.java | 25 +- .../SalesCreditMemoLineRequest.java | 25 +- .../SalesCreditMemoLineRequestBuilder.java | 20 +- .../extensions/SalesCreditMemoRequest.java | 25 +- .../SalesCreditMemoRequestBuilder.java | 32 +- .../SalesInvoiceCollectionRequest.java | 25 +- .../SalesInvoiceLineCollectionRequest.java | 25 +- .../extensions/SalesInvoiceLineRequest.java | 25 +- .../SalesInvoiceLineRequestBuilder.java | 20 +- .../extensions/SalesInvoiceRequest.java | 25 +- .../SalesInvoiceRequestBuilder.java | 44 +- .../SalesOrderCollectionRequest.java | 25 +- .../SalesOrderLineCollectionRequest.java | 25 +- .../extensions/SalesOrderLineRequest.java | 25 +- .../SalesOrderLineRequestBuilder.java | 20 +- .../extensions/SalesOrderRequest.java | 25 +- .../extensions/SalesOrderRequestBuilder.java | 32 +- .../SalesQuoteCollectionRequest.java | 25 +- .../SalesQuoteLineCollectionRequest.java | 25 +- .../extensions/SalesQuoteLineRequest.java | 25 +- .../SalesQuoteLineRequestBuilder.java | 20 +- .../extensions/SalesQuoteRequest.java | 25 +- .../extensions/SalesQuoteRequestBuilder.java | 32 +- .../ScheduleChangeRequestRequest.java | 21 + .../requests/extensions/ScheduleRequest.java | 61 +- .../extensions/ScheduleRequestBuilder.java | 98 +- .../SchedulingGroupCollectionRequest.java | 25 +- .../extensions/SchedulingGroupRequest.java | 21 + .../SchemaExtensionCollectionRequest.java | 25 +- .../extensions/SchemaExtensionRequest.java | 21 + .../requests/extensions/SchemaRequest.java | 21 + ...ScopedRoleMembershipCollectionRequest.java | 25 +- .../ScopedRoleMembershipRequest.java | 21 + ...a => SearchEntityQueryCollectionPage.java} | 14 +- ...> SearchEntityQueryCollectionRequest.java} | 48 +- ...hEntityQueryCollectionRequestBuilder.java} | 20 +- ... SearchEntityQueryCollectionResponse.java} | 4 +- .../extensions/SearchEntityRequest.java | 160 ++ ...r.java => SearchEntityRequestBuilder.java} | 24 +- .../requests/extensions/SearchRequest.java | 138 - .../SectionGroupCollectionRequest.java | 25 +- .../extensions/SectionGroupRequest.java | 29 +- .../SectionGroupRequestBuilder.java | 22 +- .../SecureScoreCollectionRequest.java | 25 +- ...eScoreControlProfileCollectionRequest.java | 25 +- .../SecureScoreControlProfileRequest.java | 21 + .../extensions/SecureScoreRequest.java | 21 + .../SecurityActionCollectionRequest.java | 25 +- .../extensions/SecurityActionRequest.java | 21 + ...CategoryStateSummaryCollectionRequest.java | 25 +- ...tyBaselineCategoryStateSummaryRequest.java | 21 + ...yBaselineDeviceStateCollectionRequest.java | 25 +- .../SecurityBaselineDeviceStateRequest.java | 21 + ...BaselineSettingStateCollectionRequest.java | 25 +- .../SecurityBaselineSettingStateRequest.java | 21 + ...ecurityBaselineStateCollectionRequest.java | 25 +- .../SecurityBaselineStateRequest.java | 21 + .../SecurityBaselineStateSummaryRequest.java | 21 + .../SecurityBaselineTemplateRequest.java | 29 +- ...ecurityBaselineTemplateRequestBuilder.java | 46 +- .../SecurityConfigurationTaskRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- ...tyQuestionAuthenticationMethodRequest.java | 21 + .../requests/extensions/SecurityRequest.java | 29 +- .../extensions/SecurityRequestBuilder.java | 22 +- .../SensitiveTypeCollectionRequest.java | 25 +- .../extensions/SensitiveTypeRequest.java | 21 + .../SensitivityLabelCollectionRequest.java | 25 +- .../extensions/SensitivityLabelRequest.java | 21 + .../SensitivityPolicySettingsRequest.java | 21 + .../ServicePrincipalCollectionRequest.java | 25 +- .../extensions/ServicePrincipalRequest.java | 45 +- .../ServicePrincipalRequestBuilder.java | 92 +- ...ngStateDeviceSummaryCollectionRequest.java | 27 +- ...DeviceSummaryCollectionRequestBuilder.java | 4 +- .../SettingStateDeviceSummaryRequest.java | 21 + .../SharePointActivityPagesRequest.java | 21 + .../SharePointActivityUserCountsRequest.java | 21 + .../SharePointActivityUserDetailRequest.java | 21 + .../SharePointSiteUsageDetailRequest.java | 21 + .../SharePointSiteUsageFileCountsRequest.java | 21 + .../SharePointSiteUsagePagesRequest.java | 21 + .../SharePointSiteUsageSiteCountsRequest.java | 21 + .../SharedDriveItemCollectionRequest.java | 25 +- .../extensions/SharedDriveItemRequest.java | 21 + .../SharedInsightCollectionRequest.java | 25 +- .../extensions/SharedInsightRequest.java | 21 + .../SharedPCConfigurationRequest.java | 21 + .../SharedPCConfigurationRequestBuilder.java | 42 +- .../extensions/ShiftCollectionRequest.java | 25 +- .../extensions/ShiftPreferencesRequest.java | 21 + .../requests/extensions/ShiftRequest.java | 21 + .../ShipmentMethodCollectionRequest.java | 25 +- .../extensions/ShipmentMethodRequest.java | 21 + .../SideLoadingKeyCollectionRequest.java | 25 +- .../extensions/SideLoadingKeyRequest.java | 21 + .../extensions/SignInCollectionRequest.java | 25 +- .../requests/extensions/SignInRequest.java | 21 + ...gacyExtendedPropertyCollectionRequest.java | 27 +- ...endedPropertyCollectionRequestBuilder.java | 4 +- ...gleValueLegacyExtendedPropertyRequest.java | 21 + .../SiteActivitySummaryRequest.java | 21 + .../SiteCollectionReferenceRequest.java | 4 +- .../extensions/SiteCollectionRequest.java | 25 +- .../extensions/SitePageCollectionRequest.java | 25 +- .../requests/extensions/SitePageRequest.java | 21 + .../requests/extensions/SiteRequest.java | 21 + .../extensions/SiteUsageStorageRequest.java | 21 + .../SkillProficiencyCollectionRequest.java | 25 +- .../extensions/SkillProficiencyRequest.java | 21 + ...SkypeForBusinessActivityCountsRequest.java | 21 + ...eForBusinessActivityUserCountsRequest.java | 21 + ...eForBusinessActivityUserDetailRequest.java | 21 + ...iceUsageDistributionUserCountsRequest.java | 21 + ...rBusinessDeviceUsageUserCountsRequest.java | 21 + ...rBusinessDeviceUsageUserDetailRequest.java | 21 + ...usinessOrganizerActivityCountsRequest.java | 21 + ...sOrganizerActivityMinuteCountsRequest.java | 21 + ...essOrganizerActivityUserCountsRequest.java | 21 + ...inessParticipantActivityCountsRequest.java | 21 + ...articipantActivityMinuteCountsRequest.java | 21 + ...sParticipantActivityUserCountsRequest.java | 21 + ...sinessPeerToPeerActivityCountsRequest.java | 21 + ...PeerToPeerActivityMinuteCountsRequest.java | 21 + ...ssPeerToPeerActivityUserCountsRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- ...ftwareOathAuthenticationMethodRequest.java | 21 + .../SoftwareUpdateStatusSummaryRequest.java | 21 + .../requests/extensions/StsPolicyRequest.java | 21 + .../SubscribeToToneOperationRequest.java | 21 + .../SubscribedSkuCollectionRequest.java | 25 +- .../extensions/SubscribedSkuRequest.java | 21 + .../SubscriptionCollectionRequest.java | 25 +- .../extensions/SubscriptionRequest.java | 21 + ...pShiftsChangeRequestCollectionRequest.java | 25 +- .../SwapShiftsChangeRequestRequest.java | 21 + ...SymantecCodeSigningCertificateRequest.java | 21 + .../SynchronizationJobCollectionRequest.java | 25 +- .../extensions/SynchronizationJobRequest.java | 21 + .../SynchronizationJobRequestBuilder.java | 8 +- .../extensions/SynchronizationRequest.java | 21 + .../SynchronizationSchemaRequest.java | 23 +- .../SynchronizationSchemaRequestBuilder.java | 10 +- ...chronizationTemplateCollectionRequest.java | 25 +- .../SynchronizationTemplateRequest.java | 21 + ...agedAppConfigurationCollectionRequest.java | 25 +- ...dAppConfigurationPolicySetItemRequest.java | 21 + ...argetedManagedAppConfigurationRequest.java | 21 + ...ManagedAppConfigurationRequestBuilder.java | 14 +- ...dAppPolicyAssignmentCollectionRequest.java | 27 +- ...icyAssignmentCollectionRequestBuilder.java | 4 +- ...etedManagedAppPolicyAssignmentRequest.java | 21 + .../TargetedManagedAppProtectionRequest.java | 21 + .../extensions/TaxAreaCollectionRequest.java | 25 +- .../requests/extensions/TaxAreaRequest.java | 21 + .../extensions/TaxGroupCollectionRequest.java | 25 +- .../requests/extensions/TaxGroupRequest.java | 21 + .../extensions/TeamCollectionRequest.java | 31 +- .../TeamCollectionRequestBuilder.java | 6 +- .../TeamCompleteMigrationRequest.java | 62 + .../TeamCompleteMigrationRequestBuilder.java | 56 + .../requests/extensions/TeamRequest.java | 47 +- .../extensions/TeamRequestBuilder.java | 114 +- .../extensions/TeamsAppCollectionRequest.java | 25 +- .../TeamsAppDefinitionCollectionRequest.java | 25 +- .../extensions/TeamsAppDefinitionRequest.java | 21 + ...TeamsAppInstallationCollectionRequest.java | 25 +- .../TeamsAppInstallationRequest.java | 21 + .../requests/extensions/TeamsAppRequest.java | 21 + .../TeamsAsyncOperationCollectionRequest.java | 25 +- .../TeamsAsyncOperationRequest.java | 21 + ...iceUsageDistributionUserCountsRequest.java | 21 + .../TeamsDeviceUsageUserCountsRequest.java | 21 + .../TeamsDeviceUsageUserDetailRequest.java | 21 + .../extensions/TeamsTabCollectionRequest.java | 25 +- .../requests/extensions/TeamsTabRequest.java | 21 + .../TeamsTemplateCollectionRequest.java | 25 +- .../extensions/TeamsTemplateRequest.java | 21 + .../TeamsUserActivityCountsRequest.java | 21 + .../TeamsUserActivityUserCountsRequest.java | 21 + .../TeamsUserActivityUserDetailRequest.java | 21 + .../requests/extensions/TeamworkRequest.java | 21 + ...nseManagementPartnerCollectionRequest.java | 25 +- ...elecomExpenseManagementPartnerRequest.java | 21 + ...AuthenticationMethodCollectionRequest.java | 25 +- ...AccessPassAuthenticationMethodRequest.java | 21 + .../extensions/TenantSetupInfoRequest.java | 21 + ...ionsAcceptanceStatusCollectionRequest.java | 25 +- ...sAndConditionsAcceptanceStatusRequest.java | 21 + ...ConditionsAssignmentCollectionRequest.java | 25 +- .../TermsAndConditionsAssignmentRequest.java | 21 + .../TermsAndConditionsCollectionRequest.java | 25 +- ...tionsGroupAssignmentCollectionRequest.java | 25 +- ...msAndConditionsGroupAssignmentRequest.java | 21 + .../TermsAndConditionsReferenceRequest.java | 16 +- ...sAndConditionsReferenceRequestBuilder.java | 16 +- .../extensions/TermsAndConditionsRequest.java | 37 +- .../TermsAndConditionsRequestBuilder.java | 32 +- ...ermsAndConditionsWithReferenceRequest.java | 16 +- ...ConditionsWithReferenceRequestBuilder.java | 16 +- .../TermsOfUseContainerRequest.java | 29 +- .../TermsOfUseContainerRequestBuilder.java | 22 +- ...lassificationRequestCollectionRequest.java | 25 +- .../TextClassificationRequestRequest.java | 21 + ...eatAssessmentRequestCollectionRequest.java | 25 +- .../ThreatAssessmentRequestRequest.java | 21 + ...reatAssessmentResultCollectionRequest.java | 25 +- .../ThreatAssessmentResultRequest.java | 21 + .../requests/extensions/ThumbnailRequest.java | 21 + .../ThumbnailSetCollectionRequest.java | 25 +- .../extensions/ThumbnailSetRequest.java | 21 + .../TiIndicatorCollectionRequest.java | 25 +- .../TiIndicatorCollectionRequestBuilder.java | 20 +- .../extensions/TiIndicatorRequest.java | 21 + .../extensions/TimeOffCollectionRequest.java | 25 +- .../TimeOffReasonCollectionRequest.java | 25 +- .../extensions/TimeOffReasonRequest.java | 21 + .../requests/extensions/TimeOffRequest.java | 21 + .../TimeOffRequestCollectionRequest.java | 25 +- .../extensions/TimeOffRequestRequest.java | 21 + .../requests/extensions/TodoRequest.java | 162 ++ .../extensions/TodoRequestBuilder.java | 65 + .../extensions/TodoTaskCollectionPage.java | 28 + .../extensions/TodoTaskCollectionRequest.java | 140 + .../TodoTaskCollectionRequestBuilder.java | 60 + .../TodoTaskCollectionResponse.java | 90 + .../TodoTaskDeltaCollectionPage.java | 59 + .../TodoTaskDeltaCollectionRequest.java | 107 + ...TodoTaskDeltaCollectionRequestBuilder.java | 56 + .../TodoTaskDeltaCollectionResponse.java | 90 + .../TodoTaskListCollectionPage.java | 28 + .../TodoTaskListCollectionRequest.java | 140 + .../TodoTaskListCollectionRequestBuilder.java | 60 + .../TodoTaskListCollectionResponse.java | 90 + .../TodoTaskListDeltaCollectionPage.java | 59 + .../TodoTaskListDeltaCollectionRequest.java | 107 + ...TaskListDeltaCollectionRequestBuilder.java | 56 + .../TodoTaskListDeltaCollectionResponse.java | 90 + .../extensions/TodoTaskListRequest.java | 166 ++ .../TodoTaskListRequestBuilder.java | 76 + .../requests/extensions/TodoTaskRequest.java | 166 ++ .../extensions/TodoTaskRequestBuilder.java | 76 + ...uancePolicyCollectionReferenceRequest.java | 4 +- .../TokenIssuancePolicyCollectionRequest.java | 25 +- .../TokenIssuancePolicyRequest.java | 21 + ...etimePolicyCollectionReferenceRequest.java | 4 +- .../TokenLifetimePolicyCollectionRequest.java | 25 +- .../TokenLifetimePolicyRequest.java | 21 + .../extensions/TrendingCollectionRequest.java | 25 +- .../requests/extensions/TrendingRequest.java | 21 + ...TrustFrameworkKeySetCollectionRequest.java | 25 +- .../TrustFrameworkKeySetRequest.java | 21 + .../TrustFrameworkKeySetRequestBuilder.java | 8 +- ...TrustFrameworkPolicyCollectionRequest.java | 25 +- .../TrustFrameworkPolicyRequest.java | 21 + .../extensions/TrustFrameworkRequest.java | 29 +- .../TrustFrameworkRequestBuilder.java | 22 +- ...nifiedRoleAssignmentCollectionRequest.java | 25 +- ...leAssignmentMultipleCollectionRequest.java | 25 +- .../UnifiedRoleAssignmentMultipleRequest.java | 29 +- ...dRoleAssignmentMultipleRequestBuilder.java | 42 +- .../UnifiedRoleAssignmentRequest.java | 29 +- .../UnifiedRoleAssignmentRequestBuilder.java | 32 +- ...nifiedRoleDefinitionCollectionRequest.java | 26 +- ...oleDefinitionCollectionRequestBuilder.java | 3 +- .../UnifiedRoleDefinitionRequest.java | 21 + .../UnitOfMeasureCollectionRequest.java | 25 +- .../extensions/UnitOfMeasureRequest.java | 21 + .../UnmuteParticipantOperationRequest.java | 21 + ...UnsupportedDeviceConfigurationRequest.java | 21 + ...rtedDeviceConfigurationRequestBuilder.java | 42 +- ...GroupPolicyExtensionCollectionRequest.java | 25 +- ...nsupportedGroupPolicyExtensionRequest.java | 21 + ...UpdateRecordingStatusOperationRequest.java | 21 + .../UrlAssessmentRequestRequest.java | 21 + .../UsedInsightCollectionRequest.java | 25 +- .../extensions/UsedInsightRequest.java | 21 + ...erAccountInformationCollectionRequest.java | 25 +- .../UserAccountInformationRequest.java | 21 + .../UserActivityCollectionRequest.java | 25 +- .../extensions/UserActivityRequest.java | 21 + .../extensions/UserAnalyticsRequest.java | 21 + ...UserAppInstallStatusCollectionRequest.java | 25 +- .../UserAppInstallStatusRequest.java | 21 + .../UserCollectionReferenceRequest.java | 8 +- ...UserCollectionReferenceRequestBuilder.java | 4 +- .../extensions/UserCollectionRequest.java | 29 +- .../UserCollectionRequestBuilder.java | 4 +- .../UserCollectionWithReferencesPage.java | 4 +- .../UserCollectionWithReferencesRequest.java | 4 +- ...ollectionWithReferencesRequestBuilder.java | 4 +- .../UserConfigurationCollectionRequest.java | 25 +- .../extensions/UserConfigurationRequest.java | 21 + .../UserConsentRequestCollectionRequest.java | 25 +- .../extensions/UserConsentRequestRequest.java | 21 + ...edentialUsageDetailsCollectionRequest.java | 25 +- .../UserCredentialUsageDetailsRequest.java | 21 + ...plicationPerformanceCollectionRequest.java | 25 +- ...ppHealthApplicationPerformanceRequest.java | 21 + ...nceAnalyticsBaselineCollectionRequest.java | 25 +- ...serExperienceAnalyticsBaselineRequest.java | 21 + ...rienceAnalyticsBaselineRequestBuilder.java | 8 +- ...nceAnalyticsCategoryCollectionRequest.java | 25 +- ...serExperienceAnalyticsCategoryRequest.java | 21 + ...icsDevicePerformanceCollectionRequest.java | 25 +- ...enceAnalyticsDevicePerformanceRequest.java | 21 + ...DeviceStartupHistoryCollectionRequest.java | 25 +- ...eAnalyticsDeviceStartupHistoryRequest.java | 21 + ...DeviceStartupProcessCollectionRequest.java | 25 +- ...upProcessPerformanceCollectionRequest.java | 25 +- ...eviceStartupProcessPerformanceRequest.java | 21 + ...eAnalyticsDeviceStartupProcessRequest.java | 21 + ...ienceAnalyticsMetricCollectionRequest.java | 25 +- ...alyticsMetricHistoryCollectionRequest.java | 25 +- ...perienceAnalyticsMetricHistoryRequest.java | 21 + .../UserExperienceAnalyticsMetricRequest.java | 21 + ...serExperienceAnalyticsOverviewRequest.java | 21 + ...enceAnalyticsRegressionSummaryRequest.java | 21 + ...lyticsRegressionSummaryRequestBuilder.java | 14 +- ...nalyticsScoreHistoryCollectionRequest.java | 25 +- ...xperienceAnalyticsScoreHistoryRequest.java | 21 + ...rInstallStateSummaryCollectionRequest.java | 25 +- .../UserInstallStateSummaryRequest.java | 21 + .../UserPFXCertificateCollectionRequest.java | 25 +- .../extensions/UserPFXCertificateRequest.java | 21 + .../extensions/UserReferenceRequest.java | 66 +- .../UserReferenceRequestBuilder.java | 66 +- .../requests/extensions/UserRequest.java | 87 +- .../extensions/UserRequestBuilder.java | 233 +- ...TeamsAppInstallationCollectionRequest.java | 25 +- .../UserScopeTeamsAppInstallationRequest.java | 21 + .../UserSecurityProfileCollectionRequest.java | 25 +- .../UserSecurityProfileRequest.java | 21 + .../extensions/UserSettingsRequest.java | 21 + .../extensions/UserTeamworkRequest.java | 21 + .../extensions/UserWithReferenceRequest.java | 66 +- .../UserWithReferenceRequestBuilder.java | 66 +- .../extensions/VendorCollectionRequest.java | 25 +- .../requests/extensions/VendorRequest.java | 25 +- .../extensions/VendorRequestBuilder.java | 32 +- .../extensions/VpnConfigurationRequest.java | 21 + .../VpnConfigurationRequestBuilder.java | 42 +- .../extensions/VppTokenCollectionRequest.java | 25 +- .../requests/extensions/VppTokenRequest.java | 21 + .../extensions/VppTokenRequestBuilder.java | 8 +- ...nerableManagedDeviceCollectionRequest.java | 25 +- .../VulnerableManagedDeviceRequest.java | 21 + .../WebAccountCollectionRequest.java | 25 +- .../extensions/WebAccountRequest.java | 21 + .../requests/extensions/WebAppRequest.java | 21 + .../extensions/WebAppRequestBuilder.java | 30 +- .../extensions/Win32LobAppRequest.java | 21 + .../extensions/Win32LobAppRequestBuilder.java | 30 +- ...indows10CertificateProfileBaseRequest.java | 21 + ...0CertificateProfileBaseRequestBuilder.java | 42 +- .../Windows10CompliancePolicyRequest.java | 21 + ...ndows10CompliancePolicyRequestBuilder.java | 50 +- .../Windows10CustomConfigurationRequest.java | 21 + ...ws10CustomConfigurationRequestBuilder.java | 42 +- ...FirmwareConfigurationInterfaceRequest.java | 21 + ...eConfigurationInterfaceRequestBuilder.java | 42 +- ...10EasEmailProfileConfigurationRequest.java | 21 + ...ailProfileConfigurationRequestBuilder.java | 42 +- ...ndpointProtectionConfigurationRequest.java | 21 + ...ProtectionConfigurationRequestBuilder.java | 42 +- ...PageConfigurationPolicySetItemRequest.java | 21 + ...entCompletionPageConfigurationRequest.java | 21 + ...dernAppManagementConfigurationRequest.java | 21 + ...ManagementConfigurationRequestBuilder.java | 42 +- .../Windows10GeneralConfigurationRequest.java | 21 + ...s10GeneralConfigurationRequestBuilder.java | 42 +- ...0ImportedPFXCertificateProfileRequest.java | 21 + ...edPFXCertificateProfileRequestBuilder.java | 42 +- ...indows10MobileCompliancePolicyRequest.java | 21 + ...0MobileCompliancePolicyRequestBuilder.java | 50 +- ...10NetworkBoundaryConfigurationRequest.java | 21 + ...rkBoundaryConfigurationRequestBuilder.java | 42 +- ...s10PFXImportCertificateProfileRequest.java | 21 + ...mportCertificateProfileRequestBuilder.java | 42 +- ...indows10PkcsCertificateProfileRequest.java | 21 + ...0PkcsCertificateProfileRequestBuilder.java | 42 +- ...0SecureAssessmentConfigurationRequest.java | 21 + ...AssessmentConfigurationRequestBuilder.java | 42 +- ...dows10TeamGeneralConfigurationRequest.java | 21 + ...eamGeneralConfigurationRequestBuilder.java | 42 +- .../Windows10VpnConfigurationRequest.java | 21 + ...ndows10VpnConfigurationRequestBuilder.java | 42 +- ...indows81CertificateProfileBaseRequest.java | 21 + ...1CertificateProfileBaseRequestBuilder.java | 42 +- .../Windows81CompliancePolicyRequest.java | 21 + ...ndows81CompliancePolicyRequestBuilder.java | 50 +- .../Windows81GeneralConfigurationRequest.java | 21 + ...s81GeneralConfigurationRequestBuilder.java | 42 +- ...indows81SCEPCertificateProfileRequest.java | 21 + ...1SCEPCertificateProfileRequestBuilder.java | 50 +- ...ustedRootCertificateCollectionRequest.java | 25 +- ...indows81TrustedRootCertificateRequest.java | 21 + ...1TrustedRootCertificateRequestBuilder.java | 42 +- .../Windows81VpnConfigurationRequest.java | 21 + ...ndows81VpnConfigurationRequestBuilder.java | 42 +- ...ndows81WifiImportConfigurationRequest.java | 21 + ...WifiImportConfigurationRequestBuilder.java | 42 +- .../extensions/WindowsAppXRequest.java | 21 + .../extensions/WindowsAppXRequestBuilder.java | 30 +- .../WindowsAssignedAccessProfileRequest.java | 21 + ...entProfileAssignmentCollectionRequest.java | 25 +- ...lotDeploymentProfileAssignmentRequest.java | 21 + ...lotDeploymentProfileCollectionRequest.java | 25 +- ...DeploymentProfilePolicySetItemRequest.java | 21 + ...dowsAutopilotDeploymentProfileRequest.java | 21 + ...opilotDeviceIdentityCollectionRequest.java | 25 +- ...WindowsAutopilotDeviceIdentityRequest.java | 21 + ...AutopilotDeviceIdentityRequestBuilder.java | 16 +- .../WindowsAutopilotSettingsRequest.java | 21 + .../WindowsCertificateProfileBaseRequest.java | 21 + ...sCertificateProfileBaseRequestBuilder.java | 42 +- ...dThreatProtectionConfigurationRequest.java | 21 + ...ProtectionConfigurationRequestBuilder.java | 42 +- ...ntalPolicyAssignmentCollectionRequest.java | 25 +- ...olSupplementalPolicyAssignmentRequest.java | 21 + ...olSupplementalPolicyCollectionRequest.java | 25 +- ...licyDeploymentStatusCollectionRequest.java | 25 +- ...lementalPolicyDeploymentStatusRequest.java | 21 + ...ementalPolicyDeploymentSummaryRequest.java | 21 + ...ationControlSupplementalPolicyRequest.java | 21 + ...iveryOptimizationConfigurationRequest.java | 21 + ...timizationConfigurationRequestBuilder.java | 42 +- ...wsDeviceMalwareStateCollectionRequest.java | 25 +- .../WindowsDeviceMalwareStateRequest.java | 21 + ...WindowsDomainJoinConfigurationRequest.java | 21 + ...DomainJoinConfigurationRequestBuilder.java | 42 +- ...ateProfileAssignmentCollectionRequest.java | 25 +- ...FeatureUpdateProfileAssignmentRequest.java | 21 + ...FeatureUpdateProfileCollectionRequest.java | 25 +- .../WindowsFeatureUpdateProfileRequest.java | 21 + ...sHealthMonitoringConfigurationRequest.java | 21 + ...MonitoringConfigurationRequestBuilder.java | 42 +- ...dentityProtectionConfigurationRequest.java | 21 + ...ProtectionConfigurationRequestBuilder.java | 42 +- ...onAppLearningSummaryCollectionRequest.java | 25 +- ...onProtectionAppLearningSummaryRequest.java | 21 + ...tectionAppLockerFileCollectionRequest.java | 25 +- ...rmationProtectionAppLockerFileRequest.java | 21 + ...egistrationCollectionReferenceRequest.java | 4 +- ...onDeviceRegistrationCollectionRequest.java | 25 +- ...onProtectionDeviceRegistrationRequest.java | 21 + ...tworkLearningSummaryCollectionRequest.java | 25 +- ...otectionNetworkLearningSummaryRequest.java | 21 + ...tionProtectionPolicyCollectionRequest.java | 25 +- ...owsInformationProtectionPolicyRequest.java | 21 + ...rmationProtectionPolicyRequestBuilder.java | 16 +- .../WindowsInformationProtectionRequest.java | 29 +- ...wsInformationProtectionRequestBuilder.java | 24 +- ...ProtectionWipeActionCollectionRequest.java | 25 +- ...nformationProtectionWipeActionRequest.java | 21 + .../WindowsKioskConfigurationRequest.java | 21 + ...ndowsKioskConfigurationRequestBuilder.java | 42 +- ...wsMalwareInformationCollectionRequest.java | 25 +- .../WindowsMalwareInformationRequest.java | 21 + .../WindowsManagedDeviceRequest.java | 21 + .../WindowsManagedDeviceRequestBuilder.java | 38 +- ...gementAppHealthStateCollectionRequest.java | 25 +- ...indowsManagementAppHealthStateRequest.java | 21 + ...dowsManagementAppHealthSummaryRequest.java | 21 + .../WindowsManagementAppRequest.java | 21 + .../WindowsMicrosoftEdgeAppRequest.java | 21 + ...WindowsMicrosoftEdgeAppRequestBuilder.java | 30 +- .../extensions/WindowsMobileMSIRequest.java | 21 + .../WindowsMobileMSIRequestBuilder.java | 30 +- ...ndowsOfficeClientConfigurationRequest.java | 21 + ...iceClientSecurityConfigurationRequest.java | 21 + .../WindowsPhone81AppXBundleRequest.java | 21 + ...indowsPhone81AppXBundleRequestBuilder.java | 30 +- .../extensions/WindowsPhone81AppXRequest.java | 21 + .../WindowsPhone81AppXRequestBuilder.java | 30 +- ...sPhone81CertificateProfileBaseRequest.java | 21 + ...1CertificateProfileBaseRequestBuilder.java | 42 +- ...WindowsPhone81CompliancePolicyRequest.java | 21 + ...Phone81CompliancePolicyRequestBuilder.java | 50 +- ...dowsPhone81CustomConfigurationRequest.java | 21 + ...ne81CustomConfigurationRequestBuilder.java | 42 +- ...owsPhone81GeneralConfigurationRequest.java | 21 + ...e81GeneralConfigurationRequestBuilder.java | 42 +- ...1ImportedPFXCertificateProfileRequest.java | 21 + ...edPFXCertificateProfileRequestBuilder.java | 42 +- ...sPhone81SCEPCertificateProfileRequest.java | 21 + ...1SCEPCertificateProfileRequestBuilder.java | 50 +- .../WindowsPhone81StoreAppRequest.java | 21 + .../WindowsPhone81StoreAppRequestBuilder.java | 30 +- ...sPhone81TrustedRootCertificateRequest.java | 21 + ...1TrustedRootCertificateRequestBuilder.java | 42 +- ...WindowsPhone81VpnConfigurationRequest.java | 21 + ...Phone81VpnConfigurationRequestBuilder.java | 42 +- ...neEASEmailProfileConfigurationRequest.java | 21 + ...ailProfileConfigurationRequestBuilder.java | 42 +- .../extensions/WindowsPhoneXAPRequest.java | 21 + .../WindowsPhoneXAPRequestBuilder.java | 30 +- ...ataAccessControlItemCollectionRequest.java | 25 +- ...wsPrivacyDataAccessControlItemRequest.java | 21 + .../WindowsProtectionStateRequest.java | 21 + .../extensions/WindowsStoreAppRequest.java | 21 + .../WindowsStoreAppRequestBuilder.java | 30 +- ...ndowsUniversalAppXContainedAppRequest.java | 21 + .../WindowsUniversalAppXRequest.java | 21 + .../WindowsUniversalAppXRequestBuilder.java | 30 +- ...UpdateForBusinessConfigurationRequest.java | 21 + ...orBusinessConfigurationRequestBuilder.java | 42 +- .../WindowsUpdateStateCollectionRequest.java | 25 +- .../extensions/WindowsUpdateStateRequest.java | 21 + .../WindowsVpnConfigurationRequest.java | 21 + ...WindowsVpnConfigurationRequestBuilder.java | 42 +- .../WindowsWifiConfigurationRequest.java | 21 + ...indowsWifiConfigurationRequestBuilder.java | 42 +- ...WifiEnterpriseEAPConfigurationRequest.java | 21 + ...erpriseEAPConfigurationRequestBuilder.java | 56 +- .../WorkPositionCollectionRequest.java | 25 +- .../extensions/WorkPositionRequest.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 + .../WorkbookChartCollectionRequest.java | 25 +- ...WorkbookChartCollectionRequestBuilder.java | 10 +- .../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 + .../WorkbookChartPointCollectionRequest.java | 25 +- ...ookChartPointCollectionRequestBuilder.java | 10 +- .../WorkbookChartPointFormatRequest.java | 21 + .../extensions/WorkbookChartPointRequest.java | 21 + .../extensions/WorkbookChartRequest.java | 21 + .../WorkbookChartSeriesCollectionRequest.java | 25 +- ...okChartSeriesCollectionRequestBuilder.java | 10 +- .../WorkbookChartSeriesFormatRequest.java | 21 + .../WorkbookChartSeriesRequest.java | 21 + .../WorkbookChartTitleFormatRequest.java | 21 + .../extensions/WorkbookChartTitleRequest.java | 21 + .../WorkbookCommentCollectionRequest.java | 25 +- ...WorkbookCommentReplyCollectionRequest.java | 25 +- .../WorkbookCommentReplyRequest.java | 21 + .../extensions/WorkbookCommentRequest.java | 21 + .../extensions/WorkbookFilterRequest.java | 21 + .../WorkbookFormatProtectionRequest.java | 21 + .../WorkbookFunctionResultRequest.java | 21 + .../extensions/WorkbookFunctionsRequest.java | 21 + .../WorkbookFunctionsRequestBuilder.java | 288 +-- .../WorkbookNamedItemCollectionRequest.java | 25 +- .../extensions/WorkbookNamedItemRequest.java | 21 + .../WorkbookOperationCollectionRequest.java | 25 +- .../extensions/WorkbookOperationRequest.java | 21 + .../WorkbookPivotTableCollectionRequest.java | 25 +- .../extensions/WorkbookPivotTableRequest.java | 21 + .../WorkbookRangeBorderCollectionRequest.java | 25 +- ...okRangeBorderCollectionRequestBuilder.java | 10 +- .../WorkbookRangeBorderRequest.java | 21 + .../extensions/WorkbookRangeFillRequest.java | 21 + .../extensions/WorkbookRangeFontRequest.java | 21 + .../WorkbookRangeFormatRequest.java | 21 + .../extensions/WorkbookRangeRequest.java | 21 + .../extensions/WorkbookRangeSortRequest.java | 21 + .../WorkbookRangeViewCollectionRequest.java | 25 +- .../extensions/WorkbookRangeViewRequest.java | 21 + .../requests/extensions/WorkbookRequest.java | 37 +- .../extensions/WorkbookRequestBuilder.java | 62 +- .../WorkbookTableCollectionRequest.java | 25 +- ...WorkbookTableCollectionRequestBuilder.java | 10 +- .../WorkbookTableColumnCollectionRequest.java | 25 +- ...okTableColumnCollectionRequestBuilder.java | 10 +- .../WorkbookTableColumnRequest.java | 21 + .../extensions/WorkbookTableRequest.java | 21 + .../WorkbookTableRowCollectionRequest.java | 25 +- ...kbookTableRowCollectionRequestBuilder.java | 10 +- .../extensions/WorkbookTableRowRequest.java | 21 + .../extensions/WorkbookTableSortRequest.java | 21 + .../WorkbookWorksheetCollectionRequest.java | 25 +- .../WorkbookWorksheetProtectionRequest.java | 21 + .../extensions/WorkbookWorksheetRequest.java | 21 + ...WorkforceIntegrationCollectionRequest.java | 25 +- .../WorkforceIntegrationRequest.java | 21 + .../YammerActivitySummaryRequest.java | 21 + .../YammerActivityUserDetailRequest.java | 21 + ...iceUsageDistributionUserCountsRequest.java | 21 + .../YammerDeviceUsageUserCountsRequest.java | 21 + .../YammerDeviceUsageUserDetailRequest.java | 21 + .../YammerGroupsActivityCountsRequest.java | 21 + .../YammerGroupsActivityDetailRequest.java | 21 + ...ammerGroupsActivityGroupCountsRequest.java | 21 + .../termstore/models/extensions/Group.java | 16 +- .../models/extensions/LocalizedLabel.java | 16 +- .../models/extensions/LocalizedName.java | 12 +- .../termstore/models/extensions/Relation.java | 12 +- .../termstore/models/extensions/Set.java | 50 +- .../termstore/models/extensions/Term.java | 26 +- .../extensions/GroupCollectionRequest.java | 25 +- .../requests/extensions/GroupRequest.java | 21 + .../extensions/IGroupCollectionRequest.java | 16 + .../requests/extensions/IGroupRequest.java | 17 + .../IRelationCollectionRequest.java | 16 + .../requests/extensions/IRelationRequest.java | 17 + .../extensions/IRelationRequestBuilder.java | 12 +- .../extensions/ISetCollectionRequest.java | 16 + .../requests/extensions/ISetRequest.java | 17 + .../extensions/ISetRequestBuilder.java | 12 +- .../requests/extensions/IStoreRequest.java | 17 + .../extensions/ITermCollectionRequest.java | 16 + .../requests/extensions/ITermRequest.java | 17 + .../extensions/RelationCollectionRequest.java | 25 +- .../requests/extensions/RelationRequest.java | 21 + .../extensions/RelationRequestBuilder.java | 16 +- .../extensions/SetCollectionRequest.java | 25 +- .../requests/extensions/SetRequest.java | 21 + .../extensions/SetRequestBuilder.java | 22 +- .../requests/extensions/StoreRequest.java | 21 + .../extensions/TermCollectionRequest.java | 25 +- .../requests/extensions/TermRequest.java | 21 + 5689 files changed, 118729 insertions(+), 47938 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/models/extensions/ContinuousAccessEvaluationPolicy.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/ExpirationPattern.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/LinkedResource.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/LobbyBypassSettings.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/Note.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/RequestSchedule.java rename src/main/java/com/microsoft/graph/models/extensions/{Search.java => SearchEntity.java} (94%) rename src/main/java/com/microsoft/graph/models/extensions/{SearchQueryBody.java => SearchEntityQueryBody.java} (95%) create mode 100644 src/main/java/com/microsoft/graph/models/extensions/SpaApplication.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/Todo.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/TodoTask.java create mode 100644 src/main/java/com/microsoft/graph/models/extensions/TodoTaskList.java create mode 100644 src/main/java/com/microsoft/graph/models/generated/AllowInvitesFrom.java create mode 100644 src/main/java/com/microsoft/graph/models/generated/ChannelCreationMode.java create mode 100644 src/main/java/com/microsoft/graph/models/generated/ExpirationPatternType.java create mode 100644 src/main/java/com/microsoft/graph/models/generated/LobbyBypassScope.java create mode 100644 src/main/java/com/microsoft/graph/models/generated/TeamCreationMode.java create mode 100644 src/main/java/com/microsoft/graph/models/generated/WellknownListName.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ChannelCompleteMigrationRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ChannelCompleteMigrationRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContinuousAccessEvaluationPolicyRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ContinuousAccessEvaluationPolicyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/IChannelCompleteMigrationRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/IChannelCompleteMigrationRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/IContinuousAccessEvaluationPolicyRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/IContinuousAccessEvaluationPolicyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ILinkedResourceCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ILinkedResourceCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ILinkedResourceCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ILinkedResourceRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ILinkedResourceRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/INoteDeltaCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/INoteDeltaCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/INoteDeltaCollectionRequestBuilder.java rename src/main/java/com/microsoft/graph/requests/extensions/{ISearchRequest.java => INoteRequest.java} (52%) create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/INoteRequestBuilder.java rename src/main/java/com/microsoft/graph/requests/extensions/{ISearchQueryCollectionPage.java => ISearchEntityQueryCollectionPage.java} (74%) rename src/main/java/com/microsoft/graph/requests/extensions/{ISearchQueryCollectionRequest.java => ISearchEntityQueryCollectionRequest.java} (74%) rename src/main/java/com/microsoft/graph/requests/extensions/{ISearchQueryCollectionRequestBuilder.java => ISearchEntityQueryCollectionRequestBuilder.java} (64%) create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ISearchEntityRequest.java rename src/main/java/com/microsoft/graph/requests/extensions/{ISearchRequestBuilder.java => ISearchEntityRequestBuilder.java} (64%) create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITeamCompleteMigrationRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITeamCompleteMigrationRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskDeltaCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskDeltaCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskDeltaCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListDeltaCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListDeltaCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListDeltaCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskListRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/ITodoTaskRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LinkedResourceCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LinkedResourceCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LinkedResourceCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LinkedResourceCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LinkedResourceRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/LinkedResourceRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NoteDeltaCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NoteDeltaCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NoteDeltaCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NoteDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NoteRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/NoteRequestBuilder.java rename src/main/java/com/microsoft/graph/requests/extensions/{SearchQueryCollectionPage.java => SearchEntityQueryCollectionPage.java} (62%) rename src/main/java/com/microsoft/graph/requests/extensions/{SearchQueryCollectionRequest.java => SearchEntityQueryCollectionRequest.java} (54%) rename src/main/java/com/microsoft/graph/requests/extensions/{SearchQueryCollectionRequestBuilder.java => SearchEntityQueryCollectionRequestBuilder.java} (59%) rename src/main/java/com/microsoft/graph/requests/extensions/{SearchQueryCollectionResponse.java => SearchEntityQueryCollectionResponse.java} (94%) create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SearchEntityRequest.java rename src/main/java/com/microsoft/graph/requests/extensions/{SearchRequestBuilder.java => SearchEntityRequestBuilder.java} (58%) delete mode 100644 src/main/java/com/microsoft/graph/requests/extensions/SearchRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamCompleteMigrationRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TeamCompleteMigrationRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskDeltaCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskDeltaCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskDeltaCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListDeltaCollectionPage.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListDeltaCollectionRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListDeltaCollectionRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListDeltaCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskListRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskRequest.java create mode 100644 src/main/java/com/microsoft/graph/requests/extensions/TodoTaskRequestBuilder.java diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/CallRecord.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/CallRecord.java index 31d3c4d31f5..7dffa92eceb 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/CallRecord.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/CallRecord.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.callrecords.models.generated.CallType; import com.microsoft.graph.callrecords.models.generated.Modality; import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.callrecords.models.generated.CallType; import com.microsoft.graph.callrecords.models.extensions.Session; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.callrecords.requests.extensions.SessionCollectionResponse; @@ -33,28 +33,20 @@ public class CallRecord extends Entity implements IJsonBackedObject { /** - * The Version. - * Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version. - */ - @SerializedName("version") - @Expose - public Long version; - - /** - * The Type. - * Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue. + * The End Date Time. + * UTC time when the last user left the call. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("type") + @SerializedName("endDateTime") @Expose - public CallType type; + public java.util.Calendar endDateTime; /** - * The Modalities. - * List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * The Join Web Url. + * Meeting URL associated to the call. May not be available for a peerToPeer call record type. */ - @SerializedName("modalities") + @SerializedName("joinWebUrl") @Expose - public java.util.List modalities; + public String joinWebUrl; /** * The Last Modified Date Time. @@ -65,20 +57,12 @@ public class CallRecord extends Entity implements IJsonBackedObject { public java.util.Calendar lastModifiedDateTime; /** - * The Start Date Time. - * UTC time when the first user joined the call. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("startDateTime") - @Expose - public java.util.Calendar startDateTime; - - /** - * The End Date Time. - * UTC time when the last user left the call. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Modalities. + * List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. */ - @SerializedName("endDateTime") + @SerializedName("modalities") @Expose - public java.util.Calendar endDateTime; + public java.util.List modalities; /** * The Organizer. @@ -97,12 +81,28 @@ public class CallRecord extends Entity implements IJsonBackedObject { public java.util.List participants; /** - * The Join Web Url. - * Meeting URL associated to the call. May not be available for a peerToPeer call record type. + * The Start Date Time. + * UTC time when the first user joined the call. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("joinWebUrl") + @SerializedName("startDateTime") @Expose - public String joinWebUrl; + public java.util.Calendar startDateTime; + + /** + * The Type. + * Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue. + */ + @SerializedName("type") + @Expose + public CallType type; + + /** + * The Version. + * Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version. + */ + @SerializedName("version") + @Expose + public Long version; /** * The Sessions. diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/DeviceInfo.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/DeviceInfo.java index 56957b1922b..89d783c6020 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/DeviceInfo.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/DeviceInfo.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Capture Device Name. - * Name of the capture device used by the media endpoint. - */ - @SerializedName("captureDeviceName") - @Expose - public String captureDeviceName; - /** * The Capture Device Driver. * Name of the capture device driver used by the media endpoint. @@ -52,52 +44,52 @@ public final AdditionalDataManager additionalDataManager() { public String captureDeviceDriver; /** - * The Render Device Name. - * Name of the render device used by the media endpoint. + * The Capture Device Name. + * Name of the capture device used by the media endpoint. */ - @SerializedName("renderDeviceName") + @SerializedName("captureDeviceName") @Expose - public String renderDeviceName; + public String captureDeviceName; /** - * The Render Device Driver. - * Name of the render device driver used by the media endpoint. + * The Capture Not Functioning Event Ratio. + * Fraction of the call that the media endpoint detected the capture device was not working properly. */ - @SerializedName("renderDeviceDriver") + @SerializedName("captureNotFunctioningEventRatio") @Expose - public String renderDeviceDriver; + public float captureNotFunctioningEventRatio; /** - * The Sent Signal Level. - * Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * The Cpu Insufficent Event Ratio. + * Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. */ - @SerializedName("sentSignalLevel") + @SerializedName("cpuInsufficentEventRatio") @Expose - public Integer sentSignalLevel; + public float cpuInsufficentEventRatio; /** - * The Received Signal Level. - * Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * The Device Clipping Event Ratio. + * Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. */ - @SerializedName("receivedSignalLevel") + @SerializedName("deviceClippingEventRatio") @Expose - public Integer receivedSignalLevel; + public float deviceClippingEventRatio; /** - * The Sent Noise Level. - * Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * The Device Glitch Event Ratio. + * Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. */ - @SerializedName("sentNoiseLevel") + @SerializedName("deviceGlitchEventRatio") @Expose - public Integer sentNoiseLevel; + public float deviceGlitchEventRatio; /** - * The Received Noise Level. - * Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * The Howling Event Count. + * Number of times during the call that the media endpoint detected howling or screeching audio. */ - @SerializedName("receivedNoiseLevel") + @SerializedName("howlingEventCount") @Expose - public Integer receivedNoiseLevel; + public Integer howlingEventCount; /** * The Initial Signal Level Root Mean Square. @@ -108,68 +100,76 @@ public final AdditionalDataManager additionalDataManager() { public float initialSignalLevelRootMeanSquare; /** - * The Cpu Insufficent Event Ratio. - * Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. + * The Low Speech Level Event Ratio. + * Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. */ - @SerializedName("cpuInsufficentEventRatio") + @SerializedName("lowSpeechLevelEventRatio") @Expose - public float cpuInsufficentEventRatio; + public float lowSpeechLevelEventRatio; /** - * The Render Not Functioning Event Ratio. - * Fraction of the call that the media endpoint detected the render device was not working properly. + * The Low Speech To Noise Event Ratio. + * Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. */ - @SerializedName("renderNotFunctioningEventRatio") + @SerializedName("lowSpeechToNoiseEventRatio") @Expose - public float renderNotFunctioningEventRatio; + public float lowSpeechToNoiseEventRatio; /** - * The Capture Not Functioning Event Ratio. - * Fraction of the call that the media endpoint detected the capture device was not working properly. + * The Mic Glitch Rate. + * Glitches per 5 minute interval for the media endpoint's microphone. */ - @SerializedName("captureNotFunctioningEventRatio") + @SerializedName("micGlitchRate") @Expose - public float captureNotFunctioningEventRatio; + public float micGlitchRate; /** - * The Device Glitch Event Ratio. - * Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. + * The Received Noise Level. + * Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. */ - @SerializedName("deviceGlitchEventRatio") + @SerializedName("receivedNoiseLevel") @Expose - public float deviceGlitchEventRatio; + public Integer receivedNoiseLevel; /** - * The Low Speech To Noise Event Ratio. - * Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. + * The Received Signal Level. + * Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. */ - @SerializedName("lowSpeechToNoiseEventRatio") + @SerializedName("receivedSignalLevel") @Expose - public float lowSpeechToNoiseEventRatio; + public Integer receivedSignalLevel; /** - * The Low Speech Level Event Ratio. - * Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. + * The Render Device Driver. + * Name of the render device driver used by the media endpoint. */ - @SerializedName("lowSpeechLevelEventRatio") + @SerializedName("renderDeviceDriver") @Expose - public float lowSpeechLevelEventRatio; + public String renderDeviceDriver; /** - * The Device Clipping Event Ratio. - * Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. + * The Render Device Name. + * Name of the render device used by the media endpoint. */ - @SerializedName("deviceClippingEventRatio") + @SerializedName("renderDeviceName") @Expose - public float deviceClippingEventRatio; + public String renderDeviceName; /** - * The Howling Event Count. - * Number of times during the call that the media endpoint detected howling or screeching audio. + * The Render Mute Event Ratio. + * Fraction of the call that media endpoint detected device render is muted. */ - @SerializedName("howlingEventCount") + @SerializedName("renderMuteEventRatio") @Expose - public Integer howlingEventCount; + public float renderMuteEventRatio; + + /** + * The Render Not Functioning Event Ratio. + * Fraction of the call that the media endpoint detected the render device was not working properly. + */ + @SerializedName("renderNotFunctioningEventRatio") + @Expose + public float renderNotFunctioningEventRatio; /** * The Render Zero Volume Event Ratio. @@ -180,20 +180,20 @@ public final AdditionalDataManager additionalDataManager() { public float renderZeroVolumeEventRatio; /** - * The Render Mute Event Ratio. - * Fraction of the call that media endpoint detected device render is muted. + * The Sent Noise Level. + * Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. */ - @SerializedName("renderMuteEventRatio") + @SerializedName("sentNoiseLevel") @Expose - public float renderMuteEventRatio; + public Integer sentNoiseLevel; /** - * The Mic Glitch Rate. - * Glitches per 5 minute interval for the media endpoint's microphone. + * The Sent Signal Level. + * Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. */ - @SerializedName("micGlitchRate") + @SerializedName("sentSignalLevel") @Expose - public float micGlitchRate; + public Integer sentSignalLevel; /** * The Speaker Glitch Rate. diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/DirectRoutingLogRow.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/DirectRoutingLogRow.java index 083c76d2033..e50c7999ff8 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/DirectRoutingLogRow.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/DirectRoutingLogRow.java @@ -36,52 +36,52 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Callee Number. * */ - @SerializedName("id") + @SerializedName("calleeNumber") @Expose - public String id; + public String calleeNumber; /** - * The Correlation Id. + * The Call End Sub Reason. * */ - @SerializedName("correlationId") + @SerializedName("callEndSubReason") @Expose - public String correlationId; + public Integer callEndSubReason; /** - * The User Id. + * The Caller Number. * */ - @SerializedName("userId") + @SerializedName("callerNumber") @Expose - public String userId; + public String callerNumber; /** - * The User Principal Name. + * The Call Type. * */ - @SerializedName("userPrincipalName") + @SerializedName("callType") @Expose - public String userPrincipalName; + public String callType; /** - * The User Display Name. + * The Correlation Id. * */ - @SerializedName("userDisplayName") + @SerializedName("correlationId") @Expose - public String userDisplayName; + public String correlationId; /** - * The Start Date Time. + * The Duration. * */ - @SerializedName("startDateTime") + @SerializedName("duration") @Expose - public java.util.Calendar startDateTime; + public Integer duration; /** * The End Date Time. @@ -91,14 +91,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar endDateTime; - /** - * The Invite Date Time. - * - */ - @SerializedName("inviteDateTime") - @Expose - public java.util.Calendar inviteDateTime; - /** * The Failure Date Time. * @@ -108,44 +100,44 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar failureDateTime; /** - * The Duration. + * The Final Sip Code. * */ - @SerializedName("duration") + @SerializedName("finalSipCode") @Expose - public Integer duration; + public Integer finalSipCode; /** - * The Call Type. + * The Final Sip Code Phrase. * */ - @SerializedName("callType") + @SerializedName("finalSipCodePhrase") @Expose - public String callType; + public String finalSipCodePhrase; /** - * The Successful Call. + * The Id. * */ - @SerializedName("successfulCall") + @SerializedName("id") @Expose - public Boolean successfulCall; + public String id; /** - * The Caller Number. + * The Invite Date Time. * */ - @SerializedName("callerNumber") + @SerializedName("inviteDateTime") @Expose - public String callerNumber; + public java.util.Calendar inviteDateTime; /** - * The Callee Number. + * The Media Bypass Enabled. * */ - @SerializedName("calleeNumber") + @SerializedName("mediaBypassEnabled") @Expose - public String calleeNumber; + public Boolean mediaBypassEnabled; /** * The Media Path Location. @@ -164,44 +156,52 @@ public final AdditionalDataManager additionalDataManager() { public String signalingLocation; /** - * The Final Sip Code. + * The Start Date Time. * */ - @SerializedName("finalSipCode") + @SerializedName("startDateTime") @Expose - public Integer finalSipCode; + public java.util.Calendar startDateTime; /** - * The Call End Sub Reason. + * The Successful Call. * */ - @SerializedName("callEndSubReason") + @SerializedName("successfulCall") @Expose - public Integer callEndSubReason; + public Boolean successfulCall; /** - * The Final Sip Code Phrase. + * The Trunk Fully Qualified Domain Name. * */ - @SerializedName("finalSipCodePhrase") + @SerializedName("trunkFullyQualifiedDomainName") @Expose - public String finalSipCodePhrase; + public String trunkFullyQualifiedDomainName; /** - * The Trunk Fully Qualified Domain Name. + * The User Display Name. * */ - @SerializedName("trunkFullyQualifiedDomainName") + @SerializedName("userDisplayName") @Expose - public String trunkFullyQualifiedDomainName; + public String userDisplayName; /** - * The Media Bypass Enabled. + * The User Id. * */ - @SerializedName("mediaBypassEnabled") + @SerializedName("userId") @Expose - public Boolean mediaBypassEnabled; + public String userId; + + /** + * The User Principal Name. + * + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/FailureInfo.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/FailureInfo.java index 8d901e05765..68f1f4ae37d 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/FailureInfo.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/FailureInfo.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Stage. - * The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. - */ - @SerializedName("stage") - @Expose - public FailureStage stage; - /** * The Reason. * Classification of why a call or portion of a call failed. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String reason; + /** + * The Stage. + * The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. + */ + @SerializedName("stage") + @Expose + public FailureStage stage; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/Media.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/Media.java index f0ee6ed5203..1d74503e5bc 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/Media.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/Media.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.callrecords.models.extensions.NetworkInfo; import com.microsoft.graph.callrecords.models.extensions.DeviceInfo; +import com.microsoft.graph.callrecords.models.extensions.NetworkInfo; import com.microsoft.graph.callrecords.models.extensions.MediaStream; @@ -39,20 +39,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Label. - * How the media was identified during media negotiation stage. - */ - @SerializedName("label") - @Expose - public String label; - - /** - * The Caller Network. - * Network information associated with the caller endpoint of this media. + * The Callee Device. + * Device information associated with the callee endpoint of this media. */ - @SerializedName("callerNetwork") + @SerializedName("calleeDevice") @Expose - public NetworkInfo callerNetwork; + public DeviceInfo calleeDevice; /** * The Callee Network. @@ -71,12 +63,20 @@ public final AdditionalDataManager additionalDataManager() { public DeviceInfo callerDevice; /** - * The Callee Device. - * Device information associated with the callee endpoint of this media. + * The Caller Network. + * Network information associated with the caller endpoint of this media. */ - @SerializedName("calleeDevice") + @SerializedName("callerNetwork") @Expose - public DeviceInfo calleeDevice; + public NetworkInfo callerNetwork; + + /** + * The Label. + * How the media was identified during media negotiation stage. + */ + @SerializedName("label") + @Expose + public String label; /** * The Streams. diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/MediaStream.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/MediaStream.java index fe0b221dedb..78a2b9ccddf 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/MediaStream.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/MediaStream.java @@ -37,44 +37,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Stream Id. - * Unique identifier for the stream. - */ - @SerializedName("streamId") - @Expose - public String streamId; - - /** - * The Start Date Time. - * UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("startDateTime") - @Expose - public java.util.Calendar startDateTime; - - /** - * The End Date Time. - * UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Average Audio Degradation. + * Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. */ - @SerializedName("endDateTime") + @SerializedName("averageAudioDegradation") @Expose - public java.util.Calendar endDateTime; + public float averageAudioDegradation; /** - * The Stream Direction. - * Indicates the direction of the media stream. Possible values are: callerToCallee, calleeToCaller. + * The Average Audio Network Jitter. + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. */ - @SerializedName("streamDirection") + @SerializedName("averageAudioNetworkJitter") @Expose - public MediaStreamDirection streamDirection; + public javax.xml.datatype.Duration averageAudioNetworkJitter; /** - * The Average Audio Degradation. - * Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. + * The Average Bandwidth Estimate. + * Average estimated bandwidth available between two endpoints in bits per second. */ - @SerializedName("averageAudioDegradation") + @SerializedName("averageBandwidthEstimate") @Expose - public float averageAudioDegradation; + public Long averageBandwidthEstimate; /** * The Average Jitter. @@ -84,14 +68,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public javax.xml.datatype.Duration averageJitter; - /** - * The Max Jitter. - * Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. - */ - @SerializedName("maxJitter") - @Expose - public javax.xml.datatype.Duration maxJitter; - /** * The Average Packet Loss Rate. * Average packet loss rate for stream. @@ -100,14 +76,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public float averagePacketLossRate; - /** - * The Max Packet Loss Rate. - * Maximum packet loss rate for the stream. - */ - @SerializedName("maxPacketLossRate") - @Expose - public float maxPacketLossRate; - /** * The Average Ratio Of Concealed Samples. * Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. @@ -117,12 +85,12 @@ public final AdditionalDataManager additionalDataManager() { public float averageRatioOfConcealedSamples; /** - * The Max Ratio Of Concealed Samples. - * Maximum ratio of packets concealed by the healer. + * The Average Received Frame Rate. + * Average frames per second received for all video streams computed over the duration of the session. */ - @SerializedName("maxRatioOfConcealedSamples") + @SerializedName("averageReceivedFrameRate") @Expose - public float maxRatioOfConcealedSamples; + public float averageReceivedFrameRate; /** * The Average Round Trip Time. @@ -133,108 +101,140 @@ public final AdditionalDataManager additionalDataManager() { public javax.xml.datatype.Duration averageRoundTripTime; /** - * The Max Round Trip Time. - * Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * The Average Video Frame Loss Percentage. + * Average percentage of video frames lost as displayed to the user. */ - @SerializedName("maxRoundTripTime") + @SerializedName("averageVideoFrameLossPercentage") @Expose - public javax.xml.datatype.Duration maxRoundTripTime; + public float averageVideoFrameLossPercentage; /** - * The Packet Utilization. - * Packet count for the stream. + * The Average Video Frame Rate. + * Average frames per second received for a video stream, computed over the duration of the session. */ - @SerializedName("packetUtilization") + @SerializedName("averageVideoFrameRate") @Expose - public Long packetUtilization; + public float averageVideoFrameRate; /** - * The Average Bandwidth Estimate. - * Average estimated bandwidth available between two endpoints in bits per second. + * The Average Video Packet Loss Rate. + * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. */ - @SerializedName("averageBandwidthEstimate") + @SerializedName("averageVideoPacketLossRate") @Expose - public Long averageBandwidthEstimate; + public float averageVideoPacketLossRate; /** - * The Was Media Bypassed. - * True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise. + * The End Date Time. + * UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("wasMediaBypassed") + @SerializedName("endDateTime") @Expose - public Boolean wasMediaBypassed; + public java.util.Calendar endDateTime; /** - * The Post Forward Error Correction Packet Loss Rate. - * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. + * The Low Frame Rate Ratio. + * Fraction of the call where frame rate is less than 7.5 frames per second. */ - @SerializedName("postForwardErrorCorrectionPacketLossRate") + @SerializedName("lowFrameRateRatio") @Expose - public float postForwardErrorCorrectionPacketLossRate; + public float lowFrameRateRatio; /** - * The Average Video Frame Loss Percentage. - * Average percentage of video frames lost as displayed to the user. + * The Low Video Processing Capability Ratio. + * Fraction of the call that the client is running less than 70% expected video processing capability. */ - @SerializedName("averageVideoFrameLossPercentage") + @SerializedName("lowVideoProcessingCapabilityRatio") @Expose - public float averageVideoFrameLossPercentage; + public float lowVideoProcessingCapabilityRatio; /** - * The Average Received Frame Rate. - * Average frames per second received for all video streams computed over the duration of the session. + * The Max Audio Network Jitter. + * Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. */ - @SerializedName("averageReceivedFrameRate") + @SerializedName("maxAudioNetworkJitter") @Expose - public float averageReceivedFrameRate; + public javax.xml.datatype.Duration maxAudioNetworkJitter; /** - * The Low Frame Rate Ratio. - * Fraction of the call where frame rate is less than 7.5 frames per second. + * The Max Jitter. + * Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. */ - @SerializedName("lowFrameRateRatio") + @SerializedName("maxJitter") @Expose - public float lowFrameRateRatio; + public javax.xml.datatype.Duration maxJitter; /** - * The Average Video Packet Loss Rate. - * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. + * The Max Packet Loss Rate. + * Maximum packet loss rate for the stream. */ - @SerializedName("averageVideoPacketLossRate") + @SerializedName("maxPacketLossRate") @Expose - public float averageVideoPacketLossRate; + public float maxPacketLossRate; /** - * The Average Video Frame Rate. - * Average frames per second received for a video stream, computed over the duration of the session. + * The Max Ratio Of Concealed Samples. + * Maximum ratio of packets concealed by the healer. */ - @SerializedName("averageVideoFrameRate") + @SerializedName("maxRatioOfConcealedSamples") @Expose - public float averageVideoFrameRate; + public float maxRatioOfConcealedSamples; /** - * The Low Video Processing Capability Ratio. - * Fraction of the call that the client is running less than 70% expected video processing capability. + * The Max Round Trip Time. + * Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. */ - @SerializedName("lowVideoProcessingCapabilityRatio") + @SerializedName("maxRoundTripTime") @Expose - public float lowVideoProcessingCapabilityRatio; + public javax.xml.datatype.Duration maxRoundTripTime; /** - * The Average Audio Network Jitter. - * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * The Packet Utilization. + * Packet count for the stream. */ - @SerializedName("averageAudioNetworkJitter") + @SerializedName("packetUtilization") @Expose - public javax.xml.datatype.Duration averageAudioNetworkJitter; + public Long packetUtilization; /** - * The Max Audio Network Jitter. - * Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * The Post Forward Error Correction Packet Loss Rate. + * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. */ - @SerializedName("maxAudioNetworkJitter") + @SerializedName("postForwardErrorCorrectionPacketLossRate") @Expose - public javax.xml.datatype.Duration maxAudioNetworkJitter; + public float postForwardErrorCorrectionPacketLossRate; + + /** + * The Start Date Time. + * UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("startDateTime") + @Expose + public java.util.Calendar startDateTime; + + /** + * The Stream Direction. + * Indicates the direction of the media stream. Possible values are: callerToCallee, calleeToCaller. + */ + @SerializedName("streamDirection") + @Expose + public MediaStreamDirection streamDirection; + + /** + * The Stream Id. + * Unique identifier for the stream. + */ + @SerializedName("streamId") + @Expose + public String streamId; + + /** + * The Was Media Bypassed. + * True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise. + */ + @SerializedName("wasMediaBypassed") + @Expose + public Boolean wasMediaBypassed; /** diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/NetworkInfo.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/NetworkInfo.java index cfa76916617..8517bf94705 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/NetworkInfo.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/NetworkInfo.java @@ -39,20 +39,52 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Ip Address. - * IP address of the media endpoint. + * The Bandwidth Low Event Ratio. + * Fraction of the call that the media endpoint detected the available bandwidth or bandwidth policy was low enough to cause poor quality of the audio sent. */ - @SerializedName("ipAddress") + @SerializedName("bandwidthLowEventRatio") @Expose - public String ipAddress; + public float bandwidthLowEventRatio; /** - * The Subnet. - * Subnet used for media stream by the media endpoint. + * The Basic Service Set Identifier. + * The wireless LAN basic service set identifier of the media endpoint used to connect to the network. */ - @SerializedName("subnet") + @SerializedName("basicServiceSetIdentifier") @Expose - public String subnet; + public String basicServiceSetIdentifier; + + /** + * The Connection Type. + * Type of network used by the media endpoint. Possible values are: unknown, wired, wifi, mobile, tunnel, unknownFutureValue. + */ + @SerializedName("connectionType") + @Expose + public NetworkConnectionType connectionType; + + /** + * The Delay Event Ratio. + * Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. + */ + @SerializedName("delayEventRatio") + @Expose + public float delayEventRatio; + + /** + * The Dns Suffix. + * DNS suffix associated with the network adapter of the media endpoint. + */ + @SerializedName("dnsSuffix") + @Expose + public String dnsSuffix; + + /** + * The Ip Address. + * IP address of the media endpoint. + */ + @SerializedName("ipAddress") + @Expose + public String ipAddress; /** * The Link Speed. @@ -63,12 +95,12 @@ public final AdditionalDataManager additionalDataManager() { public Long linkSpeed; /** - * The Connection Type. - * Type of network used by the media endpoint. Possible values are: unknown, wired, wifi, mobile, tunnel, unknownFutureValue. + * The Mac Address. + * The media access control (MAC) address of the media endpoint's network device. */ - @SerializedName("connectionType") + @SerializedName("macAddress") @Expose - public NetworkConnectionType connectionType; + public String macAddress; /** * The Port. @@ -78,6 +110,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer port; + /** + * The Received Quality Event Ratio. + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. + */ + @SerializedName("receivedQualityEventRatio") + @Expose + public float receivedQualityEventRatio; + /** * The Reflexive IPAddress. * IP address of the media endpoint as seen by the media relay server. This is typically the public internet IP address associated to the endpoint. @@ -103,44 +143,36 @@ public final AdditionalDataManager additionalDataManager() { public Integer relayPort; /** - * The Mac Address. - * The media access control (MAC) address of the media endpoint's network device. - */ - @SerializedName("macAddress") - @Expose - public String macAddress; - - /** - * The Wifi Microsoft Driver. - * Name of the Microsoft WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * The Sent Quality Event Ratio. + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. */ - @SerializedName("wifiMicrosoftDriver") + @SerializedName("sentQualityEventRatio") @Expose - public String wifiMicrosoftDriver; + public float sentQualityEventRatio; /** - * The Wifi Microsoft Driver Version. - * Version of the Microsoft WiFi driver used by the media endpoint. + * The Subnet. + * Subnet used for media stream by the media endpoint. */ - @SerializedName("wifiMicrosoftDriverVersion") + @SerializedName("subnet") @Expose - public String wifiMicrosoftDriverVersion; + public String subnet; /** - * The Wifi Vendor Driver. - * Name of the WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * The Wifi Band. + * WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue. */ - @SerializedName("wifiVendorDriver") + @SerializedName("wifiBand") @Expose - public String wifiVendorDriver; + public WifiBand wifiBand; /** - * The Wifi Vendor Driver Version. - * Version of the WiFi driver used by the media endpoint. + * The Wifi Battery Charge. + * Estimated remaining battery charge in percentage reported by the media endpoint. */ - @SerializedName("wifiVendorDriverVersion") + @SerializedName("wifiBatteryCharge") @Expose - public String wifiVendorDriverVersion; + public Integer wifiBatteryCharge; /** * The Wifi Channel. @@ -151,20 +183,20 @@ public final AdditionalDataManager additionalDataManager() { public Integer wifiChannel; /** - * The Wifi Band. - * WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue. + * The Wifi Microsoft Driver. + * Name of the Microsoft WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. */ - @SerializedName("wifiBand") + @SerializedName("wifiMicrosoftDriver") @Expose - public WifiBand wifiBand; + public String wifiMicrosoftDriver; /** - * The Basic Service Set Identifier. - * The wireless LAN basic service set identifier of the media endpoint used to connect to the network. + * The Wifi Microsoft Driver Version. + * Version of the Microsoft WiFi driver used by the media endpoint. */ - @SerializedName("basicServiceSetIdentifier") + @SerializedName("wifiMicrosoftDriverVersion") @Expose - public String basicServiceSetIdentifier; + public String wifiMicrosoftDriverVersion; /** * The Wifi Radio Type. @@ -183,52 +215,20 @@ public final AdditionalDataManager additionalDataManager() { public Integer wifiSignalStrength; /** - * The Wifi Battery Charge. - * Estimated remaining battery charge in percentage reported by the media endpoint. - */ - @SerializedName("wifiBatteryCharge") - @Expose - public Integer wifiBatteryCharge; - - /** - * The Dns Suffix. - * DNS suffix associated with the network adapter of the media endpoint. - */ - @SerializedName("dnsSuffix") - @Expose - public String dnsSuffix; - - /** - * The Sent Quality Event Ratio. - * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. - */ - @SerializedName("sentQualityEventRatio") - @Expose - public float sentQualityEventRatio; - - /** - * The Received Quality Event Ratio. - * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. - */ - @SerializedName("receivedQualityEventRatio") - @Expose - public float receivedQualityEventRatio; - - /** - * The Delay Event Ratio. - * Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. + * The Wifi Vendor Driver. + * Name of the WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. */ - @SerializedName("delayEventRatio") + @SerializedName("wifiVendorDriver") @Expose - public float delayEventRatio; + public String wifiVendorDriver; /** - * The Bandwidth Low Event Ratio. - * Fraction of the call that the media endpoint detected the available bandwidth or bandwidth policy was low enough to cause poor quality of the audio sent. + * The Wifi Vendor Driver Version. + * Version of the WiFi driver used by the media endpoint. */ - @SerializedName("bandwidthLowEventRatio") + @SerializedName("wifiVendorDriverVersion") @Expose - public float bandwidthLowEventRatio; + public String wifiVendorDriverVersion; /** diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/ParticipantEndpoint.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/ParticipantEndpoint.java index 3747dedd681..350f43d992d 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/ParticipantEndpoint.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/ParticipantEndpoint.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.callrecords.models.extensions.UserFeedback; +import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.callrecords.models.extensions.Endpoint; @@ -28,14 +28,6 @@ public class ParticipantEndpoint extends Endpoint implements IJsonBackedObject { - /** - * The Identity. - * Identity associated with the endpoint. - */ - @SerializedName("identity") - @Expose - public IdentitySet identity; - /** * The Feedback. * The feedback provided by the user of this endpoint about the quality of the session. @@ -44,6 +36,14 @@ public class ParticipantEndpoint extends Endpoint implements IJsonBackedObject { @Expose public UserFeedback feedback; + /** + * The Identity. + * Identity associated with the endpoint. + */ + @SerializedName("identity") + @Expose + public IdentitySet identity; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/PstnCallLogRow.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/PstnCallLogRow.java index 028125a7016..3f57d2fccaf 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/PstnCallLogRow.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/PstnCallLogRow.java @@ -36,172 +36,172 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Callee Number. * */ - @SerializedName("id") + @SerializedName("calleeNumber") @Expose - public String id; + public String calleeNumber; /** - * The Call Id. + * The Caller Number. * */ - @SerializedName("callId") + @SerializedName("callerNumber") @Expose - public String callId; + public String callerNumber; /** - * The User Id. + * The Call Id. * */ - @SerializedName("userId") + @SerializedName("callId") @Expose - public String userId; + public String callId; /** - * The User Principal Name. + * The Call Type. * */ - @SerializedName("userPrincipalName") + @SerializedName("callType") @Expose - public String userPrincipalName; + public String callType; /** - * The User Display Name. + * The Charge. * */ - @SerializedName("userDisplayName") + @SerializedName("charge") @Expose - public String userDisplayName; + public java.math.BigDecimal charge; /** - * The Start Date Time. + * The Conference Id. * */ - @SerializedName("startDateTime") + @SerializedName("conferenceId") @Expose - public java.util.Calendar startDateTime; + public String conferenceId; /** - * The End Date Time. + * The Connection Charge. * */ - @SerializedName("endDateTime") + @SerializedName("connectionCharge") @Expose - public java.util.Calendar endDateTime; + public java.math.BigDecimal connectionCharge; /** - * The Duration. + * The Currency. * */ - @SerializedName("duration") + @SerializedName("currency") @Expose - public Integer duration; + public String currency; /** - * The Charge. + * The Destination Context. * */ - @SerializedName("charge") + @SerializedName("destinationContext") @Expose - public java.math.BigDecimal charge; + public String destinationContext; /** - * The Call Type. + * The Destination Name. * */ - @SerializedName("callType") + @SerializedName("destinationName") @Expose - public String callType; + public String destinationName; /** - * The Currency. + * The Duration. * */ - @SerializedName("currency") + @SerializedName("duration") @Expose - public String currency; + public Integer duration; /** - * The Callee Number. + * The End Date Time. * */ - @SerializedName("calleeNumber") + @SerializedName("endDateTime") @Expose - public String calleeNumber; + public java.util.Calendar endDateTime; /** - * The Usage Country Code. + * The Id. * */ - @SerializedName("usageCountryCode") + @SerializedName("id") @Expose - public String usageCountryCode; + public String id; /** - * The Tenant Country Code. + * The Inventory Type. * */ - @SerializedName("tenantCountryCode") + @SerializedName("inventoryType") @Expose - public String tenantCountryCode; + public String inventoryType; /** - * The Connection Charge. + * The License Capability. * */ - @SerializedName("connectionCharge") + @SerializedName("licenseCapability") @Expose - public java.math.BigDecimal connectionCharge; + public String licenseCapability; /** - * The Caller Number. + * The Start Date Time. * */ - @SerializedName("callerNumber") + @SerializedName("startDateTime") @Expose - public String callerNumber; + public java.util.Calendar startDateTime; /** - * The Destination Context. + * The Tenant Country Code. * */ - @SerializedName("destinationContext") + @SerializedName("tenantCountryCode") @Expose - public String destinationContext; + public String tenantCountryCode; /** - * The Destination Name. + * The Usage Country Code. * */ - @SerializedName("destinationName") + @SerializedName("usageCountryCode") @Expose - public String destinationName; + public String usageCountryCode; /** - * The Conference Id. + * The User Display Name. * */ - @SerializedName("conferenceId") + @SerializedName("userDisplayName") @Expose - public String conferenceId; + public String userDisplayName; /** - * The License Capability. + * The User Id. * */ - @SerializedName("licenseCapability") + @SerializedName("userId") @Expose - public String licenseCapability; + public String userId; /** - * The Inventory Type. + * The User Principal Name. * */ - @SerializedName("inventoryType") + @SerializedName("userPrincipalName") @Expose - public String inventoryType; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/Segment.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/Segment.java index ee0b56f003b..83ec9205fae 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/Segment.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/Segment.java @@ -30,20 +30,12 @@ public class Segment extends Entity implements IJsonBackedObject { /** - * The Start Date Time. - * UTC time when the segment started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("startDateTime") - @Expose - public java.util.Calendar startDateTime; - - /** - * The End Date Time. - * UTC time when the segment ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Callee. + * Endpoint that answered this segment. */ - @SerializedName("endDateTime") + @SerializedName("callee") @Expose - public java.util.Calendar endDateTime; + public Endpoint callee; /** * The Caller. @@ -54,12 +46,12 @@ public class Segment extends Entity implements IJsonBackedObject { public Endpoint caller; /** - * The Callee. - * Endpoint that answered this segment. + * The End Date Time. + * UTC time when the segment ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("callee") + @SerializedName("endDateTime") @Expose - public Endpoint callee; + public java.util.Calendar endDateTime; /** * The Failure Info. @@ -77,6 +69,14 @@ public class Segment extends Entity implements IJsonBackedObject { @Expose public java.util.List media; + /** + * The Start Date Time. + * UTC time when the segment started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("startDateTime") + @Expose + public java.util.Calendar startDateTime; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/Session.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/Session.java index d874d20ae1c..c6cc159c9fc 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/Session.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/Session.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.callrecords.models.generated.Modality; import com.microsoft.graph.callrecords.models.extensions.Endpoint; import com.microsoft.graph.callrecords.models.extensions.FailureInfo; +import com.microsoft.graph.callrecords.models.generated.Modality; import com.microsoft.graph.callrecords.models.extensions.Segment; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.callrecords.requests.extensions.SegmentCollectionResponse; @@ -33,20 +33,20 @@ public class Session extends Entity implements IJsonBackedObject { /** - * The Modalities. - * List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * The Callee. + * Endpoint that answered the session. */ - @SerializedName("modalities") + @SerializedName("callee") @Expose - public java.util.List modalities; + public Endpoint callee; /** - * The Start Date Time. - * UTC fime when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Caller. + * Endpoint that initiated the session. */ - @SerializedName("startDateTime") + @SerializedName("caller") @Expose - public java.util.Calendar startDateTime; + public Endpoint caller; /** * The End Date Time. @@ -57,28 +57,28 @@ public class Session extends Entity implements IJsonBackedObject { public java.util.Calendar endDateTime; /** - * The Caller. - * Endpoint that initiated the session. + * The Failure Info. + * Failure information associated with the session if the session failed. */ - @SerializedName("caller") + @SerializedName("failureInfo") @Expose - public Endpoint caller; + public FailureInfo failureInfo; /** - * The Callee. - * Endpoint that answered the session. + * The Modalities. + * List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. */ - @SerializedName("callee") + @SerializedName("modalities") @Expose - public Endpoint callee; + public java.util.List modalities; /** - * The Failure Info. - * Failure information associated with the session if the session failed. + * The Start Date Time. + * UTC fime when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("failureInfo") + @SerializedName("startDateTime") @Expose - public FailureInfo failureInfo; + public java.util.Calendar startDateTime; /** * The Segments. diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserAgent.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserAgent.java index 85ef2a8ac4c..ad896c45d9b 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserAgent.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserAgent.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Header Value. - * User-agent header value reported by this endpoint. - */ - @SerializedName("headerValue") - @Expose - public String headerValue; - /** * The Application Version. * Identifies the version of application software used by this endpoint. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String applicationVersion; + /** + * The Header Value. + * User-agent header value reported by this endpoint. + */ + @SerializedName("headerValue") + @Expose + public String headerValue; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserFeedback.java b/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserFeedback.java index ee8d64407a1..d83cad9a1ce 100644 --- a/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserFeedback.java +++ b/src/main/java/com/microsoft/graph/callrecords/models/extensions/UserFeedback.java @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Text. - * The feedback text provided by the user of this endpoint for the session. - */ - @SerializedName("text") - @Expose - public String text; - /** * The Rating. * The rating provided by the user of this endpoint about the quality of this Session. Possible values are: notRated, bad, poor, fair, good, excellent, unknownFutureValue. @@ -53,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public UserFeedbackRating rating; + /** + * The Text. + * The feedback text provided by the user of this endpoint for the session. + */ + @SerializedName("text") + @Expose + public String text; + /** * The Tokens. * The set of feedback tokens provided by the user of this endpoint for the session. This is a set of Boolean properties. The property names should not be relied upon since they may change depending on what tokens are offered to the user. diff --git a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordCollectionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordCollectionRequest.java index 618b1e575ae..9d1025d5b30 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordCollectionRequest.java @@ -62,14 +62,14 @@ public ICallRecordCollectionPage get() throws ClientException { public void post(final CallRecord newCallRecord, final ICallback callback) { final String requestUrl = getBaseRequest().getRequestUrl().toString(); new CallRecordRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) + .buildRequest(getBaseRequest().getHeaders()) .post(newCallRecord, callback); } public CallRecord post(final CallRecord newCallRecord) throws ClientException { final String requestUrl = getBaseRequest().getRequestUrl().toString(); return new CallRecordRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) + .buildRequest(getBaseRequest().getHeaders()) .post(newCallRecord); } @@ -106,6 +106,27 @@ public ICallRecordCollectionRequest top(final int value) { return (CallRecordCollectionRequest)this; } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + public ICallRecordCollectionRequest skip(final int value) { + addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + "")); + return (CallRecordCollectionRequest)this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + public ICallRecordCollectionRequest skipToken(final String skipToken) { + addQueryOption(new QueryOption("$skiptoken", skipToken)); + return (ICallRecordCollectionRequest)this; + } public ICallRecordCollectionPage buildFromResponse(final CallRecordCollectionResponse response) { final ICallRecordCollectionRequestBuilder builder; if (response.nextLink != null) { 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/ICallRecordCollectionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordCollectionRequest.java index cfe2e42a526..88bda68ddff 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordCollectionRequest.java @@ -53,4 +53,20 @@ public interface ICallRecordCollectionRequest { */ ICallRecordCollectionRequest top(final int value); + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + ICallRecordCollectionRequest skip(final int value); + + /** + * Sets the skip token value for the request + * + * @param skipToken value for pagination + * + * @return the updated request + */ + ICallRecordCollectionRequest skipToken(String skipToken); } 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/ISegmentCollectionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentCollectionRequest.java index 6640abe1574..25102d4c87d 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentCollectionRequest.java @@ -53,4 +53,20 @@ public interface ISegmentCollectionRequest { */ ISegmentCollectionRequest top(final int value); + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + ISegmentCollectionRequest skip(final int value); + + /** + * Sets the skip token value for the request + * + * @param skipToken value for pagination + * + * @return the updated request + */ + ISegmentCollectionRequest skipToken(String skipToken); } 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/ISessionCollectionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionCollectionRequest.java index 760ecebe82c..c84c639a2db 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionCollectionRequest.java @@ -53,4 +53,20 @@ public interface ISessionCollectionRequest { */ ISessionCollectionRequest top(final int value); + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + ISessionCollectionRequest skip(final int value); + + /** + * Sets the skip token value for the request + * + * @param skipToken value for pagination + * + * @return the updated request + */ + ISessionCollectionRequest skipToken(String skipToken); } 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/SegmentCollectionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentCollectionRequest.java index 6db6e25de15..44aec3ec9c1 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentCollectionRequest.java @@ -62,14 +62,14 @@ public ISegmentCollectionPage get() throws ClientException { public void post(final Segment newSegment, final ICallback callback) { final String requestUrl = getBaseRequest().getRequestUrl().toString(); new SegmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) + .buildRequest(getBaseRequest().getHeaders()) .post(newSegment, callback); } public Segment post(final Segment newSegment) throws ClientException { final String requestUrl = getBaseRequest().getRequestUrl().toString(); return new SegmentRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) + .buildRequest(getBaseRequest().getHeaders()) .post(newSegment); } @@ -106,6 +106,27 @@ public ISegmentCollectionRequest top(final int value) { return (SegmentCollectionRequest)this; } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + public ISegmentCollectionRequest skip(final int value) { + addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + "")); + return (SegmentCollectionRequest)this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + public ISegmentCollectionRequest skipToken(final String skipToken) { + addQueryOption(new QueryOption("$skiptoken", skipToken)); + return (ISegmentCollectionRequest)this; + } public ISegmentCollectionPage buildFromResponse(final SegmentCollectionResponse response) { final ISegmentCollectionRequestBuilder builder; if (response.nextLink != null) { 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/SessionCollectionRequest.java b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionCollectionRequest.java index 99e407db479..56fb45789a2 100644 --- a/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionCollectionRequest.java @@ -62,14 +62,14 @@ public ISessionCollectionPage get() throws ClientException { public void post(final Session newSession, final ICallback callback) { final String requestUrl = getBaseRequest().getRequestUrl().toString(); new SessionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) + .buildRequest(getBaseRequest().getHeaders()) .post(newSession, callback); } public Session post(final Session newSession) throws ClientException { final String requestUrl = getBaseRequest().getRequestUrl().toString(); return new SessionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null) - .buildRequest(getBaseRequest().getOptions()) + .buildRequest(getBaseRequest().getHeaders()) .post(newSession); } @@ -106,6 +106,27 @@ public ISessionCollectionRequest top(final int value) { return (SessionCollectionRequest)this; } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + public ISessionCollectionRequest skip(final int value) { + addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + "")); + return (SessionCollectionRequest)this; + } + + + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + public ISessionCollectionRequest skipToken(final String skipToken) { + addQueryOption(new QueryOption("$skiptoken", skipToken)); + return (ISessionCollectionRequest)this; + } public ISessionCollectionPage buildFromResponse(final SessionCollectionResponse response) { final ISessionCollectionRequestBuilder builder; if (response.nextLink != null) { 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/models/extensions/AadUserConversationMember.java b/src/main/java/com/microsoft/graph/models/extensions/AadUserConversationMember.java index 058d4d4aa9e..3751ad7e326 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AadUserConversationMember.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AadUserConversationMember.java @@ -27,14 +27,6 @@ public class AadUserConversationMember extends ConversationMember implements IJsonBackedObject { - /** - * The User Id. - * The guid of the user. - */ - @SerializedName("userId") - @Expose - public String userId; - /** * The Email. * The email address of the user. @@ -43,6 +35,14 @@ public class AadUserConversationMember extends ConversationMember implements IJs @Expose public String email; + /** + * The User Id. + * The guid of the user. + */ + @SerializedName("userId") + @Expose + public String userId; + /** * The User. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackage.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackage.java index c9f44d90944..0d809bba609 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackage.java @@ -8,14 +8,14 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AccessPackageAssignmentPolicy; import com.microsoft.graph.models.extensions.AccessPackageCatalog; import com.microsoft.graph.models.extensions.AccessPackageResourceRoleScope; -import com.microsoft.graph.models.extensions.AccessPackageAssignmentPolicy; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleScopeCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleScopeCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageAssignmentPolicyCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageAssignmentPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleScopeCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleScopeCollectionPage; import com.google.gson.JsonObject; @@ -42,52 +42,52 @@ public class AccessPackage extends Entity implements IJsonBackedObject { public String catalogId; /** - * The Display Name. + * The Created By. * */ - @SerializedName("displayName") + @SerializedName("createdBy") @Expose - public String displayName; + public String createdBy; /** - * The Description. + * The Created Date Time. * */ - @SerializedName("description") + @SerializedName("createdDateTime") @Expose - public String description; + public java.util.Calendar createdDateTime; /** - * The Is Hidden. + * The Description. * */ - @SerializedName("isHidden") + @SerializedName("description") @Expose - public Boolean isHidden; + public String description; /** - * The Is Role Scopes Visible. + * The Display Name. * */ - @SerializedName("isRoleScopesVisible") + @SerializedName("displayName") @Expose - public Boolean isRoleScopesVisible; + public String displayName; /** - * The Created By. + * The Is Hidden. * */ - @SerializedName("createdBy") + @SerializedName("isHidden") @Expose - public String createdBy; + public Boolean isHidden; /** - * The Created Date Time. + * The Is Role Scopes Visible. * */ - @SerializedName("createdDateTime") + @SerializedName("isRoleScopesVisible") @Expose - public java.util.Calendar createdDateTime; + public Boolean isRoleScopesVisible; /** * The Modified By. @@ -105,6 +105,12 @@ public class AccessPackage extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar modifiedDateTime; + /** + * The Access Package Assignment Policies. + * + */ + public AccessPackageAssignmentPolicyCollectionPage accessPackageAssignmentPolicies; + /** * The Access Package Catalog. * @@ -119,12 +125,6 @@ public class AccessPackage extends Entity implements IJsonBackedObject { */ public AccessPackageResourceRoleScopeCollectionPage accessPackageResourceRoleScopes; - /** - * The Access Package Assignment Policies. - * - */ - public AccessPackageAssignmentPolicyCollectionPage accessPackageAssignmentPolicies; - /** * The raw representation of this class @@ -165,22 +165,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("accessPackageResourceRoleScopes")) { - final AccessPackageResourceRoleScopeCollectionResponse response = new AccessPackageResourceRoleScopeCollectionResponse(); - if (json.has("accessPackageResourceRoleScopes@odata.nextLink")) { - response.nextLink = json.get("accessPackageResourceRoleScopes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceRoleScopes").toString(), JsonObject[].class); - final AccessPackageResourceRoleScope[] array = new AccessPackageResourceRoleScope[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceRoleScope.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - accessPackageResourceRoleScopes = new AccessPackageResourceRoleScopeCollectionPage(response, null); - } - if (json.has("accessPackageAssignmentPolicies")) { final AccessPackageAssignmentPolicyCollectionResponse response = new AccessPackageAssignmentPolicyCollectionResponse(); if (json.has("accessPackageAssignmentPolicies@odata.nextLink")) { @@ -196,5 +180,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); accessPackageAssignmentPolicies = new AccessPackageAssignmentPolicyCollectionPage(response, null); } + + if (json.has("accessPackageResourceRoleScopes")) { + final AccessPackageResourceRoleScopeCollectionResponse response = new AccessPackageResourceRoleScopeCollectionResponse(); + if (json.has("accessPackageResourceRoleScopes@odata.nextLink")) { + response.nextLink = json.get("accessPackageResourceRoleScopes@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceRoleScopes").toString(), JsonObject[].class); + final AccessPackageResourceRoleScope[] array = new AccessPackageResourceRoleScope[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceRoleScope.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + accessPackageResourceRoleScopes = new AccessPackageResourceRoleScopeCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignment.java index 014bacd0727..d4836483ddd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignment.java @@ -8,11 +8,12 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RequestSchedule; import com.microsoft.graph.models.extensions.AccessPackage; import com.microsoft.graph.models.extensions.AccessPackageAssignmentPolicy; -import com.microsoft.graph.models.extensions.AccessPackageSubject; import com.microsoft.graph.models.extensions.AccessPackageAssignmentRequest; import com.microsoft.graph.models.extensions.AccessPackageAssignmentResourceRole; +import com.microsoft.graph.models.extensions.AccessPackageSubject; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.AccessPackageAssignmentRequestCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageAssignmentRequestCollectionPage; @@ -35,14 +36,6 @@ public class AccessPackageAssignment extends Entity implements IJsonBackedObject { - /** - * The Catalog Id. - * - */ - @SerializedName("catalogId") - @Expose - public String catalogId; - /** * The Access Package Id. * @@ -60,12 +53,12 @@ public class AccessPackageAssignment extends Entity implements IJsonBackedObject public String assignmentPolicyId; /** - * The Target Id. + * The Assignment State. * */ - @SerializedName("targetId") + @SerializedName("assignmentState") @Expose - public String targetId; + public String assignmentState; /** * The Assignment Status. @@ -76,12 +69,20 @@ public class AccessPackageAssignment extends Entity implements IJsonBackedObject public String assignmentStatus; /** - * The Assignment State. + * The Catalog Id. * */ - @SerializedName("assignmentState") + @SerializedName("catalogId") @Expose - public String assignmentState; + public String catalogId; + + /** + * The Expired Date Time. + * + */ + @SerializedName("expiredDateTime") + @Expose + public java.util.Calendar expiredDateTime; /** * The Is Extended. @@ -92,12 +93,20 @@ public class AccessPackageAssignment extends Entity implements IJsonBackedObject public Boolean isExtended; /** - * The Expired Date Time. + * The Schedule. * */ - @SerializedName("expiredDateTime") + @SerializedName("schedule") @Expose - public java.util.Calendar expiredDateTime; + public RequestSchedule schedule; + + /** + * The Target Id. + * + */ + @SerializedName("targetId") + @Expose + public String targetId; /** * The Access Package. @@ -115,14 +124,6 @@ public class AccessPackageAssignment extends Entity implements IJsonBackedObject @Expose public AccessPackageAssignmentPolicy accessPackageAssignmentPolicy; - /** - * The Target. - * - */ - @SerializedName("target") - @Expose - public AccessPackageSubject target; - /** * The Access Package Assignment Requests. * @@ -135,6 +136,14 @@ public class AccessPackageAssignment extends Entity implements IJsonBackedObject */ public AccessPackageAssignmentResourceRoleCollectionPage accessPackageAssignmentResourceRoles; + /** + * The Target. + * + */ + @SerializedName("target") + @Expose + public AccessPackageSubject target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentPolicy.java index 62f067e1c95..953781a3e14 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentPolicy.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RequestorSettings; -import com.microsoft.graph.models.extensions.ApprovalSettings; import com.microsoft.graph.models.extensions.AssignmentReviewSettings; +import com.microsoft.graph.models.extensions.ApprovalSettings; +import com.microsoft.graph.models.extensions.RequestorSettings; import com.microsoft.graph.models.extensions.AccessPackage; import com.microsoft.graph.models.extensions.AccessPackageCatalog; import com.microsoft.graph.models.extensions.Entity; @@ -40,60 +40,68 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked public String accessPackageId; /** - * The Display Name. + * The Access Review Settings. * */ - @SerializedName("displayName") + @SerializedName("accessReviewSettings") @Expose - public String displayName; + public AssignmentReviewSettings accessReviewSettings; /** - * The Description. + * The Can Extend. * */ - @SerializedName("description") + @SerializedName("canExtend") @Expose - public String description; + public Boolean canExtend; /** - * The Can Extend. + * The Created By. * */ - @SerializedName("canExtend") + @SerializedName("createdBy") @Expose - public Boolean canExtend; + public String createdBy; /** - * The Duration In Days. + * The Created Date Time. * */ - @SerializedName("durationInDays") + @SerializedName("createdDateTime") @Expose - public Integer durationInDays; + public java.util.Calendar createdDateTime; /** - * The Expiration Date Time. + * The Description. * */ - @SerializedName("expirationDateTime") + @SerializedName("description") @Expose - public java.util.Calendar expirationDateTime; + public String description; /** - * The Created By. + * The Display Name. * */ - @SerializedName("createdBy") + @SerializedName("displayName") @Expose - public String createdBy; + public String displayName; /** - * The Created Date Time. + * The Duration In Days. * */ - @SerializedName("createdDateTime") + @SerializedName("durationInDays") @Expose - public java.util.Calendar createdDateTime; + public Integer durationInDays; + + /** + * The Expiration Date Time. + * + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; /** * The Modified By. @@ -111,14 +119,6 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked @Expose public java.util.Calendar modifiedDateTime; - /** - * The Requestor Settings. - * - */ - @SerializedName("requestorSettings") - @Expose - public RequestorSettings requestorSettings; - /** * The Request Approval Settings. * @@ -128,12 +128,12 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked public ApprovalSettings requestApprovalSettings; /** - * The Access Review Settings. + * The Requestor Settings. * */ - @SerializedName("accessReviewSettings") + @SerializedName("requestorSettings") @Expose - public AssignmentReviewSettings accessReviewSettings; + public RequestorSettings requestorSettings; /** * The Access Package. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentRequest.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentRequest.java index 31ceb2ae559..7e7bfa8c10b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentRequest.java @@ -8,6 +8,7 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.RequestSchedule; import com.microsoft.graph.models.extensions.AccessPackage; import com.microsoft.graph.models.extensions.AccessPackageAssignment; import com.microsoft.graph.models.extensions.AccessPackageSubject; @@ -30,28 +31,28 @@ public class AccessPackageAssignmentRequest extends Entity implements IJsonBacke /** - * The Request Type. + * The Completed Date. * */ - @SerializedName("requestType") + @SerializedName("completedDate") @Expose - public String requestType; + public java.util.Calendar completedDate; /** - * The Request State. + * The Created Date Time. * */ - @SerializedName("requestState") + @SerializedName("createdDateTime") @Expose - public String requestState; + public java.util.Calendar createdDateTime; /** - * The Request Status. + * The Expiration Date Time. * */ - @SerializedName("requestStatus") + @SerializedName("expirationDateTime") @Expose - public String requestStatus; + public java.util.Calendar expirationDateTime; /** * The Is Validation Only. @@ -62,36 +63,44 @@ public class AccessPackageAssignmentRequest extends Entity implements IJsonBacke public Boolean isValidationOnly; /** - * The Created Date Time. + * The Justification. * */ - @SerializedName("createdDateTime") + @SerializedName("justification") @Expose - public java.util.Calendar createdDateTime; + public String justification; /** - * The Completed Date. + * The Request State. * */ - @SerializedName("completedDate") + @SerializedName("requestState") @Expose - public java.util.Calendar completedDate; + public String requestState; /** - * The Expiration Date Time. + * The Request Status. * */ - @SerializedName("expirationDateTime") + @SerializedName("requestStatus") @Expose - public java.util.Calendar expirationDateTime; + public String requestStatus; /** - * The Justification. + * The Request Type. * */ - @SerializedName("justification") + @SerializedName("requestType") @Expose - public String justification; + public String requestType; + + /** + * The Schedule. + * + */ + @SerializedName("schedule") + @Expose + public RequestSchedule schedule; /** * The Access Package. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentResourceRole.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentResourceRole.java index 7d7c94fd666..20e0a029f42 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentResourceRole.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageAssignmentResourceRole.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AccessPackageResourceScope; +import com.microsoft.graph.models.extensions.AccessPackageAssignment; import com.microsoft.graph.models.extensions.AccessPackageResourceRole; +import com.microsoft.graph.models.extensions.AccessPackageResourceScope; import com.microsoft.graph.models.extensions.AccessPackageSubject; -import com.microsoft.graph.models.extensions.AccessPackageAssignment; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.AccessPackageAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageAssignmentCollectionPage; @@ -57,12 +57,10 @@ public class AccessPackageAssignmentResourceRole extends Entity implements IJson public String status; /** - * The Access Package Resource Scope. + * The Access Package Assignments. * */ - @SerializedName("accessPackageResourceScope") - @Expose - public AccessPackageResourceScope accessPackageResourceScope; + public AccessPackageAssignmentCollectionPage accessPackageAssignments; /** * The Access Package Resource Role. @@ -73,18 +71,20 @@ public class AccessPackageAssignmentResourceRole extends Entity implements IJson public AccessPackageResourceRole accessPackageResourceRole; /** - * The Access Package Subject. + * The Access Package Resource Scope. * */ - @SerializedName("accessPackageSubject") + @SerializedName("accessPackageResourceScope") @Expose - public AccessPackageSubject accessPackageSubject; + public AccessPackageResourceScope accessPackageResourceScope; /** - * The Access Package Assignments. + * The Access Package Subject. * */ - public AccessPackageAssignmentCollectionPage accessPackageAssignments; + @SerializedName("accessPackageSubject") + @Expose + public AccessPackageSubject accessPackageSubject; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageCatalog.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageCatalog.java index d0eaad204a7..843f0af7bf0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageCatalog.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageCatalog.java @@ -8,15 +8,15 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AccessPackageResource; import com.microsoft.graph.models.extensions.AccessPackageResourceRole; +import com.microsoft.graph.models.extensions.AccessPackageResource; import com.microsoft.graph.models.extensions.AccessPackageResourceScope; import com.microsoft.graph.models.extensions.AccessPackage; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleCollectionPage; +import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageResourceScopeCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageResourceScopeCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageCollectionResponse; @@ -39,60 +39,60 @@ public class AccessPackageCatalog extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Catalog Status. * */ - @SerializedName("displayName") + @SerializedName("catalogStatus") @Expose - public String displayName; + public String catalogStatus; /** - * The Description. + * The Catalog Type. * */ - @SerializedName("description") + @SerializedName("catalogType") @Expose - public String description; + public String catalogType; /** - * The Catalog Type. + * The Created By. * */ - @SerializedName("catalogType") + @SerializedName("createdBy") @Expose - public String catalogType; + public String createdBy; /** - * The Catalog Status. + * The Created Date Time. * */ - @SerializedName("catalogStatus") + @SerializedName("createdDateTime") @Expose - public String catalogStatus; + public java.util.Calendar createdDateTime; /** - * The Is Externally Visible. + * The Description. * */ - @SerializedName("isExternallyVisible") + @SerializedName("description") @Expose - public Boolean isExternallyVisible; + public String description; /** - * The Created By. + * The Display Name. * */ - @SerializedName("createdBy") + @SerializedName("displayName") @Expose - public String createdBy; + public String displayName; /** - * The Created Date Time. + * The Is Externally Visible. * */ - @SerializedName("createdDateTime") + @SerializedName("isExternallyVisible") @Expose - public java.util.Calendar createdDateTime; + public Boolean isExternallyVisible; /** * The Modified By. @@ -111,16 +111,16 @@ public class AccessPackageCatalog extends Entity implements IJsonBackedObject { public java.util.Calendar modifiedDateTime; /** - * The Access Package Resources. + * The Access Package Resource Roles. * */ - public AccessPackageResourceCollectionPage accessPackageResources; + public AccessPackageResourceRoleCollectionPage accessPackageResourceRoles; /** - * The Access Package Resource Roles. + * The Access Package Resources. * */ - public AccessPackageResourceRoleCollectionPage accessPackageResourceRoles; + public AccessPackageResourceCollectionPage accessPackageResources; /** * The Access Package Resource Scopes. @@ -174,22 +174,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("accessPackageResources")) { - final AccessPackageResourceCollectionResponse response = new AccessPackageResourceCollectionResponse(); - if (json.has("accessPackageResources@odata.nextLink")) { - response.nextLink = json.get("accessPackageResources@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResources").toString(), JsonObject[].class); - final AccessPackageResource[] array = new AccessPackageResource[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResource.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - accessPackageResources = new AccessPackageResourceCollectionPage(response, null); - } - if (json.has("accessPackageResourceRoles")) { final AccessPackageResourceRoleCollectionResponse response = new AccessPackageResourceRoleCollectionResponse(); if (json.has("accessPackageResourceRoles@odata.nextLink")) { @@ -206,6 +190,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { accessPackageResourceRoles = new AccessPackageResourceRoleCollectionPage(response, null); } + if (json.has("accessPackageResources")) { + final AccessPackageResourceCollectionResponse response = new AccessPackageResourceCollectionResponse(); + if (json.has("accessPackageResources@odata.nextLink")) { + response.nextLink = json.get("accessPackageResources@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResources").toString(), JsonObject[].class); + final AccessPackageResource[] array = new AccessPackageResource[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResource.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + accessPackageResources = new AccessPackageResourceCollectionPage(response, null); + } + if (json.has("accessPackageResourceScopes")) { final AccessPackageResourceScopeCollectionResponse response = new AccessPackageResourceScopeCollectionResponse(); if (json.has("accessPackageResourceScopes@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResource.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResource.java index 1b8793687b6..aecb911e1ef 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResource.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AccessPackageResourceScope; import com.microsoft.graph.models.extensions.AccessPackageResourceRole; +import com.microsoft.graph.models.extensions.AccessPackageResourceScope; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.AccessPackageResourceScopeCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageResourceScopeCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleCollectionPage; +import com.microsoft.graph.requests.extensions.AccessPackageResourceScopeCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageResourceScopeCollectionPage; import com.google.gson.JsonObject; @@ -33,12 +33,20 @@ public class AccessPackageResource extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Added By. * */ - @SerializedName("displayName") + @SerializedName("addedBy") @Expose - public String displayName; + public String addedBy; + + /** + * The Added On. + * + */ + @SerializedName("addedOn") + @Expose + public java.util.Calendar addedOn; /** * The Description. @@ -49,20 +57,20 @@ public class AccessPackageResource extends Entity implements IJsonBackedObject { public String description; /** - * The Url. + * The Display Name. * */ - @SerializedName("url") + @SerializedName("displayName") @Expose - public String url; + public String displayName; /** - * The Resource Type. + * The Is Pending Onboarding. * */ - @SerializedName("resourceType") + @SerializedName("isPendingOnboarding") @Expose - public String resourceType; + public Boolean isPendingOnboarding; /** * The Origin Id. @@ -81,28 +89,26 @@ public class AccessPackageResource extends Entity implements IJsonBackedObject { public String originSystem; /** - * The Is Pending Onboarding. + * The Resource Type. * */ - @SerializedName("isPendingOnboarding") + @SerializedName("resourceType") @Expose - public Boolean isPendingOnboarding; + public String resourceType; /** - * The Added By. + * The Url. * */ - @SerializedName("addedBy") + @SerializedName("url") @Expose - public String addedBy; + public String url; /** - * The Added On. + * The Access Package Resource Roles. * */ - @SerializedName("addedOn") - @Expose - public java.util.Calendar addedOn; + public AccessPackageResourceRoleCollectionPage accessPackageResourceRoles; /** * The Access Package Resource Scopes. @@ -110,12 +116,6 @@ public class AccessPackageResource extends Entity implements IJsonBackedObject { */ public AccessPackageResourceScopeCollectionPage accessPackageResourceScopes; - /** - * The Access Package Resource Roles. - * - */ - public AccessPackageResourceRoleCollectionPage accessPackageResourceRoles; - /** * The raw representation of this class @@ -156,22 +156,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("accessPackageResourceScopes")) { - final AccessPackageResourceScopeCollectionResponse response = new AccessPackageResourceScopeCollectionResponse(); - if (json.has("accessPackageResourceScopes@odata.nextLink")) { - response.nextLink = json.get("accessPackageResourceScopes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceScopes").toString(), JsonObject[].class); - final AccessPackageResourceScope[] array = new AccessPackageResourceScope[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceScope.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - accessPackageResourceScopes = new AccessPackageResourceScopeCollectionPage(response, null); - } - if (json.has("accessPackageResourceRoles")) { final AccessPackageResourceRoleCollectionResponse response = new AccessPackageResourceRoleCollectionResponse(); if (json.has("accessPackageResourceRoles@odata.nextLink")) { @@ -187,5 +171,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); accessPackageResourceRoles = new AccessPackageResourceRoleCollectionPage(response, null); } + + if (json.has("accessPackageResourceScopes")) { + final AccessPackageResourceScopeCollectionResponse response = new AccessPackageResourceScopeCollectionResponse(); + if (json.has("accessPackageResourceScopes@odata.nextLink")) { + response.nextLink = json.get("accessPackageResourceScopes@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceScopes").toString(), JsonObject[].class); + final AccessPackageResourceScope[] array = new AccessPackageResourceScope[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceScope.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + accessPackageResourceScopes = new AccessPackageResourceScopeCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRequest.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRequest.java index fc65d088d34..43ca3806295 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRequest.java @@ -44,6 +44,14 @@ public class AccessPackageResourceRequest extends Entity implements IJsonBackedO @Expose public Boolean executeImmediately; + /** + * The Expiration Date Time. + * + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + /** * The Is Validation Only. * @@ -53,12 +61,12 @@ public class AccessPackageResourceRequest extends Entity implements IJsonBackedO public Boolean isValidationOnly; /** - * The Request Type. + * The Justification. * */ - @SerializedName("requestType") + @SerializedName("justification") @Expose - public String requestType; + public String justification; /** * The Request State. @@ -77,20 +85,12 @@ public class AccessPackageResourceRequest extends Entity implements IJsonBackedO public String requestStatus; /** - * The Expiration Date Time. - * - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - - /** - * The Justification. + * The Request Type. * */ - @SerializedName("justification") + @SerializedName("requestType") @Expose - public String justification; + public String requestType; /** * The Access Package Resource. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRole.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRole.java index c157eeb7399..7ed035f72fd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRole.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceRole.java @@ -28,20 +28,20 @@ public class AccessPackageResourceRole extends Entity implements IJsonBackedObje /** - * The Display Name. + * The Description. * */ - @SerializedName("displayName") + @SerializedName("description") @Expose - public String displayName; + public String description; /** - * The Description. + * The Display Name. * */ - @SerializedName("description") + @SerializedName("displayName") @Expose - public String description; + public String displayName; /** * The Origin Id. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceScope.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceScope.java index db8b374037f..278b2292aa8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceScope.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageResourceScope.java @@ -27,6 +27,14 @@ public class AccessPackageResourceScope extends Entity implements IJsonBackedObject { + /** + * The Description. + * + */ + @SerializedName("description") + @Expose + public String description; + /** * The Display Name. * @@ -36,12 +44,12 @@ public class AccessPackageResourceScope extends Entity implements IJsonBackedObj public String displayName; /** - * The Description. + * The Is Root Scope. * */ - @SerializedName("description") + @SerializedName("isRootScope") @Expose - public String description; + public Boolean isRootScope; /** * The Origin Id. @@ -67,14 +75,6 @@ public class AccessPackageResourceScope extends Entity implements IJsonBackedObj @Expose public String roleOriginId; - /** - * The Is Root Scope. - * - */ - @SerializedName("isRootScope") - @Expose - public Boolean isRootScope; - /** * The Url. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageSubject.java b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageSubject.java index db4a2fcde0d..63aede20c38 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessPackageSubject.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessPackageSubject.java @@ -28,20 +28,20 @@ public class AccessPackageSubject extends Entity implements IJsonBackedObject { /** - * The Object Id. + * The Alt Sec Id. * */ - @SerializedName("objectId") + @SerializedName("altSecId") @Expose - public String objectId; + public String altSecId; /** - * The Alt Sec Id. + * The Connected Organization Id. * */ - @SerializedName("altSecId") + @SerializedName("connectedOrganizationId") @Expose - public String altSecId; + public String connectedOrganizationId; /** * The Display Name. @@ -52,20 +52,20 @@ public class AccessPackageSubject extends Entity implements IJsonBackedObject { public String displayName; /** - * The Principal Name. + * The Email. * */ - @SerializedName("principalName") + @SerializedName("email") @Expose - public String principalName; + public String email; /** - * The Email. + * The Object Id. * */ - @SerializedName("email") + @SerializedName("objectId") @Expose - public String email; + public String objectId; /** * The On Premises Security Identifier. @@ -76,20 +76,20 @@ public class AccessPackageSubject extends Entity implements IJsonBackedObject { public String onPremisesSecurityIdentifier; /** - * The Type. + * The Principal Name. * */ - @SerializedName("type") + @SerializedName("principalName") @Expose - public String type; + public String principalName; /** - * The Connected Organization Id. + * The Type. * */ - @SerializedName("connectedOrganizationId") + @SerializedName("type") @Expose - public String connectedOrganizationId; + public String type; /** * The Connected Organization. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReview.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReview.java index 582a5e89afb..3884b16444b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReview.java @@ -9,18 +9,18 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.UserIdentity; -import com.microsoft.graph.models.extensions.AccessReviewSettings; import com.microsoft.graph.models.extensions.Identity; -import com.microsoft.graph.models.extensions.AccessReviewReviewer; +import com.microsoft.graph.models.extensions.AccessReviewSettings; import com.microsoft.graph.models.extensions.AccessReviewDecision; import com.microsoft.graph.models.extensions.AccessReview; +import com.microsoft.graph.models.extensions.AccessReviewReviewer; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.AccessReviewReviewerCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessReviewReviewerCollectionPage; import com.microsoft.graph.requests.extensions.AccessReviewDecisionCollectionResponse; import com.microsoft.graph.requests.extensions.AccessReviewDecisionCollectionPage; import com.microsoft.graph.requests.extensions.AccessReviewCollectionResponse; import com.microsoft.graph.requests.extensions.AccessReviewCollectionPage; +import com.microsoft.graph.requests.extensions.AccessReviewReviewerCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessReviewReviewerCollectionPage; import com.google.gson.JsonObject; @@ -39,52 +39,52 @@ public class AccessReview extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Business Flow Template Id. * */ - @SerializedName("displayName") + @SerializedName("businessFlowTemplateId") @Expose - public String displayName; + public String businessFlowTemplateId; /** - * The Start Date Time. + * The Created By. * */ - @SerializedName("startDateTime") + @SerializedName("createdBy") @Expose - public java.util.Calendar startDateTime; + public UserIdentity createdBy; /** - * The End Date Time. + * The Description. * */ - @SerializedName("endDateTime") + @SerializedName("description") @Expose - public java.util.Calendar endDateTime; + public String description; /** - * The Status. + * The Display Name. * */ - @SerializedName("status") + @SerializedName("displayName") @Expose - public String status; + public String displayName; /** - * The Created By. + * The End Date Time. * */ - @SerializedName("createdBy") + @SerializedName("endDateTime") @Expose - public UserIdentity createdBy; + public java.util.Calendar endDateTime; /** - * The Business Flow Template Id. + * The Reviewed Entity. * */ - @SerializedName("businessFlowTemplateId") + @SerializedName("reviewedEntity") @Expose - public String businessFlowTemplateId; + public Identity reviewedEntity; /** * The Reviewer Type. @@ -94,14 +94,6 @@ public class AccessReview extends Entity implements IJsonBackedObject { @Expose public String reviewerType; - /** - * The Description. - * - */ - @SerializedName("description") - @Expose - public String description; - /** * The Settings. * @@ -111,18 +103,20 @@ public class AccessReview extends Entity implements IJsonBackedObject { public AccessReviewSettings settings; /** - * The Reviewed Entity. + * The Start Date Time. * */ - @SerializedName("reviewedEntity") + @SerializedName("startDateTime") @Expose - public Identity reviewedEntity; + public java.util.Calendar startDateTime; /** - * The Reviewers. + * The Status. * */ - public AccessReviewReviewerCollectionPage reviewers; + @SerializedName("status") + @Expose + public String status; /** * The Decisions. @@ -130,6 +124,12 @@ public class AccessReview extends Entity implements IJsonBackedObject { */ public AccessReviewDecisionCollectionPage decisions; + /** + * The Instances. + * + */ + public AccessReviewCollectionPage instances; + /** * The My Decisions. * @@ -137,10 +137,10 @@ public class AccessReview extends Entity implements IJsonBackedObject { public AccessReviewDecisionCollectionPage myDecisions; /** - * The Instances. + * The Reviewers. * */ - public AccessReviewCollectionPage instances; + public AccessReviewReviewerCollectionPage reviewers; /** @@ -182,22 +182,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("reviewers")) { - final AccessReviewReviewerCollectionResponse response = new AccessReviewReviewerCollectionResponse(); - if (json.has("reviewers@odata.nextLink")) { - response.nextLink = json.get("reviewers@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("reviewers").toString(), JsonObject[].class); - final AccessReviewReviewer[] array = new AccessReviewReviewer[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessReviewReviewer.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - reviewers = new AccessReviewReviewerCollectionPage(response, null); - } - if (json.has("decisions")) { final AccessReviewDecisionCollectionResponse response = new AccessReviewDecisionCollectionResponse(); if (json.has("decisions@odata.nextLink")) { @@ -214,6 +198,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { decisions = new AccessReviewDecisionCollectionPage(response, null); } + if (json.has("instances")) { + final AccessReviewCollectionResponse response = new AccessReviewCollectionResponse(); + if (json.has("instances@odata.nextLink")) { + response.nextLink = json.get("instances@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("instances").toString(), JsonObject[].class); + final AccessReview[] array = new AccessReview[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessReview.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + instances = new AccessReviewCollectionPage(response, null); + } + if (json.has("myDecisions")) { final AccessReviewDecisionCollectionResponse response = new AccessReviewDecisionCollectionResponse(); if (json.has("myDecisions@odata.nextLink")) { @@ -230,20 +230,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { myDecisions = new AccessReviewDecisionCollectionPage(response, null); } - if (json.has("instances")) { - final AccessReviewCollectionResponse response = new AccessReviewCollectionResponse(); - if (json.has("instances@odata.nextLink")) { - response.nextLink = json.get("instances@odata.nextLink").getAsString(); + if (json.has("reviewers")) { + final AccessReviewReviewerCollectionResponse response = new AccessReviewReviewerCollectionResponse(); + if (json.has("reviewers@odata.nextLink")) { + response.nextLink = json.get("reviewers@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("instances").toString(), JsonObject[].class); - final AccessReview[] array = new AccessReview[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("reviewers").toString(), JsonObject[].class); + final AccessReviewReviewer[] array = new AccessReviewReviewer[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessReview.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessReviewReviewer.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - instances = new AccessReviewCollectionPage(response, null); + reviewers = new AccessReviewReviewerCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewDecision.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewDecision.java index 57f612141c3..f1945490ae3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewDecision.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewDecision.java @@ -27,6 +27,14 @@ public class AccessReviewDecision extends Entity implements IJsonBackedObject { + /** + * The Access Recommendation. + * + */ + @SerializedName("accessRecommendation") + @Expose + public String accessRecommendation; + /** * The Access Review Id. * @@ -36,28 +44,28 @@ public class AccessReviewDecision extends Entity implements IJsonBackedObject { public String accessReviewId; /** - * The Reviewed By. + * The Applied By. * */ - @SerializedName("reviewedBy") + @SerializedName("appliedBy") @Expose - public UserIdentity reviewedBy; + public UserIdentity appliedBy; /** - * The Reviewed Date Time. + * The Applied Date Time. * */ - @SerializedName("reviewedDateTime") + @SerializedName("appliedDateTime") @Expose - public java.util.Calendar reviewedDateTime; + public java.util.Calendar appliedDateTime; /** - * The Review Result. + * The Apply Result. * */ - @SerializedName("reviewResult") + @SerializedName("applyResult") @Expose - public String reviewResult; + public String applyResult; /** * The Justification. @@ -68,36 +76,28 @@ public class AccessReviewDecision extends Entity implements IJsonBackedObject { public String justification; /** - * The Applied By. - * - */ - @SerializedName("appliedBy") - @Expose - public UserIdentity appliedBy; - - /** - * The Applied Date Time. + * The Reviewed By. * */ - @SerializedName("appliedDateTime") + @SerializedName("reviewedBy") @Expose - public java.util.Calendar appliedDateTime; + public UserIdentity reviewedBy; /** - * The Apply Result. + * The Reviewed Date Time. * */ - @SerializedName("applyResult") + @SerializedName("reviewedDateTime") @Expose - public String applyResult; + public java.util.Calendar reviewedDateTime; /** - * The Access Recommendation. + * The Review Result. * */ - @SerializedName("accessRecommendation") + @SerializedName("reviewResult") @Expose - public String accessRecommendation; + public String reviewResult; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstance.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstance.java index 9ce5fdb7cde..5065ab88a28 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstance.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstance.java @@ -31,20 +31,20 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject { /** - * The Start Date Time. + * The End Date Time. * */ - @SerializedName("startDateTime") + @SerializedName("endDateTime") @Expose - public java.util.Calendar startDateTime; + public java.util.Calendar endDateTime; /** - * The End Date Time. + * The Start Date Time. * */ - @SerializedName("endDateTime") + @SerializedName("startDateTime") @Expose - public java.util.Calendar endDateTime; + public java.util.Calendar startDateTime; /** * The Status. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItem.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItem.java index a34bae2a8e2..5bc2f5b6bb2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItem.java @@ -37,20 +37,28 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac public String accessReviewId; /** - * The Reviewed By. + * The Applied By. * */ - @SerializedName("reviewedBy") + @SerializedName("appliedBy") @Expose - public UserIdentity reviewedBy; + public UserIdentity appliedBy; /** - * The Reviewed Date Time. + * The Applied Date Time. * */ - @SerializedName("reviewedDateTime") + @SerializedName("appliedDateTime") @Expose - public java.util.Calendar reviewedDateTime; + public java.util.Calendar appliedDateTime; + + /** + * The Apply Result. + * + */ + @SerializedName("applyResult") + @Expose + public String applyResult; /** * The Decision. @@ -69,36 +77,28 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac public String justification; /** - * The Applied By. - * - */ - @SerializedName("appliedBy") - @Expose - public UserIdentity appliedBy; - - /** - * The Applied Date Time. + * The Recommendation. * */ - @SerializedName("appliedDateTime") + @SerializedName("recommendation") @Expose - public java.util.Calendar appliedDateTime; + public String recommendation; /** - * The Apply Result. + * The Reviewed By. * */ - @SerializedName("applyResult") + @SerializedName("reviewedBy") @Expose - public String applyResult; + public UserIdentity reviewedBy; /** - * The Recommendation. + * The Reviewed Date Time. * */ - @SerializedName("recommendation") + @SerializedName("reviewedDateTime") @Expose - public String recommendation; + public java.util.Calendar reviewedDateTime; /** * The Target. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemServicePrincipalTarget.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemServicePrincipalTarget.java index 5de3b656987..42dd6f80d37 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemServicePrincipalTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemServicePrincipalTarget.java @@ -27,12 +27,12 @@ public class AccessReviewInstanceDecisionItemServicePrincipalTarget extends Acce /** - * The Service Principal Id. + * The App Id. * */ - @SerializedName("servicePrincipalId") + @SerializedName("appId") @Expose - public String servicePrincipalId; + public String appId; /** * The Service Principal Display Name. @@ -43,12 +43,12 @@ public class AccessReviewInstanceDecisionItemServicePrincipalTarget extends Acce public String servicePrincipalDisplayName; /** - * The App Id. + * The Service Principal Id. * */ - @SerializedName("appId") + @SerializedName("servicePrincipalId") @Expose - public String appId; + public String servicePrincipalId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemUserTarget.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemUserTarget.java index 9981ad6a890..f1fb283808f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemUserTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewInstanceDecisionItemUserTarget.java @@ -27,20 +27,20 @@ public class AccessReviewInstanceDecisionItemUserTarget extends AccessReviewInst /** - * The User Id. + * The User Display Name. * */ - @SerializedName("userId") + @SerializedName("userDisplayName") @Expose - public String userId; + public String userDisplayName; /** - * The User Display Name. + * The User Id. * */ - @SerializedName("userDisplayName") + @SerializedName("userId") @Expose - public String userDisplayName; + public String userId; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewRecurrenceSettings.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewRecurrenceSettings.java index 9910b595db4..0e497b41ffa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewRecurrenceSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewRecurrenceSettings.java @@ -36,36 +36,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Recurrence Type. + * The Duration In Days. * */ - @SerializedName("recurrenceType") + @SerializedName("durationInDays") @Expose - public String recurrenceType; + public Integer durationInDays; /** - * The Recurrence End Type. + * The Recurrence Count. * */ - @SerializedName("recurrenceEndType") + @SerializedName("recurrenceCount") @Expose - public String recurrenceEndType; + public Integer recurrenceCount; /** - * The Duration In Days. + * The Recurrence End Type. * */ - @SerializedName("durationInDays") + @SerializedName("recurrenceEndType") @Expose - public Integer durationInDays; + public String recurrenceEndType; /** - * The Recurrence Count. + * The Recurrence Type. * */ - @SerializedName("recurrenceCount") + @SerializedName("recurrenceType") @Expose - public Integer recurrenceCount; + public String recurrenceType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleDefinition.java index 47072958681..7509ee905e1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleDefinition.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.UserIdentity; -import com.microsoft.graph.models.extensions.AccessReviewScope; import com.microsoft.graph.models.extensions.AccessReviewReviewerScope; +import com.microsoft.graph.models.extensions.AccessReviewScope; import com.microsoft.graph.models.extensions.AccessReviewScheduleSettings; import com.microsoft.graph.models.extensions.AccessReviewInstance; import com.microsoft.graph.models.extensions.Entity; @@ -34,12 +34,12 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** - * The Display Name. + * The Created By. * */ - @SerializedName("displayName") + @SerializedName("createdBy") @Expose - public String displayName; + public UserIdentity createdBy; /** * The Created Date Time. @@ -50,44 +50,44 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke public java.util.Calendar createdDateTime; /** - * The Last Modified Date Time. + * The Description For Admins. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("descriptionForAdmins") @Expose - public java.util.Calendar lastModifiedDateTime; + public String descriptionForAdmins; /** - * The Status. + * The Description For Reviewers. * */ - @SerializedName("status") + @SerializedName("descriptionForReviewers") @Expose - public String status; + public String descriptionForReviewers; /** - * The Description For Admins. + * The Display Name. * */ - @SerializedName("descriptionForAdmins") + @SerializedName("displayName") @Expose - public String descriptionForAdmins; + public String displayName; /** - * The Description For Reviewers. + * The Last Modified Date Time. * */ - @SerializedName("descriptionForReviewers") + @SerializedName("lastModifiedDateTime") @Expose - public String descriptionForReviewers; + public java.util.Calendar lastModifiedDateTime; /** - * The Created By. + * The Reviewers. * */ - @SerializedName("createdBy") + @SerializedName("reviewers") @Expose - public UserIdentity createdBy; + public java.util.List reviewers; /** * The Scope. @@ -98,20 +98,20 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke public AccessReviewScope scope; /** - * The Reviewers. + * The Settings. * */ - @SerializedName("reviewers") + @SerializedName("settings") @Expose - public java.util.List reviewers; + public AccessReviewScheduleSettings settings; /** - * The Settings. + * The Status. * */ - @SerializedName("settings") + @SerializedName("status") @Expose - public AccessReviewScheduleSettings settings; + public String status; /** * The Instances. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleSettings.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleSettings.java index 83b93c001b8..ec5af866183 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewScheduleSettings.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PatternedRecurrence; import com.microsoft.graph.models.extensions.AccessReviewApplyAction; +import com.microsoft.graph.models.extensions.PatternedRecurrence; import com.google.gson.JsonObject; @@ -38,28 +38,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Mail Notifications Enabled. + * The Apply Actions. * */ - @SerializedName("mailNotificationsEnabled") + @SerializedName("applyActions") @Expose - public Boolean mailNotificationsEnabled; + public java.util.List applyActions; /** - * The Reminder Notifications Enabled. + * The Auto Apply Decisions Enabled. * */ - @SerializedName("reminderNotificationsEnabled") + @SerializedName("autoApplyDecisionsEnabled") @Expose - public Boolean reminderNotificationsEnabled; + public Boolean autoApplyDecisionsEnabled; /** - * The Justification Required On Approval. + * The Default Decision. * */ - @SerializedName("justificationRequiredOnApproval") + @SerializedName("defaultDecision") @Expose - public Boolean justificationRequiredOnApproval; + public String defaultDecision; /** * The Default Decision Enabled. @@ -70,52 +70,52 @@ public final AdditionalDataManager additionalDataManager() { public Boolean defaultDecisionEnabled; /** - * The Default Decision. + * The Instance Duration In Days. * */ - @SerializedName("defaultDecision") + @SerializedName("instanceDurationInDays") @Expose - public String defaultDecision; + public Integer instanceDurationInDays; /** - * The Instance Duration In Days. + * The Justification Required On Approval. * */ - @SerializedName("instanceDurationInDays") + @SerializedName("justificationRequiredOnApproval") @Expose - public Integer instanceDurationInDays; + public Boolean justificationRequiredOnApproval; /** - * The Recurrence. + * The Mail Notifications Enabled. * */ - @SerializedName("recurrence") + @SerializedName("mailNotificationsEnabled") @Expose - public PatternedRecurrence recurrence; + public Boolean mailNotificationsEnabled; /** - * The Auto Apply Decisions Enabled. + * The Recommendations Enabled. * */ - @SerializedName("autoApplyDecisionsEnabled") + @SerializedName("recommendationsEnabled") @Expose - public Boolean autoApplyDecisionsEnabled; + public Boolean recommendationsEnabled; /** - * The Apply Actions. + * The Recurrence. * */ - @SerializedName("applyActions") + @SerializedName("recurrence") @Expose - public java.util.List applyActions; + public PatternedRecurrence recurrence; /** - * The Recommendations Enabled. + * The Reminder Notifications Enabled. * */ - @SerializedName("recommendationsEnabled") + @SerializedName("reminderNotificationsEnabled") @Expose - public Boolean recommendationsEnabled; + public Boolean reminderNotificationsEnabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewSettings.java b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewSettings.java index 3c93aa6429e..ecc7dcb6c67 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AccessReviewSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AccessReviewSettings.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AccessReviewRecurrenceSettings; import com.microsoft.graph.models.extensions.AutoReviewSettings; +import com.microsoft.graph.models.extensions.AccessReviewRecurrenceSettings; import com.google.gson.JsonObject; @@ -38,76 +38,76 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Mail Notifications Enabled. + * The Access Recommendations Enabled. * */ - @SerializedName("mailNotificationsEnabled") + @SerializedName("accessRecommendationsEnabled") @Expose - public Boolean mailNotificationsEnabled; + public Boolean accessRecommendationsEnabled; /** - * The Reminders Enabled. + * The Activity Duration In Days. * */ - @SerializedName("remindersEnabled") + @SerializedName("activityDurationInDays") @Expose - public Boolean remindersEnabled; + public Integer activityDurationInDays; /** - * The Justification Required On Approval. + * The Auto Apply Review Results Enabled. * */ - @SerializedName("justificationRequiredOnApproval") + @SerializedName("autoApplyReviewResultsEnabled") @Expose - public Boolean justificationRequiredOnApproval; + public Boolean autoApplyReviewResultsEnabled; /** - * The Recurrence Settings. + * The Auto Review Enabled. * */ - @SerializedName("recurrenceSettings") + @SerializedName("autoReviewEnabled") @Expose - public AccessReviewRecurrenceSettings recurrenceSettings; + public Boolean autoReviewEnabled; /** - * The Auto Review Enabled. + * The Auto Review Settings. * */ - @SerializedName("autoReviewEnabled") + @SerializedName("autoReviewSettings") @Expose - public Boolean autoReviewEnabled; + public AutoReviewSettings autoReviewSettings; /** - * The Activity Duration In Days. + * The Justification Required On Approval. * */ - @SerializedName("activityDurationInDays") + @SerializedName("justificationRequiredOnApproval") @Expose - public Integer activityDurationInDays; + public Boolean justificationRequiredOnApproval; /** - * The Auto Review Settings. + * The Mail Notifications Enabled. * */ - @SerializedName("autoReviewSettings") + @SerializedName("mailNotificationsEnabled") @Expose - public AutoReviewSettings autoReviewSettings; + public Boolean mailNotificationsEnabled; /** - * The Auto Apply Review Results Enabled. + * The Recurrence Settings. * */ - @SerializedName("autoApplyReviewResultsEnabled") + @SerializedName("recurrenceSettings") @Expose - public Boolean autoApplyReviewResultsEnabled; + public AccessReviewRecurrenceSettings recurrenceSettings; /** - * The Access Recommendations Enabled. + * The Reminders Enabled. * */ - @SerializedName("accessRecommendationsEnabled") + @SerializedName("remindersEnabled") @Expose - public Boolean accessRecommendationsEnabled; + public Boolean remindersEnabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Account.java b/src/main/java/com/microsoft/graph/models/extensions/Account.java index 5fc80858df7..222ba502982 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Account.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Account.java @@ -27,52 +27,52 @@ public class Account extends Entity implements IJsonBackedObject { /** - * The Number. + * The Blocked. * */ - @SerializedName("number") + @SerializedName("blocked") @Expose - public String number; + public Boolean blocked; /** - * The Display Name. + * The Category. * */ - @SerializedName("displayName") + @SerializedName("category") @Expose - public String displayName; + public String category; /** - * The Category. + * The Display Name. * */ - @SerializedName("category") + @SerializedName("displayName") @Expose - public String category; + public String displayName; /** - * The Sub Category. + * The Last Modified Date Time. * */ - @SerializedName("subCategory") + @SerializedName("lastModifiedDateTime") @Expose - public String subCategory; + public java.util.Calendar lastModifiedDateTime; /** - * The Blocked. + * The Number. * */ - @SerializedName("blocked") + @SerializedName("number") @Expose - public Boolean blocked; + public String number; /** - * The Last Modified Date Time. + * The Sub Category. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("subCategory") @Expose - public java.util.Calendar lastModifiedDateTime; + public String subCategory; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Acl.java b/src/main/java/com/microsoft/graph/models/extensions/Acl.java index 4040df10e89..6056af66a38 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Acl.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Acl.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AclType; import com.microsoft.graph.models.generated.AccessType; +import com.microsoft.graph.models.generated.AclType; import com.google.gson.JsonObject; @@ -38,36 +38,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Type. + * The Access Type. * */ - @SerializedName("type") + @SerializedName("accessType") @Expose - public AclType type; + public AccessType accessType; /** - * The Value. + * The Identity Source. * */ - @SerializedName("value") + @SerializedName("identitySource") @Expose - public String value; + public String identitySource; /** - * The Access Type. + * The Type. * */ - @SerializedName("accessType") + @SerializedName("type") @Expose - public AccessType accessType; + public AclType type; /** - * The Identity Source. + * The Value. * */ - @SerializedName("identitySource") + @SerializedName("value") @Expose - public String identitySource; + public String value; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java b/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java index 0f440de7c09..68cf59611d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ActivityHistoryItem.java @@ -28,14 +28,6 @@ public class ActivityHistoryItem extends Entity implements IJsonBackedObject { - /** - * The Status. - * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. - */ - @SerializedName("status") - @Expose - public Status status; - /** * The Active Duration Seconds. * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime. @@ -52,6 +44,14 @@ public class ActivityHistoryItem extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar createdDateTime; + /** + * The Expiration Date Time. + * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + */ + @SerializedName("expirationDateTime") + @Expose + public java.util.Calendar expirationDateTime; + /** * The Last Active Date Time. * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. @@ -68,14 +68,6 @@ public class ActivityHistoryItem extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastModifiedDateTime; - /** - * The Expiration Date Time. - * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - /** * The Started Date Time. * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. @@ -84,6 +76,14 @@ public class ActivityHistoryItem extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar startedDateTime; + /** + * The Status. + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + */ + @SerializedName("status") + @Expose + public Status status; + /** * The User Timezone. * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ActivityStatistics.java b/src/main/java/com/microsoft/graph/models/extensions/ActivityStatistics.java index 7db54ef7b7e..c019dd53326 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ActivityStatistics.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ActivityStatistics.java @@ -36,12 +36,12 @@ public class ActivityStatistics extends Entity implements IJsonBackedObject { public AnalyticsActivityType activity; /** - * The Start Date. + * The Duration. * */ - @SerializedName("startDate") + @SerializedName("duration") @Expose - public com.microsoft.graph.models.extensions.DateOnly startDate; + public javax.xml.datatype.Duration duration; /** * The End Date. @@ -52,20 +52,20 @@ public class ActivityStatistics extends Entity implements IJsonBackedObject { public com.microsoft.graph.models.extensions.DateOnly endDate; /** - * The Time Zone Used. + * The Start Date. * */ - @SerializedName("timeZoneUsed") + @SerializedName("startDate") @Expose - public String timeZoneUsed; + public com.microsoft.graph.models.extensions.DateOnly startDate; /** - * The Duration. + * The Time Zone Used. * */ - @SerializedName("duration") + @SerializedName("timeZoneUsed") @Expose - public javax.xml.datatype.Duration duration; + public String timeZoneUsed; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AddContentFooterAction.java b/src/main/java/com/microsoft/graph/models/extensions/AddContentFooterAction.java index 97722e6c263..7139d033ad2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AddContentFooterAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AddContentFooterAction.java @@ -28,20 +28,20 @@ public class AddContentFooterAction extends InformationProtectionAction implemen /** - * The Ui Element Name. + * The Alignment. * */ - @SerializedName("uiElementName") + @SerializedName("alignment") @Expose - public String uiElementName; + public ContentAlignment alignment; /** - * The Text. + * The Font Color. * */ - @SerializedName("text") + @SerializedName("fontColor") @Expose - public String text; + public String fontColor; /** * The Font Name. @@ -60,28 +60,28 @@ public class AddContentFooterAction extends InformationProtectionAction implemen public Integer fontSize; /** - * The Font Color. + * The Margin. * */ - @SerializedName("fontColor") + @SerializedName("margin") @Expose - public String fontColor; + public Integer margin; /** - * The Alignment. + * The Text. * */ - @SerializedName("alignment") + @SerializedName("text") @Expose - public ContentAlignment alignment; + public String text; /** - * The Margin. + * The Ui Element Name. * */ - @SerializedName("margin") + @SerializedName("uiElementName") @Expose - public Integer margin; + public String uiElementName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AddContentHeaderAction.java b/src/main/java/com/microsoft/graph/models/extensions/AddContentHeaderAction.java index c2686eedf5d..33ea3d67f84 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AddContentHeaderAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AddContentHeaderAction.java @@ -28,20 +28,20 @@ public class AddContentHeaderAction extends InformationProtectionAction implemen /** - * The Ui Element Name. + * The Alignment. * */ - @SerializedName("uiElementName") + @SerializedName("alignment") @Expose - public String uiElementName; + public ContentAlignment alignment; /** - * The Text. + * The Font Color. * */ - @SerializedName("text") + @SerializedName("fontColor") @Expose - public String text; + public String fontColor; /** * The Font Name. @@ -60,28 +60,28 @@ public class AddContentHeaderAction extends InformationProtectionAction implemen public Integer fontSize; /** - * The Font Color. + * The Margin. * */ - @SerializedName("fontColor") + @SerializedName("margin") @Expose - public String fontColor; + public Integer margin; /** - * The Alignment. + * The Text. * */ - @SerializedName("alignment") + @SerializedName("text") @Expose - public ContentAlignment alignment; + public String text; /** - * The Margin. + * The Ui Element Name. * */ - @SerializedName("margin") + @SerializedName("uiElementName") @Expose - public Integer margin; + public String uiElementName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AddFooter.java b/src/main/java/com/microsoft/graph/models/extensions/AddFooter.java index 60449f4aa5b..3bbad47dc1d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AddFooter.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AddFooter.java @@ -28,20 +28,20 @@ public class AddFooter extends MarkContent implements IJsonBackedObject { /** - * The Margin. + * The Alignment. * */ - @SerializedName("margin") + @SerializedName("alignment") @Expose - public Integer margin; + public Alignment alignment; /** - * The Alignment. + * The Margin. * */ - @SerializedName("alignment") + @SerializedName("margin") @Expose - public Alignment alignment; + public Integer margin; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AddHeader.java b/src/main/java/com/microsoft/graph/models/extensions/AddHeader.java index 935e46dd688..9706b0f12c8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AddHeader.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AddHeader.java @@ -28,20 +28,20 @@ public class AddHeader extends MarkContent implements IJsonBackedObject { /** - * The Margin. + * The Alignment. * */ - @SerializedName("margin") + @SerializedName("alignment") @Expose - public Integer margin; + public Alignment alignment; /** - * The Alignment. + * The Margin. * */ - @SerializedName("alignment") + @SerializedName("margin") @Expose - public Alignment alignment; + public Integer margin; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AddIn.java b/src/main/java/com/microsoft/graph/models/extensions/AddIn.java index 7b5a7700216..19fa55659fe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AddIn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AddIn.java @@ -45,20 +45,20 @@ public final AdditionalDataManager additionalDataManager() { public java.util.UUID id; /** - * The Type. + * The Properties. * */ - @SerializedName("type") + @SerializedName("properties") @Expose - public String type; + public java.util.List properties; /** - * The Properties. + * The Type. * */ - @SerializedName("properties") + @SerializedName("type") @Expose - public java.util.List properties; + public String type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AddWatermarkAction.java b/src/main/java/com/microsoft/graph/models/extensions/AddWatermarkAction.java index 6f520b06b8d..da29ef65b33 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AddWatermarkAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AddWatermarkAction.java @@ -28,52 +28,52 @@ public class AddWatermarkAction extends InformationProtectionAction implements I /** - * The Ui Element Name. + * The Font Color. * */ - @SerializedName("uiElementName") + @SerializedName("fontColor") @Expose - public String uiElementName; + public String fontColor; /** - * The Layout. + * The Font Name. * */ - @SerializedName("layout") + @SerializedName("fontName") @Expose - public WatermarkLayout layout; + public String fontName; /** - * The Text. + * The Font Size. * */ - @SerializedName("text") + @SerializedName("fontSize") @Expose - public String text; + public Integer fontSize; /** - * The Font Name. + * The Layout. * */ - @SerializedName("fontName") + @SerializedName("layout") @Expose - public String fontName; + public WatermarkLayout layout; /** - * The Font Size. + * The Text. * */ - @SerializedName("fontSize") + @SerializedName("text") @Expose - public Integer fontSize; + public String text; /** - * The Font Color. + * The Ui Element Name. * */ - @SerializedName("fontColor") + @SerializedName("uiElementName") @Expose - public String fontColor; + public String uiElementName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AdminConsentRequestPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AdminConsentRequestPolicy.java index b0d5acf780c..ac2b7edf307 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AdminConsentRequestPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AdminConsentRequestPolicy.java @@ -35,14 +35,6 @@ public class AdminConsentRequestPolicy extends Entity implements IJsonBackedObje @Expose public Boolean isEnabled; - /** - * The Version. - * - */ - @SerializedName("version") - @Expose - public Integer version; - /** * The Notify Reviewers. * @@ -75,6 +67,14 @@ public class AdminConsentRequestPolicy extends Entity implements IJsonBackedObje @Expose public java.util.List reviewers; + /** + * The Version. + * + */ + @SerializedName("version") + @Expose + public Integer version; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java b/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java index e68a90f5ae0..146edb5abd3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AdministrativeUnit.java @@ -35,20 +35,20 @@ public class AdministrativeUnit extends DirectoryObject implements IJsonBackedOb /** - * The Display Name. + * The Description. * */ - @SerializedName("displayName") + @SerializedName("description") @Expose - public String displayName; + public String description; /** - * The Description. + * The Display Name. * */ - @SerializedName("description") + @SerializedName("displayName") @Expose - public String description; + public String displayName; /** * The Visibility. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingDeviceSettingState.java b/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingDeviceSettingState.java index d83a30cd38a..887b8d3702a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingDeviceSettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingDeviceSettingState.java @@ -28,6 +28,38 @@ public class AdvancedThreatProtectionOnboardingDeviceSettingState extends Entity implements IJsonBackedObject { + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + /** + * The Device Id. + * The Device Id that is being reported + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The Device Model. + * The device model that is being reported + */ + @SerializedName("deviceModel") + @Expose + public String deviceModel; + + /** + * The Device Name. + * The Device Name that is being reported + */ + @SerializedName("deviceName") + @Expose + public String deviceName; + /** * The Platform Type. * Device platform type @@ -53,20 +85,20 @@ public class AdvancedThreatProtectionOnboardingDeviceSettingState extends Entity public String settingName; /** - * The Device Id. - * The Device Id that is being reported + * The State. + * The compliance state of the setting */ - @SerializedName("deviceId") + @SerializedName("state") @Expose - public String deviceId; + public ComplianceStatus state; /** - * The Device Name. - * The Device Name that is being reported + * The User Email. + * The User email address that is being reported */ - @SerializedName("deviceName") + @SerializedName("userEmail") @Expose - public String deviceName; + public String userEmail; /** * The User Id. @@ -76,14 +108,6 @@ public class AdvancedThreatProtectionOnboardingDeviceSettingState extends Entity @Expose public String userId; - /** - * The User Email. - * The User email address that is being reported - */ - @SerializedName("userEmail") - @Expose - public String userEmail; - /** * The User Name. * The User Name that is being reported @@ -100,30 +124,6 @@ public class AdvancedThreatProtectionOnboardingDeviceSettingState extends Entity @Expose public String userPrincipalName; - /** - * The Device Model. - * The device model that is being reported - */ - @SerializedName("deviceModel") - @Expose - public String deviceModel; - - /** - * The State. - * The compliance state of the setting - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingStateSummary.java index 3397104b0b2..3c747f3f094 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AdvancedThreatProtectionOnboardingStateSummary.java @@ -29,22 +29,6 @@ public class AdvancedThreatProtectionOnboardingStateSummary extends Entity implements IJsonBackedObject { - /** - * The Unknown Device Count. - * Number of unknown devices - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Not Applicable Device Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - /** * The Compliant Device Count. * Number of compliant devices @@ -54,20 +38,12 @@ public class AdvancedThreatProtectionOnboardingStateSummary extends Entity imple public Integer compliantDeviceCount; /** - * The Remediated Device Count. - * Number of remediated devices - */ - @SerializedName("remediatedDeviceCount") - @Expose - public Integer remediatedDeviceCount; - - /** - * The Non Compliant Device Count. - * Number of NonCompliant devices + * The Conflict Device Count. + * Number of conflict devices */ - @SerializedName("nonCompliantDeviceCount") + @SerializedName("conflictDeviceCount") @Expose - public Integer nonCompliantDeviceCount; + public Integer conflictDeviceCount; /** * The Error Device Count. @@ -78,12 +54,20 @@ public class AdvancedThreatProtectionOnboardingStateSummary extends Entity imple public Integer errorDeviceCount; /** - * The Conflict Device Count. - * Number of conflict devices + * The Non Compliant Device Count. + * Number of NonCompliant devices */ - @SerializedName("conflictDeviceCount") + @SerializedName("nonCompliantDeviceCount") @Expose - public Integer conflictDeviceCount; + public Integer nonCompliantDeviceCount; + + /** + * The Not Applicable Device Count. + * Number of not applicable devices + */ + @SerializedName("notApplicableDeviceCount") + @Expose + public Integer notApplicableDeviceCount; /** * The Not Assigned Device Count. @@ -93,6 +77,22 @@ public class AdvancedThreatProtectionOnboardingStateSummary extends Entity imple @Expose public Integer notAssignedDeviceCount; + /** + * The Remediated Device Count. + * Number of remediated devices + */ + @SerializedName("remediatedDeviceCount") + @Expose + public Integer remediatedDeviceCount; + + /** + * The Unknown Device Count. + * Number of unknown devices + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + /** * The Advanced Threat Protection Onboarding Device Setting States. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsPayable.java b/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsPayable.java index f93876f57c3..0799c1d9392 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsPayable.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsPayable.java @@ -27,20 +27,20 @@ public class AgedAccountsPayable extends Entity implements IJsonBackedObject { /** - * The Vendor Number. + * The Aged As Of Date. * */ - @SerializedName("vendorNumber") + @SerializedName("agedAsOfDate") @Expose - public String vendorNumber; + public com.microsoft.graph.models.extensions.DateOnly agedAsOfDate; /** - * The Name. + * The Balance Due. * */ - @SerializedName("name") + @SerializedName("balanceDue") @Expose - public String name; + public java.math.BigDecimal balanceDue; /** * The Currency Code. @@ -51,20 +51,20 @@ public class AgedAccountsPayable extends Entity implements IJsonBackedObject { public String currencyCode; /** - * The Balance Due. + * The Current Amount. * */ - @SerializedName("balanceDue") + @SerializedName("currentAmount") @Expose - public java.math.BigDecimal balanceDue; + public java.math.BigDecimal currentAmount; /** - * The Current Amount. + * The Name. * */ - @SerializedName("currentAmount") + @SerializedName("name") @Expose - public java.math.BigDecimal currentAmount; + public String name; /** * The Period1Amount. @@ -91,20 +91,20 @@ public class AgedAccountsPayable extends Entity implements IJsonBackedObject { public java.math.BigDecimal period3Amount; /** - * The Aged As Of Date. + * The Period Length Filter. * */ - @SerializedName("agedAsOfDate") + @SerializedName("periodLengthFilter") @Expose - public com.microsoft.graph.models.extensions.DateOnly agedAsOfDate; + public String periodLengthFilter; /** - * The Period Length Filter. + * The Vendor Number. * */ - @SerializedName("periodLengthFilter") + @SerializedName("vendorNumber") @Expose - public String periodLengthFilter; + public String vendorNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsReceivable.java b/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsReceivable.java index b5baf3bdc84..e1e6a8e8bf8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsReceivable.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AgedAccountsReceivable.java @@ -27,20 +27,20 @@ public class AgedAccountsReceivable extends Entity implements IJsonBackedObject /** - * The Customer Number. + * The Aged As Of Date. * */ - @SerializedName("customerNumber") + @SerializedName("agedAsOfDate") @Expose - public String customerNumber; + public com.microsoft.graph.models.extensions.DateOnly agedAsOfDate; /** - * The Name. + * The Balance Due. * */ - @SerializedName("name") + @SerializedName("balanceDue") @Expose - public String name; + public java.math.BigDecimal balanceDue; /** * The Currency Code. @@ -51,20 +51,28 @@ public class AgedAccountsReceivable extends Entity implements IJsonBackedObject public String currencyCode; /** - * The Balance Due. + * The Current Amount. * */ - @SerializedName("balanceDue") + @SerializedName("currentAmount") @Expose - public java.math.BigDecimal balanceDue; + public java.math.BigDecimal currentAmount; /** - * The Current Amount. + * The Customer Number. * */ - @SerializedName("currentAmount") + @SerializedName("customerNumber") @Expose - public java.math.BigDecimal currentAmount; + public String customerNumber; + + /** + * The Name. + * + */ + @SerializedName("name") + @Expose + public String name; /** * The Period1Amount. @@ -90,14 +98,6 @@ public class AgedAccountsReceivable extends Entity implements IJsonBackedObject @Expose public java.math.BigDecimal period3Amount; - /** - * The Aged As Of Date. - * - */ - @SerializedName("agedAsOfDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly agedAsOfDate; - /** * The Period Length Filter. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/Agreement.java b/src/main/java/com/microsoft/graph/models/extensions/Agreement.java index 4c5c3be9f2e..7f968905875 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Agreement.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Agreement.java @@ -9,14 +9,14 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.TermsExpiration; +import com.microsoft.graph.models.extensions.AgreementAcceptance; import com.microsoft.graph.models.extensions.AgreementFile; import com.microsoft.graph.models.extensions.AgreementFileLocalization; -import com.microsoft.graph.models.extensions.AgreementAcceptance; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.AgreementFileLocalizationCollectionResponse; -import com.microsoft.graph.requests.extensions.AgreementFileLocalizationCollectionPage; import com.microsoft.graph.requests.extensions.AgreementAcceptanceCollectionResponse; import com.microsoft.graph.requests.extensions.AgreementAcceptanceCollectionPage; +import com.microsoft.graph.requests.extensions.AgreementFileLocalizationCollectionResponse; +import com.microsoft.graph.requests.extensions.AgreementFileLocalizationCollectionPage; import com.google.gson.JsonObject; @@ -43,36 +43,42 @@ public class Agreement extends Entity implements IJsonBackedObject { public String displayName; /** - * The Terms Expiration. + * The Is Per Device Acceptance Required. * */ - @SerializedName("termsExpiration") + @SerializedName("isPerDeviceAcceptanceRequired") @Expose - public TermsExpiration termsExpiration; + public Boolean isPerDeviceAcceptanceRequired; /** - * The User Reaccept Required Frequency. + * The Is Viewing Before Acceptance Required. * */ - @SerializedName("userReacceptRequiredFrequency") + @SerializedName("isViewingBeforeAcceptanceRequired") @Expose - public javax.xml.datatype.Duration userReacceptRequiredFrequency; + public Boolean isViewingBeforeAcceptanceRequired; /** - * The Is Viewing Before Acceptance Required. + * The Terms Expiration. * */ - @SerializedName("isViewingBeforeAcceptanceRequired") + @SerializedName("termsExpiration") @Expose - public Boolean isViewingBeforeAcceptanceRequired; + public TermsExpiration termsExpiration; /** - * The Is Per Device Acceptance Required. + * The User Reaccept Required Frequency. * */ - @SerializedName("isPerDeviceAcceptanceRequired") + @SerializedName("userReacceptRequiredFrequency") @Expose - public Boolean isPerDeviceAcceptanceRequired; + public javax.xml.datatype.Duration userReacceptRequiredFrequency; + + /** + * The Acceptances. + * + */ + public AgreementAcceptanceCollectionPage acceptances; /** * The File. @@ -88,12 +94,6 @@ public class Agreement extends Entity implements IJsonBackedObject { */ public AgreementFileLocalizationCollectionPage files; - /** - * The Acceptances. - * - */ - public AgreementAcceptanceCollectionPage acceptances; - /** * The raw representation of this class @@ -134,22 +134,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("files")) { - final AgreementFileLocalizationCollectionResponse response = new AgreementFileLocalizationCollectionResponse(); - if (json.has("files@odata.nextLink")) { - response.nextLink = json.get("files@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("files").toString(), JsonObject[].class); - final AgreementFileLocalization[] array = new AgreementFileLocalization[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AgreementFileLocalization.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - files = new AgreementFileLocalizationCollectionPage(response, null); - } - if (json.has("acceptances")) { final AgreementAcceptanceCollectionResponse response = new AgreementAcceptanceCollectionResponse(); if (json.has("acceptances@odata.nextLink")) { @@ -165,5 +149,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); acceptances = new AgreementAcceptanceCollectionPage(response, null); } + + if (json.has("files")) { + final AgreementFileLocalizationCollectionResponse response = new AgreementFileLocalizationCollectionResponse(); + if (json.has("files@odata.nextLink")) { + response.nextLink = json.get("files@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("files").toString(), JsonObject[].class); + final AgreementFileLocalization[] array = new AgreementFileLocalization[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AgreementFileLocalization.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + files = new AgreementFileLocalizationCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AgreementAcceptance.java b/src/main/java/com/microsoft/graph/models/extensions/AgreementAcceptance.java index 23559e708db..ca5dc95c002 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AgreementAcceptance.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AgreementAcceptance.java @@ -27,6 +27,14 @@ public class AgreementAcceptance extends Entity implements IJsonBackedObject { + /** + * The Agreement File Id. + * + */ + @SerializedName("agreementFileId") + @Expose + public String agreementFileId; + /** * The Agreement Id. * @@ -36,12 +44,12 @@ public class AgreementAcceptance extends Entity implements IJsonBackedObject { public String agreementId; /** - * The User Id. + * The Device Display Name. * */ - @SerializedName("userId") + @SerializedName("deviceDisplayName") @Expose - public String userId; + public String deviceDisplayName; /** * The Device Id. @@ -51,14 +59,6 @@ public class AgreementAcceptance extends Entity implements IJsonBackedObject { @Expose public String deviceId; - /** - * The Device Display Name. - * - */ - @SerializedName("deviceDisplayName") - @Expose - public String deviceDisplayName; - /** * The Device OSType. * @@ -76,60 +76,60 @@ public class AgreementAcceptance extends Entity implements IJsonBackedObject { public String deviceOSVersion; /** - * The Agreement File Id. + * The Expiration Date Time. * */ - @SerializedName("agreementFileId") + @SerializedName("expirationDateTime") @Expose - public String agreementFileId; + public java.util.Calendar expirationDateTime; /** - * The User Display Name. + * The Recorded Date Time. * */ - @SerializedName("userDisplayName") + @SerializedName("recordedDateTime") @Expose - public String userDisplayName; + public java.util.Calendar recordedDateTime; /** - * The User Principal Name. + * The State. * */ - @SerializedName("userPrincipalName") + @SerializedName("state") @Expose - public String userPrincipalName; + public AgreementAcceptanceState state; /** - * The User Email. + * The User Display Name. * */ - @SerializedName("userEmail") + @SerializedName("userDisplayName") @Expose - public String userEmail; + public String userDisplayName; /** - * The Recorded Date Time. + * The User Email. * */ - @SerializedName("recordedDateTime") + @SerializedName("userEmail") @Expose - public java.util.Calendar recordedDateTime; + public String userEmail; /** - * The Expiration Date Time. + * The User Id. * */ - @SerializedName("expirationDateTime") + @SerializedName("userId") @Expose - public java.util.Calendar expirationDateTime; + public String userId; /** - * The State. + * The User Principal Name. * */ - @SerializedName("state") + @SerializedName("userPrincipalName") @Expose - public AgreementAcceptanceState state; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AgreementFileProperties.java b/src/main/java/com/microsoft/graph/models/extensions/AgreementFileProperties.java index fcea888dc95..6924d24a543 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AgreementFileProperties.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AgreementFileProperties.java @@ -28,20 +28,20 @@ public class AgreementFileProperties extends Entity implements IJsonBackedObject /** - * The File Name. + * The File Data. * */ - @SerializedName("fileName") + @SerializedName("fileData") @Expose - public String fileName; + public AgreementFileData fileData; /** - * The Language. + * The File Name. * */ - @SerializedName("language") + @SerializedName("fileName") @Expose - public String language; + public String fileName; /** * The Is Default. @@ -52,12 +52,12 @@ public class AgreementFileProperties extends Entity implements IJsonBackedObject public Boolean isDefault; /** - * The File Data. + * The Language. * */ - @SerializedName("fileData") + @SerializedName("language") @Expose - public AgreementFileData fileData; + public String language; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AirPrintDestination.java b/src/main/java/com/microsoft/graph/models/extensions/AirPrintDestination.java index f872f9b728a..d938f281e5b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AirPrintDestination.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AirPrintDestination.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Ip Address. - * The IP Address of the AirPrint destination. + * The Force Tls. + * If true AirPrint connections are secured by Transport Layer Security (TLS). Default is false. Available in iOS 11.0 and later. */ - @SerializedName("ipAddress") + @SerializedName("forceTls") @Expose - public String ipAddress; + public Boolean forceTls; /** - * The Resource Path. - * The Resource Path associated with the printer. This corresponds to the rp parameter of the _ipps.tcp Bonjour record. For example: printers/Canon_MG5300_series, printers/Xerox_Phaser_7600, ipp/print, Epson_IPP_Printer. + * The Ip Address. + * The IP Address of the AirPrint destination. */ - @SerializedName("resourcePath") + @SerializedName("ipAddress") @Expose - public String resourcePath; + public String ipAddress; /** * The Port. @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer port; /** - * The Force Tls. - * If true AirPrint connections are secured by Transport Layer Security (TLS). Default is false. Available in iOS 11.0 and later. + * The Resource Path. + * The Resource Path associated with the printer. This corresponds to the rp parameter of the _ipps.tcp Bonjour record. For example: printers/Canon_MG5300_series, printers/Xerox_Phaser_7600, ipp/print, Epson_IPP_Printer. */ - @SerializedName("forceTls") + @SerializedName("resourcePath") @Expose - public Boolean forceTls; + public String resourcePath; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AllowedDataLocation.java b/src/main/java/com/microsoft/graph/models/extensions/AllowedDataLocation.java index 821d76131f5..809625e04f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AllowedDataLocation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AllowedDataLocation.java @@ -35,12 +35,12 @@ public class AllowedDataLocation extends Entity implements IJsonBackedObject { public String appId; /** - * The Location. + * The Domain. * */ - @SerializedName("location") + @SerializedName("domain") @Expose - public String location; + public String domain; /** * The Is Default. @@ -51,12 +51,12 @@ public class AllowedDataLocation extends Entity implements IJsonBackedObject { public Boolean isDefault; /** - * The Domain. + * The Location. * */ - @SerializedName("domain") + @SerializedName("location") @Expose - public String domain; + public String location; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java b/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java index f39d2d2e57b..6551fdf86e7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AlternativeSecurityId.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Type. - * For internal use only - */ - @SerializedName("type") - @Expose - public Integer type; - /** * The Identity Provider. * For internal use only @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public byte[] key; + /** + * The Type. + * For internal use only + */ + @SerializedName("type") + @Expose + public Integer type; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidCertificateProfileBase.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidCertificateProfileBase.java index 6eebeb73f89..21b643cd73a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidCertificateProfileBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidCertificateProfileBase.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.SubjectNameFormat; -import com.microsoft.graph.models.generated.SubjectAlternativeNameType; import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; import com.microsoft.graph.models.extensions.ExtendedKeyUsage; +import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.SubjectNameFormat; import com.microsoft.graph.models.extensions.AndroidTrustedRootCertificate; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -32,52 +32,52 @@ public class AndroidCertificateProfileBase extends DeviceConfiguration implement /** - * The Renewal Threshold Percentage. - * Certificate renewal threshold percentage. Valid values 1 to 99 + * The Certificate Validity Period Scale. + * Scale for the Certificate Validity Period. */ - @SerializedName("renewalThresholdPercentage") + @SerializedName("certificateValidityPeriodScale") @Expose - public Integer renewalThresholdPercentage; + public CertificateValidityPeriodScale certificateValidityPeriodScale; /** - * The Subject Name Format. - * Certificate Subject Name Format. + * The Certificate Validity Period Value. + * Value for the Certificate Validity Period. */ - @SerializedName("subjectNameFormat") + @SerializedName("certificateValidityPeriodValue") @Expose - public SubjectNameFormat subjectNameFormat; + public Integer certificateValidityPeriodValue; /** - * The Subject Alternative Name Type. - * Certificate Subject Alternative Name Type. + * The Extended Key Usages. + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("subjectAlternativeNameType") + @SerializedName("extendedKeyUsages") @Expose - public EnumSet subjectAlternativeNameType; + public java.util.List extendedKeyUsages; /** - * The Certificate Validity Period Value. - * Value for the Certificate Validity Period. + * The Renewal Threshold Percentage. + * Certificate renewal threshold percentage. Valid values 1 to 99 */ - @SerializedName("certificateValidityPeriodValue") + @SerializedName("renewalThresholdPercentage") @Expose - public Integer certificateValidityPeriodValue; + public Integer renewalThresholdPercentage; /** - * The Certificate Validity Period Scale. - * Scale for the Certificate Validity Period. + * The Subject Alternative Name Type. + * Certificate Subject Alternative Name Type. */ - @SerializedName("certificateValidityPeriodScale") + @SerializedName("subjectAlternativeNameType") @Expose - public CertificateValidityPeriodScale certificateValidityPeriodScale; + public EnumSet subjectAlternativeNameType; /** - * The Extended Key Usages. - * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * The Subject Name Format. + * Certificate Subject Name Format. */ - @SerializedName("extendedKeyUsages") + @SerializedName("subjectNameFormat") @Expose - public java.util.List extendedKeyUsages; + public SubjectNameFormat subjectNameFormat; /** * The Root Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java index c736f2e1a80..d8b9e3d8c8a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidCompliancePolicy.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; import com.microsoft.graph.models.extensions.AppListItem; import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; @@ -30,116 +30,124 @@ public class AndroidCompliancePolicy extends DeviceCompliancePolicy implements I /** - * The Password Required. - * Require a password to unlock device. + * The Advanced Threat Protection Required Security Level. + * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. */ - @SerializedName("passwordRequired") + @SerializedName("advancedThreatProtectionRequiredSecurityLevel") @Expose - public Boolean passwordRequired; + public DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel; /** - * The Password Minimum Length. - * Minimum password length. Valid values 4 to 16 + * The Condition Statement Id. + * Condition statement id. */ - @SerializedName("passwordMinimumLength") + @SerializedName("conditionStatementId") @Expose - public Integer passwordMinimumLength; + public String conditionStatementId; /** - * The Password Required Type. - * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection. */ - @SerializedName("passwordRequiredType") + @SerializedName("deviceThreatProtectionEnabled") @Expose - public AndroidRequiredPasswordType passwordRequiredType; + public Boolean deviceThreatProtectionEnabled; /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") @Expose - public Integer passwordMinutesOfInactivityBeforeLock; + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 365 + * The Min Android Security Patch Level. + * Minimum Android security patch level. */ - @SerializedName("passwordExpirationDays") + @SerializedName("minAndroidSecurityPatchLevel") @Expose - public Integer passwordExpirationDays; + public String minAndroidSecurityPatchLevel; /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 1 to 24 + * The Os Maximum Version. + * Maximum Android version. */ - @SerializedName("passwordPreviousPasswordBlockCount") + @SerializedName("osMaximumVersion") @Expose - public Integer passwordPreviousPasswordBlockCount; + public String osMaximumVersion; /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * The Os Minimum Version. + * Minimum Android version. */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @SerializedName("osMinimumVersion") @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; + public String osMinimumVersion; /** - * The Security Prevent Install Apps From Unknown Sources. - * Require that devices disallow installation of apps from unknown sources. + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 365 */ - @SerializedName("securityPreventInstallAppsFromUnknownSources") + @SerializedName("passwordExpirationDays") @Expose - public Boolean securityPreventInstallAppsFromUnknownSources; + public Integer passwordExpirationDays; /** - * The Security Disable Usb Debugging. - * Disable USB debugging on Android devices. + * The Password Minimum Length. + * Minimum password length. Valid values 4 to 16 */ - @SerializedName("securityDisableUsbDebugging") + @SerializedName("passwordMinimumLength") @Expose - public Boolean securityDisableUsbDebugging; + public Integer passwordMinimumLength; /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. */ - @SerializedName("securityRequireVerifyApps") + @SerializedName("passwordMinutesOfInactivityBeforeLock") @Expose - public Boolean securityRequireVerifyApps; + public Integer passwordMinutesOfInactivityBeforeLock; /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection. + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 1 to 24 */ - @SerializedName("deviceThreatProtectionEnabled") + @SerializedName("passwordPreviousPasswordBlockCount") @Expose - public Boolean deviceThreatProtectionEnabled; + public Integer passwordPreviousPasswordBlockCount; /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * The Password Required. + * Require a password to unlock device. */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @SerializedName("passwordRequired") @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + public Boolean passwordRequired; /** - * The Advanced Threat Protection Required Security Level. - * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. + * The Password Required Type. + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. */ - @SerializedName("advancedThreatProtectionRequiredSecurityLevel") + @SerializedName("passwordRequiredType") @Expose - public DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel; + public AndroidRequiredPasswordType passwordRequiredType; /** - * The Security Block Jailbroken Devices. - * Devices must not be jailbroken or rooted. + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 */ - @SerializedName("securityBlockJailbrokenDevices") + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") @Expose - public Boolean securityBlockJailbrokenDevices; + public Integer passwordSignInFailureCountBeforeFactoryReset; + + /** + * The Restricted Apps. + * Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements. + */ + @SerializedName("restrictedApps") + @Expose + public java.util.List restrictedApps; /** * The Security Block Device Administrator Managed Devices. @@ -150,36 +158,44 @@ public class AndroidCompliancePolicy extends DeviceCompliancePolicy implements I public Boolean securityBlockDeviceAdministratorManagedDevices; /** - * The Os Minimum Version. - * Minimum Android version. + * The Security Block Jailbroken Devices. + * Devices must not be jailbroken or rooted. */ - @SerializedName("osMinimumVersion") + @SerializedName("securityBlockJailbrokenDevices") @Expose - public String osMinimumVersion; + public Boolean securityBlockJailbrokenDevices; /** - * The Os Maximum Version. - * Maximum Android version. + * The Security Disable Usb Debugging. + * Disable USB debugging on Android devices. */ - @SerializedName("osMaximumVersion") + @SerializedName("securityDisableUsbDebugging") @Expose - public String osMaximumVersion; + public Boolean securityDisableUsbDebugging; /** - * The Min Android Security Patch Level. - * Minimum Android security patch level. + * The Security Prevent Install Apps From Unknown Sources. + * Require that devices disallow installation of apps from unknown sources. */ - @SerializedName("minAndroidSecurityPatchLevel") + @SerializedName("securityPreventInstallAppsFromUnknownSources") @Expose - public String minAndroidSecurityPatchLevel; + public Boolean securityPreventInstallAppsFromUnknownSources; /** - * The Storage Require Encryption. - * Require encryption on Android devices. + * The Security Require Company Portal App Integrity. + * Require the device to pass the Company Portal client app runtime integrity check. */ - @SerializedName("storageRequireEncryption") + @SerializedName("securityRequireCompanyPortalAppIntegrity") @Expose - public Boolean storageRequireEncryption; + public Boolean securityRequireCompanyPortalAppIntegrity; + + /** + * The Security Require Google Play Services. + * Require Google Play Services to be installed and enabled on the device. + */ + @SerializedName("securityRequireGooglePlayServices") + @Expose + public Boolean securityRequireGooglePlayServices; /** * The Security Require Safety Net Attestation Basic Integrity. @@ -197,14 +213,6 @@ public class AndroidCompliancePolicy extends DeviceCompliancePolicy implements I @Expose public Boolean securityRequireSafetyNetAttestationCertifiedDevice; - /** - * The Security Require Google Play Services. - * Require Google Play Services to be installed and enabled on the device. - */ - @SerializedName("securityRequireGooglePlayServices") - @Expose - public Boolean securityRequireGooglePlayServices; - /** * The Security Require Up To Date Security Providers. * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. @@ -214,28 +222,20 @@ public class AndroidCompliancePolicy extends DeviceCompliancePolicy implements I public Boolean securityRequireUpToDateSecurityProviders; /** - * The Security Require Company Portal App Integrity. - * Require the device to pass the Company Portal client app runtime integrity check. - */ - @SerializedName("securityRequireCompanyPortalAppIntegrity") - @Expose - public Boolean securityRequireCompanyPortalAppIntegrity; - - /** - * The Condition Statement Id. - * Condition statement id. + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. */ - @SerializedName("conditionStatementId") + @SerializedName("securityRequireVerifyApps") @Expose - public String conditionStatementId; + public Boolean securityRequireVerifyApps; /** - * The Restricted Apps. - * Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements. + * The Storage Require Encryption. + * Require encryption on Android devices. */ - @SerializedName("restrictedApps") + @SerializedName("storageRequireEncryption") @Expose - public java.util.List restrictedApps; + public Boolean storageRequireEncryption; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCertificateProfileBase.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCertificateProfileBase.java index e84e0fda54e..e196b510168 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCertificateProfileBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCertificateProfileBase.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.SubjectNameFormat; import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; import com.microsoft.graph.models.extensions.ExtendedKeyUsage; import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.SubjectNameFormat; import com.microsoft.graph.models.extensions.AndroidDeviceOwnerTrustedRootCertificate; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -32,20 +32,12 @@ public class AndroidDeviceOwnerCertificateProfileBase extends DeviceConfiguratio /** - * The Renewal Threshold Percentage. - * Certificate renewal threshold percentage. Valid values 1 to 99 - */ - @SerializedName("renewalThresholdPercentage") - @Expose - public Integer renewalThresholdPercentage; - - /** - * The Subject Name Format. - * Certificate Subject Name Format. + * The Certificate Validity Period Scale. + * Scale for the Certificate Validity Period. */ - @SerializedName("subjectNameFormat") + @SerializedName("certificateValidityPeriodScale") @Expose - public SubjectNameFormat subjectNameFormat; + public CertificateValidityPeriodScale certificateValidityPeriodScale; /** * The Certificate Validity Period Value. @@ -55,14 +47,6 @@ public class AndroidDeviceOwnerCertificateProfileBase extends DeviceConfiguratio @Expose public Integer certificateValidityPeriodValue; - /** - * The Certificate Validity Period Scale. - * Scale for the Certificate Validity Period. - */ - @SerializedName("certificateValidityPeriodScale") - @Expose - public CertificateValidityPeriodScale certificateValidityPeriodScale; - /** * The Extended Key Usages. * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. @@ -71,6 +55,14 @@ public class AndroidDeviceOwnerCertificateProfileBase extends DeviceConfiguratio @Expose public java.util.List extendedKeyUsages; + /** + * The Renewal Threshold Percentage. + * Certificate renewal threshold percentage. Valid values 1 to 99 + */ + @SerializedName("renewalThresholdPercentage") + @Expose + public Integer renewalThresholdPercentage; + /** * The Subject Alternative Name Type. * Certificate Subject Alternative Name Type. @@ -79,6 +71,14 @@ public class AndroidDeviceOwnerCertificateProfileBase extends DeviceConfiguratio @Expose public EnumSet subjectAlternativeNameType; + /** + * The Subject Name Format. + * Certificate Subject Name Format. + */ + @SerializedName("subjectNameFormat") + @Expose + public SubjectNameFormat subjectNameFormat; + /** * The Root Certificate. * Trusted Root Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCompliancePolicy.java index 3cccc6a91fc..672d881465e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerCompliancePolicy.java @@ -28,22 +28,6 @@ public class AndroidDeviceOwnerCompliancePolicy extends DeviceCompliancePolicy implements IJsonBackedObject { - /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection. - */ - @SerializedName("deviceThreatProtectionEnabled") - @Expose - public Boolean deviceThreatProtectionEnabled; - - /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. - */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") - @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; - /** * The Advanced Threat Protection Required Security Level. * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. @@ -53,28 +37,28 @@ public class AndroidDeviceOwnerCompliancePolicy extends DeviceCompliancePolicy i public DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel; /** - * The Security Require Safety Net Attestation Basic Integrity. - * Require the device to pass the SafetyNet basic integrity check. + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection. */ - @SerializedName("securityRequireSafetyNetAttestationBasicIntegrity") + @SerializedName("deviceThreatProtectionEnabled") @Expose - public Boolean securityRequireSafetyNetAttestationBasicIntegrity; + public Boolean deviceThreatProtectionEnabled; /** - * The Security Require Safety Net Attestation Certified Device. - * Require the device to pass the SafetyNet certified device check. + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. */ - @SerializedName("securityRequireSafetyNetAttestationCertifiedDevice") + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") @Expose - public Boolean securityRequireSafetyNetAttestationCertifiedDevice; + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; /** - * The Os Minimum Version. - * Minimum Android version. + * The Min Android Security Patch Level. + * Minimum Android security patch level. */ - @SerializedName("osMinimumVersion") + @SerializedName("minAndroidSecurityPatchLevel") @Expose - public String osMinimumVersion; + public String minAndroidSecurityPatchLevel; /** * The Os Maximum Version. @@ -85,20 +69,20 @@ public class AndroidDeviceOwnerCompliancePolicy extends DeviceCompliancePolicy i public String osMaximumVersion; /** - * The Min Android Security Patch Level. - * Minimum Android security patch level. + * The Os Minimum Version. + * Minimum Android version. */ - @SerializedName("minAndroidSecurityPatchLevel") + @SerializedName("osMinimumVersion") @Expose - public String minAndroidSecurityPatchLevel; + public String osMinimumVersion; /** - * The Password Required. - * Require a password to unlock device. + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 365 */ - @SerializedName("passwordRequired") + @SerializedName("passwordExpirationDays") @Expose - public Boolean passwordRequired; + public Integer passwordExpirationDays; /** * The Password Minimum Length. @@ -156,14 +140,6 @@ public class AndroidDeviceOwnerCompliancePolicy extends DeviceCompliancePolicy i @Expose public Integer passwordMinimumUpperCaseCharacters; - /** - * The Password Required Type. - * Type of characters in password - */ - @SerializedName("passwordRequiredType") - @Expose - public AndroidDeviceOwnerRequiredPasswordType passwordRequiredType; - /** * The Password Minutes Of Inactivity Before Lock. * Minutes of inactivity before a password is required. @@ -172,14 +148,6 @@ public class AndroidDeviceOwnerCompliancePolicy extends DeviceCompliancePolicy i @Expose public Integer passwordMinutesOfInactivityBeforeLock; - /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 365 - */ - @SerializedName("passwordExpirationDays") - @Expose - public Integer passwordExpirationDays; - /** * The Password Previous Password Count To Block. * Number of previous passwords to block. Valid values 1 to 24 @@ -188,6 +156,38 @@ public class AndroidDeviceOwnerCompliancePolicy extends DeviceCompliancePolicy i @Expose public Integer passwordPreviousPasswordCountToBlock; + /** + * The Password Required. + * Require a password to unlock device. + */ + @SerializedName("passwordRequired") + @Expose + public Boolean passwordRequired; + + /** + * The Password Required Type. + * Type of characters in password + */ + @SerializedName("passwordRequiredType") + @Expose + public AndroidDeviceOwnerRequiredPasswordType passwordRequiredType; + + /** + * The Security Require Safety Net Attestation Basic Integrity. + * Require the device to pass the SafetyNet basic integrity check. + */ + @SerializedName("securityRequireSafetyNetAttestationBasicIntegrity") + @Expose + public Boolean securityRequireSafetyNetAttestationBasicIntegrity; + + /** + * The Security Require Safety Net Attestation Certified Device. + * Require the device to pass the SafetyNet certified device check. + */ + @SerializedName("securityRequireSafetyNetAttestationCertifiedDevice") + @Expose + public Boolean securityRequireSafetyNetAttestationCertifiedDevice; + /** * The Storage Require Encryption. * Require encryption on Android devices. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnrollmentProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnrollmentProfile.java index 2e7c0a7bd92..d32fd8242a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnrollmentProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnrollmentProfile.java @@ -36,30 +36,6 @@ public class AndroidDeviceOwnerEnrollmentProfile extends Entity implements IJson @Expose public String accountId; - /** - * The Display Name. - * Display name for the enrollment profile. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description for the enrollment profile. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Enrollment Mode. - * The enrollment mode of devices that use this enrollment profile. - */ - @SerializedName("enrollmentMode") - @Expose - public AndroidDeviceOwnerEnrollmentMode enrollmentMode; - /** * The Created Date Time. * Date time the enrollment profile was created. @@ -69,44 +45,44 @@ public class AndroidDeviceOwnerEnrollmentProfile extends Entity implements IJson public java.util.Calendar createdDateTime; /** - * The Last Modified Date Time. - * Date time the enrollment profile was last modified. + * The Description. + * Description for the enrollment profile. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("description") @Expose - public java.util.Calendar lastModifiedDateTime; + public String description; /** - * The Token Value. - * Value of the most recently created token for this enrollment profile. + * The Display Name. + * Display name for the enrollment profile. */ - @SerializedName("tokenValue") + @SerializedName("displayName") @Expose - public String tokenValue; + public String displayName; /** - * The Token Creation Date Time. - * Date time the most recently created token was created. + * The Enrolled Device Count. + * Total number of Android devices that have enrolled using this enrollment profile. */ - @SerializedName("tokenCreationDateTime") + @SerializedName("enrolledDeviceCount") @Expose - public java.util.Calendar tokenCreationDateTime; + public Integer enrolledDeviceCount; /** - * The Token Expiration Date Time. - * Date time the most recently created token will expire. + * The Enrollment Mode. + * The enrollment mode of devices that use this enrollment profile. */ - @SerializedName("tokenExpirationDateTime") + @SerializedName("enrollmentMode") @Expose - public java.util.Calendar tokenExpirationDateTime; + public AndroidDeviceOwnerEnrollmentMode enrollmentMode; /** - * The Enrolled Device Count. - * Total number of Android devices that have enrolled using this enrollment profile. + * The Last Modified Date Time. + * Date time the enrollment profile was last modified. */ - @SerializedName("enrolledDeviceCount") + @SerializedName("lastModifiedDateTime") @Expose - public Integer enrolledDeviceCount; + public java.util.Calendar lastModifiedDateTime; /** * The Qr Code Content. @@ -132,6 +108,30 @@ public class AndroidDeviceOwnerEnrollmentProfile extends Entity implements IJson @Expose public java.util.List roleScopeTagIds; + /** + * The Token Creation Date Time. + * Date time the most recently created token was created. + */ + @SerializedName("tokenCreationDateTime") + @Expose + public java.util.Calendar tokenCreationDateTime; + + /** + * The Token Expiration Date Time. + * Date time the most recently created token will expire. + */ + @SerializedName("tokenExpirationDateTime") + @Expose + public java.util.Calendar tokenExpirationDateTime; + + /** + * The Token Value. + * Value of the most recently created token for this enrollment profile. + */ + @SerializedName("tokenValue") + @Expose + public String tokenValue; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnterpriseWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnterpriseWiFiConfiguration.java index 7416e17efec..382c5c09958 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnterpriseWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerEnterpriseWiFiConfiguration.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.WiFiAuthenticationMethod; +import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForEapTtlsType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForPeap; -import com.microsoft.graph.models.extensions.AndroidDeviceOwnerTrustedRootCertificate; -import com.microsoft.graph.models.extensions.AndroidDeviceOwnerCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceManagementDerivedCredentialSettings; +import com.microsoft.graph.models.extensions.AndroidDeviceOwnerCertificateProfileBase; +import com.microsoft.graph.models.extensions.AndroidDeviceOwnerTrustedRootCertificate; import com.microsoft.graph.models.extensions.AndroidDeviceOwnerWiFiConfiguration; @@ -33,14 +33,6 @@ public class AndroidDeviceOwnerEnterpriseWiFiConfiguration extends AndroidDeviceOwnerWiFiConfiguration implements IJsonBackedObject { - /** - * The Eap Type. - * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). - */ - @SerializedName("eapType") - @Expose - public AndroidEapType eapType; - /** * The Authentication Method. * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. @@ -49,6 +41,14 @@ public class AndroidDeviceOwnerEnterpriseWiFiConfiguration extends AndroidDevice @Expose public WiFiAuthenticationMethod authenticationMethod; + /** + * The Eap Type. + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). + */ + @SerializedName("eapType") + @Expose + public AndroidEapType eapType; + /** * The Inner Authentication Protocol For Eap Ttls. * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. @@ -74,12 +74,12 @@ public class AndroidDeviceOwnerEnterpriseWiFiConfiguration extends AndroidDevice public String outerIdentityPrivacyTemporaryValue; /** - * The Root Certificate For Server Validation. - * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * The Derived Credential Settings. + * Tenant level settings for the Derived Credentials to be used for authentication. */ - @SerializedName("rootCertificateForServerValidation") + @SerializedName("derivedCredentialSettings") @Expose - public AndroidDeviceOwnerTrustedRootCertificate rootCertificateForServerValidation; + public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; /** * The Identity Certificate For Client Authentication. @@ -90,12 +90,12 @@ public class AndroidDeviceOwnerEnterpriseWiFiConfiguration extends AndroidDevice public AndroidDeviceOwnerCertificateProfileBase identityCertificateForClientAuthentication; /** - * The Derived Credential Settings. - * Tenant level settings for the Derived Credentials to be used for authentication. + * The Root Certificate For Server Validation. + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. */ - @SerializedName("derivedCredentialSettings") + @SerializedName("rootCertificateForServerValidation") @Expose - public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; + public AndroidDeviceOwnerTrustedRootCertificate rootCertificateForServerValidation; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGeneralDeviceConfiguration.java index 9c952c49609..c7ac8c622dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGeneralDeviceConfiguration.java @@ -10,15 +10,15 @@ import java.util.EnumSet; import com.microsoft.graph.models.generated.AndroidDeviceOwnerAppAutoUpdatePolicyType; import com.microsoft.graph.models.generated.AndroidDeviceOwnerDefaultAppPermissionPolicyType; -import com.microsoft.graph.models.generated.MicrosoftLauncherDockPresence; -import com.microsoft.graph.models.generated.MicrosoftLauncherSearchBarPlacement; import com.microsoft.graph.models.generated.AndroidDeviceOwnerEnrollmentProfileType; import com.microsoft.graph.models.extensions.AndroidDeviceOwnerGlobalProxy; import com.microsoft.graph.models.extensions.AppListItem; -import com.microsoft.graph.models.generated.AndroidDeviceOwnerVirtualHomeButtonType; -import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskModeScreenOrientation; -import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskModeIconSize; import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskModeFolderIcon; +import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskModeIconSize; +import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskModeScreenOrientation; +import com.microsoft.graph.models.generated.AndroidDeviceOwnerVirtualHomeButtonType; +import com.microsoft.graph.models.generated.MicrosoftLauncherDockPresence; +import com.microsoft.graph.models.generated.MicrosoftLauncherSearchBarPlacement; import com.microsoft.graph.models.generated.AndroidKeyguardFeature; import com.microsoft.graph.models.generated.AndroidDeviceOwnerRequiredPasswordType; import com.microsoft.graph.models.generated.AndroidDeviceOwnerPlayStoreMode; @@ -123,132 +123,140 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur public Boolean certificateCredentialConfigurationDisabled; /** - * The Microsoft Launcher Configuration Enabled. - * Indicates whether or not to you want configure Microsoft Launcher. + * The Data Roaming Blocked. + * Indicates whether or not to block a user from data roaming. */ - @SerializedName("microsoftLauncherConfigurationEnabled") + @SerializedName("dataRoamingBlocked") @Expose - public Boolean microsoftLauncherConfigurationEnabled; + public Boolean dataRoamingBlocked; /** - * The Microsoft Launcher Custom Wallpaper Enabled. - * Indicates whether or not to configure the wallpaper on the targeted devices. + * The Date Time Configuration Blocked. + * Indicates whether or not to block the user from manually changing the date or time on the device */ - @SerializedName("microsoftLauncherCustomWallpaperEnabled") + @SerializedName("dateTimeConfigurationBlocked") @Expose - public Boolean microsoftLauncherCustomWallpaperEnabled; + public Boolean dateTimeConfigurationBlocked; /** - * The Microsoft Launcher Custom Wallpaper Image Url. - * Indicates the URL for the image file to use as the wallpaper on the targeted devices. + * The Enrollment Profile. + * Indicates which enrollment profile you want to configure. */ - @SerializedName("microsoftLauncherCustomWallpaperImageUrl") + @SerializedName("enrollmentProfile") @Expose - public String microsoftLauncherCustomWallpaperImageUrl; + public AndroidDeviceOwnerEnrollmentProfileType enrollmentProfile; /** - * The Microsoft Launcher Custom Wallpaper Allow User Modification. - * Indicates whether or not the user can modify the wallpaper to personalize their device. + * The Factory Reset Blocked. + * Indicates whether or not the factory reset option in settings is disabled. */ - @SerializedName("microsoftLauncherCustomWallpaperAllowUserModification") + @SerializedName("factoryResetBlocked") @Expose - public Boolean microsoftLauncherCustomWallpaperAllowUserModification; + public Boolean factoryResetBlocked; /** - * The Microsoft Launcher Feed Enabled. - * Indicates whether or not you want to enable the launcher feed on the device. + * The Factory Reset Device Administrator Emails. + * List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up. */ - @SerializedName("microsoftLauncherFeedEnabled") + @SerializedName("factoryResetDeviceAdministratorEmails") @Expose - public Boolean microsoftLauncherFeedEnabled; + public java.util.List factoryResetDeviceAdministratorEmails; /** - * The Microsoft Launcher Feed Allow User Modification. - * Indicates whether or not the user can modify the launcher feed on the device. + * The Global Proxy. + * Proxy is set up directly with host, port and excluded hosts. */ - @SerializedName("microsoftLauncherFeedAllowUserModification") + @SerializedName("globalProxy") @Expose - public Boolean microsoftLauncherFeedAllowUserModification; + public AndroidDeviceOwnerGlobalProxy globalProxy; /** - * The Microsoft Launcher Dock Presence Configuration. - * Indicates whether or not you want to configure the device dock. + * The Google Accounts Blocked. + * Indicates whether or not google accounts will be blocked. */ - @SerializedName("microsoftLauncherDockPresenceConfiguration") + @SerializedName("googleAccountsBlocked") @Expose - public MicrosoftLauncherDockPresence microsoftLauncherDockPresenceConfiguration; + public Boolean googleAccountsBlocked; /** - * The Microsoft Launcher Dock Presence Allow User Modification. - * Indicates whether or not the user can modify the device dock configuration on the device. + * The Kiosk Mode Apps. + * A list of managed apps that will be shown when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. */ - @SerializedName("microsoftLauncherDockPresenceAllowUserModification") + @SerializedName("kioskModeApps") @Expose - public Boolean microsoftLauncherDockPresenceAllowUserModification; + public java.util.List kioskModeApps; /** - * The Microsoft Launcher Search Bar Placement Configuration. - * Indicates the search bar placement configuration on the device. + * The Kiosk Mode Bluetooth Configuration Enabled. + * Whether or not to allow a user to configure Bluetooth settings in Kiosk Mode. */ - @SerializedName("microsoftLauncherSearchBarPlacementConfiguration") + @SerializedName("kioskModeBluetoothConfigurationEnabled") @Expose - public MicrosoftLauncherSearchBarPlacement microsoftLauncherSearchBarPlacementConfiguration; + public Boolean kioskModeBluetoothConfigurationEnabled; /** - * The Enrollment Profile. - * Indicates which enrollment profile you want to configure. + * The Kiosk Mode Debug Menu Easy Access Enabled. + * Whether or not to allow a user to easy access to the debug menu in Kiosk Mode. */ - @SerializedName("enrollmentProfile") + @SerializedName("kioskModeDebugMenuEasyAccessEnabled") @Expose - public AndroidDeviceOwnerEnrollmentProfileType enrollmentProfile; + public Boolean kioskModeDebugMenuEasyAccessEnabled; /** - * The Data Roaming Blocked. - * Indicates whether or not to block a user from data roaming. + * The Kiosk Mode Exit Code. + * Exit code to allow a user to escape from Kiosk Mode when the device is in Kiosk Mode. */ - @SerializedName("dataRoamingBlocked") + @SerializedName("kioskModeExitCode") @Expose - public Boolean dataRoamingBlocked; + public String kioskModeExitCode; /** - * The Date Time Configuration Blocked. - * Indicates whether or not to block the user from manually changing the date or time on the device + * The Kiosk Mode Flashlight Configuration Enabled. + * Whether or not to allow a user to use the flashlight in Kiosk Mode. */ - @SerializedName("dateTimeConfigurationBlocked") + @SerializedName("kioskModeFlashlightConfigurationEnabled") @Expose - public Boolean dateTimeConfigurationBlocked; + public Boolean kioskModeFlashlightConfigurationEnabled; /** - * The Factory Reset Device Administrator Emails. - * List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up. + * The Kiosk Mode Folder Icon. + * Folder icon configuration for managed home screen in Kiosk Mode. */ - @SerializedName("factoryResetDeviceAdministratorEmails") + @SerializedName("kioskModeFolderIcon") @Expose - public java.util.List factoryResetDeviceAdministratorEmails; + public AndroidDeviceOwnerKioskModeFolderIcon kioskModeFolderIcon; /** - * The Factory Reset Blocked. - * Indicates whether or not the factory reset option in settings is disabled. + * The Kiosk Mode Icon Size. + * Icon size configuration for managed home screen in Kiosk Mode. */ - @SerializedName("factoryResetBlocked") + @SerializedName("kioskModeIconSize") @Expose - public Boolean factoryResetBlocked; + public AndroidDeviceOwnerKioskModeIconSize kioskModeIconSize; /** - * The Global Proxy. - * Proxy is set up directly with host, port and excluded hosts. + * The Kiosk Mode Managed Settings Entry Disabled. + * Whether or not to display the Managed Settings entry point on the managed home screen in Kiosk Mode. */ - @SerializedName("globalProxy") + @SerializedName("kioskModeManagedSettingsEntryDisabled") @Expose - public AndroidDeviceOwnerGlobalProxy globalProxy; + public Boolean kioskModeManagedSettingsEntryDisabled; /** - * The Google Accounts Blocked. - * Indicates whether or not google accounts will be blocked. + * The Kiosk Mode Media Volume Configuration Enabled. + * Whether or not to allow a user to change the media volume in Kiosk Mode. */ - @SerializedName("googleAccountsBlocked") + @SerializedName("kioskModeMediaVolumeConfigurationEnabled") @Expose - public Boolean googleAccountsBlocked; + public Boolean kioskModeMediaVolumeConfigurationEnabled; + + /** + * The Kiosk Mode Screen Orientation. + * Screen orientation configuration for managed home screen in Kiosk Mode. + */ + @SerializedName("kioskModeScreenOrientation") + @Expose + public AndroidDeviceOwnerKioskModeScreenOrientation kioskModeScreenOrientation; /** * The Kiosk Mode Screen Saver Configuration Enabled. @@ -259,12 +267,12 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur public Boolean kioskModeScreenSaverConfigurationEnabled; /** - * The Kiosk Mode Screen Saver Image Url. - * URL for an image that will be the device's screen saver in Kiosk Mode. + * The Kiosk Mode Screen Saver Detect Media Disabled. + * Whether or not the device screen should show the screen saver if audio/video is playing in Kiosk Mode. */ - @SerializedName("kioskModeScreenSaverImageUrl") + @SerializedName("kioskModeScreenSaverDetectMediaDisabled") @Expose - public String kioskModeScreenSaverImageUrl; + public Boolean kioskModeScreenSaverDetectMediaDisabled; /** * The Kiosk Mode Screen Saver Display Time In Seconds. @@ -275,44 +283,36 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur public Integer kioskModeScreenSaverDisplayTimeInSeconds; /** - * The Kiosk Mode Screen Saver Start Delay In Seconds. - * The number of seconds the device needs to be inactive for before the screen saver is shown in Kiosk Mode. Valid values 1 to 9999999 - */ - @SerializedName("kioskModeScreenSaverStartDelayInSeconds") - @Expose - public Integer kioskModeScreenSaverStartDelayInSeconds; - - /** - * The Kiosk Mode Screen Saver Detect Media Disabled. - * Whether or not the device screen should show the screen saver if audio/video is playing in Kiosk Mode. + * The Kiosk Mode Screen Saver Image Url. + * URL for an image that will be the device's screen saver in Kiosk Mode. */ - @SerializedName("kioskModeScreenSaverDetectMediaDisabled") + @SerializedName("kioskModeScreenSaverImageUrl") @Expose - public Boolean kioskModeScreenSaverDetectMediaDisabled; + public String kioskModeScreenSaverImageUrl; /** - * The Kiosk Mode Apps. - * A list of managed apps that will be shown when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * The Kiosk Mode Screen Saver Start Delay In Seconds. + * The number of seconds the device needs to be inactive for before the screen saver is shown in Kiosk Mode. Valid values 1 to 9999999 */ - @SerializedName("kioskModeApps") + @SerializedName("kioskModeScreenSaverStartDelayInSeconds") @Expose - public java.util.List kioskModeApps; + public Integer kioskModeScreenSaverStartDelayInSeconds; /** - * The Kiosk Mode Wallpaper Url. - * URL to a publicly accessible image to use for the wallpaper when the device is in Kiosk Mode. + * The Kiosk Mode Show App Notification Badge. + * Whether or not to display application notification badges in Kiosk Mode. */ - @SerializedName("kioskModeWallpaperUrl") + @SerializedName("kioskModeShowAppNotificationBadge") @Expose - public String kioskModeWallpaperUrl; + public Boolean kioskModeShowAppNotificationBadge; /** - * The Kiosk Mode Exit Code. - * Exit code to allow a user to escape from Kiosk Mode when the device is in Kiosk Mode. + * The Kiosk Mode Show Device Info. + * Whether or not to allow a user to access basic device information. */ - @SerializedName("kioskModeExitCode") + @SerializedName("kioskModeShowDeviceInfo") @Expose - public String kioskModeExitCode; + public Boolean kioskModeShowDeviceInfo; /** * The Kiosk Mode Virtual Home Button Enabled. @@ -331,108 +331,108 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur public AndroidDeviceOwnerVirtualHomeButtonType kioskModeVirtualHomeButtonType; /** - * The Kiosk Mode Bluetooth Configuration Enabled. - * Whether or not to allow a user to configure Bluetooth settings in Kiosk Mode. + * The Kiosk Mode Wallpaper Url. + * URL to a publicly accessible image to use for the wallpaper when the device is in Kiosk Mode. */ - @SerializedName("kioskModeBluetoothConfigurationEnabled") + @SerializedName("kioskModeWallpaperUrl") @Expose - public Boolean kioskModeBluetoothConfigurationEnabled; + public String kioskModeWallpaperUrl; /** - * The Kiosk Mode Wi Fi Configuration Enabled. - * Whether or not to allow a user to configure Wi-Fi settings in Kiosk Mode. + * The Kiosk Mode Wifi Allowed Ssids. + * The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements. */ - @SerializedName("kioskModeWiFiConfigurationEnabled") + @SerializedName("kioskModeWifiAllowedSsids") @Expose - public Boolean kioskModeWiFiConfigurationEnabled; + public java.util.List kioskModeWifiAllowedSsids; /** - * The Kiosk Mode Flashlight Configuration Enabled. - * Whether or not to allow a user to use the flashlight in Kiosk Mode. + * The Kiosk Mode Wi Fi Configuration Enabled. + * Whether or not to allow a user to configure Wi-Fi settings in Kiosk Mode. */ - @SerializedName("kioskModeFlashlightConfigurationEnabled") + @SerializedName("kioskModeWiFiConfigurationEnabled") @Expose - public Boolean kioskModeFlashlightConfigurationEnabled; + public Boolean kioskModeWiFiConfigurationEnabled; /** - * The Kiosk Mode Media Volume Configuration Enabled. - * Whether or not to allow a user to change the media volume in Kiosk Mode. + * The Microphone Force Mute. + * Indicates whether or not to block unmuting the microphone on the device. */ - @SerializedName("kioskModeMediaVolumeConfigurationEnabled") + @SerializedName("microphoneForceMute") @Expose - public Boolean kioskModeMediaVolumeConfigurationEnabled; + public Boolean microphoneForceMute; /** - * The Kiosk Mode Show Device Info. - * Whether or not to allow a user to access basic device information. + * The Microsoft Launcher Configuration Enabled. + * Indicates whether or not to you want configure Microsoft Launcher. */ - @SerializedName("kioskModeShowDeviceInfo") + @SerializedName("microsoftLauncherConfigurationEnabled") @Expose - public Boolean kioskModeShowDeviceInfo; + public Boolean microsoftLauncherConfigurationEnabled; /** - * The Kiosk Mode Managed Settings Entry Disabled. - * Whether or not to display the Managed Settings entry point on the managed home screen in Kiosk Mode. + * The Microsoft Launcher Custom Wallpaper Allow User Modification. + * Indicates whether or not the user can modify the wallpaper to personalize their device. */ - @SerializedName("kioskModeManagedSettingsEntryDisabled") + @SerializedName("microsoftLauncherCustomWallpaperAllowUserModification") @Expose - public Boolean kioskModeManagedSettingsEntryDisabled; + public Boolean microsoftLauncherCustomWallpaperAllowUserModification; /** - * The Kiosk Mode Debug Menu Easy Access Enabled. - * Whether or not to allow a user to easy access to the debug menu in Kiosk Mode. + * The Microsoft Launcher Custom Wallpaper Enabled. + * Indicates whether or not to configure the wallpaper on the targeted devices. */ - @SerializedName("kioskModeDebugMenuEasyAccessEnabled") + @SerializedName("microsoftLauncherCustomWallpaperEnabled") @Expose - public Boolean kioskModeDebugMenuEasyAccessEnabled; + public Boolean microsoftLauncherCustomWallpaperEnabled; /** - * The Kiosk Mode Show App Notification Badge. - * Whether or not to display application notification badges in Kiosk Mode. + * The Microsoft Launcher Custom Wallpaper Image Url. + * Indicates the URL for the image file to use as the wallpaper on the targeted devices. */ - @SerializedName("kioskModeShowAppNotificationBadge") + @SerializedName("microsoftLauncherCustomWallpaperImageUrl") @Expose - public Boolean kioskModeShowAppNotificationBadge; + public String microsoftLauncherCustomWallpaperImageUrl; /** - * The Kiosk Mode Screen Orientation. - * Screen orientation configuration for managed home screen in Kiosk Mode. + * The Microsoft Launcher Dock Presence Allow User Modification. + * Indicates whether or not the user can modify the device dock configuration on the device. */ - @SerializedName("kioskModeScreenOrientation") + @SerializedName("microsoftLauncherDockPresenceAllowUserModification") @Expose - public AndroidDeviceOwnerKioskModeScreenOrientation kioskModeScreenOrientation; + public Boolean microsoftLauncherDockPresenceAllowUserModification; /** - * The Kiosk Mode Icon Size. - * Icon size configuration for managed home screen in Kiosk Mode. + * The Microsoft Launcher Dock Presence Configuration. + * Indicates whether or not you want to configure the device dock. */ - @SerializedName("kioskModeIconSize") + @SerializedName("microsoftLauncherDockPresenceConfiguration") @Expose - public AndroidDeviceOwnerKioskModeIconSize kioskModeIconSize; + public MicrosoftLauncherDockPresence microsoftLauncherDockPresenceConfiguration; /** - * The Kiosk Mode Folder Icon. - * Folder icon configuration for managed home screen in Kiosk Mode. + * The Microsoft Launcher Feed Allow User Modification. + * Indicates whether or not the user can modify the launcher feed on the device. */ - @SerializedName("kioskModeFolderIcon") + @SerializedName("microsoftLauncherFeedAllowUserModification") @Expose - public AndroidDeviceOwnerKioskModeFolderIcon kioskModeFolderIcon; + public Boolean microsoftLauncherFeedAllowUserModification; /** - * The Kiosk Mode Wifi Allowed Ssids. - * The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements. + * The Microsoft Launcher Feed Enabled. + * Indicates whether or not you want to enable the launcher feed on the device. */ - @SerializedName("kioskModeWifiAllowedSsids") + @SerializedName("microsoftLauncherFeedEnabled") @Expose - public java.util.List kioskModeWifiAllowedSsids; + public Boolean microsoftLauncherFeedEnabled; /** - * The Microphone Force Mute. - * Indicates whether or not to block unmuting the microphone on the device. + * The Microsoft Launcher Search Bar Placement Configuration. + * Indicates the search bar placement configuration on the device. */ - @SerializedName("microphoneForceMute") + @SerializedName("microsoftLauncherSearchBarPlacementConfiguration") @Expose - public Boolean microphoneForceMute; + public MicrosoftLauncherSearchBarPlacement microsoftLauncherSearchBarPlacementConfiguration; /** * The Network Escape Hatch Allowed. @@ -643,12 +643,12 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur public Boolean storageBlockUsbFileTransfer; /** - * The System Update Window Start Minutes After Midnight. - * Indicates the number of minutes after midnight that the system update window starts. Valid values 0 to 1440 + * The System Update Install Type. + * The type of system update configuration. */ - @SerializedName("systemUpdateWindowStartMinutesAfterMidnight") + @SerializedName("systemUpdateInstallType") @Expose - public Integer systemUpdateWindowStartMinutesAfterMidnight; + public AndroidDeviceOwnerSystemUpdateInstallType systemUpdateInstallType; /** * The System Update Window End Minutes After Midnight. @@ -659,12 +659,12 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur public Integer systemUpdateWindowEndMinutesAfterMidnight; /** - * The System Update Install Type. - * The type of system update configuration. + * The System Update Window Start Minutes After Midnight. + * Indicates the number of minutes after midnight that the system update window starts. Valid values 0 to 1440 */ - @SerializedName("systemUpdateInstallType") + @SerializedName("systemUpdateWindowStartMinutesAfterMidnight") @Expose - public AndroidDeviceOwnerSystemUpdateInstallType systemUpdateInstallType; + public Integer systemUpdateWindowStartMinutesAfterMidnight; /** * The System Windows Blocked. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGlobalProxyDirect.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGlobalProxyDirect.java index 53d7a80fd63..e2fc3371851 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGlobalProxyDirect.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerGlobalProxyDirect.java @@ -26,6 +26,14 @@ public class AndroidDeviceOwnerGlobalProxyDirect extends AndroidDeviceOwnerGlobalProxy implements IJsonBackedObject { + /** + * The Excluded Hosts. + * The excluded hosts + */ + @SerializedName("excludedHosts") + @Expose + public java.util.List excludedHosts; + /** * The Host. * The host name @@ -42,14 +50,6 @@ public class AndroidDeviceOwnerGlobalProxyDirect extends AndroidDeviceOwnerGloba @Expose public Integer port; - /** - * The Excluded Hosts. - * The excluded hosts - */ - @SerializedName("excludedHosts") - @Expose - public java.util.List excludedHosts; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerPkcsCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerPkcsCertificateProfile.java index 964aadb528b..7b61cc8e221 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerPkcsCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerPkcsCertificateProfile.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementCertificationAuthority; import com.microsoft.graph.models.generated.CertificateStore; +import com.microsoft.graph.models.generated.DeviceManagementCertificationAuthority; import com.microsoft.graph.models.extensions.CustomSubjectAlternativeName; import com.microsoft.graph.models.extensions.ManagedDeviceCertificateState; import com.microsoft.graph.models.extensions.AndroidDeviceOwnerCertificateProfileBase; @@ -32,6 +32,22 @@ public class AndroidDeviceOwnerPkcsCertificateProfile extends AndroidDeviceOwnerCertificateProfileBase implements IJsonBackedObject { + /** + * The Certificate Store. + * Target store certificate + */ + @SerializedName("certificateStore") + @Expose + public CertificateStore certificateStore; + + /** + * The Certificate Template Name. + * PKCS Certificate Template Name + */ + @SerializedName("certificateTemplateName") + @Expose + public String certificateTemplateName; + /** * The Certification Authority. * PKCS Certification Authority @@ -57,12 +73,12 @@ public class AndroidDeviceOwnerPkcsCertificateProfile extends AndroidDeviceOwner public DeviceManagementCertificationAuthority certificationAuthorityType; /** - * The Certificate Template Name. - * PKCS Certificate Template Name + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("certificateTemplateName") + @SerializedName("customSubjectAlternativeNames") @Expose - public String certificateTemplateName; + public java.util.List customSubjectAlternativeNames; /** * The Subject Alternative Name Format String. @@ -80,22 +96,6 @@ public class AndroidDeviceOwnerPkcsCertificateProfile extends AndroidDeviceOwner @Expose public String subjectNameFormatString; - /** - * The Certificate Store. - * Target store certificate - */ - @SerializedName("certificateStore") - @Expose - public CertificateStore certificateStore; - - /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. - */ - @SerializedName("customSubjectAlternativeNames") - @Expose - public java.util.List customSubjectAlternativeNames; - /** * The Managed Device Certificate States. * Certificate state for devices diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerScepCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerScepCertificateProfile.java index fd28cf4f6fe..de50ef48fba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerScepCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerScepCertificateProfile.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.KeyUsages; -import com.microsoft.graph.models.generated.KeySize; -import com.microsoft.graph.models.generated.HashAlgorithms; import com.microsoft.graph.models.generated.CertificateStore; import com.microsoft.graph.models.extensions.CustomSubjectAlternativeName; +import com.microsoft.graph.models.generated.HashAlgorithms; +import com.microsoft.graph.models.generated.KeySize; +import com.microsoft.graph.models.generated.KeyUsages; import com.microsoft.graph.models.extensions.ManagedDeviceCertificateState; import com.microsoft.graph.models.extensions.AndroidDeviceOwnerCertificateProfileBase; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionResponse; @@ -35,28 +35,28 @@ public class AndroidDeviceOwnerScepCertificateProfile extends AndroidDeviceOwner /** - * The Scep Server Urls. - * SCEP Server Url(s) + * The Certificate Store. + * Target store certificate */ - @SerializedName("scepServerUrls") + @SerializedName("certificateStore") @Expose - public java.util.List scepServerUrls; + public CertificateStore certificateStore; /** - * The Subject Name Format String. - * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("subjectNameFormatString") + @SerializedName("customSubjectAlternativeNames") @Expose - public String subjectNameFormatString; + public java.util.List customSubjectAlternativeNames; /** - * The Key Usage. - * SCEP Key Usage + * The Hash Algorithm. + * SCEP Hash Algorithm */ - @SerializedName("keyUsage") + @SerializedName("hashAlgorithm") @Expose - public EnumSet keyUsage; + public EnumSet hashAlgorithm; /** * The Key Size. @@ -67,36 +67,36 @@ public class AndroidDeviceOwnerScepCertificateProfile extends AndroidDeviceOwner public KeySize keySize; /** - * The Hash Algorithm. - * SCEP Hash Algorithm + * The Key Usage. + * SCEP Key Usage */ - @SerializedName("hashAlgorithm") + @SerializedName("keyUsage") @Expose - public EnumSet hashAlgorithm; + public EnumSet keyUsage; /** - * The Subject Alternative Name Format String. - * Custom String that defines the AAD Attribute. + * The Scep Server Urls. + * SCEP Server Url(s) */ - @SerializedName("subjectAlternativeNameFormatString") + @SerializedName("scepServerUrls") @Expose - public String subjectAlternativeNameFormatString; + public java.util.List scepServerUrls; /** - * The Certificate Store. - * Target store certificate + * The Subject Alternative Name Format String. + * Custom String that defines the AAD Attribute. */ - @SerializedName("certificateStore") + @SerializedName("subjectAlternativeNameFormatString") @Expose - public CertificateStore certificateStore; + public String subjectAlternativeNameFormatString; /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * The Subject Name Format String. + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US */ - @SerializedName("customSubjectAlternativeNames") + @SerializedName("subjectNameFormatString") @Expose - public java.util.List customSubjectAlternativeNames; + public String subjectNameFormatString; /** * The Managed Device Certificate States. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerTrustedRootCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerTrustedRootCertificate.java index d786453eaff..67fc6718633 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerTrustedRootCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerTrustedRootCertificate.java @@ -26,14 +26,6 @@ public class AndroidDeviceOwnerTrustedRootCertificate extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Trusted Root Certificate. - * Trusted Root Certificate - */ - @SerializedName("trustedRootCertificate") - @Expose - public byte[] trustedRootCertificate; - /** * The Cert File Name. * File name to display in UI. @@ -42,6 +34,14 @@ public class AndroidDeviceOwnerTrustedRootCertificate extends DeviceConfiguratio @Expose public String certFileName; + /** + * The Trusted Root Certificate. + * Trusted Root Certificate + */ + @SerializedName("trustedRootCertificate") + @Expose + public byte[] trustedRootCertificate; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerVpnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerVpnConfiguration.java index a64b534ad8c..7150f622405 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerVpnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerVpnConfiguration.java @@ -10,8 +10,8 @@ import java.util.EnumSet; import com.microsoft.graph.models.generated.AndroidVpnConnectionType; import com.microsoft.graph.models.extensions.VpnProxyServer; -import com.microsoft.graph.models.extensions.AndroidDeviceOwnerCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceManagementDerivedCredentialSettings; +import com.microsoft.graph.models.extensions.AndroidDeviceOwnerCertificateProfileBase; import com.microsoft.graph.models.extensions.VpnConfiguration; @@ -30,6 +30,22 @@ public class AndroidDeviceOwnerVpnConfiguration extends VpnConfiguration implements IJsonBackedObject { + /** + * The Always On. + * Whether or not to enable always-on VPN connection. + */ + @SerializedName("alwaysOn") + @Expose + public Boolean alwaysOn; + + /** + * The Always On Lockdown. + * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. + */ + @SerializedName("alwaysOnLockdown") + @Expose + public Boolean alwaysOnLockdown; + /** * The Connection Type. * Connection type. @@ -55,20 +71,12 @@ public class AndroidDeviceOwnerVpnConfiguration extends VpnConfiguration impleme public java.util.List targetedPackageIds; /** - * The Always On. - * Whether or not to enable always-on VPN connection. - */ - @SerializedName("alwaysOn") - @Expose - public Boolean alwaysOn; - - /** - * The Always On Lockdown. - * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. + * The Derived Credential Settings. + * Tenant level settings for the Derived Credentials to be used for authentication. */ - @SerializedName("alwaysOnLockdown") + @SerializedName("derivedCredentialSettings") @Expose - public Boolean alwaysOnLockdown; + public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; /** * The Identity Certificate. @@ -78,14 +86,6 @@ public class AndroidDeviceOwnerVpnConfiguration extends VpnConfiguration impleme @Expose public AndroidDeviceOwnerCertificateProfileBase identityCertificate; - /** - * The Derived Credential Settings. - * Tenant level settings for the Derived Credentials to be used for authentication. - */ - @SerializedName("derivedCredentialSettings") - @Expose - public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerWiFiConfiguration.java index 6b414effb68..cb22a94ff5d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidDeviceOwnerWiFiConfiguration.java @@ -27,22 +27,6 @@ public class AndroidDeviceOwnerWiFiConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Network Name. - * Network Name - */ - @SerializedName("networkName") - @Expose - public String networkName; - - /** - * The Ssid. - * This is the name of the Wi-Fi network that is broadcast to all devices. - */ - @SerializedName("ssid") - @Expose - public String ssid; - /** * The Connect Automatically. * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. @@ -60,12 +44,12 @@ public class AndroidDeviceOwnerWiFiConfiguration extends DeviceConfiguration imp public Boolean connectWhenNetworkNameIsHidden; /** - * The Wi Fi Security Type. - * Indicates whether Wi-Fi endpoint uses an EAP based security type. + * The Network Name. + * Network Name */ - @SerializedName("wiFiSecurityType") + @SerializedName("networkName") @Expose - public AndroidDeviceOwnerWiFiSecurityType wiFiSecurityType; + public String networkName; /** * The Pre Shared Key. @@ -83,6 +67,22 @@ public class AndroidDeviceOwnerWiFiConfiguration extends DeviceConfiguration imp @Expose public Boolean preSharedKeyIsSet; + /** + * The Ssid. + * This is the name of the Wi-Fi network that is broadcast to all devices. + */ + @SerializedName("ssid") + @Expose + public String ssid; + + /** + * The Wi Fi Security Type. + * Indicates whether Wi-Fi endpoint uses an EAP based security type. + */ + @SerializedName("wiFiSecurityType") + @Expose + public AndroidDeviceOwnerWiFiSecurityType wiFiSecurityType; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidEasEmailProfileConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidEasEmailProfileConfiguration.java index 38d12439058..b701c94e6d2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidEasEmailProfileConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidEasEmailProfileConfiguration.java @@ -12,8 +12,8 @@ import com.microsoft.graph.models.generated.EmailSyncDuration; import com.microsoft.graph.models.generated.UserEmailSource; import com.microsoft.graph.models.generated.EmailSyncSchedule; -import com.microsoft.graph.models.generated.AndroidUsernameSource; import com.microsoft.graph.models.generated.DomainNameSource; +import com.microsoft.graph.models.generated.AndroidUsernameSource; import com.microsoft.graph.models.extensions.AndroidCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -50,36 +50,12 @@ public class AndroidEasEmailProfileConfiguration extends DeviceConfiguration imp public EasAuthenticationMethod authenticationMethod; /** - * The Sync Calendar. - * Toggles syncing the calendar. If set to false calendar is turned off on the device. - */ - @SerializedName("syncCalendar") - @Expose - public Boolean syncCalendar; - - /** - * The Sync Contacts. - * Toggles syncing contacts. If set to false contacts are turned off on the device. - */ - @SerializedName("syncContacts") - @Expose - public Boolean syncContacts; - - /** - * The Sync Tasks. - * Toggles syncing tasks. If set to false tasks are turned off on the device. - */ - @SerializedName("syncTasks") - @Expose - public Boolean syncTasks; - - /** - * The Sync Notes. - * Toggles syncing notes. If set to false notes are turned off on the device. + * The Custom Domain Name. + * Custom domain name value used while generating an email profile before installing on the device. */ - @SerializedName("syncNotes") + @SerializedName("customDomainName") @Expose - public Boolean syncNotes; + public String customDomainName; /** * The Duration Of Email To Sync. @@ -130,12 +106,36 @@ public class AndroidEasEmailProfileConfiguration extends DeviceConfiguration imp public Boolean requireSsl; /** - * The Username Source. - * Username attribute that is picked from AAD and injected into this profile before installing on the device. + * The Sync Calendar. + * Toggles syncing the calendar. If set to false calendar is turned off on the device. */ - @SerializedName("usernameSource") + @SerializedName("syncCalendar") @Expose - public AndroidUsernameSource usernameSource; + public Boolean syncCalendar; + + /** + * The Sync Contacts. + * Toggles syncing contacts. If set to false contacts are turned off on the device. + */ + @SerializedName("syncContacts") + @Expose + public Boolean syncContacts; + + /** + * The Sync Notes. + * Toggles syncing notes. If set to false notes are turned off on the device. + */ + @SerializedName("syncNotes") + @Expose + public Boolean syncNotes; + + /** + * The Sync Tasks. + * Toggles syncing tasks. If set to false tasks are turned off on the device. + */ + @SerializedName("syncTasks") + @Expose + public Boolean syncTasks; /** * The User Domain Name Source. @@ -146,12 +146,12 @@ public class AndroidEasEmailProfileConfiguration extends DeviceConfiguration imp public DomainNameSource userDomainNameSource; /** - * The Custom Domain Name. - * Custom domain name value used while generating an email profile before installing on the device. + * The Username Source. + * Username attribute that is picked from AAD and injected into this profile before installing on the device. */ - @SerializedName("customDomainName") + @SerializedName("usernameSource") @Expose - public String customDomainName; + public AndroidUsernameSource usernameSource; /** * The Identity Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidEnterpriseWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidEnterpriseWiFiConfiguration.java index a63e150620d..215006069fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidEnterpriseWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidEnterpriseWiFiConfiguration.java @@ -8,12 +8,12 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.WiFiAuthenticationMethod; +import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForEapTtlsType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForPeap; -import com.microsoft.graph.models.extensions.AndroidTrustedRootCertificate; import com.microsoft.graph.models.extensions.AndroidCertificateProfileBase; +import com.microsoft.graph.models.extensions.AndroidTrustedRootCertificate; import com.microsoft.graph.models.extensions.AndroidWiFiConfiguration; @@ -32,14 +32,6 @@ public class AndroidEnterpriseWiFiConfiguration extends AndroidWiFiConfiguration implements IJsonBackedObject { - /** - * The Eap Type. - * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). - */ - @SerializedName("eapType") - @Expose - public AndroidEapType eapType; - /** * The Authentication Method. * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. @@ -48,6 +40,14 @@ public class AndroidEnterpriseWiFiConfiguration extends AndroidWiFiConfiguration @Expose public WiFiAuthenticationMethod authenticationMethod; + /** + * The Eap Type. + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). + */ + @SerializedName("eapType") + @Expose + public AndroidEapType eapType; + /** * The Inner Authentication Protocol For Eap Ttls. * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. @@ -72,14 +72,6 @@ public class AndroidEnterpriseWiFiConfiguration extends AndroidWiFiConfiguration @Expose public String outerIdentityPrivacyTemporaryValue; - /** - * The Username Format String. - * Username format string used to build the username to connect to wifi - */ - @SerializedName("usernameFormatString") - @Expose - public String usernameFormatString; - /** * The Password Format String. * Password format string used to build the password to connect to wifi @@ -97,12 +89,12 @@ public class AndroidEnterpriseWiFiConfiguration extends AndroidWiFiConfiguration public String preSharedKey; /** - * The Root Certificate For Server Validation. - * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * The Username Format String. + * Username format string used to build the username to connect to wifi */ - @SerializedName("rootCertificateForServerValidation") + @SerializedName("usernameFormatString") @Expose - public AndroidTrustedRootCertificate rootCertificateForServerValidation; + public String usernameFormatString; /** * The Identity Certificate For Client Authentication. @@ -112,6 +104,14 @@ public class AndroidEnterpriseWiFiConfiguration extends AndroidWiFiConfiguration @Expose public AndroidCertificateProfileBase identityCertificateForClientAuthentication; + /** + * The Root Certificate For Server Validation. + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + */ + @SerializedName("rootCertificateForServerValidation") + @Expose + public AndroidTrustedRootCertificate rootCertificateForServerValidation; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkApp.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkApp.java index 57e0019ee97..d9f00f539bb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkApp.java @@ -26,14 +26,6 @@ public class AndroidForWorkApp extends MobileApp implements IJsonBackedObject { - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - /** * The App Identifier. * The Identity Name. @@ -43,12 +35,20 @@ public class AndroidForWorkApp extends MobileApp implements IJsonBackedObject { public String appIdentifier; /** - * The Used License Count. - * The number of VPP licenses in use. + * The App Store Url. + * The Play for Work Store app URL. */ - @SerializedName("usedLicenseCount") + @SerializedName("appStoreUrl") @Expose - public Integer usedLicenseCount; + public String appStoreUrl; + + /** + * The Package Id. + * The package identifier. + */ + @SerializedName("packageId") + @Expose + public String packageId; /** * The Total License Count. @@ -59,12 +59,12 @@ public class AndroidForWorkApp extends MobileApp implements IJsonBackedObject { public Integer totalLicenseCount; /** - * The App Store Url. - * The Play for Work Store app URL. + * The Used License Count. + * The number of VPP licenses in use. */ - @SerializedName("appStoreUrl") + @SerializedName("usedLicenseCount") @Expose - public String appStoreUrl; + public Integer usedLicenseCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkAppConfigurationSchemaItem.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkAppConfigurationSchemaItem.java index abadb6173cb..621b88ea5b1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkAppConfigurationSchemaItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkAppConfigurationSchemaItem.java @@ -38,28 +38,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Schema Item Key. - * Unique key the application uses to identify the item - */ - @SerializedName("schemaItemKey") - @Expose - public String schemaItemKey; - - /** - * The Display Name. - * Human readable name - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description of what the item controls within the application + * The Data Type. + * The type of value this item describes */ - @SerializedName("description") + @SerializedName("dataType") @Expose - public String description; + public AndroidForWorkAppConfigurationSchemaItemDataType dataType; /** * The Default Bool Value. @@ -77,6 +61,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer defaultIntValue; + /** + * The Default String Array Value. + * Default value for string array type items, if specified by the app developer + */ + @SerializedName("defaultStringArrayValue") + @Expose + public java.util.List defaultStringArrayValue; + /** * The Default String Value. * Default value for string type items, if specified by the app developer @@ -86,20 +78,28 @@ public final AdditionalDataManager additionalDataManager() { public String defaultStringValue; /** - * The Default String Array Value. - * Default value for string array type items, if specified by the app developer + * The Description. + * Description of what the item controls within the application */ - @SerializedName("defaultStringArrayValue") + @SerializedName("description") @Expose - public java.util.List defaultStringArrayValue; + public String description; /** - * The Data Type. - * The type of value this item describes + * The Display Name. + * Human readable name */ - @SerializedName("dataType") + @SerializedName("displayName") @Expose - public AndroidForWorkAppConfigurationSchemaItemDataType dataType; + public String displayName; + + /** + * The Schema Item Key. + * Unique key the application uses to identify the item + */ + @SerializedName("schemaItemKey") + @Expose + public String schemaItemKey; /** * The Selections. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCertificateProfileBase.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCertificateProfileBase.java index d5b750f189e..127fd964a98 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCertificateProfileBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCertificateProfileBase.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.SubjectNameFormat; import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; import com.microsoft.graph.models.extensions.ExtendedKeyUsage; import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.SubjectNameFormat; import com.microsoft.graph.models.extensions.AndroidForWorkTrustedRootCertificate; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -32,20 +32,12 @@ public class AndroidForWorkCertificateProfileBase extends DeviceConfiguration im /** - * The Renewal Threshold Percentage. - * Certificate renewal threshold percentage. Valid values 1 to 99 - */ - @SerializedName("renewalThresholdPercentage") - @Expose - public Integer renewalThresholdPercentage; - - /** - * The Subject Name Format. - * Certificate Subject Name Format. + * The Certificate Validity Period Scale. + * Scale for the Certificate Validity Period. */ - @SerializedName("subjectNameFormat") + @SerializedName("certificateValidityPeriodScale") @Expose - public SubjectNameFormat subjectNameFormat; + public CertificateValidityPeriodScale certificateValidityPeriodScale; /** * The Certificate Validity Period Value. @@ -55,14 +47,6 @@ public class AndroidForWorkCertificateProfileBase extends DeviceConfiguration im @Expose public Integer certificateValidityPeriodValue; - /** - * The Certificate Validity Period Scale. - * Scale for the Certificate Validity Period. - */ - @SerializedName("certificateValidityPeriodScale") - @Expose - public CertificateValidityPeriodScale certificateValidityPeriodScale; - /** * The Extended Key Usages. * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. @@ -71,6 +55,14 @@ public class AndroidForWorkCertificateProfileBase extends DeviceConfiguration im @Expose public java.util.List extendedKeyUsages; + /** + * The Renewal Threshold Percentage. + * Certificate renewal threshold percentage. Valid values 1 to 99 + */ + @SerializedName("renewalThresholdPercentage") + @Expose + public Integer renewalThresholdPercentage; + /** * The Subject Alternative Name Type. * Certificate Subject Alternative Name Type. @@ -79,6 +71,14 @@ public class AndroidForWorkCertificateProfileBase extends DeviceConfiguration im @Expose public EnumSet subjectAlternativeNameType; + /** + * The Subject Name Format. + * Certificate Subject Name Format. + */ + @SerializedName("subjectNameFormat") + @Expose + public SubjectNameFormat subjectNameFormat; + /** * The Root Certificate. * Trusted Root Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCompliancePolicy.java index 35c344a56bd..fd97ebf5514 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkCompliancePolicy.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; @@ -29,100 +29,100 @@ public class AndroidForWorkCompliancePolicy extends DeviceCompliancePolicy imple /** - * The Password Required. - * Require a password to unlock device. + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection. */ - @SerializedName("passwordRequired") + @SerializedName("deviceThreatProtectionEnabled") @Expose - public Boolean passwordRequired; + public Boolean deviceThreatProtectionEnabled; /** - * The Password Minimum Length. - * Minimum password length. Valid values 4 to 16 + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. */ - @SerializedName("passwordMinimumLength") + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") @Expose - public Integer passwordMinimumLength; + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; /** - * The Password Required Type. - * Type of characters in password + * The Min Android Security Patch Level. + * Minimum Android security patch level. */ - @SerializedName("passwordRequiredType") + @SerializedName("minAndroidSecurityPatchLevel") @Expose - public AndroidRequiredPasswordType passwordRequiredType; + public String minAndroidSecurityPatchLevel; /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. + * The Os Maximum Version. + * Maximum Android version. */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") + @SerializedName("osMaximumVersion") @Expose - public Integer passwordMinutesOfInactivityBeforeLock; + public String osMaximumVersion; /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 365 + * The Os Minimum Version. + * Minimum Android version. */ - @SerializedName("passwordExpirationDays") + @SerializedName("osMinimumVersion") @Expose - public Integer passwordExpirationDays; + public String osMinimumVersion; /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 1 to 24 + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 365 */ - @SerializedName("passwordPreviousPasswordBlockCount") + @SerializedName("passwordExpirationDays") @Expose - public Integer passwordPreviousPasswordBlockCount; + public Integer passwordExpirationDays; /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * The Password Minimum Length. + * Minimum password length. Valid values 4 to 16 */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @SerializedName("passwordMinimumLength") @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; + public Integer passwordMinimumLength; /** - * The Security Prevent Install Apps From Unknown Sources. - * Require that devices disallow installation of apps from unknown sources. + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. */ - @SerializedName("securityPreventInstallAppsFromUnknownSources") + @SerializedName("passwordMinutesOfInactivityBeforeLock") @Expose - public Boolean securityPreventInstallAppsFromUnknownSources; + public Integer passwordMinutesOfInactivityBeforeLock; /** - * The Security Disable Usb Debugging. - * Disable USB debugging on Android devices. + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 1 to 24 */ - @SerializedName("securityDisableUsbDebugging") + @SerializedName("passwordPreviousPasswordBlockCount") @Expose - public Boolean securityDisableUsbDebugging; + public Integer passwordPreviousPasswordBlockCount; /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. + * The Password Required. + * Require a password to unlock device. */ - @SerializedName("securityRequireVerifyApps") + @SerializedName("passwordRequired") @Expose - public Boolean securityRequireVerifyApps; + public Boolean passwordRequired; /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection. + * The Password Required Type. + * Type of characters in password */ - @SerializedName("deviceThreatProtectionEnabled") + @SerializedName("passwordRequiredType") @Expose - public Boolean deviceThreatProtectionEnabled; + public AndroidRequiredPasswordType passwordRequiredType; /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + public Integer passwordSignInFailureCountBeforeFactoryReset; /** * The Security Block Jailbroken Devices. @@ -133,36 +133,36 @@ public class AndroidForWorkCompliancePolicy extends DeviceCompliancePolicy imple public Boolean securityBlockJailbrokenDevices; /** - * The Os Minimum Version. - * Minimum Android version. + * The Security Disable Usb Debugging. + * Disable USB debugging on Android devices. */ - @SerializedName("osMinimumVersion") + @SerializedName("securityDisableUsbDebugging") @Expose - public String osMinimumVersion; + public Boolean securityDisableUsbDebugging; /** - * The Os Maximum Version. - * Maximum Android version. + * The Security Prevent Install Apps From Unknown Sources. + * Require that devices disallow installation of apps from unknown sources. */ - @SerializedName("osMaximumVersion") + @SerializedName("securityPreventInstallAppsFromUnknownSources") @Expose - public String osMaximumVersion; + public Boolean securityPreventInstallAppsFromUnknownSources; /** - * The Min Android Security Patch Level. - * Minimum Android security patch level. + * The Security Require Company Portal App Integrity. + * Require the device to pass the Company Portal client app runtime integrity check. */ - @SerializedName("minAndroidSecurityPatchLevel") + @SerializedName("securityRequireCompanyPortalAppIntegrity") @Expose - public String minAndroidSecurityPatchLevel; + public Boolean securityRequireCompanyPortalAppIntegrity; /** - * The Storage Require Encryption. - * Require encryption on Android devices. + * The Security Require Google Play Services. + * Require Google Play Services to be installed and enabled on the device. */ - @SerializedName("storageRequireEncryption") + @SerializedName("securityRequireGooglePlayServices") @Expose - public Boolean storageRequireEncryption; + public Boolean securityRequireGooglePlayServices; /** * The Security Require Safety Net Attestation Basic Integrity. @@ -180,14 +180,6 @@ public class AndroidForWorkCompliancePolicy extends DeviceCompliancePolicy imple @Expose public Boolean securityRequireSafetyNetAttestationCertifiedDevice; - /** - * The Security Require Google Play Services. - * Require Google Play Services to be installed and enabled on the device. - */ - @SerializedName("securityRequireGooglePlayServices") - @Expose - public Boolean securityRequireGooglePlayServices; - /** * The Security Require Up To Date Security Providers. * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. @@ -197,12 +189,20 @@ public class AndroidForWorkCompliancePolicy extends DeviceCompliancePolicy imple public Boolean securityRequireUpToDateSecurityProviders; /** - * The Security Require Company Portal App Integrity. - * Require the device to pass the Company Portal client app runtime integrity check. + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. */ - @SerializedName("securityRequireCompanyPortalAppIntegrity") + @SerializedName("securityRequireVerifyApps") @Expose - public Boolean securityRequireCompanyPortalAppIntegrity; + public Boolean securityRequireVerifyApps; + + /** + * The Storage Require Encryption. + * Require encryption on Android devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnrollmentProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnrollmentProfile.java index cf10fb619d3..c8d8eb40fb1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnrollmentProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnrollmentProfile.java @@ -35,22 +35,6 @@ public class AndroidForWorkEnrollmentProfile extends Entity implements IJsonBack @Expose public String accountId; - /** - * The Display Name. - * Display name for the enrollment profile. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * Description for the enrollment profile. - */ - @SerializedName("description") - @Expose - public String description; - /** * The Created Date Time. * Date time the enrollment profile was created. @@ -60,28 +44,20 @@ public class AndroidForWorkEnrollmentProfile extends Entity implements IJsonBack public java.util.Calendar createdDateTime; /** - * The Last Modified Date Time. - * Date time the enrollment profile was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Token Value. - * Value of the most recently created token for this enrollment profile. + * The Description. + * Description for the enrollment profile. */ - @SerializedName("tokenValue") + @SerializedName("description") @Expose - public String tokenValue; + public String description; /** - * The Token Expiration Date Time. - * Date time the most recently created token will expire. + * The Display Name. + * Display name for the enrollment profile. */ - @SerializedName("tokenExpirationDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar tokenExpirationDateTime; + public String displayName; /** * The Enrolled Device Count. @@ -91,6 +67,14 @@ public class AndroidForWorkEnrollmentProfile extends Entity implements IJsonBack @Expose public Integer enrolledDeviceCount; + /** + * The Last Modified Date Time. + * Date time the enrollment profile was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + /** * The Qr Code Content. * String used to generate a QR code for the token. @@ -107,6 +91,22 @@ public class AndroidForWorkEnrollmentProfile extends Entity implements IJsonBack @Expose public MimeContent qrCodeImage; + /** + * The Token Expiration Date Time. + * Date time the most recently created token will expire. + */ + @SerializedName("tokenExpirationDateTime") + @Expose + public java.util.Calendar tokenExpirationDateTime; + + /** + * The Token Value. + * Value of the most recently created token for this enrollment profile. + */ + @SerializedName("tokenValue") + @Expose + public String tokenValue; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnterpriseWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnterpriseWiFiConfiguration.java index a13bf0eeb0a..f3d4ea69b8f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnterpriseWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkEnterpriseWiFiConfiguration.java @@ -8,12 +8,12 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.WiFiAuthenticationMethod; +import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForEapTtlsType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForPeap; -import com.microsoft.graph.models.extensions.AndroidForWorkTrustedRootCertificate; import com.microsoft.graph.models.extensions.AndroidForWorkCertificateProfileBase; +import com.microsoft.graph.models.extensions.AndroidForWorkTrustedRootCertificate; import com.microsoft.graph.models.extensions.AndroidForWorkWiFiConfiguration; @@ -32,14 +32,6 @@ public class AndroidForWorkEnterpriseWiFiConfiguration extends AndroidForWorkWiFiConfiguration implements IJsonBackedObject { - /** - * The Eap Type. - * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). - */ - @SerializedName("eapType") - @Expose - public AndroidEapType eapType; - /** * The Authentication Method. * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. @@ -48,6 +40,14 @@ public class AndroidForWorkEnterpriseWiFiConfiguration extends AndroidForWorkWiF @Expose public WiFiAuthenticationMethod authenticationMethod; + /** + * The Eap Type. + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). + */ + @SerializedName("eapType") + @Expose + public AndroidEapType eapType; + /** * The Inner Authentication Protocol For Eap Ttls. * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. @@ -72,14 +72,6 @@ public class AndroidForWorkEnterpriseWiFiConfiguration extends AndroidForWorkWiF @Expose public String outerIdentityPrivacyTemporaryValue; - /** - * The Root Certificate For Server Validation. - * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. - */ - @SerializedName("rootCertificateForServerValidation") - @Expose - public AndroidForWorkTrustedRootCertificate rootCertificateForServerValidation; - /** * The Identity Certificate For Client Authentication. * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. @@ -88,6 +80,14 @@ public class AndroidForWorkEnterpriseWiFiConfiguration extends AndroidForWorkWiF @Expose public AndroidForWorkCertificateProfileBase identityCertificateForClientAuthentication; + /** + * The Root Certificate For Server Validation. + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + */ + @SerializedName("rootCertificateForServerValidation") + @Expose + public AndroidForWorkTrustedRootCertificate rootCertificateForServerValidation; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkGeneralDeviceConfiguration.java index 961c29dff00..efb14577e36 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkGeneralDeviceConfiguration.java @@ -93,14 +93,6 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio @Expose public Integer passwordPreviousPasswordBlockCount; - /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before factory reset. Valid values 1 to 16 - */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; - /** * The Password Required Type. * Type of password that is required. @@ -110,52 +102,52 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio public AndroidForWorkRequiredPasswordType passwordRequiredType; /** - * The Work Profile Data Sharing Type. - * Type of data sharing that is allowed. + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 */ - @SerializedName("workProfileDataSharingType") + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") @Expose - public AndroidForWorkCrossProfileDataSharingType workProfileDataSharingType; + public Integer passwordSignInFailureCountBeforeFactoryReset; /** - * The Work Profile Block Notifications While Device Locked. - * Indicates whether or not to block notifications while device locked. + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. */ - @SerializedName("workProfileBlockNotificationsWhileDeviceLocked") + @SerializedName("securityRequireVerifyApps") @Expose - public Boolean workProfileBlockNotificationsWhileDeviceLocked; + public Boolean securityRequireVerifyApps; /** - * The Work Profile Block Adding Accounts. - * Block users from adding/removing accounts in work profile. + * The Vpn Always On Package Identifier. + * Enable lockdown mode for always-on VPN. */ - @SerializedName("workProfileBlockAddingAccounts") + @SerializedName("vpnAlwaysOnPackageIdentifier") @Expose - public Boolean workProfileBlockAddingAccounts; + public String vpnAlwaysOnPackageIdentifier; /** - * The Work Profile Bluetooth Enable Contact Sharing. - * Allow bluetooth devices to access enterprise contacts. + * The Vpn Enable Always On Lockdown Mode. + * Enable lockdown mode for always-on VPN. */ - @SerializedName("workProfileBluetoothEnableContactSharing") + @SerializedName("vpnEnableAlwaysOnLockdownMode") @Expose - public Boolean workProfileBluetoothEnableContactSharing; + public Boolean vpnEnableAlwaysOnLockdownMode; /** - * The Work Profile Block Screen Capture. - * Block screen capture in work profile. + * The Work Profile Allow Widgets. + * Allow widgets from work profile apps. */ - @SerializedName("workProfileBlockScreenCapture") + @SerializedName("workProfileAllowWidgets") @Expose - public Boolean workProfileBlockScreenCapture; + public Boolean workProfileAllowWidgets; /** - * The Work Profile Block Cross Profile Caller Id. - * Block display work profile caller ID in personal profile. + * The Work Profile Block Adding Accounts. + * Block users from adding/removing accounts in work profile. */ - @SerializedName("workProfileBlockCrossProfileCallerId") + @SerializedName("workProfileBlockAddingAccounts") @Expose - public Boolean workProfileBlockCrossProfileCallerId; + public Boolean workProfileBlockAddingAccounts; /** * The Work Profile Block Camera. @@ -165,6 +157,14 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio @Expose public Boolean workProfileBlockCamera; + /** + * The Work Profile Block Cross Profile Caller Id. + * Block display work profile caller ID in personal profile. + */ + @SerializedName("workProfileBlockCrossProfileCallerId") + @Expose + public Boolean workProfileBlockCrossProfileCallerId; + /** * The Work Profile Block Cross Profile Contacts Search. * Block work profile contacts availability in personal profile. @@ -181,6 +181,46 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio @Expose public Boolean workProfileBlockCrossProfileCopyPaste; + /** + * The Work Profile Block Notifications While Device Locked. + * Indicates whether or not to block notifications while device locked. + */ + @SerializedName("workProfileBlockNotificationsWhileDeviceLocked") + @Expose + public Boolean workProfileBlockNotificationsWhileDeviceLocked; + + /** + * The Work Profile Block Personal App Installs From Unknown Sources. + * Prevent app installations from unknown sources in the personal profile. + */ + @SerializedName("workProfileBlockPersonalAppInstallsFromUnknownSources") + @Expose + public Boolean workProfileBlockPersonalAppInstallsFromUnknownSources; + + /** + * The Work Profile Block Screen Capture. + * Block screen capture in work profile. + */ + @SerializedName("workProfileBlockScreenCapture") + @Expose + public Boolean workProfileBlockScreenCapture; + + /** + * The Work Profile Bluetooth Enable Contact Sharing. + * Allow bluetooth devices to access enterprise contacts. + */ + @SerializedName("workProfileBluetoothEnableContactSharing") + @Expose + public Boolean workProfileBluetoothEnableContactSharing; + + /** + * The Work Profile Data Sharing Type. + * Type of data sharing that is allowed. + */ + @SerializedName("workProfileDataSharingType") + @Expose + public AndroidForWorkCrossProfileDataSharingType workProfileDataSharingType; + /** * The Work Profile Default App Permission Policy. * Type of password that is required. @@ -237,22 +277,6 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio @Expose public Integer workProfilePasswordMinimumLength; - /** - * The Work Profile Password Min Numeric Characters. - * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinNumericCharacters") - @Expose - public Integer workProfilePasswordMinNumericCharacters; - - /** - * The Work Profile Password Min Non Letter Characters. - * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinNonLetterCharacters") - @Expose - public Integer workProfilePasswordMinNonLetterCharacters; - /** * The Work Profile Password Min Letter Characters. * Minimum # of letter characters required in work profile password. Valid values 1 to 10 @@ -270,12 +294,20 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio public Integer workProfilePasswordMinLowerCaseCharacters; /** - * The Work Profile Password Min Upper Case Characters. - * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * The Work Profile Password Min Non Letter Characters. + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 */ - @SerializedName("workProfilePasswordMinUpperCaseCharacters") + @SerializedName("workProfilePasswordMinNonLetterCharacters") @Expose - public Integer workProfilePasswordMinUpperCaseCharacters; + public Integer workProfilePasswordMinNonLetterCharacters; + + /** + * The Work Profile Password Min Numeric Characters. + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinNumericCharacters") + @Expose + public Integer workProfilePasswordMinNumericCharacters; /** * The Work Profile Password Min Symbol Characters. @@ -285,6 +317,14 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio @Expose public Integer workProfilePasswordMinSymbolCharacters; + /** + * The Work Profile Password Min Upper Case Characters. + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinUpperCaseCharacters") + @Expose + public Integer workProfilePasswordMinUpperCaseCharacters; + /** * The Work Profile Password Minutes Of Inactivity Before Screen Timeout. * Minutes of inactivity before the screen times out. @@ -301,14 +341,6 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio @Expose public Integer workProfilePasswordPreviousPasswordBlockCount; - /** - * The Work Profile Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 - */ - @SerializedName("workProfilePasswordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer workProfilePasswordSignInFailureCountBeforeFactoryReset; - /** * The Work Profile Password Required Type. * Type of work profile password that is required. @@ -318,52 +350,20 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio public AndroidForWorkRequiredPasswordType workProfilePasswordRequiredType; /** - * The Work Profile Require Password. - * Password is required or not for work profile - */ - @SerializedName("workProfileRequirePassword") - @Expose - public Boolean workProfileRequirePassword; - - /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. - */ - @SerializedName("securityRequireVerifyApps") - @Expose - public Boolean securityRequireVerifyApps; - - /** - * The Vpn Always On Package Identifier. - * Enable lockdown mode for always-on VPN. - */ - @SerializedName("vpnAlwaysOnPackageIdentifier") - @Expose - public String vpnAlwaysOnPackageIdentifier; - - /** - * The Vpn Enable Always On Lockdown Mode. - * Enable lockdown mode for always-on VPN. - */ - @SerializedName("vpnEnableAlwaysOnLockdownMode") - @Expose - public Boolean vpnEnableAlwaysOnLockdownMode; - - /** - * The Work Profile Allow Widgets. - * Allow widgets from work profile apps. + * The Work Profile Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 */ - @SerializedName("workProfileAllowWidgets") + @SerializedName("workProfilePasswordSignInFailureCountBeforeFactoryReset") @Expose - public Boolean workProfileAllowWidgets; + public Integer workProfilePasswordSignInFailureCountBeforeFactoryReset; /** - * The Work Profile Block Personal App Installs From Unknown Sources. - * Prevent app installations from unknown sources in the personal profile. + * The Work Profile Require Password. + * Password is required or not for work profile */ - @SerializedName("workProfileBlockPersonalAppInstallsFromUnknownSources") + @SerializedName("workProfileRequirePassword") @Expose - public Boolean workProfileBlockPersonalAppInstallsFromUnknownSources; + public Boolean workProfileRequirePassword; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkPkcsCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkPkcsCertificateProfile.java index 6c216225b77..c86a8f63cb0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkPkcsCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkPkcsCertificateProfile.java @@ -29,6 +29,14 @@ public class AndroidForWorkPkcsCertificateProfile extends AndroidForWorkCertificateProfileBase implements IJsonBackedObject { + /** + * The Certificate Template Name. + * PKCS Certificate Template Name + */ + @SerializedName("certificateTemplateName") + @Expose + public String certificateTemplateName; + /** * The Certification Authority. * PKCS Certification Authority @@ -45,14 +53,6 @@ public class AndroidForWorkPkcsCertificateProfile extends AndroidForWorkCertific @Expose public String certificationAuthorityName; - /** - * The Certificate Template Name. - * PKCS Certificate Template Name - */ - @SerializedName("certificateTemplateName") - @Expose - public String certificateTemplateName; - /** * The Subject Alternative Name Format String. * Custom String that defines the AAD Attribute. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkScepCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkScepCertificateProfile.java index 0473f8efb09..2e10c8bee21 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkScepCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkScepCertificateProfile.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.KeyUsages; -import com.microsoft.graph.models.generated.KeySize; -import com.microsoft.graph.models.generated.HashAlgorithms; import com.microsoft.graph.models.generated.CertificateStore; import com.microsoft.graph.models.extensions.CustomSubjectAlternativeName; +import com.microsoft.graph.models.generated.HashAlgorithms; +import com.microsoft.graph.models.generated.KeySize; +import com.microsoft.graph.models.generated.KeyUsages; import com.microsoft.graph.models.extensions.ManagedDeviceCertificateState; import com.microsoft.graph.models.extensions.AndroidForWorkCertificateProfileBase; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionResponse; @@ -35,28 +35,28 @@ public class AndroidForWorkScepCertificateProfile extends AndroidForWorkCertific /** - * The Scep Server Urls. - * SCEP Server Url(s) + * The Certificate Store. + * Target store certificate */ - @SerializedName("scepServerUrls") + @SerializedName("certificateStore") @Expose - public java.util.List scepServerUrls; + public CertificateStore certificateStore; /** - * The Subject Name Format String. - * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("subjectNameFormatString") + @SerializedName("customSubjectAlternativeNames") @Expose - public String subjectNameFormatString; + public java.util.List customSubjectAlternativeNames; /** - * The Key Usage. - * SCEP Key Usage + * The Hash Algorithm. + * SCEP Hash Algorithm */ - @SerializedName("keyUsage") + @SerializedName("hashAlgorithm") @Expose - public EnumSet keyUsage; + public EnumSet hashAlgorithm; /** * The Key Size. @@ -67,36 +67,36 @@ public class AndroidForWorkScepCertificateProfile extends AndroidForWorkCertific public KeySize keySize; /** - * The Hash Algorithm. - * SCEP Hash Algorithm + * The Key Usage. + * SCEP Key Usage */ - @SerializedName("hashAlgorithm") + @SerializedName("keyUsage") @Expose - public EnumSet hashAlgorithm; + public EnumSet keyUsage; /** - * The Subject Alternative Name Format String. - * Custom String that defines the AAD Attribute. + * The Scep Server Urls. + * SCEP Server Url(s) */ - @SerializedName("subjectAlternativeNameFormatString") + @SerializedName("scepServerUrls") @Expose - public String subjectAlternativeNameFormatString; + public java.util.List scepServerUrls; /** - * The Certificate Store. - * Target store certificate + * The Subject Alternative Name Format String. + * Custom String that defines the AAD Attribute. */ - @SerializedName("certificateStore") + @SerializedName("subjectAlternativeNameFormatString") @Expose - public CertificateStore certificateStore; + public String subjectAlternativeNameFormatString; /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * The Subject Name Format String. + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US */ - @SerializedName("customSubjectAlternativeNames") + @SerializedName("subjectNameFormatString") @Expose - public java.util.List customSubjectAlternativeNames; + public String subjectNameFormatString; /** * The Managed Device Certificate States. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkSettings.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkSettings.java index 429541671ae..06dd185135c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkSettings.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.AndroidForWorkBindStatus; -import com.microsoft.graph.models.generated.AndroidForWorkSyncStatus; import com.microsoft.graph.models.generated.AndroidForWorkEnrollmentTarget; +import com.microsoft.graph.models.generated.AndroidForWorkSyncStatus; import com.microsoft.graph.models.extensions.Entity; @@ -37,6 +37,22 @@ public class AndroidForWorkSettings extends Entity implements IJsonBackedObject @Expose public AndroidForWorkBindStatus bindStatus; + /** + * The Device Owner Management Enabled. + * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. + */ + @SerializedName("deviceOwnerManagementEnabled") + @Expose + public Boolean deviceOwnerManagementEnabled; + + /** + * The Enrollment Target. + * Indicates which users can enroll devices in Android for Work device management + */ + @SerializedName("enrollmentTarget") + @Expose + public AndroidForWorkEnrollmentTarget enrollmentTarget; + /** * The Last App Sync Date Time. * Last completion time for app sync @@ -54,12 +70,12 @@ public class AndroidForWorkSettings extends Entity implements IJsonBackedObject public AndroidForWorkSyncStatus lastAppSyncStatus; /** - * The Owner User Principal Name. - * Owner UPN that created the enterprise + * The Last Modified Date Time. + * Last modification time for Android for Work settings */ - @SerializedName("ownerUserPrincipalName") + @SerializedName("lastModifiedDateTime") @Expose - public String ownerUserPrincipalName; + public java.util.Calendar lastModifiedDateTime; /** * The Owner Organization Name. @@ -70,20 +86,12 @@ public class AndroidForWorkSettings extends Entity implements IJsonBackedObject public String ownerOrganizationName; /** - * The Last Modified Date Time. - * Last modification time for Android for Work settings - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Enrollment Target. - * Indicates which users can enroll devices in Android for Work device management + * The Owner User Principal Name. + * Owner UPN that created the enterprise */ - @SerializedName("enrollmentTarget") + @SerializedName("ownerUserPrincipalName") @Expose - public AndroidForWorkEnrollmentTarget enrollmentTarget; + public String ownerUserPrincipalName; /** * The Target Group Ids. @@ -93,14 +101,6 @@ public class AndroidForWorkSettings extends Entity implements IJsonBackedObject @Expose public java.util.List targetGroupIds; - /** - * The Device Owner Management Enabled. - * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. - */ - @SerializedName("deviceOwnerManagementEnabled") - @Expose - public Boolean deviceOwnerManagementEnabled; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkTrustedRootCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkTrustedRootCertificate.java index bd18ca91b56..1ddc8979046 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkTrustedRootCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkTrustedRootCertificate.java @@ -26,14 +26,6 @@ public class AndroidForWorkTrustedRootCertificate extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Trusted Root Certificate. - * Trusted Root Certificate - */ - @SerializedName("trustedRootCertificate") - @Expose - public byte[] trustedRootCertificate; - /** * The Cert File Name. * File name to display in UI. @@ -42,6 +34,14 @@ public class AndroidForWorkTrustedRootCertificate extends DeviceConfiguration im @Expose public String certFileName; + /** + * The Trusted Root Certificate. + * Trusted Root Certificate + */ + @SerializedName("trustedRootCertificate") + @Expose + public byte[] trustedRootCertificate; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkVpnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkVpnConfiguration.java index f0433b5c865..c293cc5418c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkVpnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkVpnConfiguration.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.VpnAuthenticationMethod; import com.microsoft.graph.models.generated.AndroidForWorkVpnConnectionType; -import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.KeyValue; import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.generated.VpnAuthenticationMethod; +import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.AndroidForWorkCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -32,6 +32,14 @@ public class AndroidForWorkVpnConfiguration extends DeviceConfiguration implements IJsonBackedObject { + /** + * The Authentication Method. + * Authentication method. + */ + @SerializedName("authenticationMethod") + @Expose + public VpnAuthenticationMethod authenticationMethod; + /** * The Connection Name. * Connection name displayed to the user. @@ -49,28 +57,20 @@ public class AndroidForWorkVpnConfiguration extends DeviceConfiguration implemen public AndroidForWorkVpnConnectionType connectionType; /** - * The Role. - * Role when connection type is set to Pulse Secure. - */ - @SerializedName("role") - @Expose - public String role; - - /** - * The Realm. - * Realm when connection type is set to Pulse Secure. + * The Custom Data. + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. */ - @SerializedName("realm") + @SerializedName("customData") @Expose - public String realm; + public java.util.List customData; /** - * The Servers. - * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * The Custom Key Value Data. + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. */ - @SerializedName("servers") + @SerializedName("customKeyValueData") @Expose - public java.util.List servers; + public java.util.List customKeyValueData; /** * The Fingerprint. @@ -81,28 +81,28 @@ public class AndroidForWorkVpnConfiguration extends DeviceConfiguration implemen public String fingerprint; /** - * The Custom Data. - * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * The Realm. + * Realm when connection type is set to Pulse Secure. */ - @SerializedName("customData") + @SerializedName("realm") @Expose - public java.util.List customData; + public String realm; /** - * The Custom Key Value Data. - * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * The Role. + * Role when connection type is set to Pulse Secure. */ - @SerializedName("customKeyValueData") + @SerializedName("role") @Expose - public java.util.List customKeyValueData; + public String role; /** - * The Authentication Method. - * Authentication method. + * The Servers. + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. */ - @SerializedName("authenticationMethod") + @SerializedName("servers") @Expose - public VpnAuthenticationMethod authenticationMethod; + public java.util.List servers; /** * The Identity Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkWiFiConfiguration.java index ced215f9346..c2d86ce040d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidForWorkWiFiConfiguration.java @@ -27,22 +27,6 @@ public class AndroidForWorkWiFiConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Network Name. - * Network Name - */ - @SerializedName("networkName") - @Expose - public String networkName; - - /** - * The Ssid. - * This is the name of the Wi-Fi network that is broadcast to all devices. - */ - @SerializedName("ssid") - @Expose - public String ssid; - /** * The Connect Automatically. * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. @@ -59,6 +43,22 @@ public class AndroidForWorkWiFiConfiguration extends DeviceConfiguration impleme @Expose public Boolean connectWhenNetworkNameIsHidden; + /** + * The Network Name. + * Network Name + */ + @SerializedName("networkName") + @Expose + public String networkName; + + /** + * The Ssid. + * This is the name of the Wi-Fi network that is broadcast to all devices. + */ + @SerializedName("ssid") + @Expose + public String ssid; + /** * The Wi Fi Security Type. * Indicates whether Wi-Fi endpoint uses an EAP based security type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java index 044f249af6f..331a4038ea4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidGeneralDeviceConfiguration.java @@ -54,6 +54,30 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple @Expose public Boolean appsBlockYouTube; + /** + * The Apps Hide List. + * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsHideList") + @Expose + public java.util.List appsHideList; + + /** + * The Apps Install Allow List. + * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsInstallAllowList") + @Expose + public java.util.List appsInstallAllowList; + + /** + * The Apps Launch Block List. + * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsLaunchBlockList") + @Expose + public java.util.List appsLaunchBlockList; + /** * The Bluetooth Blocked. * Indicates whether or not to block Bluetooth. @@ -102,6 +126,14 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple @Expose public Boolean cellularBlockWiFiTethering; + /** + * The Compliant App List Type. + * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + */ + @SerializedName("compliantAppListType") + @Expose + public AppListType compliantAppListType; + /** * The Compliant Apps List. * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. @@ -111,12 +143,20 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple public java.util.List compliantAppsList; /** - * The Compliant App List Type. - * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * The Date And Time Block Changes. + * Indicates whether or not to block changing date and time while in KNOX Mode. */ - @SerializedName("compliantAppListType") + @SerializedName("dateAndTimeBlockChanges") @Expose - public AppListType compliantAppListType; + public Boolean dateAndTimeBlockChanges; + + /** + * The Device Sharing Allowed. + * Indicates whether or not to allow device sharing mode. + */ + @SerializedName("deviceSharingAllowed") + @Expose + public Boolean deviceSharingAllowed; /** * The Diagnostic Data Block Submission. @@ -127,12 +167,12 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple public Boolean diagnosticDataBlockSubmission; /** - * The Location Services Blocked. - * Indicates whether or not to block location services. + * The Factory Reset Blocked. + * Indicates whether or not to block user performing a factory reset. */ - @SerializedName("locationServicesBlocked") + @SerializedName("factoryResetBlocked") @Expose - public Boolean locationServicesBlocked; + public Boolean factoryResetBlocked; /** * The Google Account Block Auto Sync. @@ -150,6 +190,14 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple @Expose public Boolean googlePlayStoreBlocked; + /** + * The Kiosk Mode Apps. + * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + */ + @SerializedName("kioskModeApps") + @Expose + public java.util.List kioskModeApps; + /** * The Kiosk Mode Block Sleep Button. * Indicates whether or not to block the screen sleep button while in Kiosk Mode. @@ -167,20 +215,12 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple public Boolean kioskModeBlockVolumeButtons; /** - * The Date And Time Block Changes. - * Indicates whether or not to block changing date and time while in KNOX Mode. - */ - @SerializedName("dateAndTimeBlockChanges") - @Expose - public Boolean dateAndTimeBlockChanges; - - /** - * The Kiosk Mode Apps. - * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * The Location Services Blocked. + * Indicates whether or not to block location services. */ - @SerializedName("kioskModeApps") + @SerializedName("locationServicesBlocked") @Expose - public java.util.List kioskModeApps; + public Boolean locationServicesBlocked; /** * The Nfc Blocked. @@ -239,12 +279,12 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple public Integer passwordPreviousPasswordBlockCount; /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * The Password Required. + * Indicates whether or not to require a password. */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @SerializedName("passwordRequired") @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; + public Boolean passwordRequired; /** * The Password Required Type. @@ -255,12 +295,12 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple public AndroidRequiredPasswordType passwordRequiredType; /** - * The Password Required. - * Indicates whether or not to require a password. + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 */ - @SerializedName("passwordRequired") + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") @Expose - public Boolean passwordRequired; + public Integer passwordSignInFailureCountBeforeFactoryReset; /** * The Power Off Blocked. @@ -270,14 +310,6 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple @Expose public Boolean powerOffBlocked; - /** - * The Factory Reset Blocked. - * Indicates whether or not to block user performing a factory reset. - */ - @SerializedName("factoryResetBlocked") - @Expose - public Boolean factoryResetBlocked; - /** * The Screen Capture Blocked. * Indicates whether or not to block screenshots. @@ -287,12 +319,12 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple public Boolean screenCaptureBlocked; /** - * The Device Sharing Allowed. - * Indicates whether or not to allow device sharing mode. + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. */ - @SerializedName("deviceSharingAllowed") + @SerializedName("securityRequireVerifyApps") @Expose - public Boolean deviceSharingAllowed; + public Boolean securityRequireVerifyApps; /** * The Storage Block Google Backup. @@ -342,14 +374,6 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple @Expose public Boolean voiceDialingBlocked; - /** - * The Web Browser Block Popups. - * Indicates whether or not to block popups within the web browser. - */ - @SerializedName("webBrowserBlockPopups") - @Expose - public Boolean webBrowserBlockPopups; - /** * The Web Browser Block Autofill. * Indicates whether or not to block the web browser's auto fill feature. @@ -358,6 +382,14 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple @Expose public Boolean webBrowserBlockAutofill; + /** + * The Web Browser Blocked. + * Indicates whether or not to block the web browser. + */ + @SerializedName("webBrowserBlocked") + @Expose + public Boolean webBrowserBlocked; + /** * The Web Browser Block Java Script. * Indicates whether or not to block JavaScript within the web browser. @@ -367,12 +399,12 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple public Boolean webBrowserBlockJavaScript; /** - * The Web Browser Blocked. - * Indicates whether or not to block the web browser. + * The Web Browser Block Popups. + * Indicates whether or not to block popups within the web browser. */ - @SerializedName("webBrowserBlocked") + @SerializedName("webBrowserBlockPopups") @Expose - public Boolean webBrowserBlocked; + public Boolean webBrowserBlockPopups; /** * The Web Browser Cookie Settings. @@ -390,38 +422,6 @@ public class AndroidGeneralDeviceConfiguration extends DeviceConfiguration imple @Expose public Boolean wiFiBlocked; - /** - * The Apps Install Allow List. - * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. - */ - @SerializedName("appsInstallAllowList") - @Expose - public java.util.List appsInstallAllowList; - - /** - * The Apps Launch Block List. - * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. - */ - @SerializedName("appsLaunchBlockList") - @Expose - public java.util.List appsLaunchBlockList; - - /** - * The Apps Hide List. - * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. - */ - @SerializedName("appsHideList") - @Expose - public java.util.List appsHideList; - - /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. - */ - @SerializedName("securityRequireVerifyApps") - @Expose - public Boolean securityRequireVerifyApps; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java index c4306f281d1..6f73418f163 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidLobApp.java @@ -27,14 +27,6 @@ public class AndroidLobApp extends MobileLobApp implements IJsonBackedObject { - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - /** * The Identity Name. * The Identity Name. @@ -43,6 +35,14 @@ public class AndroidLobApp extends MobileLobApp implements IJsonBackedObject { @Expose public String identityName; + /** + * The Identity Version. + * The identity version. + */ + @SerializedName("identityVersion") + @Expose + public String identityVersion; + /** * The Minimum Supported Operating System. * The value for the minimum applicable operating system. @@ -52,12 +52,12 @@ public class AndroidLobApp extends MobileLobApp implements IJsonBackedObject { public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; /** - * The Version Name. - * The version name of Android Line of Business (LoB) app. + * The Package Id. + * The package identifier. */ - @SerializedName("versionName") + @SerializedName("packageId") @Expose - public String versionName; + public String packageId; /** * The Version Code. @@ -68,12 +68,12 @@ public class AndroidLobApp extends MobileLobApp implements IJsonBackedObject { public String versionCode; /** - * The Identity Version. - * The identity version. + * The Version Name. + * The version name of Android Line of Business (LoB) app. */ - @SerializedName("identityVersion") + @SerializedName("versionName") @Expose - public String identityVersion; + public String versionName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java index 796a4d8d0ce..951c3762c25 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedAppProtection.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.KeyValuePair; import com.microsoft.graph.models.generated.ManagedAppRemediationAction; -import com.microsoft.graph.models.generated.AndroidManagedAppSafetyNetDeviceAttestationType; +import com.microsoft.graph.models.extensions.KeyValuePair; import com.microsoft.graph.models.generated.AndroidManagedAppSafetyNetAppsVerificationType; +import com.microsoft.graph.models.generated.AndroidManagedAppSafetyNetDeviceAttestationType; import com.microsoft.graph.models.extensions.ManagedMobileApp; import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; @@ -35,132 +35,132 @@ public class AndroidManagedAppProtection extends TargetedManagedAppProtection im /** - * The Screen Capture Blocked. - * Indicates whether a managed user can take screen captures of managed apps + * The Allowed Android Device Manufacturers. + * Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. */ - @SerializedName("screenCaptureBlocked") + @SerializedName("allowedAndroidDeviceManufacturers") @Expose - public Boolean screenCaptureBlocked; + public String allowedAndroidDeviceManufacturers; /** - * The Disable App Encryption If Device Encryption Is Enabled. - * When this setting is enabled, app level encryption is disabled if device level encryption is enabled + * The Allowed Android Device Models. + * List of device models allowed, as a string, for the managed app to work. */ - @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") + @SerializedName("allowedAndroidDeviceModels") @Expose - public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; + public java.util.List allowedAndroidDeviceModels; /** - * The Encrypt App Data. - * Indicates whether application data for managed apps should be encrypted + * The App Action If Android Device Manufacturer Not Allowed. + * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. */ - @SerializedName("encryptAppData") + @SerializedName("appActionIfAndroidDeviceManufacturerNotAllowed") @Expose - public Boolean encryptAppData; + public ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed; /** - * The Deployed App Count. - * Count of apps to which the current policy is deployed. + * The App Action If Android Device Model Not Allowed. + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. */ - @SerializedName("deployedAppCount") + @SerializedName("appActionIfAndroidDeviceModelNotAllowed") @Expose - public Integer deployedAppCount; + public ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed; /** - * The Minimum Required Patch Version. - * Define the oldest required Android security patch level a user can have to gain secure access to the app. + * The App Action If Android Safety Net Apps Verification Failed. + * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirment fails. */ - @SerializedName("minimumRequiredPatchVersion") + @SerializedName("appActionIfAndroidSafetyNetAppsVerificationFailed") @Expose - public String minimumRequiredPatchVersion; + public ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed; /** - * The Minimum Warning Patch Version. - * Define the oldest recommended Android security patch level a user can have for secure access to the app. + * The App Action If Android Safety Net Device Attestation Failed. + * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirment fails. */ - @SerializedName("minimumWarningPatchVersion") + @SerializedName("appActionIfAndroidSafetyNetDeviceAttestationFailed") @Expose - public String minimumWarningPatchVersion; + public ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed; /** - * The Exempted App Packages. - * App packages in this list will be exempt from the policy and will be able to receive data from managed apps. + * The Approved Keyboards. + * If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name */ - @SerializedName("exemptedAppPackages") + @SerializedName("approvedKeyboards") @Expose - public java.util.List exemptedAppPackages; + public java.util.List approvedKeyboards; /** - * The Minimum Wipe Patch Version. - * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. + * The Custom Browser Display Name. + * Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. */ - @SerializedName("minimumWipePatchVersion") + @SerializedName("customBrowserDisplayName") @Expose - public String minimumWipePatchVersion; + public String customBrowserDisplayName; /** - * The Allowed Android Device Manufacturers. - * Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. + * The Custom Browser Package Id. + * Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. */ - @SerializedName("allowedAndroidDeviceManufacturers") + @SerializedName("customBrowserPackageId") @Expose - public String allowedAndroidDeviceManufacturers; + public String customBrowserPackageId; /** - * The App Action If Android Device Manufacturer Not Allowed. - * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. + * The Custom Dialer App Display Name. + * Friendly name of a custom dialer app to click-to-open a phone number on Android. */ - @SerializedName("appActionIfAndroidDeviceManufacturerNotAllowed") + @SerializedName("customDialerAppDisplayName") @Expose - public ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed; + public String customDialerAppDisplayName; /** - * The Required Android Safety Net Device Attestation Type. - * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. + * The Custom Dialer App Package Id. + * PackageId of a custom dialer app to click-to-open a phone number on Android. */ - @SerializedName("requiredAndroidSafetyNetDeviceAttestationType") + @SerializedName("customDialerAppPackageId") @Expose - public AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType; + public String customDialerAppPackageId; /** - * The App Action If Android Safety Net Device Attestation Failed. - * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirment fails. + * The Deployed App Count. + * Count of apps to which the current policy is deployed. */ - @SerializedName("appActionIfAndroidSafetyNetDeviceAttestationFailed") + @SerializedName("deployedAppCount") @Expose - public ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed; + public Integer deployedAppCount; /** - * The Required Android Safety Net Apps Verification Type. - * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. + * The Disable App Encryption If Device Encryption Is Enabled. + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled */ - @SerializedName("requiredAndroidSafetyNetAppsVerificationType") + @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") @Expose - public AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType; + public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; /** - * The App Action If Android Safety Net Apps Verification Failed. - * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirment fails. + * The Encrypt App Data. + * Indicates whether application data for managed apps should be encrypted */ - @SerializedName("appActionIfAndroidSafetyNetAppsVerificationFailed") + @SerializedName("encryptAppData") @Expose - public ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed; + public Boolean encryptAppData; /** - * The Custom Browser Package Id. - * Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + * The Exempted App Packages. + * App packages in this list will be exempt from the policy and will be able to receive data from managed apps. */ - @SerializedName("customBrowserPackageId") + @SerializedName("exemptedAppPackages") @Expose - public String customBrowserPackageId; + public java.util.List exemptedAppPackages; /** - * The Custom Browser Display Name. - * Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + * The Keyboards Restricted. + * Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well. */ - @SerializedName("customBrowserDisplayName") + @SerializedName("keyboardsRestricted") @Expose - public String customBrowserDisplayName; + public Boolean keyboardsRestricted; /** * The Minimum Required Company Portal Version. @@ -171,68 +171,68 @@ public class AndroidManagedAppProtection extends TargetedManagedAppProtection im public String minimumRequiredCompanyPortalVersion; /** - * The Minimum Warning Company Portal Version. - * Minimum version of the Company portal that must be installed on the device or the user will receive a warning + * The Minimum Required Patch Version. + * Define the oldest required Android security patch level a user can have to gain secure access to the app. */ - @SerializedName("minimumWarningCompanyPortalVersion") + @SerializedName("minimumRequiredPatchVersion") @Expose - public String minimumWarningCompanyPortalVersion; + public String minimumRequiredPatchVersion; /** - * The Minimum Wipe Company Portal Version. - * Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped + * The Minimum Warning Company Portal Version. + * Minimum version of the Company portal that must be installed on the device or the user will receive a warning */ - @SerializedName("minimumWipeCompanyPortalVersion") + @SerializedName("minimumWarningCompanyPortalVersion") @Expose - public String minimumWipeCompanyPortalVersion; + public String minimumWarningCompanyPortalVersion; /** - * The Keyboards Restricted. - * Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well. + * The Minimum Warning Patch Version. + * Define the oldest recommended Android security patch level a user can have for secure access to the app. */ - @SerializedName("keyboardsRestricted") + @SerializedName("minimumWarningPatchVersion") @Expose - public Boolean keyboardsRestricted; + public String minimumWarningPatchVersion; /** - * The Approved Keyboards. - * If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name + * The Minimum Wipe Company Portal Version. + * Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped */ - @SerializedName("approvedKeyboards") + @SerializedName("minimumWipeCompanyPortalVersion") @Expose - public java.util.List approvedKeyboards; + public String minimumWipeCompanyPortalVersion; /** - * The Allowed Android Device Models. - * List of device models allowed, as a string, for the managed app to work. + * The Minimum Wipe Patch Version. + * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. */ - @SerializedName("allowedAndroidDeviceModels") + @SerializedName("minimumWipePatchVersion") @Expose - public java.util.List allowedAndroidDeviceModels; + public String minimumWipePatchVersion; /** - * The App Action If Android Device Model Not Allowed. - * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. + * The Required Android Safety Net Apps Verification Type. + * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. */ - @SerializedName("appActionIfAndroidDeviceModelNotAllowed") + @SerializedName("requiredAndroidSafetyNetAppsVerificationType") @Expose - public ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed; + public AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType; /** - * The Custom Dialer App Package Id. - * PackageId of a custom dialer app to click-to-open a phone number on Android. + * The Required Android Safety Net Device Attestation Type. + * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. */ - @SerializedName("customDialerAppPackageId") + @SerializedName("requiredAndroidSafetyNetDeviceAttestationType") @Expose - public String customDialerAppPackageId; + public AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType; /** - * The Custom Dialer App Display Name. - * Friendly name of a custom dialer app to click-to-open a phone number on Android. + * The Screen Capture Blocked. + * Indicates whether a managed user can take screen captures of managed apps */ - @SerializedName("customDialerAppDisplayName") + @SerializedName("screenCaptureBlocked") @Expose - public String customDialerAppDisplayName; + public Boolean screenCaptureBlocked; /** * The Apps. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAccountEnterpriseSettings.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAccountEnterpriseSettings.java index 9b23af514ce..94a86dd7727 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAccountEnterpriseSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAccountEnterpriseSettings.java @@ -9,9 +9,9 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.AndroidManagedStoreAccountBindStatus; -import com.microsoft.graph.models.generated.AndroidManagedStoreAccountAppSyncStatus; -import com.microsoft.graph.models.generated.AndroidManagedStoreAccountEnrollmentTarget; import com.microsoft.graph.models.extensions.AndroidEnrollmentCompanyCode; +import com.microsoft.graph.models.generated.AndroidManagedStoreAccountEnrollmentTarget; +import com.microsoft.graph.models.generated.AndroidManagedStoreAccountAppSyncStatus; import com.microsoft.graph.models.extensions.Entity; @@ -30,6 +30,14 @@ public class AndroidManagedStoreAccountEnterpriseSettings extends Entity implements IJsonBackedObject { + /** + * The Android Device Owner Fully Managed Enrollment Enabled. + * Company codes for AndroidManagedStoreAccountEnterpriseSettings + */ + @SerializedName("androidDeviceOwnerFullyManagedEnrollmentEnabled") + @Expose + public Boolean androidDeviceOwnerFullyManagedEnrollmentEnabled; + /** * The Bind Status. * Bind status of the tenant with the Google EMM API @@ -38,6 +46,30 @@ public class AndroidManagedStoreAccountEnterpriseSettings extends Entity impleme @Expose public AndroidManagedStoreAccountBindStatus bindStatus; + /** + * The Company Codes. + * Company codes for AndroidManagedStoreAccountEnterpriseSettings + */ + @SerializedName("companyCodes") + @Expose + public java.util.List companyCodes; + + /** + * The Device Owner Management Enabled. + * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. + */ + @SerializedName("deviceOwnerManagementEnabled") + @Expose + public Boolean deviceOwnerManagementEnabled; + + /** + * The Enrollment Target. + * Indicates which users can enroll devices in Android Enterprise device management + */ + @SerializedName("enrollmentTarget") + @Expose + public AndroidManagedStoreAccountEnrollmentTarget enrollmentTarget; + /** * The Last App Sync Date Time. * Last completion time for app sync @@ -55,12 +87,12 @@ public class AndroidManagedStoreAccountEnterpriseSettings extends Entity impleme public AndroidManagedStoreAccountAppSyncStatus lastAppSyncStatus; /** - * The Owner User Principal Name. - * Owner UPN that created the enterprise + * The Last Modified Date Time. + * Last modification time for Android enterprise settings */ - @SerializedName("ownerUserPrincipalName") + @SerializedName("lastModifiedDateTime") @Expose - public String ownerUserPrincipalName; + public java.util.Calendar lastModifiedDateTime; /** * The Owner Organization Name. @@ -71,20 +103,12 @@ public class AndroidManagedStoreAccountEnterpriseSettings extends Entity impleme public String ownerOrganizationName; /** - * The Last Modified Date Time. - * Last modification time for Android enterprise settings - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Enrollment Target. - * Indicates which users can enroll devices in Android Enterprise device management + * The Owner User Principal Name. + * Owner UPN that created the enterprise */ - @SerializedName("enrollmentTarget") + @SerializedName("ownerUserPrincipalName") @Expose - public AndroidManagedStoreAccountEnrollmentTarget enrollmentTarget; + public String ownerUserPrincipalName; /** * The Target Group Ids. @@ -94,30 +118,6 @@ public class AndroidManagedStoreAccountEnterpriseSettings extends Entity impleme @Expose public java.util.List targetGroupIds; - /** - * The Device Owner Management Enabled. - * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. - */ - @SerializedName("deviceOwnerManagementEnabled") - @Expose - public Boolean deviceOwnerManagementEnabled; - - /** - * The Company Codes. - * Company codes for AndroidManagedStoreAccountEnterpriseSettings - */ - @SerializedName("companyCodes") - @Expose - public java.util.List companyCodes; - - /** - * The Android Device Owner Fully Managed Enrollment Enabled. - * Company codes for AndroidManagedStoreAccountEnterpriseSettings - */ - @SerializedName("androidDeviceOwnerFullyManagedEnrollmentEnabled") - @Expose - public Boolean androidDeviceOwnerFullyManagedEnrollmentEnabled; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreApp.java index f35709a223a..a2a2c3c55d8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreApp.java @@ -27,14 +27,6 @@ public class AndroidManagedStoreApp extends MobileApp implements IJsonBackedObject { - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - /** * The App Identifier. * The Identity Name. @@ -43,22 +35,6 @@ public class AndroidManagedStoreApp extends MobileApp implements IJsonBackedObje @Expose public String appIdentifier; - /** - * The Used License Count. - * The number of VPP licenses in use. - */ - @SerializedName("usedLicenseCount") - @Expose - public Integer usedLicenseCount; - - /** - * The Total License Count. - * The total number of VPP licenses. - */ - @SerializedName("totalLicenseCount") - @Expose - public Integer totalLicenseCount; - /** * The App Store Url. * The Play for Work Store app URL. @@ -67,6 +43,14 @@ public class AndroidManagedStoreApp extends MobileApp implements IJsonBackedObje @Expose public String appStoreUrl; + /** + * The App Tracks. + * The tracks that are visible to this enterprise. + */ + @SerializedName("appTracks") + @Expose + public java.util.List appTracks; + /** * The Is Private. * Indicates whether the app is only available to a given enterprise's users. @@ -84,12 +68,12 @@ public class AndroidManagedStoreApp extends MobileApp implements IJsonBackedObje public Boolean isSystemApp; /** - * The App Tracks. - * The tracks that are visible to this enterprise. + * The Package Id. + * The package identifier. */ - @SerializedName("appTracks") + @SerializedName("packageId") @Expose - public java.util.List appTracks; + public String packageId; /** * The Supports Oem Config. @@ -99,6 +83,22 @@ public class AndroidManagedStoreApp extends MobileApp implements IJsonBackedObje @Expose public Boolean supportsOemConfig; + /** + * The Total License Count. + * The total number of VPP licenses. + */ + @SerializedName("totalLicenseCount") + @Expose + public Integer totalLicenseCount; + + /** + * The Used License Count. + * The number of VPP licenses in use. + */ + @SerializedName("usedLicenseCount") + @Expose + public Integer usedLicenseCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfiguration.java index 9dc836b27ea..6ab202ee9a2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfiguration.java @@ -28,6 +28,14 @@ public class AndroidManagedStoreAppConfiguration extends ManagedDeviceMobileAppConfiguration implements IJsonBackedObject { + /** + * The App Supports Oem Config. + * Whether or not this AppConfig is an OEMConfig policy. + */ + @SerializedName("appSupportsOemConfig") + @Expose + public Boolean appSupportsOemConfig; + /** * The Package Id. * Android Enterprise app configuration package id. @@ -52,14 +60,6 @@ public class AndroidManagedStoreAppConfiguration extends ManagedDeviceMobileAppC @Expose public java.util.List permissionActions; - /** - * The App Supports Oem Config. - * Whether or not this AppConfig is an OEMConfig policy. - */ - @SerializedName("appSupportsOemConfig") - @Expose - public Boolean appSupportsOemConfig; - /** * The Profile Applicability. * Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)). diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchema.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchema.java index 6d008e9a297..769104ce807 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchema.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchema.java @@ -35,14 +35,6 @@ public class AndroidManagedStoreAppConfigurationSchema extends Entity implements @Expose public byte[] exampleJson; - /** - * The Schema Items. - * Collection of items each representing a named configuration option in the schema. It only contains the root-level configuration. - */ - @SerializedName("schemaItems") - @Expose - public java.util.List schemaItems; - /** * The Nested Schema Items. * Collection of items each representing a named configuration option in the schema. It contains a flat list of all configuration. @@ -51,6 +43,14 @@ public class AndroidManagedStoreAppConfigurationSchema extends Entity implements @Expose public java.util.List nestedSchemaItems; + /** + * The Schema Items. + * Collection of items each representing a named configuration option in the schema. It only contains the root-level configuration. + */ + @SerializedName("schemaItems") + @Expose + public java.util.List schemaItems; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchemaItem.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchemaItem.java index 8df43a5c9f0..59c6e2b4fdb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchemaItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppConfigurationSchemaItem.java @@ -38,84 +38,84 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Index. - * Unique index the application uses to maintain nested schema items + * The Data Type. + * The type of value this item describes */ - @SerializedName("index") + @SerializedName("dataType") @Expose - public Integer index; + public AndroidManagedStoreAppConfigurationSchemaItemDataType dataType; /** - * The Parent Index. - * Index of parent schema item to track nested schema items + * The Default Bool Value. + * Default value for boolean type items, if specified by the app developer */ - @SerializedName("parentIndex") + @SerializedName("defaultBoolValue") @Expose - public Integer parentIndex; + public Boolean defaultBoolValue; /** - * The Schema Item Key. - * Unique key the application uses to identify the item + * The Default Int Value. + * Default value for integer type items, if specified by the app developer */ - @SerializedName("schemaItemKey") + @SerializedName("defaultIntValue") @Expose - public String schemaItemKey; + public Integer defaultIntValue; /** - * The Display Name. - * Human readable name + * The Default String Array Value. + * Default value for string array type items, if specified by the app developer */ - @SerializedName("displayName") + @SerializedName("defaultStringArrayValue") @Expose - public String displayName; + public java.util.List defaultStringArrayValue; /** - * The Description. - * Description of what the item controls within the application + * The Default String Value. + * Default value for string type items, if specified by the app developer */ - @SerializedName("description") + @SerializedName("defaultStringValue") @Expose - public String description; + public String defaultStringValue; /** - * The Default Bool Value. - * Default value for boolean type items, if specified by the app developer + * The Description. + * Description of what the item controls within the application */ - @SerializedName("defaultBoolValue") + @SerializedName("description") @Expose - public Boolean defaultBoolValue; + public String description; /** - * The Default Int Value. - * Default value for integer type items, if specified by the app developer + * The Display Name. + * Human readable name */ - @SerializedName("defaultIntValue") + @SerializedName("displayName") @Expose - public Integer defaultIntValue; + public String displayName; /** - * The Default String Value. - * Default value for string type items, if specified by the app developer + * The Index. + * Unique index the application uses to maintain nested schema items */ - @SerializedName("defaultStringValue") + @SerializedName("index") @Expose - public String defaultStringValue; + public Integer index; /** - * The Default String Array Value. - * Default value for string array type items, if specified by the app developer + * The Parent Index. + * Index of parent schema item to track nested schema items */ - @SerializedName("defaultStringArrayValue") + @SerializedName("parentIndex") @Expose - public java.util.List defaultStringArrayValue; + public Integer parentIndex; /** - * The Data Type. - * The type of value this item describes + * The Schema Item Key. + * Unique key the application uses to identify the item */ - @SerializedName("dataType") + @SerializedName("schemaItemKey") @Expose - public AndroidManagedStoreAppConfigurationSchemaItemDataType dataType; + public String schemaItemKey; /** * The Selections. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppTrack.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppTrack.java index 61047ad18b5..334424afecd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppTrack.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidManagedStoreAppTrack.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Track Id. - * Unique track identifier. - */ - @SerializedName("trackId") - @Expose - public String trackId; - /** * The Track Alias. * Friendly name for track. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String trackAlias; + /** + * The Track Id. + * Unique track identifier. + */ + @SerializedName("trackId") + @Expose + public String trackId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidPermissionAction.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidPermissionAction.java index ce4a6bed2e0..4af40cfce1d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidPermissionAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidPermissionAction.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Permission. - * Android permission string, defined in the official Android documentation. Example 'android.permission.READ_CONTACTS'. - */ - @SerializedName("permission") - @Expose - public String permission; - /** * The Action. * Type of Android permission action. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public AndroidPermissionActionType action; + /** + * The Permission. + * Android permission string, defined in the official Android documentation. Example 'android.permission.READ_CONTACTS'. + */ + @SerializedName("permission") + @Expose + public String permission; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidPkcsCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidPkcsCertificateProfile.java index 6dca52e3be6..bc8b78161e1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidPkcsCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidPkcsCertificateProfile.java @@ -29,6 +29,14 @@ public class AndroidPkcsCertificateProfile extends AndroidCertificateProfileBase implements IJsonBackedObject { + /** + * The Certificate Template Name. + * PKCS Certificate Template Name + */ + @SerializedName("certificateTemplateName") + @Expose + public String certificateTemplateName; + /** * The Certification Authority. * PKCS Certification Authority @@ -45,14 +53,6 @@ public class AndroidPkcsCertificateProfile extends AndroidCertificateProfileBase @Expose public String certificationAuthorityName; - /** - * The Certificate Template Name. - * PKCS Certificate Template Name - */ - @SerializedName("certificateTemplateName") - @Expose - public String certificateTemplateName; - /** * The Subject Alternative Name Format String. * Custom String that defines the AAD Attribute. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidScepCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidScepCertificateProfile.java index 31883162c75..10fd43f7f2b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidScepCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidScepCertificateProfile.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.KeyUsages; -import com.microsoft.graph.models.generated.KeySize; import com.microsoft.graph.models.generated.HashAlgorithms; +import com.microsoft.graph.models.generated.KeySize; +import com.microsoft.graph.models.generated.KeyUsages; import com.microsoft.graph.models.extensions.ManagedDeviceCertificateState; import com.microsoft.graph.models.extensions.AndroidCertificateProfileBase; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionResponse; @@ -33,20 +33,20 @@ public class AndroidScepCertificateProfile extends AndroidCertificateProfileBase /** - * The Scep Server Urls. - * SCEP Server Url(s) + * The Hash Algorithm. + * SCEP Hash Algorithm */ - @SerializedName("scepServerUrls") + @SerializedName("hashAlgorithm") @Expose - public java.util.List scepServerUrls; + public EnumSet hashAlgorithm; /** - * The Subject Name Format String. - * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * The Key Size. + * SCEP Key Size */ - @SerializedName("subjectNameFormatString") + @SerializedName("keySize") @Expose - public String subjectNameFormatString; + public KeySize keySize; /** * The Key Usage. @@ -57,20 +57,12 @@ public class AndroidScepCertificateProfile extends AndroidCertificateProfileBase public EnumSet keyUsage; /** - * The Key Size. - * SCEP Key Size - */ - @SerializedName("keySize") - @Expose - public KeySize keySize; - - /** - * The Hash Algorithm. - * SCEP Hash Algorithm + * The Scep Server Urls. + * SCEP Server Url(s) */ - @SerializedName("hashAlgorithm") + @SerializedName("scepServerUrls") @Expose - public EnumSet hashAlgorithm; + public java.util.List scepServerUrls; /** * The Subject Alternative Name Format String. @@ -80,6 +72,14 @@ public class AndroidScepCertificateProfile extends AndroidCertificateProfileBase @Expose public String subjectAlternativeNameFormatString; + /** + * The Subject Name Format String. + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + */ + @SerializedName("subjectNameFormatString") + @Expose + public String subjectNameFormatString; + /** * The Managed Device Certificate States. * Certificate state for devices diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java index aa028b7404f..bac8d20d2f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidStoreApp.java @@ -27,14 +27,6 @@ public class AndroidStoreApp extends MobileApp implements IJsonBackedObject { - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - /** * The App Identifier. * The Identity Name. @@ -59,6 +51,14 @@ public class AndroidStoreApp extends MobileApp implements IJsonBackedObject { @Expose public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; + /** + * The Package Id. + * The package identifier. + */ + @SerializedName("packageId") + @Expose + public String packageId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidTrustedRootCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidTrustedRootCertificate.java index 70d56f2f488..ade1801ef75 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidTrustedRootCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidTrustedRootCertificate.java @@ -26,14 +26,6 @@ public class AndroidTrustedRootCertificate extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Trusted Root Certificate. - * Trusted Root Certificate - */ - @SerializedName("trustedRootCertificate") - @Expose - public byte[] trustedRootCertificate; - /** * The Cert File Name. * File name to display in UI. @@ -42,6 +34,14 @@ public class AndroidTrustedRootCertificate extends DeviceConfiguration implement @Expose public String certFileName; + /** + * The Trusted Root Certificate. + * Trusted Root Certificate + */ + @SerializedName("trustedRootCertificate") + @Expose + public byte[] trustedRootCertificate; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidVpnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidVpnConfiguration.java index 9a9d135e4ba..8a2b5ce8541 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidVpnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidVpnConfiguration.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.VpnAuthenticationMethod; import com.microsoft.graph.models.generated.AndroidVpnConnectionType; -import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.KeyValue; import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.generated.VpnAuthenticationMethod; +import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.AndroidCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -32,6 +32,14 @@ public class AndroidVpnConfiguration extends DeviceConfiguration implements IJsonBackedObject { + /** + * The Authentication Method. + * Authentication method. + */ + @SerializedName("authenticationMethod") + @Expose + public VpnAuthenticationMethod authenticationMethod; + /** * The Connection Name. * Connection name displayed to the user. @@ -49,28 +57,20 @@ public class AndroidVpnConfiguration extends DeviceConfiguration implements IJso public AndroidVpnConnectionType connectionType; /** - * The Role. - * Role when connection type is set to Pulse Secure. - */ - @SerializedName("role") - @Expose - public String role; - - /** - * The Realm. - * Realm when connection type is set to Pulse Secure. + * The Custom Data. + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. */ - @SerializedName("realm") + @SerializedName("customData") @Expose - public String realm; + public java.util.List customData; /** - * The Servers. - * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * The Custom Key Value Data. + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. */ - @SerializedName("servers") + @SerializedName("customKeyValueData") @Expose - public java.util.List servers; + public java.util.List customKeyValueData; /** * The Fingerprint. @@ -81,28 +81,28 @@ public class AndroidVpnConfiguration extends DeviceConfiguration implements IJso public String fingerprint; /** - * The Custom Data. - * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * The Realm. + * Realm when connection type is set to Pulse Secure. */ - @SerializedName("customData") + @SerializedName("realm") @Expose - public java.util.List customData; + public String realm; /** - * The Custom Key Value Data. - * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * The Role. + * Role when connection type is set to Pulse Secure. */ - @SerializedName("customKeyValueData") + @SerializedName("role") @Expose - public java.util.List customKeyValueData; + public String role; /** - * The Authentication Method. - * Authentication method. + * The Servers. + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. */ - @SerializedName("authenticationMethod") + @SerializedName("servers") @Expose - public VpnAuthenticationMethod authenticationMethod; + public java.util.List servers; /** * The Identity Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWiFiConfiguration.java index 31050611ebb..e6d4e9cf555 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWiFiConfiguration.java @@ -27,22 +27,6 @@ public class AndroidWiFiConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Network Name. - * Network Name - */ - @SerializedName("networkName") - @Expose - public String networkName; - - /** - * The Ssid. - * This is the name of the Wi-Fi network that is broadcast to all devices. - */ - @SerializedName("ssid") - @Expose - public String ssid; - /** * The Connect Automatically. * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. @@ -59,6 +43,22 @@ public class AndroidWiFiConfiguration extends DeviceConfiguration implements IJs @Expose public Boolean connectWhenNetworkNameIsHidden; + /** + * The Network Name. + * Network Name + */ + @SerializedName("networkName") + @Expose + public String networkName; + + /** + * The Ssid. + * This is the name of the Wi-Fi network that is broadcast to all devices. + */ + @SerializedName("ssid") + @Expose + public String ssid; + /** * The Wi Fi Security Type. * Indicates whether Wi-Fi endpoint uses an EAP based security type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCertificateProfileBase.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCertificateProfileBase.java index 3d6bdf0a50d..c7362318037 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCertificateProfileBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCertificateProfileBase.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.SubjectNameFormat; import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; import com.microsoft.graph.models.extensions.ExtendedKeyUsage; import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.SubjectNameFormat; import com.microsoft.graph.models.extensions.AndroidWorkProfileTrustedRootCertificate; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -32,20 +32,12 @@ public class AndroidWorkProfileCertificateProfileBase extends DeviceConfiguratio /** - * The Renewal Threshold Percentage. - * Certificate renewal threshold percentage. Valid values 1 to 99 - */ - @SerializedName("renewalThresholdPercentage") - @Expose - public Integer renewalThresholdPercentage; - - /** - * The Subject Name Format. - * Certificate Subject Name Format. + * The Certificate Validity Period Scale. + * Scale for the Certificate Validity Period. */ - @SerializedName("subjectNameFormat") + @SerializedName("certificateValidityPeriodScale") @Expose - public SubjectNameFormat subjectNameFormat; + public CertificateValidityPeriodScale certificateValidityPeriodScale; /** * The Certificate Validity Period Value. @@ -55,14 +47,6 @@ public class AndroidWorkProfileCertificateProfileBase extends DeviceConfiguratio @Expose public Integer certificateValidityPeriodValue; - /** - * The Certificate Validity Period Scale. - * Scale for the Certificate Validity Period. - */ - @SerializedName("certificateValidityPeriodScale") - @Expose - public CertificateValidityPeriodScale certificateValidityPeriodScale; - /** * The Extended Key Usages. * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. @@ -71,6 +55,14 @@ public class AndroidWorkProfileCertificateProfileBase extends DeviceConfiguratio @Expose public java.util.List extendedKeyUsages; + /** + * The Renewal Threshold Percentage. + * Certificate renewal threshold percentage. Valid values 1 to 99 + */ + @SerializedName("renewalThresholdPercentage") + @Expose + public Integer renewalThresholdPercentage; + /** * The Subject Alternative Name Type. * Certificate Subject Alternative Name Type. @@ -79,6 +71,14 @@ public class AndroidWorkProfileCertificateProfileBase extends DeviceConfiguratio @Expose public EnumSet subjectAlternativeNameType; + /** + * The Subject Name Format. + * Certificate Subject Name Format. + */ + @SerializedName("subjectNameFormat") + @Expose + public SubjectNameFormat subjectNameFormat; + /** * The Root Certificate. * Trusted Root Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java index e8b08532a88..cb1666e37aa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileCompliancePolicy.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.generated.AndroidRequiredPasswordType; import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; @@ -29,108 +29,108 @@ public class AndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy i /** - * The Password Required. - * Require a password to unlock device. + * The Advanced Threat Protection Required Security Level. + * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. */ - @SerializedName("passwordRequired") + @SerializedName("advancedThreatProtectionRequiredSecurityLevel") @Expose - public Boolean passwordRequired; + public DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel; /** - * The Password Minimum Length. - * Minimum password length. Valid values 4 to 16 + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection. */ - @SerializedName("passwordMinimumLength") + @SerializedName("deviceThreatProtectionEnabled") @Expose - public Integer passwordMinimumLength; + public Boolean deviceThreatProtectionEnabled; /** - * The Password Required Type. - * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. */ - @SerializedName("passwordRequiredType") + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") @Expose - public AndroidRequiredPasswordType passwordRequiredType; + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. + * The Min Android Security Patch Level. + * Minimum Android security patch level. */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") + @SerializedName("minAndroidSecurityPatchLevel") @Expose - public Integer passwordMinutesOfInactivityBeforeLock; + public String minAndroidSecurityPatchLevel; /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 365 + * The Os Maximum Version. + * Maximum Android version. */ - @SerializedName("passwordExpirationDays") + @SerializedName("osMaximumVersion") @Expose - public Integer passwordExpirationDays; + public String osMaximumVersion; /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 1 to 24 + * The Os Minimum Version. + * Minimum Android version. */ - @SerializedName("passwordPreviousPasswordBlockCount") + @SerializedName("osMinimumVersion") @Expose - public Integer passwordPreviousPasswordBlockCount; + public String osMinimumVersion; /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 365 */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") + @SerializedName("passwordExpirationDays") @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; + public Integer passwordExpirationDays; /** - * The Security Prevent Install Apps From Unknown Sources. - * Require that devices disallow installation of apps from unknown sources. + * The Password Minimum Length. + * Minimum password length. Valid values 4 to 16 */ - @SerializedName("securityPreventInstallAppsFromUnknownSources") + @SerializedName("passwordMinimumLength") @Expose - public Boolean securityPreventInstallAppsFromUnknownSources; + public Integer passwordMinimumLength; /** - * The Security Disable Usb Debugging. - * Disable USB debugging on Android devices. + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. */ - @SerializedName("securityDisableUsbDebugging") + @SerializedName("passwordMinutesOfInactivityBeforeLock") @Expose - public Boolean securityDisableUsbDebugging; + public Integer passwordMinutesOfInactivityBeforeLock; /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 1 to 24 */ - @SerializedName("securityRequireVerifyApps") + @SerializedName("passwordPreviousPasswordBlockCount") @Expose - public Boolean securityRequireVerifyApps; + public Integer passwordPreviousPasswordBlockCount; /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection. + * The Password Required. + * Require a password to unlock device. */ - @SerializedName("deviceThreatProtectionEnabled") + @SerializedName("passwordRequired") @Expose - public Boolean deviceThreatProtectionEnabled; + public Boolean passwordRequired; /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * The Password Required Type. + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @SerializedName("passwordRequiredType") @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + public AndroidRequiredPasswordType passwordRequiredType; /** - * The Advanced Threat Protection Required Security Level. - * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 */ - @SerializedName("advancedThreatProtectionRequiredSecurityLevel") + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") @Expose - public DeviceThreatProtectionLevel advancedThreatProtectionRequiredSecurityLevel; + public Integer passwordSignInFailureCountBeforeFactoryReset; /** * The Security Block Jailbroken Devices. @@ -141,36 +141,36 @@ public class AndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy i public Boolean securityBlockJailbrokenDevices; /** - * The Os Minimum Version. - * Minimum Android version. + * The Security Disable Usb Debugging. + * Disable USB debugging on Android devices. */ - @SerializedName("osMinimumVersion") + @SerializedName("securityDisableUsbDebugging") @Expose - public String osMinimumVersion; + public Boolean securityDisableUsbDebugging; /** - * The Os Maximum Version. - * Maximum Android version. + * The Security Prevent Install Apps From Unknown Sources. + * Require that devices disallow installation of apps from unknown sources. */ - @SerializedName("osMaximumVersion") + @SerializedName("securityPreventInstallAppsFromUnknownSources") @Expose - public String osMaximumVersion; + public Boolean securityPreventInstallAppsFromUnknownSources; /** - * The Min Android Security Patch Level. - * Minimum Android security patch level. + * The Security Require Company Portal App Integrity. + * Require the device to pass the Company Portal client app runtime integrity check. */ - @SerializedName("minAndroidSecurityPatchLevel") + @SerializedName("securityRequireCompanyPortalAppIntegrity") @Expose - public String minAndroidSecurityPatchLevel; + public Boolean securityRequireCompanyPortalAppIntegrity; /** - * The Storage Require Encryption. - * Require encryption on Android devices. + * The Security Require Google Play Services. + * Require Google Play Services to be installed and enabled on the device. */ - @SerializedName("storageRequireEncryption") + @SerializedName("securityRequireGooglePlayServices") @Expose - public Boolean storageRequireEncryption; + public Boolean securityRequireGooglePlayServices; /** * The Security Require Safety Net Attestation Basic Integrity. @@ -188,14 +188,6 @@ public class AndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy i @Expose public Boolean securityRequireSafetyNetAttestationCertifiedDevice; - /** - * The Security Require Google Play Services. - * Require Google Play Services to be installed and enabled on the device. - */ - @SerializedName("securityRequireGooglePlayServices") - @Expose - public Boolean securityRequireGooglePlayServices; - /** * The Security Require Up To Date Security Providers. * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. @@ -205,12 +197,20 @@ public class AndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy i public Boolean securityRequireUpToDateSecurityProviders; /** - * The Security Require Company Portal App Integrity. - * Require the device to pass the Company Portal client app runtime integrity check. + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. */ - @SerializedName("securityRequireCompanyPortalAppIntegrity") + @SerializedName("securityRequireVerifyApps") @Expose - public Boolean securityRequireCompanyPortalAppIntegrity; + public Boolean securityRequireVerifyApps; + + /** + * The Storage Require Encryption. + * Require encryption on Android devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileEnterpriseWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileEnterpriseWiFiConfiguration.java index ea0d8af51d9..d8804e8d0a9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileEnterpriseWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileEnterpriseWiFiConfiguration.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.WiFiAuthenticationMethod; +import com.microsoft.graph.models.generated.AndroidEapType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForEapTtlsType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForPeap; import com.microsoft.graph.models.generated.WiFiProxySetting; -import com.microsoft.graph.models.extensions.AndroidWorkProfileTrustedRootCertificate; import com.microsoft.graph.models.extensions.AndroidWorkProfileCertificateProfileBase; +import com.microsoft.graph.models.extensions.AndroidWorkProfileTrustedRootCertificate; import com.microsoft.graph.models.extensions.AndroidWorkProfileWiFiConfiguration; @@ -33,14 +33,6 @@ public class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkProfileWiFiConfiguration implements IJsonBackedObject { - /** - * The Eap Type. - * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). - */ - @SerializedName("eapType") - @Expose - public AndroidEapType eapType; - /** * The Authentication Method. * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. @@ -49,6 +41,14 @@ public class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkPr @Expose public WiFiAuthenticationMethod authenticationMethod; + /** + * The Eap Type. + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). + */ + @SerializedName("eapType") + @Expose + public AndroidEapType eapType; + /** * The Inner Authentication Protocol For Eap Ttls. * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. @@ -73,14 +73,6 @@ public class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkPr @Expose public String outerIdentityPrivacyTemporaryValue; - /** - * The Proxy Settings. - * Proxy Type for this Wi-Fi connection - */ - @SerializedName("proxySettings") - @Expose - public WiFiProxySetting proxySettings; - /** * The Proxy Automatic Configuration Url. * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. @@ -90,12 +82,12 @@ public class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkPr public String proxyAutomaticConfigurationUrl; /** - * The Root Certificate For Server Validation. - * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * The Proxy Settings. + * Proxy Type for this Wi-Fi connection */ - @SerializedName("rootCertificateForServerValidation") + @SerializedName("proxySettings") @Expose - public AndroidWorkProfileTrustedRootCertificate rootCertificateForServerValidation; + public WiFiProxySetting proxySettings; /** * The Identity Certificate For Client Authentication. @@ -105,6 +97,14 @@ public class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkPr @Expose public AndroidWorkProfileCertificateProfileBase identityCertificateForClientAuthentication; + /** + * The Root Certificate For Server Validation. + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + */ + @SerializedName("rootCertificateForServerValidation") + @Expose + public AndroidWorkProfileTrustedRootCertificate rootCertificateForServerValidation; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java index 091f2a2803e..8f98961652e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileGeneralDeviceConfiguration.java @@ -93,14 +93,6 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur @Expose public Integer passwordPreviousPasswordBlockCount; - /** - * The Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before factory reset. Valid values 1 to 16 - */ - @SerializedName("passwordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer passwordSignInFailureCountBeforeFactoryReset; - /** * The Password Required Type. * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. @@ -110,52 +102,52 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur public AndroidWorkProfileRequiredPasswordType passwordRequiredType; /** - * The Work Profile Data Sharing Type. - * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + * The Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 */ - @SerializedName("workProfileDataSharingType") + @SerializedName("passwordSignInFailureCountBeforeFactoryReset") @Expose - public AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType; + public Integer passwordSignInFailureCountBeforeFactoryReset; /** - * The Work Profile Block Notifications While Device Locked. - * Indicates whether or not to block notifications while device locked. + * The Security Require Verify Apps. + * Require the Android Verify apps feature is turned on. */ - @SerializedName("workProfileBlockNotificationsWhileDeviceLocked") + @SerializedName("securityRequireVerifyApps") @Expose - public Boolean workProfileBlockNotificationsWhileDeviceLocked; + public Boolean securityRequireVerifyApps; /** - * The Work Profile Block Adding Accounts. - * Block users from adding/removing accounts in work profile. + * The Vpn Always On Package Identifier. + * Enable lockdown mode for always-on VPN. */ - @SerializedName("workProfileBlockAddingAccounts") + @SerializedName("vpnAlwaysOnPackageIdentifier") @Expose - public Boolean workProfileBlockAddingAccounts; + public String vpnAlwaysOnPackageIdentifier; /** - * The Work Profile Bluetooth Enable Contact Sharing. - * Allow bluetooth devices to access enterprise contacts. + * The Vpn Enable Always On Lockdown Mode. + * Enable lockdown mode for always-on VPN. */ - @SerializedName("workProfileBluetoothEnableContactSharing") + @SerializedName("vpnEnableAlwaysOnLockdownMode") @Expose - public Boolean workProfileBluetoothEnableContactSharing; + public Boolean vpnEnableAlwaysOnLockdownMode; /** - * The Work Profile Block Screen Capture. - * Block screen capture in work profile. + * The Work Profile Allow Widgets. + * Allow widgets from work profile apps. */ - @SerializedName("workProfileBlockScreenCapture") + @SerializedName("workProfileAllowWidgets") @Expose - public Boolean workProfileBlockScreenCapture; + public Boolean workProfileAllowWidgets; /** - * The Work Profile Block Cross Profile Caller Id. - * Block display work profile caller ID in personal profile. + * The Work Profile Block Adding Accounts. + * Block users from adding/removing accounts in work profile. */ - @SerializedName("workProfileBlockCrossProfileCallerId") + @SerializedName("workProfileBlockAddingAccounts") @Expose - public Boolean workProfileBlockCrossProfileCallerId; + public Boolean workProfileBlockAddingAccounts; /** * The Work Profile Block Camera. @@ -165,6 +157,14 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur @Expose public Boolean workProfileBlockCamera; + /** + * The Work Profile Block Cross Profile Caller Id. + * Block display work profile caller ID in personal profile. + */ + @SerializedName("workProfileBlockCrossProfileCallerId") + @Expose + public Boolean workProfileBlockCrossProfileCallerId; + /** * The Work Profile Block Cross Profile Contacts Search. * Block work profile contacts availability in personal profile. @@ -181,6 +181,46 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur @Expose public Boolean workProfileBlockCrossProfileCopyPaste; + /** + * The Work Profile Block Notifications While Device Locked. + * Indicates whether or not to block notifications while device locked. + */ + @SerializedName("workProfileBlockNotificationsWhileDeviceLocked") + @Expose + public Boolean workProfileBlockNotificationsWhileDeviceLocked; + + /** + * The Work Profile Block Personal App Installs From Unknown Sources. + * Prevent app installations from unknown sources in the personal profile. + */ + @SerializedName("workProfileBlockPersonalAppInstallsFromUnknownSources") + @Expose + public Boolean workProfileBlockPersonalAppInstallsFromUnknownSources; + + /** + * The Work Profile Block Screen Capture. + * Block screen capture in work profile. + */ + @SerializedName("workProfileBlockScreenCapture") + @Expose + public Boolean workProfileBlockScreenCapture; + + /** + * The Work Profile Bluetooth Enable Contact Sharing. + * Allow bluetooth devices to access enterprise contacts. + */ + @SerializedName("workProfileBluetoothEnableContactSharing") + @Expose + public Boolean workProfileBluetoothEnableContactSharing; + + /** + * The Work Profile Data Sharing Type. + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + */ + @SerializedName("workProfileDataSharingType") + @Expose + public AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType; + /** * The Work Profile Default App Permission Policy. * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. @@ -237,22 +277,6 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur @Expose public Integer workProfilePasswordMinimumLength; - /** - * The Work Profile Password Min Numeric Characters. - * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinNumericCharacters") - @Expose - public Integer workProfilePasswordMinNumericCharacters; - - /** - * The Work Profile Password Min Non Letter Characters. - * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 - */ - @SerializedName("workProfilePasswordMinNonLetterCharacters") - @Expose - public Integer workProfilePasswordMinNonLetterCharacters; - /** * The Work Profile Password Min Letter Characters. * Minimum # of letter characters required in work profile password. Valid values 1 to 10 @@ -270,12 +294,20 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur public Integer workProfilePasswordMinLowerCaseCharacters; /** - * The Work Profile Password Min Upper Case Characters. - * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * The Work Profile Password Min Non Letter Characters. + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 */ - @SerializedName("workProfilePasswordMinUpperCaseCharacters") + @SerializedName("workProfilePasswordMinNonLetterCharacters") @Expose - public Integer workProfilePasswordMinUpperCaseCharacters; + public Integer workProfilePasswordMinNonLetterCharacters; + + /** + * The Work Profile Password Min Numeric Characters. + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinNumericCharacters") + @Expose + public Integer workProfilePasswordMinNumericCharacters; /** * The Work Profile Password Min Symbol Characters. @@ -285,6 +317,14 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur @Expose public Integer workProfilePasswordMinSymbolCharacters; + /** + * The Work Profile Password Min Upper Case Characters. + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + */ + @SerializedName("workProfilePasswordMinUpperCaseCharacters") + @Expose + public Integer workProfilePasswordMinUpperCaseCharacters; + /** * The Work Profile Password Minutes Of Inactivity Before Screen Timeout. * Minutes of inactivity before the screen times out. @@ -301,14 +341,6 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur @Expose public Integer workProfilePasswordPreviousPasswordBlockCount; - /** - * The Work Profile Password Sign In Failure Count Before Factory Reset. - * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 - */ - @SerializedName("workProfilePasswordSignInFailureCountBeforeFactoryReset") - @Expose - public Integer workProfilePasswordSignInFailureCountBeforeFactoryReset; - /** * The Work Profile Password Required Type. * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. @@ -318,52 +350,20 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur public AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType; /** - * The Work Profile Require Password. - * Password is required or not for work profile - */ - @SerializedName("workProfileRequirePassword") - @Expose - public Boolean workProfileRequirePassword; - - /** - * The Security Require Verify Apps. - * Require the Android Verify apps feature is turned on. - */ - @SerializedName("securityRequireVerifyApps") - @Expose - public Boolean securityRequireVerifyApps; - - /** - * The Vpn Always On Package Identifier. - * Enable lockdown mode for always-on VPN. - */ - @SerializedName("vpnAlwaysOnPackageIdentifier") - @Expose - public String vpnAlwaysOnPackageIdentifier; - - /** - * The Vpn Enable Always On Lockdown Mode. - * Enable lockdown mode for always-on VPN. - */ - @SerializedName("vpnEnableAlwaysOnLockdownMode") - @Expose - public Boolean vpnEnableAlwaysOnLockdownMode; - - /** - * The Work Profile Allow Widgets. - * Allow widgets from work profile apps. + * The Work Profile Password Sign In Failure Count Before Factory Reset. + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 */ - @SerializedName("workProfileAllowWidgets") + @SerializedName("workProfilePasswordSignInFailureCountBeforeFactoryReset") @Expose - public Boolean workProfileAllowWidgets; + public Integer workProfilePasswordSignInFailureCountBeforeFactoryReset; /** - * The Work Profile Block Personal App Installs From Unknown Sources. - * Prevent app installations from unknown sources in the personal profile. + * The Work Profile Require Password. + * Password is required or not for work profile */ - @SerializedName("workProfileBlockPersonalAppInstallsFromUnknownSources") + @SerializedName("workProfileRequirePassword") @Expose - public Boolean workProfileBlockPersonalAppInstallsFromUnknownSources; + public Boolean workProfileRequirePassword; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfilePkcsCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfilePkcsCertificateProfile.java index 8bba7b29b35..db973df1520 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfilePkcsCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfilePkcsCertificateProfile.java @@ -31,6 +31,22 @@ public class AndroidWorkProfilePkcsCertificateProfile extends AndroidWorkProfileCertificateProfileBase implements IJsonBackedObject { + /** + * The Certificate Store. + * Target store certificate + */ + @SerializedName("certificateStore") + @Expose + public CertificateStore certificateStore; + + /** + * The Certificate Template Name. + * PKCS Certificate Template Name + */ + @SerializedName("certificateTemplateName") + @Expose + public String certificateTemplateName; + /** * The Certification Authority. * PKCS Certification Authority @@ -48,12 +64,12 @@ public class AndroidWorkProfilePkcsCertificateProfile extends AndroidWorkProfile public String certificationAuthorityName; /** - * The Certificate Template Name. - * PKCS Certificate Template Name + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("certificateTemplateName") + @SerializedName("customSubjectAlternativeNames") @Expose - public String certificateTemplateName; + public java.util.List customSubjectAlternativeNames; /** * The Subject Alternative Name Format String. @@ -71,22 +87,6 @@ public class AndroidWorkProfilePkcsCertificateProfile extends AndroidWorkProfile @Expose public String subjectNameFormatString; - /** - * The Certificate Store. - * Target store certificate - */ - @SerializedName("certificateStore") - @Expose - public CertificateStore certificateStore; - - /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. - */ - @SerializedName("customSubjectAlternativeNames") - @Expose - public java.util.List customSubjectAlternativeNames; - /** * The Managed Device Certificate States. * Certificate state for devices diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileScepCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileScepCertificateProfile.java index 243b106b194..6baad9f051e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileScepCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileScepCertificateProfile.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.KeyUsages; -import com.microsoft.graph.models.generated.KeySize; -import com.microsoft.graph.models.generated.HashAlgorithms; import com.microsoft.graph.models.generated.CertificateStore; import com.microsoft.graph.models.extensions.CustomSubjectAlternativeName; +import com.microsoft.graph.models.generated.HashAlgorithms; +import com.microsoft.graph.models.generated.KeySize; +import com.microsoft.graph.models.generated.KeyUsages; import com.microsoft.graph.models.extensions.ManagedDeviceCertificateState; import com.microsoft.graph.models.extensions.AndroidWorkProfileCertificateProfileBase; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionResponse; @@ -35,28 +35,28 @@ public class AndroidWorkProfileScepCertificateProfile extends AndroidWorkProfile /** - * The Scep Server Urls. - * SCEP Server Url(s) + * The Certificate Store. + * Target store certificate */ - @SerializedName("scepServerUrls") + @SerializedName("certificateStore") @Expose - public java.util.List scepServerUrls; + public CertificateStore certificateStore; /** - * The Subject Name Format String. - * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("subjectNameFormatString") + @SerializedName("customSubjectAlternativeNames") @Expose - public String subjectNameFormatString; + public java.util.List customSubjectAlternativeNames; /** - * The Key Usage. - * SCEP Key Usage + * The Hash Algorithm. + * SCEP Hash Algorithm */ - @SerializedName("keyUsage") + @SerializedName("hashAlgorithm") @Expose - public EnumSet keyUsage; + public EnumSet hashAlgorithm; /** * The Key Size. @@ -67,36 +67,36 @@ public class AndroidWorkProfileScepCertificateProfile extends AndroidWorkProfile public KeySize keySize; /** - * The Hash Algorithm. - * SCEP Hash Algorithm + * The Key Usage. + * SCEP Key Usage */ - @SerializedName("hashAlgorithm") + @SerializedName("keyUsage") @Expose - public EnumSet hashAlgorithm; + public EnumSet keyUsage; /** - * The Subject Alternative Name Format String. - * Custom String that defines the AAD Attribute. + * The Scep Server Urls. + * SCEP Server Url(s) */ - @SerializedName("subjectAlternativeNameFormatString") + @SerializedName("scepServerUrls") @Expose - public String subjectAlternativeNameFormatString; + public java.util.List scepServerUrls; /** - * The Certificate Store. - * Target store certificate + * The Subject Alternative Name Format String. + * Custom String that defines the AAD Attribute. */ - @SerializedName("certificateStore") + @SerializedName("subjectAlternativeNameFormatString") @Expose - public CertificateStore certificateStore; + public String subjectAlternativeNameFormatString; /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * The Subject Name Format String. + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US */ - @SerializedName("customSubjectAlternativeNames") + @SerializedName("subjectNameFormatString") @Expose - public java.util.List customSubjectAlternativeNames; + public String subjectNameFormatString; /** * The Managed Device Certificate States. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileTrustedRootCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileTrustedRootCertificate.java index 02c17e37803..49412073d44 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileTrustedRootCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileTrustedRootCertificate.java @@ -26,14 +26,6 @@ public class AndroidWorkProfileTrustedRootCertificate extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Trusted Root Certificate. - * Trusted Root Certificate - */ - @SerializedName("trustedRootCertificate") - @Expose - public byte[] trustedRootCertificate; - /** * The Cert File Name. * File name to display in UI. @@ -42,6 +34,14 @@ public class AndroidWorkProfileTrustedRootCertificate extends DeviceConfiguratio @Expose public String certFileName; + /** + * The Trusted Root Certificate. + * Trusted Root Certificate + */ + @SerializedName("trustedRootCertificate") + @Expose + public byte[] trustedRootCertificate; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileVpnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileVpnConfiguration.java index 540b345fad6..34861563a13 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileVpnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileVpnConfiguration.java @@ -8,12 +8,12 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.VpnAuthenticationMethod; import com.microsoft.graph.models.generated.AndroidWorkProfileVpnConnectionType; -import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.KeyValue; import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.generated.VpnAuthenticationMethod; import com.microsoft.graph.models.extensions.VpnProxyServer; +import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.AndroidWorkProfileCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -34,52 +34,44 @@ public class AndroidWorkProfileVpnConfiguration extends DeviceConfiguration impl /** - * The Connection Name. - * Connection name displayed to the user. - */ - @SerializedName("connectionName") - @Expose - public String connectionName; - - /** - * The Connection Type. - * Connection type. + * The Always On. + * Whether or not to enable always-on VPN connection. */ - @SerializedName("connectionType") + @SerializedName("alwaysOn") @Expose - public AndroidWorkProfileVpnConnectionType connectionType; + public Boolean alwaysOn; /** - * The Role. - * Role when connection type is set to Pulse Secure. + * The Always On Lockdown. + * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. */ - @SerializedName("role") + @SerializedName("alwaysOnLockdown") @Expose - public String role; + public Boolean alwaysOnLockdown; /** - * The Realm. - * Realm when connection type is set to Pulse Secure. + * The Authentication Method. + * Authentication method. */ - @SerializedName("realm") + @SerializedName("authenticationMethod") @Expose - public String realm; + public VpnAuthenticationMethod authenticationMethod; /** - * The Servers. - * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * The Connection Name. + * Connection name displayed to the user. */ - @SerializedName("servers") + @SerializedName("connectionName") @Expose - public java.util.List servers; + public String connectionName; /** - * The Fingerprint. - * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. + * The Connection Type. + * Connection type. */ - @SerializedName("fingerprint") + @SerializedName("connectionType") @Expose - public String fingerprint; + public AndroidWorkProfileVpnConnectionType connectionType; /** * The Custom Data. @@ -98,12 +90,12 @@ public class AndroidWorkProfileVpnConfiguration extends DeviceConfiguration impl public java.util.List customKeyValueData; /** - * The Authentication Method. - * Authentication method. + * The Fingerprint. + * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. */ - @SerializedName("authenticationMethod") + @SerializedName("fingerprint") @Expose - public VpnAuthenticationMethod authenticationMethod; + public String fingerprint; /** * The Proxy Server. @@ -114,28 +106,36 @@ public class AndroidWorkProfileVpnConfiguration extends DeviceConfiguration impl public VpnProxyServer proxyServer; /** - * The Targeted Package Ids. - * Targeted App package IDs. + * The Realm. + * Realm when connection type is set to Pulse Secure. */ - @SerializedName("targetedPackageIds") + @SerializedName("realm") @Expose - public java.util.List targetedPackageIds; + public String realm; /** - * The Always On. - * Whether or not to enable always-on VPN connection. + * The Role. + * Role when connection type is set to Pulse Secure. */ - @SerializedName("alwaysOn") + @SerializedName("role") @Expose - public Boolean alwaysOn; + public String role; /** - * The Always On Lockdown. - * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. + * The Servers. + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. */ - @SerializedName("alwaysOnLockdown") + @SerializedName("servers") @Expose - public Boolean alwaysOnLockdown; + public java.util.List servers; + + /** + * The Targeted Package Ids. + * Targeted App package IDs. + */ + @SerializedName("targetedPackageIds") + @Expose + public java.util.List targetedPackageIds; /** * The Identity Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileWiFiConfiguration.java index 64edc2c4a09..0e743b4754a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AndroidWorkProfileWiFiConfiguration.java @@ -27,22 +27,6 @@ public class AndroidWorkProfileWiFiConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Network Name. - * Network Name - */ - @SerializedName("networkName") - @Expose - public String networkName; - - /** - * The Ssid. - * This is the name of the Wi-Fi network that is broadcast to all devices. - */ - @SerializedName("ssid") - @Expose - public String ssid; - /** * The Connect Automatically. * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. @@ -59,6 +43,22 @@ public class AndroidWorkProfileWiFiConfiguration extends DeviceConfiguration imp @Expose public Boolean connectWhenNetworkNameIsHidden; + /** + * The Network Name. + * Network Name + */ + @SerializedName("networkName") + @Expose + public String networkName; + + /** + * The Ssid. + * This is the name of the Wi-Fi network that is broadcast to all devices. + */ + @SerializedName("ssid") + @Expose + public String ssid; + /** * The Wi Fi Security Type. * Indicates whether Wi-Fi endpoint uses an EAP based security type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApiApplication.java b/src/main/java/com/microsoft/graph/models/extensions/ApiApplication.java index f2d8ef30a32..a8c7eb628d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApiApplication.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApiApplication.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PreAuthorizedApplication; import com.microsoft.graph.models.extensions.PermissionScope; +import com.microsoft.graph.models.extensions.PreAuthorizedApplication; import com.google.gson.JsonObject; @@ -53,6 +53,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List knownClientApplications; + /** + * The Oauth2Permission Scopes. + * The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + */ + @SerializedName("oauth2PermissionScopes") + @Expose + public java.util.List oauth2PermissionScopes; + /** * The Pre Authorized Applications. * Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. @@ -69,14 +77,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer requestedAccessTokenVersion; - /** - * The Oauth2Permission Scopes. - * The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. - */ - @SerializedName("oauth2PermissionScopes") - @Expose - public java.util.List oauth2PermissionScopes; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppConsentRequest.java b/src/main/java/com/microsoft/graph/models/extensions/AppConsentRequest.java index 7312e188e22..f8beded3adf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppConsentRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppConsentRequest.java @@ -31,20 +31,20 @@ public class AppConsentRequest extends Entity implements IJsonBackedObject { /** - * The App Id. + * The App Display Name. * */ - @SerializedName("appId") + @SerializedName("appDisplayName") @Expose - public String appId; + public String appDisplayName; /** - * The App Display Name. + * The App Id. * */ - @SerializedName("appDisplayName") + @SerializedName("appId") @Expose - public String appDisplayName; + public String appId; /** * The Consent Type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java b/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java index 322e529ac34..9f9f4b41ea1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppListItem.java @@ -36,20 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Name. - * The application name - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Publisher. - * The publisher of the application + * The App Id. + * The application or bundle identifier of the application */ - @SerializedName("publisher") + @SerializedName("appId") @Expose - public String publisher; + public String appId; /** * The App Store Url. @@ -60,12 +52,20 @@ public final AdditionalDataManager additionalDataManager() { public String appStoreUrl; /** - * The App Id. - * The application or bundle identifier of the application + * The Name. + * The application name */ - @SerializedName("appId") + @SerializedName("name") @Expose - public String appId; + public String name; + + /** + * The Publisher. + * The publisher of the application + */ + @SerializedName("publisher") + @Expose + public String publisher; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionDownloadDetails.java b/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionDownloadDetails.java index 1cfdbf8dfd6..e35442f515a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionDownloadDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionDownloadDetails.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Download Url. - * Download SAS Url for completed AppLogUploadRequest + * The App Log Decryption Algorithm. + * DecryptionAlgorithm for Content */ - @SerializedName("downloadUrl") + @SerializedName("appLogDecryptionAlgorithm") @Expose - public String downloadUrl; + public AppLogDecryptionAlgorithm appLogDecryptionAlgorithm; /** * The Decryption Key. @@ -53,12 +53,12 @@ public final AdditionalDataManager additionalDataManager() { public String decryptionKey; /** - * The App Log Decryption Algorithm. - * DecryptionAlgorithm for Content + * The Download Url. + * Download SAS Url for completed AppLogUploadRequest */ - @SerializedName("appLogDecryptionAlgorithm") + @SerializedName("downloadUrl") @Expose - public AppLogDecryptionAlgorithm appLogDecryptionAlgorithm; + public String downloadUrl; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionRequest.java b/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionRequest.java index 3e4d48a566e..730302a757b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppLogCollectionRequest.java @@ -28,20 +28,12 @@ public class AppLogCollectionRequest extends Entity implements IJsonBackedObject /** - * The Status. - * Log upload status - */ - @SerializedName("status") - @Expose - public AppLogUploadState status; - - /** - * The Error Message. - * Error message if any during the upload process + * The Completed Date Time. + * Time at which the upload log request reached a terminal state */ - @SerializedName("errorMessage") + @SerializedName("completedDateTime") @Expose - public String errorMessage; + public java.util.Calendar completedDateTime; /** * The Custom Log Folders. @@ -52,12 +44,20 @@ public class AppLogCollectionRequest extends Entity implements IJsonBackedObject public java.util.List customLogFolders; /** - * The Completed Date Time. - * Time at which the upload log request reached a terminal state + * The Error Message. + * Error message if any during the upload process */ - @SerializedName("completedDateTime") + @SerializedName("errorMessage") @Expose - public java.util.Calendar completedDateTime; + public String errorMessage; + + /** + * The Status. + * Log upload status + */ + @SerializedName("status") + @Expose + public AppLogUploadState status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppScope.java b/src/main/java/com/microsoft/graph/models/extensions/AppScope.java index 46533fb5ff2..15d61860c05 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppScope.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppScope.java @@ -27,20 +27,20 @@ public class AppScope extends Entity implements IJsonBackedObject { /** - * The Type. + * The Display Name. * */ - @SerializedName("type") + @SerializedName("displayName") @Expose - public String type; + public String displayName; /** - * The Display Name. + * The Type. * */ - @SerializedName("displayName") + @SerializedName("type") @Expose - public String displayName; + public String type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityManagedDevice.java b/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityManagedDevice.java index 3a29bb0c94d..ddc9b09d646 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityManagedDevice.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityManagedDevice.java @@ -26,14 +26,6 @@ public class AppVulnerabilityManagedDevice extends Entity implements IJsonBackedObject { - /** - * The Managed Device Id. - * The Intune managed device ID. - */ - @SerializedName("managedDeviceId") - @Expose - public String managedDeviceId; - /** * The Display Name. * The device name. @@ -50,6 +42,14 @@ public class AppVulnerabilityManagedDevice extends Entity implements IJsonBacked @Expose public java.util.Calendar lastSyncDateTime; + /** + * The Managed Device Id. + * The Intune managed device ID. + */ + @SerializedName("managedDeviceId") + @Expose + public String managedDeviceId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityMobileApp.java b/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityMobileApp.java index 3cbf3d6398e..fb05958f0c4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityMobileApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityMobileApp.java @@ -27,12 +27,12 @@ public class AppVulnerabilityMobileApp extends Entity implements IJsonBackedObje /** - * The Mobile App Id. - * The Intune mobile app ID. + * The Created Date Time. + * The created date. */ - @SerializedName("mobileAppId") + @SerializedName("createdDateTime") @Expose - public String mobileAppId; + public java.util.Calendar createdDateTime; /** * The Display Name. @@ -42,14 +42,6 @@ public class AppVulnerabilityMobileApp extends Entity implements IJsonBackedObje @Expose public String displayName; - /** - * The Created Date Time. - * The created date. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - /** * The Last Modified Date Time. * The last modified date. @@ -58,6 +50,14 @@ public class AppVulnerabilityMobileApp extends Entity implements IJsonBackedObje @Expose public java.util.Calendar lastModifiedDateTime; + /** + * The Mobile App Id. + * The Intune mobile app ID. + */ + @SerializedName("mobileAppId") + @Expose + public String mobileAppId; + /** * The Mobile App Type. * The app type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityTask.java b/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityTask.java index 8499ab19d3e..0e829db5816 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityTask.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppVulnerabilityTask.java @@ -57,14 +57,6 @@ public class AppVulnerabilityTask extends DeviceAppManagementTask implements IJs @Expose public String appVersion; - /** - * The Mitigation Type. - * The mitigation type. - */ - @SerializedName("mitigationType") - @Expose - public AppVulnerabilityTaskMitigationType mitigationType; - /** * The Insights. * Information about the mitigation. @@ -81,6 +73,14 @@ public class AppVulnerabilityTask extends DeviceAppManagementTask implements IJs @Expose public Integer managedDeviceCount; + /** + * The Mitigation Type. + * The mitigation type. + */ + @SerializedName("mitigationType") + @Expose + public AppVulnerabilityTaskMitigationType mitigationType; + /** * The Mobile App Count. * The number of vulnerable mobile apps. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppleOwnerTypeEnrollmentType.java b/src/main/java/com/microsoft/graph/models/extensions/AppleOwnerTypeEnrollmentType.java index e14b1c94e81..df3c6442e1d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppleOwnerTypeEnrollmentType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppleOwnerTypeEnrollmentType.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedDeviceOwnerType; import com.microsoft.graph.models.generated.AppleUserInitiatedEnrollmentType; +import com.microsoft.graph.models.generated.ManagedDeviceOwnerType; import com.google.gson.JsonObject; @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Owner Type. - * The owner type. - */ - @SerializedName("ownerType") - @Expose - public ManagedDeviceOwnerType ownerType; - /** * The Enrollment Type. * The enrollment type. @@ -53,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public AppleUserInitiatedEnrollmentType enrollmentType; + /** + * The Owner Type. + * The owner type. + */ + @SerializedName("ownerType") + @Expose + public ManagedDeviceOwnerType ownerType; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java index 68563a0d436..91f722d3168 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApplePushNotificationCertificate.java @@ -35,28 +35,28 @@ public class ApplePushNotificationCertificate extends Entity implements IJsonBac public String appleIdentifier; /** - * The Topic Identifier. - * Topic Id. + * The Certificate. + * Not yet documented */ - @SerializedName("topicIdentifier") + @SerializedName("certificate") @Expose - public String topicIdentifier; + public String certificate; /** - * The Last Modified Date Time. - * Last modified date and time for Apple push notification certificate. + * The Certificate Serial Number. + * Certificate serial number. This property is read-only. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("certificateSerialNumber") @Expose - public java.util.Calendar lastModifiedDateTime; + public String certificateSerialNumber; /** - * The Expiration Date Time. - * The expiration date and time for Apple push notification certificate. + * The Certificate Upload Failure Reason. + * The reason the certificate upload failed. */ - @SerializedName("expirationDateTime") + @SerializedName("certificateUploadFailureReason") @Expose - public java.util.Calendar expirationDateTime; + public String certificateUploadFailureReason; /** * The Certificate Upload Status. @@ -67,28 +67,28 @@ public class ApplePushNotificationCertificate extends Entity implements IJsonBac public String certificateUploadStatus; /** - * The Certificate Upload Failure Reason. - * The reason the certificate upload failed. + * The Expiration Date Time. + * The expiration date and time for Apple push notification certificate. */ - @SerializedName("certificateUploadFailureReason") + @SerializedName("expirationDateTime") @Expose - public String certificateUploadFailureReason; + public java.util.Calendar expirationDateTime; /** - * The Certificate Serial Number. - * Certificate serial number. This property is read-only. + * The Last Modified Date Time. + * Last modified date and time for Apple push notification certificate. */ - @SerializedName("certificateSerialNumber") + @SerializedName("lastModifiedDateTime") @Expose - public String certificateSerialNumber; + public java.util.Calendar lastModifiedDateTime; /** - * The Certificate. - * Not yet documented + * The Topic Identifier. + * Topic Id. */ - @SerializedName("certificate") + @SerializedName("topicIdentifier") @Expose - public String certificate; + public String topicIdentifier; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppleUserInitiatedEnrollmentProfile.java b/src/main/java/com/microsoft/graph/models/extensions/AppleUserInitiatedEnrollmentProfile.java index 53de844a110..31fa8d79dfd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppleUserInitiatedEnrollmentProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppleUserInitiatedEnrollmentProfile.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AppleUserInitiatedEnrollmentType; import com.microsoft.graph.models.extensions.AppleOwnerTypeEnrollmentType; +import com.microsoft.graph.models.generated.AppleUserInitiatedEnrollmentType; import com.microsoft.graph.models.generated.DevicePlatformType; import com.microsoft.graph.models.extensions.AppleEnrollmentProfileAssignment; import com.microsoft.graph.models.extensions.Entity; @@ -32,14 +32,6 @@ public class AppleUserInitiatedEnrollmentProfile extends Entity implements IJsonBackedObject { - /** - * The Default Enrollment Type. - * The default profile enrollment type. - */ - @SerializedName("defaultEnrollmentType") - @Expose - public AppleUserInitiatedEnrollmentType defaultEnrollmentType; - /** * The Available Enrollment Type Options. * List of available enrollment type options @@ -49,12 +41,20 @@ public class AppleUserInitiatedEnrollmentProfile extends Entity implements IJson public java.util.List availableEnrollmentTypeOptions; /** - * The Display Name. - * Name of the profile + * The Created Date Time. + * Profile creation time */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; + + /** + * The Default Enrollment Type. + * The default profile enrollment type. + */ + @SerializedName("defaultEnrollmentType") + @Expose + public AppleUserInitiatedEnrollmentType defaultEnrollmentType; /** * The Description. @@ -65,36 +65,36 @@ public class AppleUserInitiatedEnrollmentProfile extends Entity implements IJson public String description; /** - * The Priority. - * Priority, 0 is highest + * The Display Name. + * Name of the profile */ - @SerializedName("priority") + @SerializedName("displayName") @Expose - public Integer priority; + public String displayName; /** - * The Platform. - * The platform of the Device. + * The Last Modified Date Time. + * Profile last modified time */ - @SerializedName("platform") + @SerializedName("lastModifiedDateTime") @Expose - public DevicePlatformType platform; + public java.util.Calendar lastModifiedDateTime; /** - * The Created Date Time. - * Profile creation time + * The Platform. + * The platform of the Device. */ - @SerializedName("createdDateTime") + @SerializedName("platform") @Expose - public java.util.Calendar createdDateTime; + public DevicePlatformType platform; /** - * The Last Modified Date Time. - * Profile last modified time + * The Priority. + * Priority, 0 is highest */ - @SerializedName("lastModifiedDateTime") + @SerializedName("priority") @Expose - public java.util.Calendar lastModifiedDateTime; + public Integer priority; /** * The Assignments. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppleVpnAlwaysOnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AppleVpnAlwaysOnConfiguration.java index 90331a667b6..fc872dd401a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppleVpnAlwaysOnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppleVpnAlwaysOnConfiguration.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.VpnTunnelConfigurationType; import com.microsoft.graph.models.generated.VpnServiceExceptionAction; import com.microsoft.graph.models.extensions.SpecifiedCaptiveNetworkPlugins; +import com.microsoft.graph.models.generated.VpnTunnelConfigurationType; import com.google.gson.JsonObject; @@ -38,30 +38,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Tunnel Configuration. - * Determines what connections the specific tunnel configuration applies to - */ - @SerializedName("tunnelConfiguration") - @Expose - public VpnTunnelConfigurationType tunnelConfiguration; - - /** - * The User Toggle Enabled. - * Allow the user to toggle the VPN configuration using the UI - */ - @SerializedName("userToggleEnabled") - @Expose - public Boolean userToggleEnabled; - - /** - * The Voicemail Exception Action. - * Determine whether voicemail service will be exempt from the always-on VPN connection - */ - @SerializedName("voicemailExceptionAction") - @Expose - public VpnServiceExceptionAction voicemailExceptionAction; - /** * The Air Print Exception Action. * Determine whether AirPrint service will be exempt from the always-on VPN connection @@ -70,14 +46,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public VpnServiceExceptionAction airPrintExceptionAction; - /** - * The Cellular Exception Action. - * Determine whether Cellular service will be exempt from the always-on VPN connection - */ - @SerializedName("cellularExceptionAction") - @Expose - public VpnServiceExceptionAction cellularExceptionAction; - /** * The Allow All Captive Network Plugins. * Specifies whether traffic from all captive network plugins should be allowed outside the vpn @@ -86,6 +54,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean allowAllCaptiveNetworkPlugins; + /** + * The Allow Captive Web Sheet. + * Determines whether traffic from the Websheet app is allowed outside of the VPN + */ + @SerializedName("allowCaptiveWebSheet") + @Expose + public Boolean allowCaptiveWebSheet; + /** * The Allowed Captive Network Plugins. * Determines whether all, some, or no non-native captive networking apps are allowed @@ -95,12 +71,12 @@ public final AdditionalDataManager additionalDataManager() { public SpecifiedCaptiveNetworkPlugins allowedCaptiveNetworkPlugins; /** - * The Allow Captive Web Sheet. - * Determines whether traffic from the Websheet app is allowed outside of the VPN + * The Cellular Exception Action. + * Determine whether Cellular service will be exempt from the always-on VPN connection */ - @SerializedName("allowCaptiveWebSheet") + @SerializedName("cellularExceptionAction") @Expose - public Boolean allowCaptiveWebSheet; + public VpnServiceExceptionAction cellularExceptionAction; /** * The Nat Keep Alive Interval In Seconds. @@ -118,6 +94,30 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean natKeepAliveOffloadEnable; + /** + * The Tunnel Configuration. + * Determines what connections the specific tunnel configuration applies to + */ + @SerializedName("tunnelConfiguration") + @Expose + public VpnTunnelConfigurationType tunnelConfiguration; + + /** + * The User Toggle Enabled. + * Allow the user to toggle the VPN configuration using the UI + */ + @SerializedName("userToggleEnabled") + @Expose + public Boolean userToggleEnabled; + + /** + * The Voicemail Exception Action. + * Determine whether voicemail service will be exempt from the always-on VPN connection + */ + @SerializedName("voicemailExceptionAction") + @Expose + public VpnServiceExceptionAction voicemailExceptionAction; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppleVpnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/AppleVpnConfiguration.java index 8cf6156f098..a4abd31aca3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppleVpnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppleVpnConfiguration.java @@ -8,14 +8,14 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.VpnAuthenticationMethod; import com.microsoft.graph.models.generated.AppleVpnConnectionType; -import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.KeyValue; import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.generated.VpnAuthenticationMethod; import com.microsoft.graph.models.extensions.VpnOnDemandRule; import com.microsoft.graph.models.generated.VpnProviderType; import com.microsoft.graph.models.extensions.VpnProxyServer; +import com.microsoft.graph.models.extensions.VpnServer; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -34,6 +34,14 @@ public class AppleVpnConfiguration extends DeviceConfiguration implements IJsonBackedObject { + /** + * The Authentication Method. + * Authentication method for this VPN connection. + */ + @SerializedName("authenticationMethod") + @Expose + public VpnAuthenticationMethod authenticationMethod; + /** * The Connection Name. * Connection name displayed to the user. @@ -50,46 +58,6 @@ public class AppleVpnConfiguration extends DeviceConfiguration implements IJsonB @Expose public AppleVpnConnectionType connectionType; - /** - * The Login Group Or Domain. - * Login group or domain when connection type is set to Dell SonicWALL Mobile Connection. - */ - @SerializedName("loginGroupOrDomain") - @Expose - public String loginGroupOrDomain; - - /** - * The Role. - * Role when connection type is set to Pulse Secure. - */ - @SerializedName("role") - @Expose - public String role; - - /** - * The Realm. - * Realm when connection type is set to Pulse Secure. - */ - @SerializedName("realm") - @Expose - public String realm; - - /** - * The Server. - * VPN Server on the network. Make sure end users can access this network location. - */ - @SerializedName("server") - @Expose - public VpnServer server; - - /** - * The Identifier. - * Identifier provided by VPN vendor when connection type is set to Custom VPN. For example: Cisco AnyConnect uses an identifier of the form com.cisco.anyconnect.applevpn.plugin - */ - @SerializedName("identifier") - @Expose - public String identifier; - /** * The Custom Data. * Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements. @@ -107,36 +75,36 @@ public class AppleVpnConfiguration extends DeviceConfiguration implements IJsonB public java.util.List customKeyValueData; /** - * The Enable Split Tunneling. - * Send all network traffic through VPN. + * The Enable Per App. + * Setting this to true creates Per-App VPN payload which can later be associated with Apps that can trigger this VPN conneciton on the end user's iOS device. */ - @SerializedName("enableSplitTunneling") + @SerializedName("enablePerApp") @Expose - public Boolean enableSplitTunneling; + public Boolean enablePerApp; /** - * The Authentication Method. - * Authentication method for this VPN connection. + * The Enable Split Tunneling. + * Send all network traffic through VPN. */ - @SerializedName("authenticationMethod") + @SerializedName("enableSplitTunneling") @Expose - public VpnAuthenticationMethod authenticationMethod; + public Boolean enableSplitTunneling; /** - * The Enable Per App. - * Setting this to true creates Per-App VPN payload which can later be associated with Apps that can trigger this VPN conneciton on the end user's iOS device. + * The Identifier. + * Identifier provided by VPN vendor when connection type is set to Custom VPN. For example: Cisco AnyConnect uses an identifier of the form com.cisco.anyconnect.applevpn.plugin */ - @SerializedName("enablePerApp") + @SerializedName("identifier") @Expose - public Boolean enablePerApp; + public String identifier; /** - * The Safari Domains. - * Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection. + * The Login Group Or Domain. + * Login group or domain when connection type is set to Dell SonicWALL Mobile Connection. */ - @SerializedName("safariDomains") + @SerializedName("loginGroupOrDomain") @Expose - public java.util.List safariDomains; + public String loginGroupOrDomain; /** * The On Demand Rules. @@ -146,6 +114,14 @@ public class AppleVpnConfiguration extends DeviceConfiguration implements IJsonB @Expose public java.util.List onDemandRules; + /** + * The Opt In To Device Id Sharing. + * Opt-In to sharing the device's Id to third-party vpn clients for use during network access control validation. + */ + @SerializedName("optInToDeviceIdSharing") + @Expose + public Boolean optInToDeviceIdSharing; + /** * The Provider Type. * Provider type for per-app VPN. @@ -163,12 +139,36 @@ public class AppleVpnConfiguration extends DeviceConfiguration implements IJsonB public VpnProxyServer proxyServer; /** - * The Opt In To Device Id Sharing. - * Opt-In to sharing the device's Id to third-party vpn clients for use during network access control validation. + * The Realm. + * Realm when connection type is set to Pulse Secure. */ - @SerializedName("optInToDeviceIdSharing") + @SerializedName("realm") @Expose - public Boolean optInToDeviceIdSharing; + public String realm; + + /** + * The Role. + * Role when connection type is set to Pulse Secure. + */ + @SerializedName("role") + @Expose + public String role; + + /** + * The Safari Domains. + * Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection. + */ + @SerializedName("safariDomains") + @Expose + public java.util.List safariDomains; + + /** + * The Server. + * VPN Server on the network. Make sure end users can access this network location. + */ + @SerializedName("server") + @Expose + public VpnServer server; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Application.java b/src/main/java/com/microsoft/graph/models/extensions/Application.java index 4d8ed2a625c..037842786cd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Application.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Application.java @@ -17,10 +17,11 @@ import com.microsoft.graph.models.extensions.PasswordCredential; import com.microsoft.graph.models.extensions.PublicClientApplication; import com.microsoft.graph.models.extensions.RequiredResourceAccess; +import com.microsoft.graph.models.extensions.SpaApplication; import com.microsoft.graph.models.extensions.WebApplication; import com.microsoft.graph.models.extensions.OnPremisesPublishing; -import com.microsoft.graph.models.extensions.ExtensionProperty; import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.models.extensions.ExtensionProperty; import com.microsoft.graph.models.extensions.HomeRealmDiscoveryPolicy; import com.microsoft.graph.models.extensions.TokenIssuancePolicy; import com.microsoft.graph.models.extensions.TokenLifetimePolicy; @@ -28,10 +29,10 @@ import com.microsoft.graph.models.extensions.Synchronization; import com.microsoft.graph.requests.extensions.ExtensionPropertyCollectionResponse; import com.microsoft.graph.requests.extensions.ExtensionPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; import com.microsoft.graph.requests.extensions.HomeRealmDiscoveryPolicyCollectionResponse; import com.microsoft.graph.requests.extensions.HomeRealmDiscoveryPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; import com.microsoft.graph.requests.extensions.TokenIssuancePolicyCollectionResponse; import com.microsoft.graph.requests.extensions.TokenIssuancePolicyCollectionPage; import com.microsoft.graph.requests.extensions.TokenLifetimePolicyCollectionResponse; @@ -93,22 +94,6 @@ public class Application extends DirectoryObject implements IJsonBackedObject { @Expose public String description; - /** - * The Is Fallback Public Client. - * Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as web app. There are certain scenarios where Azure AD cannot determine the client application type (e.g. ROPC flow where it is configured without specifying a redirect URI). In those cases Azure AD will interpret the application type based on the value of this property. - */ - @SerializedName("isFallbackPublicClient") - @Expose - public Boolean isFallbackPublicClient; - - /** - * The Identifier Uris. - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. - */ - @SerializedName("identifierUris") - @Expose - public java.util.List identifierUris; - /** * The Display Name. * The display name for the application. @@ -125,6 +110,14 @@ public class Application extends DirectoryObject implements IJsonBackedObject { @Expose public String groupMembershipClaims; + /** + * The Identifier Uris. + * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. + */ + @SerializedName("identifierUris") + @Expose + public java.util.List identifierUris; + /** * The Info. * Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. @@ -141,6 +134,14 @@ public class Application extends DirectoryObject implements IJsonBackedObject { @Expose public Boolean isDeviceOnlyAuthSupported; + /** + * The Is Fallback Public Client. + * Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as web app. There are certain scenarios where Azure AD cannot determine the client application type (e.g. ROPC flow where it is configured without specifying a redirect URI). In those cases Azure AD will interpret the application type based on the value of this property. + */ + @SerializedName("isFallbackPublicClient") + @Expose + public Boolean isFallbackPublicClient; + /** * The Key Credentials. * The collection of key credentials associated with the application Not nullable. @@ -213,6 +214,14 @@ public class Application extends DirectoryObject implements IJsonBackedObject { @Expose public String signInAudience; + /** + * The Spa. + * + */ + @SerializedName("spa") + @Expose + public SpaApplication spa; + /** * The Tags. * Custom strings that can be used to categorize and identify the application. Not nullable. @@ -253,12 +262,6 @@ public class Application extends DirectoryObject implements IJsonBackedObject { @Expose public OnPremisesPublishing onPremisesPublishing; - /** - * The Extension Properties. - * Read-only. Nullable. - */ - public ExtensionPropertyCollectionPage extensionProperties; - /** * The Created On Behalf Of. * Read-only. @@ -268,10 +271,10 @@ public class Application extends DirectoryObject implements IJsonBackedObject { public DirectoryObject createdOnBehalfOf; /** - * The Owners. - * Directory objects that are owners of the application. The owners are a set of non-admin users who are allowed to modify this object. Requires version 2013-11-08 or newer. Read-only. Nullable. + * The Extension Properties. + * Read-only. Nullable. */ - public DirectoryObjectCollectionPage owners; + public ExtensionPropertyCollectionPage extensionProperties; /** * The Home Realm Discovery Policies. @@ -279,6 +282,12 @@ public class Application extends DirectoryObject implements IJsonBackedObject { */ public HomeRealmDiscoveryPolicyCollectionPage homeRealmDiscoveryPolicies; + /** + * The Owners. + * Directory objects that are owners of the application. The owners are a set of non-admin users who are allowed to modify this object. Requires version 2013-11-08 or newer. Read-only. Nullable. + */ + public DirectoryObjectCollectionPage owners; + /** * The Token Issuance Policies. * @@ -363,22 +372,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { extensionProperties = new ExtensionPropertyCollectionPage(response, null); } - if (json.has("owners")) { - final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("owners@odata.nextLink")) { - response.nextLink = json.get("owners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("owners").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - owners = new DirectoryObjectCollectionPage(response, null); - } - if (json.has("homeRealmDiscoveryPolicies")) { final HomeRealmDiscoveryPolicyCollectionResponse response = new HomeRealmDiscoveryPolicyCollectionResponse(); if (json.has("homeRealmDiscoveryPolicies@odata.nextLink")) { @@ -395,6 +388,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { homeRealmDiscoveryPolicies = new HomeRealmDiscoveryPolicyCollectionPage(response, null); } + if (json.has("owners")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("owners@odata.nextLink")) { + response.nextLink = json.get("owners@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("owners").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + owners = new DirectoryObjectCollectionPage(response, null); + } + if (json.has("tokenIssuancePolicies")) { final TokenIssuancePolicyCollectionResponse response = new TokenIssuancePolicyCollectionResponse(); if (json.has("tokenIssuancePolicies@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInDetailedSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInDetailedSummary.java index 35c59da2cc2..3ba96b8fcd5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInDetailedSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInDetailedSummary.java @@ -28,12 +28,12 @@ public class ApplicationSignInDetailedSummary extends Entity implements IJsonBac /** - * The App Id. + * The Aggregated Event Date Time. * */ - @SerializedName("appId") + @SerializedName("aggregatedEventDateTime") @Expose - public String appId; + public java.util.Calendar aggregatedEventDateTime; /** * The App Display Name. @@ -44,12 +44,12 @@ public class ApplicationSignInDetailedSummary extends Entity implements IJsonBac public String appDisplayName; /** - * The Status. + * The App Id. * */ - @SerializedName("status") + @SerializedName("appId") @Expose - public SignInStatus status; + public String appId; /** * The Sign In Count. @@ -60,12 +60,12 @@ public class ApplicationSignInDetailedSummary extends Entity implements IJsonBac public Long signInCount; /** - * The Aggregated Event Date Time. + * The Status. * */ - @SerializedName("aggregatedEventDateTime") + @SerializedName("status") @Expose - public java.util.Calendar aggregatedEventDateTime; + public SignInStatus status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInSummary.java index c68dfac8390..5ba14b6bbf2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApplicationSignInSummary.java @@ -35,20 +35,20 @@ public class ApplicationSignInSummary extends Entity implements IJsonBackedObjec public String appDisplayName; /** - * The Successful Sign In Count. + * The Failed Sign In Count. * */ - @SerializedName("successfulSignInCount") + @SerializedName("failedSignInCount") @Expose - public Long successfulSignInCount; + public Long failedSignInCount; /** - * The Failed Sign In Count. + * The Successful Sign In Count. * */ - @SerializedName("failedSignInCount") + @SerializedName("successfulSignInCount") @Expose - public Long failedSignInCount; + public Long successfulSignInCount; /** * The Success Percentage. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApplicationTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/ApplicationTemplate.java index 9565c65d0bb..b62b0231e6b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApplicationTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApplicationTemplate.java @@ -27,36 +27,36 @@ public class ApplicationTemplate extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Categories. * */ - @SerializedName("displayName") + @SerializedName("categories") @Expose - public String displayName; + public java.util.List categories; /** - * The Home Page Url. + * The Description. * */ - @SerializedName("homePageUrl") + @SerializedName("description") @Expose - public String homePageUrl; + public String description; /** - * The Supported Single Sign On Modes. + * The Display Name. * */ - @SerializedName("supportedSingleSignOnModes") + @SerializedName("displayName") @Expose - public java.util.List supportedSingleSignOnModes; + public String displayName; /** - * The Supported Provisioning Types. + * The Home Page Url. * */ - @SerializedName("supportedProvisioningTypes") + @SerializedName("homePageUrl") @Expose - public java.util.List supportedProvisioningTypes; + public String homePageUrl; /** * The Logo Url. @@ -67,28 +67,28 @@ public class ApplicationTemplate extends Entity implements IJsonBackedObject { public String logoUrl; /** - * The Categories. + * The Publisher. * */ - @SerializedName("categories") + @SerializedName("publisher") @Expose - public java.util.List categories; + public String publisher; /** - * The Publisher. + * The Supported Provisioning Types. * */ - @SerializedName("publisher") + @SerializedName("supportedProvisioningTypes") @Expose - public String publisher; + public java.util.List supportedProvisioningTypes; /** - * The Description. + * The Supported Single Sign On Modes. * */ - @SerializedName("description") + @SerializedName("supportedSingleSignOnModes") @Expose - public String description; + public java.util.List supportedSingleSignOnModes; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AppliedConditionalAccessPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AppliedConditionalAccessPolicy.java index 5ee54918368..fa6aa53357b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AppliedConditionalAccessPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AppliedConditionalAccessPolicy.java @@ -38,12 +38,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. - * Unique GUID of the conditional access policy. + * The Conditions Not Satisfied. + * */ - @SerializedName("id") + @SerializedName("conditionsNotSatisfied") @Expose - public String id; + public EnumSet conditionsNotSatisfied; + + /** + * The Conditions Satisfied. + * + */ + @SerializedName("conditionsSatisfied") + @Expose + public EnumSet conditionsSatisfied; /** * The Display Name. @@ -70,20 +78,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List enforcedSessionControls; /** - * The Conditions Satisfied. - * - */ - @SerializedName("conditionsSatisfied") - @Expose - public EnumSet conditionsSatisfied; - - /** - * The Conditions Not Satisfied. - * + * The Id. + * Unique GUID of the conditional access policy. */ - @SerializedName("conditionsNotSatisfied") + @SerializedName("id") @Expose - public EnumSet conditionsNotSatisfied; + public String id; /** * The Result. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApplyLabelAction.java b/src/main/java/com/microsoft/graph/models/extensions/ApplyLabelAction.java index 59fbd53e00a..5bb76c65a12 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApplyLabelAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApplyLabelAction.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.LabelDetails; import com.microsoft.graph.models.extensions.InformationProtectionAction; import com.microsoft.graph.models.generated.ActionSource; +import com.microsoft.graph.models.extensions.LabelDetails; import com.google.gson.JsonObject; @@ -29,36 +29,36 @@ public class ApplyLabelAction extends InformationProtectionAction implements IJs /** - * The Label. + * The Actions. * */ - @SerializedName("label") + @SerializedName("actions") @Expose - public LabelDetails label; + public java.util.List actions; /** - * The Responsible Sensitive Type Ids. + * The Action Source. * */ - @SerializedName("responsibleSensitiveTypeIds") + @SerializedName("actionSource") @Expose - public java.util.List responsibleSensitiveTypeIds; + public ActionSource actionSource; /** - * The Actions. + * The Label. * */ - @SerializedName("actions") + @SerializedName("label") @Expose - public java.util.List actions; + public LabelDetails label; /** - * The Action Source. + * The Responsible Sensitive Type Ids. * */ - @SerializedName("actionSource") + @SerializedName("responsibleSensitiveTypeIds") @Expose - public ActionSource actionSource; + public java.util.List responsibleSensitiveTypeIds; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Approval.java b/src/main/java/com/microsoft/graph/models/extensions/Approval.java index 5576a325533..2b2b5c2c03b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Approval.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Approval.java @@ -30,16 +30,16 @@ public class Approval extends Entity implements IJsonBackedObject { /** - * The Pending Steps. + * The Completed Steps. * */ - public ApprovalStepCollectionPage pendingSteps; + public ApprovalStepCollectionPage completedSteps; /** - * The Completed Steps. + * The Pending Steps. * */ - public ApprovalStepCollectionPage completedSteps; + public ApprovalStepCollectionPage pendingSteps; /** @@ -81,36 +81,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("pendingSteps")) { + if (json.has("completedSteps")) { final ApprovalStepCollectionResponse response = new ApprovalStepCollectionResponse(); - if (json.has("pendingSteps@odata.nextLink")) { - response.nextLink = json.get("pendingSteps@odata.nextLink").getAsString(); + if (json.has("completedSteps@odata.nextLink")) { + response.nextLink = json.get("completedSteps@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pendingSteps").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("completedSteps").toString(), JsonObject[].class); final ApprovalStep[] array = new ApprovalStep[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), ApprovalStep.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - pendingSteps = new ApprovalStepCollectionPage(response, null); + completedSteps = new ApprovalStepCollectionPage(response, null); } - if (json.has("completedSteps")) { + if (json.has("pendingSteps")) { final ApprovalStepCollectionResponse response = new ApprovalStepCollectionResponse(); - if (json.has("completedSteps@odata.nextLink")) { - response.nextLink = json.get("completedSteps@odata.nextLink").getAsString(); + if (json.has("pendingSteps@odata.nextLink")) { + response.nextLink = json.get("pendingSteps@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("completedSteps").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("pendingSteps").toString(), JsonObject[].class); final ApprovalStep[] array = new ApprovalStep[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), ApprovalStep.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - completedSteps = new ApprovalStepCollectionPage(response, null); + pendingSteps = new ApprovalStepCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApprovalSettings.java b/src/main/java/com/microsoft/graph/models/extensions/ApprovalSettings.java index da83912739e..ffa66b0078c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApprovalSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApprovalSettings.java @@ -37,44 +37,44 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Is Approval Required. + * The Approval Mode. * */ - @SerializedName("isApprovalRequired") + @SerializedName("approvalMode") @Expose - public Boolean isApprovalRequired; + public String approvalMode; /** - * The Is Approval Required For Extension. + * The Approval Stages. * */ - @SerializedName("isApprovalRequiredForExtension") + @SerializedName("approvalStages") @Expose - public Boolean isApprovalRequiredForExtension; + public java.util.List approvalStages; /** - * The Is Requestor Justification Required. + * The Is Approval Required. * */ - @SerializedName("isRequestorJustificationRequired") + @SerializedName("isApprovalRequired") @Expose - public Boolean isRequestorJustificationRequired; + public Boolean isApprovalRequired; /** - * The Approval Mode. + * The Is Approval Required For Extension. * */ - @SerializedName("approvalMode") + @SerializedName("isApprovalRequiredForExtension") @Expose - public String approvalMode; + public Boolean isApprovalRequiredForExtension; /** - * The Approval Stages. + * The Is Requestor Justification Required. * */ - @SerializedName("approvalStages") + @SerializedName("isRequestorJustificationRequired") @Expose - public java.util.List approvalStages; + public Boolean isRequestorJustificationRequired; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApprovalStage.java b/src/main/java/com/microsoft/graph/models/extensions/ApprovalStage.java index adbf53a8956..eb78154abe5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApprovalStage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApprovalStage.java @@ -45,44 +45,44 @@ public final AdditionalDataManager additionalDataManager() { public Integer approvalStageTimeOutInDays; /** - * The Is Approver Justification Required. + * The Escalation Approvers. * */ - @SerializedName("isApproverJustificationRequired") + @SerializedName("escalationApprovers") @Expose - public Boolean isApproverJustificationRequired; + public java.util.List escalationApprovers; /** - * The Is Escalation Enabled. + * The Escalation Time In Minutes. * */ - @SerializedName("isEscalationEnabled") + @SerializedName("escalationTimeInMinutes") @Expose - public Boolean isEscalationEnabled; + public Integer escalationTimeInMinutes; /** - * The Escalation Time In Minutes. + * The Is Approver Justification Required. * */ - @SerializedName("escalationTimeInMinutes") + @SerializedName("isApproverJustificationRequired") @Expose - public Integer escalationTimeInMinutes; + public Boolean isApproverJustificationRequired; /** - * The Primary Approvers. + * The Is Escalation Enabled. * */ - @SerializedName("primaryApprovers") + @SerializedName("isEscalationEnabled") @Expose - public java.util.List primaryApprovers; + public Boolean isEscalationEnabled; /** - * The Escalation Approvers. + * The Primary Approvers. * */ - @SerializedName("escalationApprovers") + @SerializedName("primaryApprovers") @Expose - public java.util.List escalationApprovers; + public java.util.List primaryApprovers; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApprovalStep.java b/src/main/java/com/microsoft/graph/models/extensions/ApprovalStep.java index 7dd60f5e758..153fef7e297 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApprovalStep.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApprovalStep.java @@ -35,6 +35,14 @@ public class ApprovalStep extends Entity implements IJsonBackedObject { @Expose public String displayName; + /** + * The Justification. + * + */ + @SerializedName("justification") + @Expose + public String justification; + /** * The Reviewed By. * @@ -59,14 +67,6 @@ public class ApprovalStep extends Entity implements IJsonBackedObject { @Expose public String reviewResult; - /** - * The Justification. - * - */ - @SerializedName("justification") - @Expose - public String justification; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ApprovalWorkflowProvider.java b/src/main/java/com/microsoft/graph/models/extensions/ApprovalWorkflowProvider.java index 50a57b77f40..03aeff3500c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ApprovalWorkflowProvider.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ApprovalWorkflowProvider.java @@ -47,16 +47,16 @@ public class ApprovalWorkflowProvider extends Entity implements IJsonBackedObjec public BusinessFlowCollectionPage businessFlows; /** - * The Policy Templates. + * The Business Flows With Requests Awaiting My Decision. * */ - public GovernancePolicyTemplateCollectionPage policyTemplates; + public BusinessFlowCollectionPage businessFlowsWithRequestsAwaitingMyDecision; /** - * The Business Flows With Requests Awaiting My Decision. + * The Policy Templates. * */ - public BusinessFlowCollectionPage businessFlowsWithRequestsAwaitingMyDecision; + public GovernancePolicyTemplateCollectionPage policyTemplates; /** @@ -114,22 +114,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { businessFlows = new BusinessFlowCollectionPage(response, null); } - if (json.has("policyTemplates")) { - final GovernancePolicyTemplateCollectionResponse response = new GovernancePolicyTemplateCollectionResponse(); - if (json.has("policyTemplates@odata.nextLink")) { - response.nextLink = json.get("policyTemplates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("policyTemplates").toString(), JsonObject[].class); - final GovernancePolicyTemplate[] array = new GovernancePolicyTemplate[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernancePolicyTemplate.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - policyTemplates = new GovernancePolicyTemplateCollectionPage(response, null); - } - if (json.has("businessFlowsWithRequestsAwaitingMyDecision")) { final BusinessFlowCollectionResponse response = new BusinessFlowCollectionResponse(); if (json.has("businessFlowsWithRequestsAwaitingMyDecision@odata.nextLink")) { @@ -145,5 +129,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); businessFlowsWithRequestsAwaitingMyDecision = new BusinessFlowCollectionPage(response, null); } + + if (json.has("policyTemplates")) { + final GovernancePolicyTemplateCollectionResponse response = new GovernancePolicyTemplateCollectionResponse(); + if (json.has("policyTemplates@odata.nextLink")) { + response.nextLink = json.get("policyTemplates@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("policyTemplates").toString(), JsonObject[].class); + final GovernancePolicyTemplate[] array = new GovernancePolicyTemplate[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernancePolicyTemplate.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + policyTemplates = new GovernancePolicyTemplateCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ArchivedPrintJob.java b/src/main/java/com/microsoft/graph/models/extensions/ArchivedPrintJob.java index cd2be285ba5..c33253bcb7e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ArchivedPrintJob.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ArchivedPrintJob.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.PrintJobProcessingState; import com.microsoft.graph.models.extensions.UserIdentity; +import com.microsoft.graph.models.generated.PrintJobProcessingState; import com.google.gson.JsonObject; @@ -38,116 +38,116 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Acquired By Printer. * */ - @SerializedName("id") + @SerializedName("acquiredByPrinter") @Expose - public String id; + public Boolean acquiredByPrinter; /** - * The Printer Id. + * The Acquired Date Time. * */ - @SerializedName("printerId") + @SerializedName("acquiredDateTime") @Expose - public String printerId; + public java.util.Calendar acquiredDateTime; /** - * The Processing State. + * The Black And White Page Count. * */ - @SerializedName("processingState") + @SerializedName("blackAndWhitePageCount") @Expose - public PrintJobProcessingState processingState; + public Integer blackAndWhitePageCount; /** - * The Created Date Time. + * The Color Page Count. * */ - @SerializedName("createdDateTime") + @SerializedName("colorPageCount") @Expose - public java.util.Calendar createdDateTime; + public Integer colorPageCount; /** - * The Acquired Date Time. + * The Completion Date Time. * */ - @SerializedName("acquiredDateTime") + @SerializedName("completionDateTime") @Expose - public java.util.Calendar acquiredDateTime; + public java.util.Calendar completionDateTime; /** - * The Completion Date Time. + * The Copies Printed. * */ - @SerializedName("completionDateTime") + @SerializedName("copiesPrinted") @Expose - public java.util.Calendar completionDateTime; + public Integer copiesPrinted; /** - * The Acquired By Printer. + * The Created By. * */ - @SerializedName("acquiredByPrinter") + @SerializedName("createdBy") @Expose - public Boolean acquiredByPrinter; + public UserIdentity createdBy; /** - * The Copies Printed. + * The Created Date Time. * */ - @SerializedName("copiesPrinted") + @SerializedName("createdDateTime") @Expose - public Integer copiesPrinted; + public java.util.Calendar createdDateTime; /** - * The Page Count. + * The Duplex Page Count. * */ - @SerializedName("pageCount") + @SerializedName("duplexPageCount") @Expose - public Integer pageCount; + public Integer duplexPageCount; /** - * The Black And White Page Count. + * The Id. * */ - @SerializedName("blackAndWhitePageCount") + @SerializedName("id") @Expose - public Integer blackAndWhitePageCount; + public String id; /** - * The Color Page Count. + * The Page Count. * */ - @SerializedName("colorPageCount") + @SerializedName("pageCount") @Expose - public Integer colorPageCount; + public Integer pageCount; /** - * The Simplex Page Count. + * The Printer Id. * */ - @SerializedName("simplexPageCount") + @SerializedName("printerId") @Expose - public Integer simplexPageCount; + public String printerId; /** - * The Duplex Page Count. + * The Processing State. * */ - @SerializedName("duplexPageCount") + @SerializedName("processingState") @Expose - public Integer duplexPageCount; + public PrintJobProcessingState processingState; /** - * The Created By. + * The Simplex Page Count. * */ - @SerializedName("createdBy") + @SerializedName("simplexPageCount") @Expose - public UserIdentity createdBy; + public Integer simplexPageCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AssignedLabel.java b/src/main/java/com/microsoft/graph/models/extensions/AssignedLabel.java index a892c550fa3..4066dfd0dea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AssignedLabel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AssignedLabel.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Label Id. - * The unique identifier of the label. - */ - @SerializedName("labelId") - @Expose - public String labelId; - /** * The Display Name. * The display name of the label. Read-only. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; + /** + * The Label Id. + * The unique identifier of the label. + */ + @SerializedName("labelId") + @Expose + public String labelId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AssignmentReviewSettings.java b/src/main/java/com/microsoft/graph/models/extensions/AssignmentReviewSettings.java index 24fadaafaae..e0583c68ca4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AssignmentReviewSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AssignmentReviewSettings.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Duration In Days. + * + */ + @SerializedName("durationInDays") + @Expose + public Integer durationInDays; + /** * The Is Enabled. * @@ -52,6 +60,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String recurrenceType; + /** + * The Reviewers. + * + */ + @SerializedName("reviewers") + @Expose + public java.util.List reviewers; + /** * The Reviewer Type. * @@ -68,22 +84,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar startDateTime; - /** - * The Duration In Days. - * - */ - @SerializedName("durationInDays") - @Expose - public Integer durationInDays; - - /** - * The Reviewers. - * - */ - @SerializedName("reviewers") - @Expose - public java.util.List reviewers; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Attachment.java b/src/main/java/com/microsoft/graph/models/extensions/Attachment.java index fb3be89af3e..53b4e9cbbee 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Attachment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Attachment.java @@ -26,6 +26,22 @@ public class Attachment extends Entity implements IJsonBackedObject { + /** + * The Content Type. + * The MIME type. + */ + @SerializedName("contentType") + @Expose + public String contentType; + + /** + * The Is Inline. + * true if the attachment is an inline attachment; otherwise, false. + */ + @SerializedName("isInline") + @Expose + public Boolean isInline; + /** * The Last Modified Date Time. * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' @@ -42,14 +58,6 @@ public class Attachment extends Entity implements IJsonBackedObject { @Expose public String name; - /** - * The Content Type. - * The MIME type. - */ - @SerializedName("contentType") - @Expose - public String contentType; - /** * The Size. * The length of the attachment in bytes. @@ -58,14 +66,6 @@ public class Attachment extends Entity implements IJsonBackedObject { @Expose public Integer size; - /** - * The Is Inline. - * true if the attachment is an inline attachment; otherwise, false. - */ - @SerializedName("isInline") - @Expose - public Boolean isInline; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AttachmentItem.java b/src/main/java/com/microsoft/graph/models/extensions/AttachmentItem.java index 3978e1f535d..5a0f2978e02 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AttachmentItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AttachmentItem.java @@ -44,22 +44,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public AttachmentType attachmentType; - /** - * The Name. - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Size. - * The length of the attachment in bytes. Required. - */ - @SerializedName("size") - @Expose - public Long size; - /** * The Content Type. * The nature of the data in the attachment. Optional. @@ -76,6 +60,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean isInline; + /** + * The Name. + * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + */ + @SerializedName("name") + @Expose + public String name; + + /** + * The Size. + * The length of the attachment in bytes. Required. + */ + @SerializedName("size") + @Expose + public Long size; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Attendee.java b/src/main/java/com/microsoft/graph/models/extensions/Attendee.java index f0e99916546..bb384f0bae2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Attendee.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Attendee.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ResponseStatus; import com.microsoft.graph.models.extensions.TimeSlot; +import com.microsoft.graph.models.extensions.ResponseStatus; import com.microsoft.graph.models.extensions.AttendeeBase; @@ -28,14 +28,6 @@ public class Attendee extends AttendeeBase implements IJsonBackedObject { - /** - * The Status. - * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. - */ - @SerializedName("status") - @Expose - public ResponseStatus status; - /** * The Proposed New Time. * An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event. @@ -44,6 +36,14 @@ public class Attendee extends AttendeeBase implements IJsonBackedObject { @Expose public TimeSlot proposedNewTime; + /** + * The Status. + * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. + */ + @SerializedName("status") + @Expose + public ResponseStatus status; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AttributeDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/AttributeDefinition.java index 4f291b5381f..43390a5b09f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AttributeDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AttributeDefinition.java @@ -113,20 +113,20 @@ public final AdditionalDataManager additionalDataManager() { public String name; /** - * The Required. + * The Referenced Objects. * */ - @SerializedName("required") + @SerializedName("referencedObjects") @Expose - public Boolean required; + public java.util.List referencedObjects; /** - * The Referenced Objects. + * The Required. * */ - @SerializedName("referencedObjects") + @SerializedName("required") @Expose - public java.util.List referencedObjects; + public Boolean required; /** * The Type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AudioConferencing.java b/src/main/java/com/microsoft/graph/models/extensions/AudioConferencing.java index 9b94225652e..ceecd9379cc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AudioConferencing.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AudioConferencing.java @@ -44,12 +44,12 @@ public final AdditionalDataManager additionalDataManager() { public String conferenceId; /** - * The Toll Number. - * The toll number that connects to the Audio Conference Provider. + * The Dialin Url. + * A URL to the externally-accessible web page that contains dial-in information. */ - @SerializedName("tollNumber") + @SerializedName("dialinUrl") @Expose - public String tollNumber; + public String dialinUrl; /** * The Toll Free Number. @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public String tollFreeNumber; /** - * The Dialin Url. - * A URL to the externally-accessible web page that contains dial-in information. + * The Toll Number. + * The toll number that connects to the Audio Conference Provider. */ - @SerializedName("dialinUrl") + @SerializedName("tollNumber") @Expose - public String dialinUrl; + public String tollNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AudioRoutingGroup.java b/src/main/java/com/microsoft/graph/models/extensions/AudioRoutingGroup.java index e197ea79fb0..9d6913c5001 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AudioRoutingGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AudioRoutingGroup.java @@ -27,6 +27,14 @@ public class AudioRoutingGroup extends Entity implements IJsonBackedObject { + /** + * The Receivers. + * + */ + @SerializedName("receivers") + @Expose + public java.util.List receivers; + /** * The Routing Mode. * @@ -43,14 +51,6 @@ public class AudioRoutingGroup extends Entity implements IJsonBackedObject { @Expose public java.util.List sources; - /** - * The Receivers. - * - */ - @SerializedName("receivers") - @Expose - public java.util.List receivers; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuditActivityInitiator.java b/src/main/java/com/microsoft/graph/models/extensions/AuditActivityInitiator.java index f374c5e58c3..b11a80e8253 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuditActivityInitiator.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuditActivityInitiator.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.UserIdentity; import com.microsoft.graph.models.extensions.AppIdentity; +import com.microsoft.graph.models.extensions.UserIdentity; import com.google.gson.JsonObject; @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The User. - * If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName. - */ - @SerializedName("user") - @Expose - public UserIdentity user; - /** * The App. * If the resource initiating the activity is an app, this property indicates all the app related information like appId, Name, servicePrincipalId, Name. @@ -53,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public AppIdentity app; + /** + * The User. + * If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName. + */ + @SerializedName("user") + @Expose + public UserIdentity user; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuditActor.java b/src/main/java/com/microsoft/graph/models/extensions/AuditActor.java index 50f45a39583..0df2a24058f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuditActor.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuditActor.java @@ -37,20 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Type. - * Actor Type. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The User Permissions. - * List of user permissions when the audit was performed. + * The Application Display Name. + * Name of the Application. */ - @SerializedName("userPermissions") + @SerializedName("applicationDisplayName") @Expose - public java.util.List userPermissions; + public String applicationDisplayName; /** * The Application Id. @@ -61,20 +53,28 @@ public final AdditionalDataManager additionalDataManager() { public String applicationId; /** - * The Application Display Name. - * Name of the Application. + * The Ip Address. + * IPAddress. */ - @SerializedName("applicationDisplayName") + @SerializedName("ipAddress") @Expose - public String applicationDisplayName; + public String ipAddress; /** - * The User Principal Name. - * User Principal Name (UPN). + * The Remote Tenant Id. + * Remote Tenant Id */ - @SerializedName("userPrincipalName") + @SerializedName("remoteTenantId") @Expose - public String userPrincipalName; + public String remoteTenantId; + + /** + * The Remote User Id. + * Remote User Id + */ + @SerializedName("remoteUserId") + @Expose + public String remoteUserId; /** * The Service Principal Name. @@ -85,12 +85,12 @@ public final AdditionalDataManager additionalDataManager() { public String servicePrincipalName; /** - * The Ip Address. - * IPAddress. + * The Type. + * Actor Type. */ - @SerializedName("ipAddress") + @SerializedName("type") @Expose - public String ipAddress; + public String type; /** * The User Id. @@ -101,28 +101,28 @@ public final AdditionalDataManager additionalDataManager() { public String userId; /** - * The User Role Scope Tags. - * List of user scope tags when the audit was performed. + * The User Permissions. + * List of user permissions when the audit was performed. */ - @SerializedName("userRoleScopeTags") + @SerializedName("userPermissions") @Expose - public java.util.List userRoleScopeTags; + public java.util.List userPermissions; /** - * The Remote Tenant Id. - * Remote Tenant Id + * The User Principal Name. + * User Principal Name (UPN). */ - @SerializedName("remoteTenantId") + @SerializedName("userPrincipalName") @Expose - public String remoteTenantId; + public String userPrincipalName; /** - * The Remote User Id. - * Remote User Id + * The User Role Scope Tags. + * List of user scope tags when the audit was performed. */ - @SerializedName("remoteUserId") + @SerializedName("userRoleScopeTags") @Expose - public String remoteUserId; + public java.util.List userRoleScopeTags; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuditEvent.java b/src/main/java/com/microsoft/graph/models/extensions/AuditEvent.java index 398a8041c08..f7dcc83432d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuditEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuditEvent.java @@ -28,30 +28,6 @@ public class AuditEvent extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * Event display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Component Name. - * Component name. - */ - @SerializedName("componentName") - @Expose - public String componentName; - - /** - * The Actor. - * AAD user and application that are associated with the audit event. - */ - @SerializedName("actor") - @Expose - public AuditActor actor; - /** * The Activity. * Friendly name of the activity. @@ -68,14 +44,6 @@ public class AuditEvent extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar activityDateTime; - /** - * The Activity Type. - * The type of activity that was being performed. - */ - @SerializedName("activityType") - @Expose - public String activityType; - /** * The Activity Operation Type. * The HTTP operation type of the activity. @@ -93,20 +61,20 @@ public class AuditEvent extends Entity implements IJsonBackedObject { public String activityResult; /** - * The Correlation Id. - * The client request Id that is used to correlate activity within the system. + * The Activity Type. + * The type of activity that was being performed. */ - @SerializedName("correlationId") + @SerializedName("activityType") @Expose - public java.util.UUID correlationId; + public String activityType; /** - * The Resources. - * Resources being modified. + * The Actor. + * AAD user and application that are associated with the audit event. */ - @SerializedName("resources") + @SerializedName("actor") @Expose - public java.util.List resources; + public AuditActor actor; /** * The Category. @@ -116,6 +84,38 @@ public class AuditEvent extends Entity implements IJsonBackedObject { @Expose public String category; + /** + * The Component Name. + * Component name. + */ + @SerializedName("componentName") + @Expose + public String componentName; + + /** + * The Correlation Id. + * The client request Id that is used to correlate activity within the system. + */ + @SerializedName("correlationId") + @Expose + public java.util.UUID correlationId; + + /** + * The Display Name. + * Event display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Resources. + * Resources being modified. + */ + @SerializedName("resources") + @Expose + public java.util.List resources; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuditLogRoot.java b/src/main/java/com/microsoft/graph/models/extensions/AuditLogRoot.java index b66979ce4bb..0ab1d01f336 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuditLogRoot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuditLogRoot.java @@ -8,19 +8,19 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SignIn; import com.microsoft.graph.models.extensions.DirectoryAudit; -import com.microsoft.graph.models.extensions.RestrictedSignIn; import com.microsoft.graph.models.extensions.ProvisioningObjectSummary; +import com.microsoft.graph.models.extensions.RestrictedSignIn; +import com.microsoft.graph.models.extensions.SignIn; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.SignInCollectionResponse; -import com.microsoft.graph.requests.extensions.SignInCollectionPage; import com.microsoft.graph.requests.extensions.DirectoryAuditCollectionResponse; import com.microsoft.graph.requests.extensions.DirectoryAuditCollectionPage; -import com.microsoft.graph.requests.extensions.RestrictedSignInCollectionResponse; -import com.microsoft.graph.requests.extensions.RestrictedSignInCollectionPage; import com.microsoft.graph.requests.extensions.ProvisioningObjectSummaryCollectionResponse; import com.microsoft.graph.requests.extensions.ProvisioningObjectSummaryCollectionPage; +import com.microsoft.graph.requests.extensions.RestrictedSignInCollectionResponse; +import com.microsoft.graph.requests.extensions.RestrictedSignInCollectionPage; +import com.microsoft.graph.requests.extensions.SignInCollectionResponse; +import com.microsoft.graph.requests.extensions.SignInCollectionPage; import com.google.gson.JsonObject; @@ -38,24 +38,12 @@ public class AuditLogRoot extends Entity implements IJsonBackedObject { - /** - * The Sign Ins. - * Read-only. Nullable. - */ - public SignInCollectionPage signIns; - /** * The Directory Audits. * Read-only. Nullable. */ public DirectoryAuditCollectionPage directoryAudits; - /** - * The Restricted Sign Ins. - * - */ - public RestrictedSignInCollectionPage restrictedSignIns; - /** * The Directory Provisioning. * @@ -68,6 +56,18 @@ public class AuditLogRoot extends Entity implements IJsonBackedObject { */ public ProvisioningObjectSummaryCollectionPage provisioning; + /** + * The Restricted Sign Ins. + * + */ + public RestrictedSignInCollectionPage restrictedSignIns; + + /** + * The Sign Ins. + * Read-only. Nullable. + */ + public SignInCollectionPage signIns; + /** * The raw representation of this class @@ -108,22 +108,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("signIns")) { - final SignInCollectionResponse response = new SignInCollectionResponse(); - if (json.has("signIns@odata.nextLink")) { - response.nextLink = json.get("signIns@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("signIns").toString(), JsonObject[].class); - final SignIn[] array = new SignIn[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SignIn.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - signIns = new SignInCollectionPage(response, null); - } - if (json.has("directoryAudits")) { final DirectoryAuditCollectionResponse response = new DirectoryAuditCollectionResponse(); if (json.has("directoryAudits@odata.nextLink")) { @@ -140,22 +124,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { directoryAudits = new DirectoryAuditCollectionPage(response, null); } - if (json.has("restrictedSignIns")) { - final RestrictedSignInCollectionResponse response = new RestrictedSignInCollectionResponse(); - if (json.has("restrictedSignIns@odata.nextLink")) { - response.nextLink = json.get("restrictedSignIns@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("restrictedSignIns").toString(), JsonObject[].class); - final RestrictedSignIn[] array = new RestrictedSignIn[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RestrictedSignIn.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - restrictedSignIns = new RestrictedSignInCollectionPage(response, null); - } - if (json.has("directoryProvisioning")) { final ProvisioningObjectSummaryCollectionResponse response = new ProvisioningObjectSummaryCollectionResponse(); if (json.has("directoryProvisioning@odata.nextLink")) { @@ -187,5 +155,37 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); provisioning = new ProvisioningObjectSummaryCollectionPage(response, null); } + + if (json.has("restrictedSignIns")) { + final RestrictedSignInCollectionResponse response = new RestrictedSignInCollectionResponse(); + if (json.has("restrictedSignIns@odata.nextLink")) { + response.nextLink = json.get("restrictedSignIns@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("restrictedSignIns").toString(), JsonObject[].class); + final RestrictedSignIn[] array = new RestrictedSignIn[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RestrictedSignIn.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + restrictedSignIns = new RestrictedSignInCollectionPage(response, null); + } + + if (json.has("signIns")) { + final SignInCollectionResponse response = new SignInCollectionResponse(); + if (json.has("signIns@odata.nextLink")) { + response.nextLink = json.get("signIns@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("signIns").toString(), JsonObject[].class); + final SignIn[] array = new SignIn[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SignIn.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + signIns = new SignInCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuditProperty.java b/src/main/java/com/microsoft/graph/models/extensions/AuditProperty.java index 57d0a02d5f5..8dbaa73f091 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuditProperty.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuditProperty.java @@ -43,14 +43,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; - /** - * The Old Value. - * Old value. - */ - @SerializedName("oldValue") - @Expose - public String oldValue; - /** * The New Value. * New value. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String newValue; + /** + * The Old Value. + * Old value. + */ + @SerializedName("oldValue") + @Expose + public String oldValue; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuditResource.java b/src/main/java/com/microsoft/graph/models/extensions/AuditResource.java index c546cdeab5c..7bee4721de0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuditResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuditResource.java @@ -52,14 +52,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List modifiedProperties; - /** - * The Type. - * Audit resource's type. - */ - @SerializedName("type") - @Expose - public String type; - /** * The Resource Id. * Audit resource's Id. @@ -68,6 +60,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String resourceId; + /** + * The Type. + * Audit resource's type. + */ + @SerializedName("type") + @Expose + public String type; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Authentication.java b/src/main/java/com/microsoft/graph/models/extensions/Authentication.java index 6638d0f2706..eee06e2c37d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Authentication.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Authentication.java @@ -8,38 +8,38 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AuthenticationMethod; -import com.microsoft.graph.models.extensions.SecurityQuestionAuthenticationMethod; -import com.microsoft.graph.models.extensions.PhoneAuthenticationMethod; -import com.microsoft.graph.models.extensions.PasswordAuthenticationMethod; -import com.microsoft.graph.models.extensions.LongRunningOperation; import com.microsoft.graph.models.extensions.EmailAuthenticationMethod; -import com.microsoft.graph.models.extensions.SoftwareOathAuthenticationMethod; +import com.microsoft.graph.models.extensions.Fido2AuthenticationMethod; +import com.microsoft.graph.models.extensions.AuthenticationMethod; import com.microsoft.graph.models.extensions.MicrosoftAuthenticatorAuthenticationMethod; +import com.microsoft.graph.models.extensions.SoftwareOathAuthenticationMethod; +import com.microsoft.graph.models.extensions.LongRunningOperation; import com.microsoft.graph.models.extensions.PasswordlessMicrosoftAuthenticatorAuthenticationMethod; -import com.microsoft.graph.models.extensions.Fido2AuthenticationMethod; +import com.microsoft.graph.models.extensions.PasswordAuthenticationMethod; +import com.microsoft.graph.models.extensions.PhoneAuthenticationMethod; +import com.microsoft.graph.models.extensions.SecurityQuestionAuthenticationMethod; import com.microsoft.graph.models.extensions.TemporaryAccessPassAuthenticationMethod; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.AuthenticationMethodCollectionResponse; -import com.microsoft.graph.requests.extensions.AuthenticationMethodCollectionPage; -import com.microsoft.graph.requests.extensions.SecurityQuestionAuthenticationMethodCollectionResponse; -import com.microsoft.graph.requests.extensions.SecurityQuestionAuthenticationMethodCollectionPage; -import com.microsoft.graph.requests.extensions.PhoneAuthenticationMethodCollectionResponse; -import com.microsoft.graph.requests.extensions.PhoneAuthenticationMethodCollectionPage; -import com.microsoft.graph.requests.extensions.PasswordAuthenticationMethodCollectionResponse; -import com.microsoft.graph.requests.extensions.PasswordAuthenticationMethodCollectionPage; -import com.microsoft.graph.requests.extensions.LongRunningOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.LongRunningOperationCollectionPage; import com.microsoft.graph.requests.extensions.EmailAuthenticationMethodCollectionResponse; import com.microsoft.graph.requests.extensions.EmailAuthenticationMethodCollectionPage; -import com.microsoft.graph.requests.extensions.SoftwareOathAuthenticationMethodCollectionResponse; -import com.microsoft.graph.requests.extensions.SoftwareOathAuthenticationMethodCollectionPage; +import com.microsoft.graph.requests.extensions.Fido2AuthenticationMethodCollectionResponse; +import com.microsoft.graph.requests.extensions.Fido2AuthenticationMethodCollectionPage; +import com.microsoft.graph.requests.extensions.AuthenticationMethodCollectionResponse; +import com.microsoft.graph.requests.extensions.AuthenticationMethodCollectionPage; import com.microsoft.graph.requests.extensions.MicrosoftAuthenticatorAuthenticationMethodCollectionResponse; import com.microsoft.graph.requests.extensions.MicrosoftAuthenticatorAuthenticationMethodCollectionPage; +import com.microsoft.graph.requests.extensions.SoftwareOathAuthenticationMethodCollectionResponse; +import com.microsoft.graph.requests.extensions.SoftwareOathAuthenticationMethodCollectionPage; +import com.microsoft.graph.requests.extensions.LongRunningOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.LongRunningOperationCollectionPage; import com.microsoft.graph.requests.extensions.PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionResponse; import com.microsoft.graph.requests.extensions.PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionPage; -import com.microsoft.graph.requests.extensions.Fido2AuthenticationMethodCollectionResponse; -import com.microsoft.graph.requests.extensions.Fido2AuthenticationMethodCollectionPage; +import com.microsoft.graph.requests.extensions.PasswordAuthenticationMethodCollectionResponse; +import com.microsoft.graph.requests.extensions.PasswordAuthenticationMethodCollectionPage; +import com.microsoft.graph.requests.extensions.PhoneAuthenticationMethodCollectionResponse; +import com.microsoft.graph.requests.extensions.PhoneAuthenticationMethodCollectionPage; +import com.microsoft.graph.requests.extensions.SecurityQuestionAuthenticationMethodCollectionResponse; +import com.microsoft.graph.requests.extensions.SecurityQuestionAuthenticationMethodCollectionPage; import com.microsoft.graph.requests.extensions.TemporaryAccessPassAuthenticationMethodCollectionResponse; import com.microsoft.graph.requests.extensions.TemporaryAccessPassAuthenticationMethodCollectionPage; @@ -60,64 +60,64 @@ public class Authentication extends Entity implements IJsonBackedObject { /** - * The Methods. + * The Email Methods. * */ - public AuthenticationMethodCollectionPage methods; + public EmailAuthenticationMethodCollectionPage emailMethods; /** - * The Security Question Methods. + * The Fido2Methods. * */ - public SecurityQuestionAuthenticationMethodCollectionPage securityQuestionMethods; + public Fido2AuthenticationMethodCollectionPage fido2Methods; /** - * The Phone Methods. + * The Methods. * */ - public PhoneAuthenticationMethodCollectionPage phoneMethods; + public AuthenticationMethodCollectionPage methods; /** - * The Password Methods. + * The Microsoft Authenticator Methods. * */ - public PasswordAuthenticationMethodCollectionPage passwordMethods; + public MicrosoftAuthenticatorAuthenticationMethodCollectionPage microsoftAuthenticatorMethods; /** - * The Operations. + * The Oath Methods. * */ - public LongRunningOperationCollectionPage operations; + public SoftwareOathAuthenticationMethodCollectionPage oathMethods; /** - * The Email Methods. + * The Operations. * */ - public EmailAuthenticationMethodCollectionPage emailMethods; + public LongRunningOperationCollectionPage operations; /** - * The Oath Methods. + * The Passwordless Microsoft Authenticator Methods. * */ - public SoftwareOathAuthenticationMethodCollectionPage oathMethods; + public PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionPage passwordlessMicrosoftAuthenticatorMethods; /** - * The Microsoft Authenticator Methods. + * The Password Methods. * */ - public MicrosoftAuthenticatorAuthenticationMethodCollectionPage microsoftAuthenticatorMethods; + public PasswordAuthenticationMethodCollectionPage passwordMethods; /** - * The Passwordless Microsoft Authenticator Methods. + * The Phone Methods. * */ - public PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionPage passwordlessMicrosoftAuthenticatorMethods; + public PhoneAuthenticationMethodCollectionPage phoneMethods; /** - * The Fido2Methods. + * The Security Question Methods. * */ - public Fido2AuthenticationMethodCollectionPage fido2Methods; + public SecurityQuestionAuthenticationMethodCollectionPage securityQuestionMethods; /** * The Temporary Access Pass Methods. @@ -165,100 +165,68 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("methods")) { - final AuthenticationMethodCollectionResponse response = new AuthenticationMethodCollectionResponse(); - if (json.has("methods@odata.nextLink")) { - response.nextLink = json.get("methods@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("methods").toString(), JsonObject[].class); - final AuthenticationMethod[] array = new AuthenticationMethod[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AuthenticationMethod.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - methods = new AuthenticationMethodCollectionPage(response, null); - } - - if (json.has("securityQuestionMethods")) { - final SecurityQuestionAuthenticationMethodCollectionResponse response = new SecurityQuestionAuthenticationMethodCollectionResponse(); - if (json.has("securityQuestionMethods@odata.nextLink")) { - response.nextLink = json.get("securityQuestionMethods@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("securityQuestionMethods").toString(), JsonObject[].class); - final SecurityQuestionAuthenticationMethod[] array = new SecurityQuestionAuthenticationMethod[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SecurityQuestionAuthenticationMethod.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - securityQuestionMethods = new SecurityQuestionAuthenticationMethodCollectionPage(response, null); - } - - if (json.has("phoneMethods")) { - final PhoneAuthenticationMethodCollectionResponse response = new PhoneAuthenticationMethodCollectionResponse(); - if (json.has("phoneMethods@odata.nextLink")) { - response.nextLink = json.get("phoneMethods@odata.nextLink").getAsString(); + if (json.has("emailMethods")) { + final EmailAuthenticationMethodCollectionResponse response = new EmailAuthenticationMethodCollectionResponse(); + if (json.has("emailMethods@odata.nextLink")) { + response.nextLink = json.get("emailMethods@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("phoneMethods").toString(), JsonObject[].class); - final PhoneAuthenticationMethod[] array = new PhoneAuthenticationMethod[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("emailMethods").toString(), JsonObject[].class); + final EmailAuthenticationMethod[] array = new EmailAuthenticationMethod[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PhoneAuthenticationMethod.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EmailAuthenticationMethod.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - phoneMethods = new PhoneAuthenticationMethodCollectionPage(response, null); + emailMethods = new EmailAuthenticationMethodCollectionPage(response, null); } - if (json.has("passwordMethods")) { - final PasswordAuthenticationMethodCollectionResponse response = new PasswordAuthenticationMethodCollectionResponse(); - if (json.has("passwordMethods@odata.nextLink")) { - response.nextLink = json.get("passwordMethods@odata.nextLink").getAsString(); + if (json.has("fido2Methods")) { + final Fido2AuthenticationMethodCollectionResponse response = new Fido2AuthenticationMethodCollectionResponse(); + if (json.has("fido2Methods@odata.nextLink")) { + response.nextLink = json.get("fido2Methods@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("passwordMethods").toString(), JsonObject[].class); - final PasswordAuthenticationMethod[] array = new PasswordAuthenticationMethod[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("fido2Methods").toString(), JsonObject[].class); + final Fido2AuthenticationMethod[] array = new Fido2AuthenticationMethod[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PasswordAuthenticationMethod.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Fido2AuthenticationMethod.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - passwordMethods = new PasswordAuthenticationMethodCollectionPage(response, null); + fido2Methods = new Fido2AuthenticationMethodCollectionPage(response, null); } - if (json.has("operations")) { - final LongRunningOperationCollectionResponse response = new LongRunningOperationCollectionResponse(); - if (json.has("operations@odata.nextLink")) { - response.nextLink = json.get("operations@odata.nextLink").getAsString(); + if (json.has("methods")) { + final AuthenticationMethodCollectionResponse response = new AuthenticationMethodCollectionResponse(); + if (json.has("methods@odata.nextLink")) { + response.nextLink = json.get("methods@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); - final LongRunningOperation[] array = new LongRunningOperation[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("methods").toString(), JsonObject[].class); + final AuthenticationMethod[] array = new AuthenticationMethod[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), LongRunningOperation.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AuthenticationMethod.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - operations = new LongRunningOperationCollectionPage(response, null); + methods = new AuthenticationMethodCollectionPage(response, null); } - if (json.has("emailMethods")) { - final EmailAuthenticationMethodCollectionResponse response = new EmailAuthenticationMethodCollectionResponse(); - if (json.has("emailMethods@odata.nextLink")) { - response.nextLink = json.get("emailMethods@odata.nextLink").getAsString(); + if (json.has("microsoftAuthenticatorMethods")) { + final MicrosoftAuthenticatorAuthenticationMethodCollectionResponse response = new MicrosoftAuthenticatorAuthenticationMethodCollectionResponse(); + if (json.has("microsoftAuthenticatorMethods@odata.nextLink")) { + response.nextLink = json.get("microsoftAuthenticatorMethods@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("emailMethods").toString(), JsonObject[].class); - final EmailAuthenticationMethod[] array = new EmailAuthenticationMethod[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("microsoftAuthenticatorMethods").toString(), JsonObject[].class); + final MicrosoftAuthenticatorAuthenticationMethod[] array = new MicrosoftAuthenticatorAuthenticationMethod[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EmailAuthenticationMethod.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MicrosoftAuthenticatorAuthenticationMethod.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - emailMethods = new EmailAuthenticationMethodCollectionPage(response, null); + microsoftAuthenticatorMethods = new MicrosoftAuthenticatorAuthenticationMethodCollectionPage(response, null); } if (json.has("oathMethods")) { @@ -277,20 +245,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { oathMethods = new SoftwareOathAuthenticationMethodCollectionPage(response, null); } - if (json.has("microsoftAuthenticatorMethods")) { - final MicrosoftAuthenticatorAuthenticationMethodCollectionResponse response = new MicrosoftAuthenticatorAuthenticationMethodCollectionResponse(); - if (json.has("microsoftAuthenticatorMethods@odata.nextLink")) { - response.nextLink = json.get("microsoftAuthenticatorMethods@odata.nextLink").getAsString(); + if (json.has("operations")) { + final LongRunningOperationCollectionResponse response = new LongRunningOperationCollectionResponse(); + if (json.has("operations@odata.nextLink")) { + response.nextLink = json.get("operations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("microsoftAuthenticatorMethods").toString(), JsonObject[].class); - final MicrosoftAuthenticatorAuthenticationMethod[] array = new MicrosoftAuthenticatorAuthenticationMethod[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); + final LongRunningOperation[] array = new LongRunningOperation[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MicrosoftAuthenticatorAuthenticationMethod.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), LongRunningOperation.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - microsoftAuthenticatorMethods = new MicrosoftAuthenticatorAuthenticationMethodCollectionPage(response, null); + operations = new LongRunningOperationCollectionPage(response, null); } if (json.has("passwordlessMicrosoftAuthenticatorMethods")) { @@ -309,20 +277,52 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { passwordlessMicrosoftAuthenticatorMethods = new PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionPage(response, null); } - if (json.has("fido2Methods")) { - final Fido2AuthenticationMethodCollectionResponse response = new Fido2AuthenticationMethodCollectionResponse(); - if (json.has("fido2Methods@odata.nextLink")) { - response.nextLink = json.get("fido2Methods@odata.nextLink").getAsString(); + if (json.has("passwordMethods")) { + final PasswordAuthenticationMethodCollectionResponse response = new PasswordAuthenticationMethodCollectionResponse(); + if (json.has("passwordMethods@odata.nextLink")) { + response.nextLink = json.get("passwordMethods@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("fido2Methods").toString(), JsonObject[].class); - final Fido2AuthenticationMethod[] array = new Fido2AuthenticationMethod[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("passwordMethods").toString(), JsonObject[].class); + final PasswordAuthenticationMethod[] array = new PasswordAuthenticationMethod[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Fido2AuthenticationMethod.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PasswordAuthenticationMethod.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - fido2Methods = new Fido2AuthenticationMethodCollectionPage(response, null); + passwordMethods = new PasswordAuthenticationMethodCollectionPage(response, null); + } + + if (json.has("phoneMethods")) { + final PhoneAuthenticationMethodCollectionResponse response = new PhoneAuthenticationMethodCollectionResponse(); + if (json.has("phoneMethods@odata.nextLink")) { + response.nextLink = json.get("phoneMethods@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("phoneMethods").toString(), JsonObject[].class); + final PhoneAuthenticationMethod[] array = new PhoneAuthenticationMethod[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PhoneAuthenticationMethod.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + phoneMethods = new PhoneAuthenticationMethodCollectionPage(response, null); + } + + if (json.has("securityQuestionMethods")) { + final SecurityQuestionAuthenticationMethodCollectionResponse response = new SecurityQuestionAuthenticationMethodCollectionResponse(); + if (json.has("securityQuestionMethods@odata.nextLink")) { + response.nextLink = json.get("securityQuestionMethods@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("securityQuestionMethods").toString(), JsonObject[].class); + final SecurityQuestionAuthenticationMethod[] array = new SecurityQuestionAuthenticationMethod[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SecurityQuestionAuthenticationMethod.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + securityQuestionMethods = new SecurityQuestionAuthenticationMethodCollectionPage(response, null); } if (json.has("temporaryAccessPassMethods")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuthenticationDetail.java b/src/main/java/com/microsoft/graph/models/extensions/AuthenticationDetail.java index 72e799fced4..bde4f6e52a4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuthenticationDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuthenticationDetail.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Authentication Step Date Time. - * - */ - @SerializedName("authenticationStepDateTime") - @Expose - public java.util.Calendar authenticationStepDateTime; - /** * The Authentication Method. * @@ -60,12 +52,20 @@ public final AdditionalDataManager additionalDataManager() { public String authenticationMethodDetail; /** - * The Succeeded. + * The Authentication Step Date Time. * */ - @SerializedName("succeeded") + @SerializedName("authenticationStepDateTime") @Expose - public Boolean succeeded; + public java.util.Calendar authenticationStepDateTime; + + /** + * The Authentication Step Requirement. + * + */ + @SerializedName("authenticationStepRequirement") + @Expose + public String authenticationStepRequirement; /** * The Authentication Step Result Detail. @@ -76,12 +76,12 @@ public final AdditionalDataManager additionalDataManager() { public String authenticationStepResultDetail; /** - * The Authentication Step Requirement. + * The Succeeded. * */ - @SerializedName("authenticationStepRequirement") + @SerializedName("succeeded") @Expose - public String authenticationStepRequirement; + public Boolean succeeded; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuthenticationFlowsPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AuthenticationFlowsPolicy.java index 7e64128f856..8c5979d078d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuthenticationFlowsPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuthenticationFlowsPolicy.java @@ -28,12 +28,12 @@ public class AuthenticationFlowsPolicy extends Entity implements IJsonBackedObje /** - * The Self Service Sign Up. + * The Description. * */ - @SerializedName("selfServiceSignUp") + @SerializedName("description") @Expose - public SelfServiceSignUpAuthenticationFlowConfiguration selfServiceSignUp; + public String description; /** * The Display Name. @@ -44,12 +44,12 @@ public class AuthenticationFlowsPolicy extends Entity implements IJsonBackedObje public String displayName; /** - * The Description. + * The Self Service Sign Up. * */ - @SerializedName("description") + @SerializedName("selfServiceSignUp") @Expose - public String description; + public SelfServiceSignUpAuthenticationFlowConfiguration selfServiceSignUp; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuthenticationRequirementPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AuthenticationRequirementPolicy.java index 34aedc919a1..ee0751d0ef1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuthenticationRequirementPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuthenticationRequirementPolicy.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Requirement Provider. + * The Detail. * */ - @SerializedName("requirementProvider") + @SerializedName("detail") @Expose - public RequirementProvider requirementProvider; + public String detail; /** - * The Detail. + * The Requirement Provider. * */ - @SerializedName("detail") + @SerializedName("requirementProvider") @Expose - public String detail; + public RequirementProvider requirementProvider; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AuthorizationPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/AuthorizationPolicy.java index 8e1d3b6de57..d688131ff34 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AuthorizationPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AuthorizationPolicy.java @@ -8,6 +8,7 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.AllowInvitesFrom; import com.microsoft.graph.models.extensions.DefaultUserRolePermissions; import com.microsoft.graph.models.extensions.PolicyBase; @@ -51,6 +52,14 @@ public class AuthorizationPolicy extends PolicyBase implements IJsonBackedObject @Expose public Boolean allowEmailVerifiedUsersToJoinOrganization; + /** + * The Allow Invites From. + * + */ + @SerializedName("allowInvitesFrom") + @Expose + public AllowInvitesFrom allowInvitesFrom; + /** * The Block Msol Power Shell. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/AutoLabeling.java b/src/main/java/com/microsoft/graph/models/extensions/AutoLabeling.java index 72e82f229c2..7410a0e29b3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AutoLabeling.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AutoLabeling.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Sensitive Type Ids. + * The Message. * */ - @SerializedName("sensitiveTypeIds") + @SerializedName("message") @Expose - public java.util.List sensitiveTypeIds; + public String message; /** - * The Message. + * The Sensitive Type Ids. * */ - @SerializedName("message") + @SerializedName("sensitiveTypeIds") @Expose - public String message; + public java.util.List sensitiveTypeIds; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java index 190c863e64a..cc4b3d51f2c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesMailTips.java @@ -53,14 +53,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public LocaleInfo messageLanguage; - /** - * The Scheduled Start Time. - * The date and time that automatic replies are set to begin. - */ - @SerializedName("scheduledStartTime") - @Expose - public DateTimeTimeZone scheduledStartTime; - /** * The Scheduled End Time. * The date and time that automatic replies are set to end. @@ -69,6 +61,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public DateTimeTimeZone scheduledEndTime; + /** + * The Scheduled Start Time. + * The date and time that automatic replies are set to begin. + */ + @SerializedName("scheduledStartTime") + @Expose + public DateTimeTimeZone scheduledStartTime; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java index 2d872b037d1..62318dec078 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AutomaticRepliesSetting.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AutomaticRepliesStatus; import com.microsoft.graph.models.generated.ExternalAudienceScope; import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.models.generated.AutomaticRepliesStatus; import com.google.gson.JsonObject; @@ -38,14 +38,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Status. - * Configurations status for automatic replies. The possible values are: disabled, alwaysEnabled, scheduled. - */ - @SerializedName("status") - @Expose - public AutomaticRepliesStatus status; - /** * The External Audience. * The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. The possible values are: none, contactsOnly, all. @@ -55,12 +47,20 @@ public final AdditionalDataManager additionalDataManager() { public ExternalAudienceScope externalAudience; /** - * The Scheduled Start Date Time. - * The date and time that automatic replies are set to begin, if Status is set to Scheduled. + * The External Reply Message. + * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. */ - @SerializedName("scheduledStartDateTime") + @SerializedName("externalReplyMessage") @Expose - public DateTimeTimeZone scheduledStartDateTime; + public String externalReplyMessage; + + /** + * The Internal Reply Message. + * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. + */ + @SerializedName("internalReplyMessage") + @Expose + public String internalReplyMessage; /** * The Scheduled End Date Time. @@ -71,20 +71,20 @@ public final AdditionalDataManager additionalDataManager() { public DateTimeTimeZone scheduledEndDateTime; /** - * The Internal Reply Message. - * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. + * The Scheduled Start Date Time. + * The date and time that automatic replies are set to begin, if Status is set to Scheduled. */ - @SerializedName("internalReplyMessage") + @SerializedName("scheduledStartDateTime") @Expose - public String internalReplyMessage; + public DateTimeTimeZone scheduledStartDateTime; /** - * The External Reply Message. - * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. + * The Status. + * Configurations status for automatic replies. The possible values are: disabled, alwaysEnabled, scheduled. */ - @SerializedName("externalReplyMessage") + @SerializedName("status") @Expose - public String externalReplyMessage; + public AutomaticRepliesStatus status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AzureADFeatureUsage.java b/src/main/java/com/microsoft/graph/models/extensions/AzureADFeatureUsage.java index ef99c120566..625ef8d1034 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AzureADFeatureUsage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AzureADFeatureUsage.java @@ -27,20 +27,20 @@ public class AzureADFeatureUsage extends Entity implements IJsonBackedObject { /** - * The Snapshot Date Time. + * The Feature Name. * */ - @SerializedName("snapshotDateTime") + @SerializedName("featureName") @Expose - public java.util.Calendar snapshotDateTime; + public String featureName; /** - * The Feature Name. + * The Snapshot Date Time. * */ - @SerializedName("featureName") + @SerializedName("snapshotDateTime") @Expose - public String featureName; + public java.util.Calendar snapshotDateTime; /** * The Usage. diff --git a/src/main/java/com/microsoft/graph/models/extensions/AzureADLicenseUsage.java b/src/main/java/com/microsoft/graph/models/extensions/AzureADLicenseUsage.java index 3404e5c50bb..e687fb090de 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AzureADLicenseUsage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AzureADLicenseUsage.java @@ -28,20 +28,20 @@ public class AzureADLicenseUsage extends Entity implements IJsonBackedObject { /** - * The Snapshot Date Time. + * The License Info Details. * */ - @SerializedName("snapshotDateTime") + @SerializedName("licenseInfoDetails") @Expose - public java.util.Calendar snapshotDateTime; + public java.util.List licenseInfoDetails; /** - * The License Info Details. + * The Snapshot Date Time. * */ - @SerializedName("licenseInfoDetails") + @SerializedName("snapshotDateTime") @Expose - public java.util.List licenseInfoDetails; + public java.util.Calendar snapshotDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AzureADUserFeatureUsage.java b/src/main/java/com/microsoft/graph/models/extensions/AzureADUserFeatureUsage.java index 06798dea11e..8e21ce46162 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AzureADUserFeatureUsage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AzureADUserFeatureUsage.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AzureADLicenseType; import com.microsoft.graph.models.extensions.FeatureUsageDetail; +import com.microsoft.graph.models.generated.AzureADLicenseType; import com.microsoft.graph.models.extensions.Entity; @@ -29,60 +29,60 @@ public class AzureADUserFeatureUsage extends Entity implements IJsonBackedObject /** - * The Last Updated Date Time. + * The Feature Usage Details. * */ - @SerializedName("lastUpdatedDateTime") + @SerializedName("featureUsageDetails") @Expose - public java.util.Calendar lastUpdatedDateTime; + public java.util.List featureUsageDetails; /** - * The User Id. + * The Last Updated Date Time. * */ - @SerializedName("userId") + @SerializedName("lastUpdatedDateTime") @Expose - public String userId; + public java.util.Calendar lastUpdatedDateTime; /** - * The User Display Name. + * The License Assigned. * */ - @SerializedName("userDisplayName") + @SerializedName("licenseAssigned") @Expose - public String userDisplayName; + public AzureADLicenseType licenseAssigned; /** - * The User Principal Name. + * The License Recommended. * */ - @SerializedName("userPrincipalName") + @SerializedName("licenseRecommended") @Expose - public String userPrincipalName; + public AzureADLicenseType licenseRecommended; /** - * The License Recommended. + * The User Display Name. * */ - @SerializedName("licenseRecommended") + @SerializedName("userDisplayName") @Expose - public AzureADLicenseType licenseRecommended; + public String userDisplayName; /** - * The License Assigned. + * The User Id. * */ - @SerializedName("licenseAssigned") + @SerializedName("userId") @Expose - public AzureADLicenseType licenseAssigned; + public String userId; /** - * The Feature Usage Details. + * The User Principal Name. * */ - @SerializedName("featureUsageDetails") + @SerializedName("userPrincipalName") @Expose - public java.util.List featureUsageDetails; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/AzureActiveDirectoryTenant.java b/src/main/java/com/microsoft/graph/models/extensions/AzureActiveDirectoryTenant.java index 774fa1202f5..547d0d914a4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/AzureActiveDirectoryTenant.java +++ b/src/main/java/com/microsoft/graph/models/extensions/AzureActiveDirectoryTenant.java @@ -27,20 +27,20 @@ public class AzureActiveDirectoryTenant extends IdentitySource implements IJsonB /** - * The Tenant Id. + * The Display Name. * */ - @SerializedName("tenantId") + @SerializedName("displayName") @Expose - public String tenantId; + public String displayName; /** - * The Display Name. + * The Tenant Id. * */ - @SerializedName("displayName") + @SerializedName("tenantId") @Expose - public String displayName; + public String tenantId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/BinaryManagementConditionExpression.java b/src/main/java/com/microsoft/graph/models/extensions/BinaryManagementConditionExpression.java index bbcc5520583..b6b0d47d980 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BinaryManagementConditionExpression.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BinaryManagementConditionExpression.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.BinaryManagementConditionExpressionOperatorType; import com.microsoft.graph.models.extensions.ManagementConditionExpressionModel; +import com.microsoft.graph.models.generated.BinaryManagementConditionExpressionOperatorType; import com.google.gson.JsonObject; @@ -27,14 +27,6 @@ public class BinaryManagementConditionExpression extends ManagementConditionExpressionModel implements IJsonBackedObject { - /** - * The Operator. - * The operator used in the evaluation of the binary operation. - */ - @SerializedName("operator") - @Expose - public BinaryManagementConditionExpressionOperatorType operator; - /** * The First Operand. * The first operand of the binary operation. @@ -43,6 +35,14 @@ public class BinaryManagementConditionExpression extends ManagementConditionExpr @Expose public ManagementConditionExpressionModel firstOperand; + /** + * The Operator. + * The operator used in the evaluation of the binary operation. + */ + @SerializedName("operator") + @Expose + public BinaryManagementConditionExpressionOperatorType operator; + /** * The Second Operand. * The second operand of the binary operation. diff --git a/src/main/java/com/microsoft/graph/models/extensions/BitLockerFixedDrivePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/BitLockerFixedDrivePolicy.java index 2fe16494f47..744d5a9ca16 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BitLockerFixedDrivePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BitLockerFixedDrivePolicy.java @@ -45,14 +45,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public BitLockerEncryptionMethod encryptionMethod; - /** - * The Require Encryption For Write Access. - * This policy setting determines whether BitLocker protection is required for fixed data drives to be writable on a computer. - */ - @SerializedName("requireEncryptionForWriteAccess") - @Expose - public Boolean requireEncryptionForWriteAccess; - /** * The Recovery Options. * This policy setting allows you to control how BitLocker-protected fixed data drives are recovered in the absence of the required credentials. This policy setting is applied when you turn on BitLocker. @@ -61,6 +53,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public BitLockerRecoveryOptions recoveryOptions; + /** + * The Require Encryption For Write Access. + * This policy setting determines whether BitLocker protection is required for fixed data drives to be writable on a computer. + */ + @SerializedName("requireEncryptionForWriteAccess") + @Expose + public Boolean requireEncryptionForWriteAccess; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/BitLockerRecoveryOptions.java b/src/main/java/com/microsoft/graph/models/extensions/BitLockerRecoveryOptions.java index 0a057ce220e..99e2f6b59b9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BitLockerRecoveryOptions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BitLockerRecoveryOptions.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ConfigurationUsage; import com.microsoft.graph.models.generated.BitLockerRecoveryInformationType; +import com.microsoft.graph.models.generated.ConfigurationUsage; import com.google.gson.JsonObject; @@ -46,20 +46,20 @@ public final AdditionalDataManager additionalDataManager() { public Boolean blockDataRecoveryAgent; /** - * The Recovery Password Usage. - * Indicates whether users are allowed or required to generate a 48-digit recovery password for fixed or system disk. + * The Enable Bit Locker After Recovery Information To Store. + * Indicates whether or not to enable BitLocker until recovery information is stored in AD DS. */ - @SerializedName("recoveryPasswordUsage") + @SerializedName("enableBitLockerAfterRecoveryInformationToStore") @Expose - public ConfigurationUsage recoveryPasswordUsage; + public Boolean enableBitLockerAfterRecoveryInformationToStore; /** - * The Recovery Key Usage. - * Indicates whether users are allowed or required to generate a 256-bit recovery key for fixed or system disk. + * The Enable Recovery Information Save To Store. + * Indicates whether or not to allow BitLocker recovery information to store in AD DS. */ - @SerializedName("recoveryKeyUsage") + @SerializedName("enableRecoveryInformationSaveToStore") @Expose - public ConfigurationUsage recoveryKeyUsage; + public Boolean enableRecoveryInformationSaveToStore; /** * The Hide Recovery Options. @@ -69,14 +69,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean hideRecoveryOptions; - /** - * The Enable Recovery Information Save To Store. - * Indicates whether or not to allow BitLocker recovery information to store in AD DS. - */ - @SerializedName("enableRecoveryInformationSaveToStore") - @Expose - public Boolean enableRecoveryInformationSaveToStore; - /** * The Recovery Information To Store. * Configure what pieces of BitLocker recovery information are stored to AD DS. @@ -86,12 +78,20 @@ public final AdditionalDataManager additionalDataManager() { public BitLockerRecoveryInformationType recoveryInformationToStore; /** - * The Enable Bit Locker After Recovery Information To Store. - * Indicates whether or not to enable BitLocker until recovery information is stored in AD DS. + * The Recovery Key Usage. + * Indicates whether users are allowed or required to generate a 256-bit recovery key for fixed or system disk. */ - @SerializedName("enableBitLockerAfterRecoveryInformationToStore") + @SerializedName("recoveryKeyUsage") @Expose - public Boolean enableBitLockerAfterRecoveryInformationToStore; + public ConfigurationUsage recoveryKeyUsage; + + /** + * The Recovery Password Usage. + * Indicates whether users are allowed or required to generate a 48-digit recovery password for fixed or system disk. + */ + @SerializedName("recoveryPasswordUsage") + @Expose + public ConfigurationUsage recoveryPasswordUsage; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java index 0467155aaa6..37bc11a5280 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BitLockerRemovableDrivePolicy.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Block Cross Organization Write Access. + * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer. + */ + @SerializedName("blockCrossOrganizationWriteAccess") + @Expose + public Boolean blockCrossOrganizationWriteAccess; + /** * The Encryption Method. * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean requireEncryptionForWriteAccess; - /** - * The Block Cross Organization Write Access. - * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer. - */ - @SerializedName("blockCrossOrganizationWriteAccess") - @Expose - public Boolean blockCrossOrganizationWriteAccess; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/BitLockerSystemDrivePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/BitLockerSystemDrivePolicy.java index 2843b55cb76..009f2b422a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BitLockerSystemDrivePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BitLockerSystemDrivePolicy.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.BitLockerEncryptionMethod; -import com.microsoft.graph.models.generated.ConfigurationUsage; import com.microsoft.graph.models.extensions.BitLockerRecoveryOptions; +import com.microsoft.graph.models.generated.ConfigurationUsage; import com.google.gson.JsonObject; @@ -47,92 +47,92 @@ public final AdditionalDataManager additionalDataManager() { public BitLockerEncryptionMethod encryptionMethod; /** - * The Startup Authentication Required. - * Require additional authentication at startup. + * The Minimum Pin Length. + * Indicates the minimum length of startup pin. Valid values 4 to 20 */ - @SerializedName("startupAuthenticationRequired") + @SerializedName("minimumPinLength") @Expose - public Boolean startupAuthenticationRequired; + public Integer minimumPinLength; /** - * The Startup Authentication Block Without Tpm Chip. - * Indicates whether to allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive). + * The Preboot Recovery Enable Message And Url. + * Enable pre-boot recovery message and Url. If requireStartupAuthentication is false, this value does not affect. */ - @SerializedName("startupAuthenticationBlockWithoutTpmChip") + @SerializedName("prebootRecoveryEnableMessageAndUrl") @Expose - public Boolean startupAuthenticationBlockWithoutTpmChip; + public Boolean prebootRecoveryEnableMessageAndUrl; /** - * The Startup Authentication Tpm Usage. - * Indicates if TPM startup is allowed/required/disallowed. + * The Preboot Recovery Message. + * Defines a custom recovery message. */ - @SerializedName("startupAuthenticationTpmUsage") + @SerializedName("prebootRecoveryMessage") @Expose - public ConfigurationUsage startupAuthenticationTpmUsage; + public String prebootRecoveryMessage; /** - * The Startup Authentication Tpm Pin Usage. - * Indicates if TPM startup pin is allowed/required/disallowed. + * The Preboot Recovery Url. + * Defines a custom recovery URL. */ - @SerializedName("startupAuthenticationTpmPinUsage") + @SerializedName("prebootRecoveryUrl") @Expose - public ConfigurationUsage startupAuthenticationTpmPinUsage; + public String prebootRecoveryUrl; /** - * The Startup Authentication Tpm Key Usage. - * Indicates if TPM startup key is allowed/required/disallowed. + * The Recovery Options. + * Allows to recover BitLocker encrypted operating system drives in the absence of the required startup key information. This policy setting is applied when you turn on BitLocker. */ - @SerializedName("startupAuthenticationTpmKeyUsage") + @SerializedName("recoveryOptions") @Expose - public ConfigurationUsage startupAuthenticationTpmKeyUsage; + public BitLockerRecoveryOptions recoveryOptions; /** - * The Startup Authentication Tpm Pin And Key Usage. - * Indicates if TPM startup pin key and key are allowed/required/disallowed. + * The Startup Authentication Block Without Tpm Chip. + * Indicates whether to allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive). */ - @SerializedName("startupAuthenticationTpmPinAndKeyUsage") + @SerializedName("startupAuthenticationBlockWithoutTpmChip") @Expose - public ConfigurationUsage startupAuthenticationTpmPinAndKeyUsage; + public Boolean startupAuthenticationBlockWithoutTpmChip; /** - * The Minimum Pin Length. - * Indicates the minimum length of startup pin. Valid values 4 to 20 + * The Startup Authentication Required. + * Require additional authentication at startup. */ - @SerializedName("minimumPinLength") + @SerializedName("startupAuthenticationRequired") @Expose - public Integer minimumPinLength; + public Boolean startupAuthenticationRequired; /** - * The Recovery Options. - * Allows to recover BitLocker encrypted operating system drives in the absence of the required startup key information. This policy setting is applied when you turn on BitLocker. + * The Startup Authentication Tpm Key Usage. + * Indicates if TPM startup key is allowed/required/disallowed. */ - @SerializedName("recoveryOptions") + @SerializedName("startupAuthenticationTpmKeyUsage") @Expose - public BitLockerRecoveryOptions recoveryOptions; + public ConfigurationUsage startupAuthenticationTpmKeyUsage; /** - * The Preboot Recovery Enable Message And Url. - * Enable pre-boot recovery message and Url. If requireStartupAuthentication is false, this value does not affect. + * The Startup Authentication Tpm Pin And Key Usage. + * Indicates if TPM startup pin key and key are allowed/required/disallowed. */ - @SerializedName("prebootRecoveryEnableMessageAndUrl") + @SerializedName("startupAuthenticationTpmPinAndKeyUsage") @Expose - public Boolean prebootRecoveryEnableMessageAndUrl; + public ConfigurationUsage startupAuthenticationTpmPinAndKeyUsage; /** - * The Preboot Recovery Message. - * Defines a custom recovery message. + * The Startup Authentication Tpm Pin Usage. + * Indicates if TPM startup pin is allowed/required/disallowed. */ - @SerializedName("prebootRecoveryMessage") + @SerializedName("startupAuthenticationTpmPinUsage") @Expose - public String prebootRecoveryMessage; + public ConfigurationUsage startupAuthenticationTpmPinUsage; /** - * The Preboot Recovery Url. - * Defines a custom recovery URL. + * The Startup Authentication Tpm Usage. + * Indicates if TPM startup is allowed/required/disallowed. */ - @SerializedName("prebootRecoveryUrl") + @SerializedName("startupAuthenticationTpmUsage") @Expose - public String prebootRecoveryUrl; + public ConfigurationUsage startupAuthenticationTpmUsage; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/BitlockerRecoveryKey.java b/src/main/java/com/microsoft/graph/models/extensions/BitlockerRecoveryKey.java index efda41c91db..a108fd2a1fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BitlockerRecoveryKey.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BitlockerRecoveryKey.java @@ -35,14 +35,6 @@ public class BitlockerRecoveryKey extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar createdDateTime; - /** - * The Volume Type. - * - */ - @SerializedName("volumeType") - @Expose - public VolumeType volumeType; - /** * The Device Id. * @@ -59,6 +51,14 @@ public class BitlockerRecoveryKey extends Entity implements IJsonBackedObject { @Expose public String key; + /** + * The Volume Type. + * + */ + @SerializedName("volumeType") + @Expose + public VolumeType volumeType; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/BookingAppointment.java b/src/main/java/com/microsoft/graph/models/extensions/BookingAppointment.java index 5b77e777801..6938a32a9c4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BookingAppointment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BookingAppointment.java @@ -10,9 +10,9 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.Location; import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.models.generated.BookingInvoiceStatus; import com.microsoft.graph.models.generated.BookingPriceType; import com.microsoft.graph.models.extensions.BookingReminder; -import com.microsoft.graph.models.generated.BookingInvoiceStatus; import com.microsoft.graph.models.extensions.Entity; @@ -32,12 +32,12 @@ public class BookingAppointment extends Entity implements IJsonBackedObject { /** - * The Self Service Appointment Id. + * The Customer Email Address. * */ - @SerializedName("selfServiceAppointmentId") + @SerializedName("customerEmailAddress") @Expose - public String selfServiceAppointmentId; + public String customerEmailAddress; /** * The Customer Id. @@ -47,6 +47,14 @@ public class BookingAppointment extends Entity implements IJsonBackedObject { @Expose public String customerId; + /** + * The Customer Location. + * + */ + @SerializedName("customerLocation") + @Expose + public Location customerLocation; + /** * The Customer Name. * @@ -56,12 +64,12 @@ public class BookingAppointment extends Entity implements IJsonBackedObject { public String customerName; /** - * The Customer Email Address. - * + * The Customer Notes. + * The value of this property is only available when reading an individual booking appointment by id. Its value can only be set when creating a new appointment with a new customer, ie, without specifying a CustomerId. After that, the property is computed from the customer represented by CustomerId. */ - @SerializedName("customerEmailAddress") + @SerializedName("customerNotes") @Expose - public String customerEmailAddress; + public String customerNotes; /** * The Customer Phone. @@ -72,68 +80,68 @@ public class BookingAppointment extends Entity implements IJsonBackedObject { public String customerPhone; /** - * The Customer Location. + * The Duration. * */ - @SerializedName("customerLocation") + @SerializedName("duration") @Expose - public Location customerLocation; + public javax.xml.datatype.Duration duration; /** - * The Customer Notes. - * The value of this property is only available when reading an individual booking appointment by id. Its value can only be set when creating a new appointment with a new customer, ie, without specifying a CustomerId. After that, the property is computed from the customer represented by CustomerId. + * The End. + * */ - @SerializedName("customerNotes") + @SerializedName("end") @Expose - public String customerNotes; + public DateTimeTimeZone end; /** - * The Service Id. - * The id of the booking service associated with this appointment. + * The Invoice Amount. + * */ - @SerializedName("serviceId") + @SerializedName("invoiceAmount") @Expose - public String serviceId; + public Double invoiceAmount; /** - * The Service Name. - * This property is optional when creating a new appointment. If not specified, it is computed from the service associated with the appointment by the service id. + * The Invoice Date. + * */ - @SerializedName("serviceName") + @SerializedName("invoiceDate") @Expose - public String serviceName; + public DateTimeTimeZone invoiceDate; /** - * The Start. + * The Invoice Id. * */ - @SerializedName("start") + @SerializedName("invoiceId") @Expose - public DateTimeTimeZone start; + public String invoiceId; /** - * The End. + * The Invoice Status. * */ - @SerializedName("end") + @SerializedName("invoiceStatus") @Expose - public DateTimeTimeZone end; + public BookingInvoiceStatus invoiceStatus; /** - * The Duration. + * The Invoice Url. * */ - @SerializedName("duration") + @SerializedName("invoiceUrl") @Expose - public javax.xml.datatype.Duration duration; + public String invoiceUrl; /** - * The Pre Buffer. + * The Opt Out Of Customer Email. * */ - @SerializedName("preBuffer") + @SerializedName("optOutOfCustomerEmail") @Expose - public javax.xml.datatype.Duration preBuffer; + public Boolean optOutOfCustomerEmail; /** * The Post Buffer. @@ -144,20 +152,12 @@ public class BookingAppointment extends Entity implements IJsonBackedObject { public javax.xml.datatype.Duration postBuffer; /** - * The Service Location. - * - */ - @SerializedName("serviceLocation") - @Expose - public Location serviceLocation; - - /** - * The Price Type. + * The Pre Buffer. * */ - @SerializedName("priceType") + @SerializedName("preBuffer") @Expose - public BookingPriceType priceType; + public javax.xml.datatype.Duration preBuffer; /** * The Price. @@ -168,12 +168,12 @@ public class BookingAppointment extends Entity implements IJsonBackedObject { public Double price; /** - * The Service Notes. - * The value of this property is only available when reading an individual booking appointment by id. + * The Price Type. + * */ - @SerializedName("serviceNotes") + @SerializedName("priceType") @Expose - public String serviceNotes; + public BookingPriceType priceType; /** * The Reminders. @@ -184,60 +184,60 @@ public class BookingAppointment extends Entity implements IJsonBackedObject { public java.util.List reminders; /** - * The Opt Out Of Customer Email. + * The Self Service Appointment Id. * */ - @SerializedName("optOutOfCustomerEmail") + @SerializedName("selfServiceAppointmentId") @Expose - public Boolean optOutOfCustomerEmail; + public String selfServiceAppointmentId; /** - * The Staff Member Ids. - * + * The Service Id. + * The id of the booking service associated with this appointment. */ - @SerializedName("staffMemberIds") + @SerializedName("serviceId") @Expose - public java.util.List staffMemberIds; + public String serviceId; /** - * The Invoice Amount. + * The Service Location. * */ - @SerializedName("invoiceAmount") + @SerializedName("serviceLocation") @Expose - public Double invoiceAmount; + public Location serviceLocation; /** - * The Invoice Date. - * + * The Service Name. + * This property is optional when creating a new appointment. If not specified, it is computed from the service associated with the appointment by the service id. */ - @SerializedName("invoiceDate") + @SerializedName("serviceName") @Expose - public DateTimeTimeZone invoiceDate; + public String serviceName; /** - * The Invoice Id. - * + * The Service Notes. + * The value of this property is only available when reading an individual booking appointment by id. */ - @SerializedName("invoiceId") + @SerializedName("serviceNotes") @Expose - public String invoiceId; + public String serviceNotes; /** - * The Invoice Status. + * The Staff Member Ids. * */ - @SerializedName("invoiceStatus") + @SerializedName("staffMemberIds") @Expose - public BookingInvoiceStatus invoiceStatus; + public java.util.List staffMemberIds; /** - * The Invoice Url. + * The Start. * */ - @SerializedName("invoiceUrl") + @SerializedName("start") @Expose - public String invoiceUrl; + public DateTimeTimeZone start; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/BookingBusiness.java b/src/main/java/com/microsoft/graph/models/extensions/BookingBusiness.java index bf6889802af..d0c35b5ef0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BookingBusiness.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BookingBusiness.java @@ -41,14 +41,6 @@ public class BookingBusiness extends BookingNamedEntity implements IJsonBackedObject { - /** - * The Business Type. - * - */ - @SerializedName("businessType") - @Expose - public String businessType; - /** * The Address. * @@ -58,28 +50,20 @@ public class BookingBusiness extends BookingNamedEntity implements IJsonBackedOb public PhysicalAddress address; /** - * The Phone. + * The Business Hours. * */ - @SerializedName("phone") + @SerializedName("businessHours") @Expose - public String phone; + public java.util.List businessHours; /** - * The Email. + * The Business Type. * */ - @SerializedName("email") - @Expose - public String email; - - /** - * The Web Site Url. - * Example: https://www.contoso.com - */ - @SerializedName("webSiteUrl") + @SerializedName("businessType") @Expose - public String webSiteUrl; + public String businessType; /** * The Default Currency Iso. @@ -90,28 +74,28 @@ public class BookingBusiness extends BookingNamedEntity implements IJsonBackedOb public String defaultCurrencyIso; /** - * The Business Hours. + * The Email. * */ - @SerializedName("businessHours") + @SerializedName("email") @Expose - public java.util.List businessHours; + public String email; /** - * The Scheduling Policy. + * The Is Published. * */ - @SerializedName("schedulingPolicy") + @SerializedName("isPublished") @Expose - public BookingSchedulingPolicy schedulingPolicy; + public Boolean isPublished; /** - * The Is Published. + * The Phone. * */ - @SerializedName("isPublished") + @SerializedName("phone") @Expose - public Boolean isPublished; + public String phone; /** * The Public Url. @@ -121,6 +105,22 @@ public class BookingBusiness extends BookingNamedEntity implements IJsonBackedOb @Expose public String publicUrl; + /** + * The Scheduling Policy. + * + */ + @SerializedName("schedulingPolicy") + @Expose + public BookingSchedulingPolicy schedulingPolicy; + + /** + * The Web Site Url. + * Example: https://www.contoso.com + */ + @SerializedName("webSiteUrl") + @Expose + public String webSiteUrl; + /** * The Appointments. * All appointments in this business. diff --git a/src/main/java/com/microsoft/graph/models/extensions/BookingReminder.java b/src/main/java/com/microsoft/graph/models/extensions/BookingReminder.java index 7ff0efe97eb..c0666bda471 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BookingReminder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BookingReminder.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Message. + * Message to send. + */ + @SerializedName("message") + @Expose + public String message; + /** * The Offset. * How much time before an appointment the reminder should be sent. @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public BookingReminderRecipients recipients; - /** - * The Message. - * Message to send. - */ - @SerializedName("message") - @Expose - public String message; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/BookingSchedulingPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/BookingSchedulingPolicy.java index 6b18f236ac7..b8170bde361 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BookingSchedulingPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BookingSchedulingPolicy.java @@ -36,20 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Time Slot Interval. - * Duration of each time slot. - */ - @SerializedName("timeSlotInterval") - @Expose - public javax.xml.datatype.Duration timeSlotInterval; - - /** - * The Minimum Lead Time. - * Minimum lead time for bookings and cancellations. + * The Allow Staff Selection. + * Allow customers to choose a specific person for the booking. */ - @SerializedName("minimumLeadTime") + @SerializedName("allowStaffSelection") @Expose - public javax.xml.datatype.Duration minimumLeadTime; + public Boolean allowStaffSelection; /** * The Maximum Advance. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public javax.xml.datatype.Duration maximumAdvance; + /** + * The Minimum Lead Time. + * Minimum lead time for bookings and cancellations. + */ + @SerializedName("minimumLeadTime") + @Expose + public javax.xml.datatype.Duration minimumLeadTime; + /** * The Send Confirmations To Owner. * Notify the business via email when a booking is created or changed. @@ -68,12 +68,12 @@ public final AdditionalDataManager additionalDataManager() { public Boolean sendConfirmationsToOwner; /** - * The Allow Staff Selection. - * Allow customers to choose a specific person for the booking. + * The Time Slot Interval. + * Duration of each time slot. */ - @SerializedName("allowStaffSelection") + @SerializedName("timeSlotInterval") @Expose - public Boolean allowStaffSelection; + public javax.xml.datatype.Duration timeSlotInterval; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/BookingService.java b/src/main/java/com/microsoft/graph/models/extensions/BookingService.java index 23ccf525807..954be867ba2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BookingService.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BookingService.java @@ -95,20 +95,20 @@ public class BookingService extends BookingNamedEntity implements IJsonBackedObj public String notes; /** - * The Pre Buffer. + * The Post Buffer. * */ - @SerializedName("preBuffer") + @SerializedName("postBuffer") @Expose - public javax.xml.datatype.Duration preBuffer; + public javax.xml.datatype.Duration postBuffer; /** - * The Post Buffer. + * The Pre Buffer. * */ - @SerializedName("postBuffer") + @SerializedName("preBuffer") @Expose - public javax.xml.datatype.Duration postBuffer; + public javax.xml.datatype.Duration preBuffer; /** * The Scheduling Policy. diff --git a/src/main/java/com/microsoft/graph/models/extensions/BookingWorkTimeSlot.java b/src/main/java/com/microsoft/graph/models/extensions/BookingWorkTimeSlot.java index 760b41260ce..e8b1b9c38a6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BookingWorkTimeSlot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BookingWorkTimeSlot.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Start. + * The End. * */ - @SerializedName("start") + @SerializedName("end") @Expose - public com.microsoft.graph.models.extensions.TimeOfDay start; + public com.microsoft.graph.models.extensions.TimeOfDay end; /** - * The End. + * The Start. * */ - @SerializedName("end") + @SerializedName("start") @Expose - public com.microsoft.graph.models.extensions.TimeOfDay end; + public com.microsoft.graph.models.extensions.TimeOfDay start; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/BulkManagedDeviceActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/BulkManagedDeviceActionResult.java index dadbfba2cfb..0c585c30dc8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BulkManagedDeviceActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BulkManagedDeviceActionResult.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Successful Device Ids. - * Successful devices - */ - @SerializedName("successfulDeviceIds") - @Expose - public java.util.List successfulDeviceIds; - /** * The Failed Device Ids. * Failed devices @@ -67,6 +59,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List notSupportedDeviceIds; + /** + * The Successful Device Ids. + * Successful devices + */ + @SerializedName("successfulDeviceIds") + @Expose + public java.util.List successfulDeviceIds; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Bundle.java b/src/main/java/com/microsoft/graph/models/extensions/Bundle.java index 2b7a885dc72..fba826192d8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Bundle.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Bundle.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Child Count. + * The Album. * */ - @SerializedName("childCount") + @SerializedName("album") @Expose - public Integer childCount; + public Album album; /** - * The Album. + * The Child Count. * */ - @SerializedName("album") + @SerializedName("childCount") @Expose - public Album album; + public Integer childCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/BusinessFlow.java b/src/main/java/com/microsoft/graph/models/extensions/BusinessFlow.java index 955b4b2c432..fe2f7c85139 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/BusinessFlow.java +++ b/src/main/java/com/microsoft/graph/models/extensions/BusinessFlow.java @@ -29,12 +29,20 @@ public class BusinessFlow extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Custom Data. * */ - @SerializedName("displayName") + @SerializedName("customData") @Expose - public String displayName; + public String customData; + + /** + * The De Duplication Id. + * + */ + @SerializedName("deDuplicationId") + @Expose + public String deDuplicationId; /** * The Description. @@ -45,28 +53,28 @@ public class BusinessFlow extends Entity implements IJsonBackedObject { public String description; /** - * The De Duplication Id. + * The Display Name. * */ - @SerializedName("deDuplicationId") + @SerializedName("displayName") @Expose - public String deDuplicationId; + public String displayName; /** - * The Schema Id. + * The Policy. * */ - @SerializedName("schemaId") + @SerializedName("policy") @Expose - public String schemaId; + public GovernancePolicy policy; /** - * The Custom Data. + * The Policy Template Id. * */ - @SerializedName("customData") + @SerializedName("policyTemplateId") @Expose - public String customData; + public String policyTemplateId; /** * The Record Version. @@ -77,20 +85,12 @@ public class BusinessFlow extends Entity implements IJsonBackedObject { public String recordVersion; /** - * The Policy. - * - */ - @SerializedName("policy") - @Expose - public GovernancePolicy policy; - - /** - * The Policy Template Id. + * The Schema Id. * */ - @SerializedName("policyTemplateId") + @SerializedName("schemaId") @Expose - public String policyTemplateId; + public String schemaId; /** * The Settings. diff --git a/src/main/java/com/microsoft/graph/models/extensions/Calendar.java b/src/main/java/com/microsoft/graph/models/extensions/Calendar.java index c9433e6a721..54ba517b20e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Calendar.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Calendar.java @@ -8,22 +8,22 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.OnlineMeetingProviderType; import com.microsoft.graph.models.generated.CalendarColor; import com.microsoft.graph.models.extensions.EmailAddress; -import com.microsoft.graph.models.generated.OnlineMeetingProviderType; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.CalendarPermission; import com.microsoft.graph.models.extensions.Event; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; import com.microsoft.graph.requests.extensions.CalendarPermissionCollectionResponse; import com.microsoft.graph.requests.extensions.CalendarPermissionCollectionPage; import com.microsoft.graph.requests.extensions.EventCollectionResponse; import com.microsoft.graph.requests.extensions.EventCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.google.gson.JsonObject; @@ -42,44 +42,28 @@ public class Calendar extends Entity implements IJsonBackedObject { /** - * The Name. - * The calendar name. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Color. - * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: LightBlue=0, LightGreen=1, LightOrange=2, LightGray=3, LightYellow=4, LightTeal=5, LightPink=6, LightBrown=7, LightRed=8, MaxColor=9, Auto=-1 - */ - @SerializedName("color") - @Expose - public CalendarColor color; - - /** - * The Hex Color. - * + * The Allowed Online Meeting Providers. + * Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. */ - @SerializedName("hexColor") + @SerializedName("allowedOnlineMeetingProviders") @Expose - public String hexColor; + public java.util.List allowedOnlineMeetingProviders; /** - * The Is Default Calendar. + * The Calendar Group Id. * */ - @SerializedName("isDefaultCalendar") + @SerializedName("calendarGroupId") @Expose - public Boolean isDefaultCalendar; + public String calendarGroupId; /** - * The Change Key. - * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * The Can Edit. + * True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access. */ - @SerializedName("changeKey") + @SerializedName("canEdit") @Expose - public String changeKey; + public Boolean canEdit; /** * The Can Share. @@ -98,60 +82,68 @@ public class Calendar extends Entity implements IJsonBackedObject { public Boolean canViewPrivateItems; /** - * The Is Shared. - * + * The Change Key. + * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. */ - @SerializedName("isShared") + @SerializedName("changeKey") @Expose - public Boolean isShared; + public String changeKey; /** - * The Is Shared With Me. - * + * The Color. + * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: LightBlue=0, LightGreen=1, LightOrange=2, LightGray=3, LightYellow=4, LightTeal=5, LightPink=6, LightBrown=7, LightRed=8, MaxColor=9, Auto=-1 */ - @SerializedName("isSharedWithMe") + @SerializedName("color") @Expose - public Boolean isSharedWithMe; + public CalendarColor color; /** - * The Can Edit. - * True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access. + * The Default Online Meeting Provider. + * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. */ - @SerializedName("canEdit") + @SerializedName("defaultOnlineMeetingProvider") @Expose - public Boolean canEdit; + public OnlineMeetingProviderType defaultOnlineMeetingProvider; /** - * The Owner. - * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. + * The Hex Color. + * */ - @SerializedName("owner") + @SerializedName("hexColor") @Expose - public EmailAddress owner; + public String hexColor; /** - * The Calendar Group Id. + * The Is Default Calendar. * */ - @SerializedName("calendarGroupId") + @SerializedName("isDefaultCalendar") @Expose - public String calendarGroupId; + public Boolean isDefaultCalendar; /** - * The Allowed Online Meeting Providers. - * Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * The Is Removable. + * Indicates whether this user calendar can be deleted from the user mailbox. */ - @SerializedName("allowedOnlineMeetingProviders") + @SerializedName("isRemovable") @Expose - public java.util.List allowedOnlineMeetingProviders; + public Boolean isRemovable; /** - * The Default Online Meeting Provider. - * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * The Is Shared. + * */ - @SerializedName("defaultOnlineMeetingProvider") + @SerializedName("isShared") @Expose - public OnlineMeetingProviderType defaultOnlineMeetingProvider; + public Boolean isShared; + + /** + * The Is Shared With Me. + * + */ + @SerializedName("isSharedWithMe") + @Expose + public Boolean isSharedWithMe; /** * The Is Tallying Responses. @@ -162,24 +154,20 @@ public class Calendar extends Entity implements IJsonBackedObject { public Boolean isTallyingResponses; /** - * The Is Removable. - * Indicates whether this user calendar can be deleted from the user mailbox. + * The Name. + * The calendar name. */ - @SerializedName("isRemovable") + @SerializedName("name") @Expose - public Boolean isRemovable; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + public String name; /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + * The Owner. + * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + @SerializedName("owner") + @Expose + public EmailAddress owner; /** * The Calendar Permissions. @@ -187,6 +175,12 @@ public class Calendar extends Entity implements IJsonBackedObject { */ public CalendarPermissionCollectionPage calendarPermissions; + /** + * The Calendar View. + * The calendar view for the calendar. Navigation property. Read-only. + */ + public EventCollectionPage calendarView; + /** * The Events. * The events in the calendar. Navigation property. Read-only. @@ -194,10 +188,16 @@ public class Calendar extends Entity implements IJsonBackedObject { public EventCollectionPage events; /** - * The Calendar View. - * The calendar view for the calendar. Navigation property. Read-only. + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. */ - public EventCollectionPage calendarView; + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** @@ -239,38 +239,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - if (json.has("calendarPermissions")) { final CalendarPermissionCollectionResponse response = new CalendarPermissionCollectionResponse(); if (json.has("calendarPermissions@odata.nextLink")) { @@ -287,6 +255,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { calendarPermissions = new CalendarPermissionCollectionPage(response, null); } + if (json.has("calendarView")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("calendarView@odata.nextLink")) { + response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendarView = new EventCollectionPage(response, null); + } + if (json.has("events")) { final EventCollectionResponse response = new EventCollectionResponse(); if (json.has("events@odata.nextLink")) { @@ -303,20 +287,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { events = new EventCollectionPage(response, null); } - if (json.has("calendarView")) { - final EventCollectionResponse response = new EventCollectionResponse(); - if (json.has("calendarView@odata.nextLink")) { - response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - calendarView = new EventCollectionPage(response, null); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java b/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java index bd113b9d6b9..44b9277ba8f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CalendarGroup.java @@ -30,12 +30,12 @@ public class CalendarGroup extends Entity implements IJsonBackedObject { /** - * The Name. - * The group name. + * The Change Key. + * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. */ - @SerializedName("name") + @SerializedName("changeKey") @Expose - public String name; + public String changeKey; /** * The Class Id. @@ -46,12 +46,12 @@ public class CalendarGroup extends Entity implements IJsonBackedObject { public java.util.UUID classId; /** - * The Change Key. - * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * The Name. + * The group name. */ - @SerializedName("changeKey") + @SerializedName("name") @Expose - public String changeKey; + public String name; /** * The Calendars. diff --git a/src/main/java/com/microsoft/graph/models/extensions/CalendarPermission.java b/src/main/java/com/microsoft/graph/models/extensions/CalendarPermission.java index abb295f4225..a0aacb6bc00 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CalendarPermission.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CalendarPermission.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EmailAddress; import com.microsoft.graph.models.generated.CalendarRoleType; +import com.microsoft.graph.models.extensions.EmailAddress; import com.microsoft.graph.models.extensions.Entity; @@ -29,20 +29,20 @@ public class CalendarPermission extends Entity implements IJsonBackedObject { /** - * The Email Address. - * Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. + * The Allowed Roles. + * List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. */ - @SerializedName("emailAddress") + @SerializedName("allowedRoles") @Expose - public EmailAddress emailAddress; + public java.util.List allowedRoles; /** - * The Is Removable. - * True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. + * The Email Address. + * Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. */ - @SerializedName("isRemovable") + @SerializedName("emailAddress") @Expose - public Boolean isRemovable; + public EmailAddress emailAddress; /** * The Is Inside Organization. @@ -53,20 +53,20 @@ public class CalendarPermission extends Entity implements IJsonBackedObject { public Boolean isInsideOrganization; /** - * The Role. - * Current permission level of the calendar sharee or delegate. + * The Is Removable. + * True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. */ - @SerializedName("role") + @SerializedName("isRemovable") @Expose - public CalendarRoleType role; + public Boolean isRemovable; /** - * The Allowed Roles. - * List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. + * The Role. + * Current permission level of the calendar sharee or delegate. */ - @SerializedName("allowedRoles") + @SerializedName("role") @Expose - public java.util.List allowedRoles; + public CalendarRoleType role; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessage.java b/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessage.java index b416731cbb8..0757010c3d3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessage.java @@ -35,14 +35,6 @@ public class CalendarSharingMessage extends Message implements IJsonBackedObject @Expose public Boolean canAccept; - /** - * The Suggested Calendar Name. - * - */ - @SerializedName("suggestedCalendarName") - @Expose - public String suggestedCalendarName; - /** * The Sharing Message Action. * @@ -59,6 +51,14 @@ public class CalendarSharingMessage extends Message implements IJsonBackedObject @Expose public java.util.List sharingMessageActions; + /** + * The Suggested Calendar Name. + * + */ + @SerializedName("suggestedCalendarName") + @Expose + public String suggestedCalendarName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessageAction.java b/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessageAction.java index 318ee5a9d30..7ff52ff9b10 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessageAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CalendarSharingMessageAction.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.CalendarSharingActionImportance; -import com.microsoft.graph.models.generated.CalendarSharingActionType; import com.microsoft.graph.models.generated.CalendarSharingAction; +import com.microsoft.graph.models.generated.CalendarSharingActionType; +import com.microsoft.graph.models.generated.CalendarSharingActionImportance; import com.google.gson.JsonObject; @@ -39,12 +39,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Importance. + * The Action. * */ - @SerializedName("importance") + @SerializedName("action") @Expose - public CalendarSharingActionImportance importance; + public CalendarSharingAction action; /** * The Action Type. @@ -55,12 +55,12 @@ public final AdditionalDataManager additionalDataManager() { public CalendarSharingActionType actionType; /** - * The Action. + * The Importance. * */ - @SerializedName("action") + @SerializedName("importance") @Expose - public CalendarSharingAction action; + public CalendarSharingActionImportance importance; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Call.java b/src/main/java/com/microsoft/graph/models/extensions/Call.java index 944ed51a1f0..97dad6d8f14 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Call.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Call.java @@ -8,33 +8,33 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.CallState; -import com.microsoft.graph.models.extensions.CallMediaState; -import com.microsoft.graph.models.extensions.ResultInfo; -import com.microsoft.graph.models.generated.CallDirection; -import com.microsoft.graph.models.extensions.CallRoute; -import com.microsoft.graph.models.extensions.ParticipantInfo; -import com.microsoft.graph.models.extensions.InvitationParticipantInfo; import com.microsoft.graph.models.generated.Modality; -import com.microsoft.graph.models.extensions.MediaConfig; -import com.microsoft.graph.models.extensions.ChatInfo; +import com.microsoft.graph.models.extensions.ParticipantInfo; import com.microsoft.graph.models.extensions.CallOptions; -import com.microsoft.graph.models.extensions.MeetingInfo; -import com.microsoft.graph.models.extensions.CallTranscriptionInfo; +import com.microsoft.graph.models.extensions.CallRoute; +import com.microsoft.graph.models.extensions.ChatInfo; +import com.microsoft.graph.models.generated.CallDirection; +import com.microsoft.graph.models.extensions.IncomingContext; +import com.microsoft.graph.models.extensions.MediaConfig; +import com.microsoft.graph.models.extensions.CallMediaState; import com.microsoft.graph.models.extensions.MeetingCapability; +import com.microsoft.graph.models.extensions.MeetingInfo; +import com.microsoft.graph.models.extensions.ResultInfo; import com.microsoft.graph.models.generated.RoutingPolicy; +import com.microsoft.graph.models.generated.CallState; +import com.microsoft.graph.models.extensions.InvitationParticipantInfo; import com.microsoft.graph.models.extensions.ToneInfo; -import com.microsoft.graph.models.extensions.IncomingContext; -import com.microsoft.graph.models.extensions.Participant; +import com.microsoft.graph.models.extensions.CallTranscriptionInfo; import com.microsoft.graph.models.extensions.AudioRoutingGroup; import com.microsoft.graph.models.extensions.CommsOperation; +import com.microsoft.graph.models.extensions.Participant; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.ParticipantCollectionResponse; -import com.microsoft.graph.requests.extensions.ParticipantCollectionPage; import com.microsoft.graph.requests.extensions.AudioRoutingGroupCollectionResponse; import com.microsoft.graph.requests.extensions.AudioRoutingGroupCollectionPage; import com.microsoft.graph.requests.extensions.CommsOperationCollectionResponse; import com.microsoft.graph.requests.extensions.CommsOperationCollectionPage; +import com.microsoft.graph.requests.extensions.ParticipantCollectionResponse; +import com.microsoft.graph.requests.extensions.ParticipantCollectionPage; import com.google.gson.JsonObject; @@ -53,36 +53,60 @@ public class Call extends Entity implements IJsonBackedObject { /** - * The State. - * The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. + * The Active Modalities. + * */ - @SerializedName("state") + @SerializedName("activeModalities") @Expose - public CallState state; + public java.util.List activeModalities; /** - * The Media State. - * Read-only. The call media state. + * The Answered By. + * */ - @SerializedName("mediaState") + @SerializedName("answeredBy") @Expose - public CallMediaState mediaState; + public ParticipantInfo answeredBy; /** - * The Result Info. - * The result information. For example can hold termination reason. Read-only. + * The Callback Uri. + * The callback URL on which callbacks will be delivered. Must be https. */ - @SerializedName("resultInfo") + @SerializedName("callbackUri") @Expose - public ResultInfo resultInfo; + public String callbackUri; /** - * The Termination Reason. + * The Call Chain Id. + * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. + */ + @SerializedName("callChainId") + @Expose + public String callChainId; + + /** + * The Call Options. * */ - @SerializedName("terminationReason") + @SerializedName("callOptions") @Expose - public String terminationReason; + public CallOptions callOptions; + + /** + * The Call Routes. + * The routing information on how the call was retargeted. Read-only. + */ + @SerializedName("callRoutes") + @Expose + public java.util.List callRoutes; + + /** + * The Chat Info. + * The chat information. Required information for joining a meeting. + */ + @SerializedName("chatInfo") + @Expose + public ChatInfo chatInfo; /** * The Direction. @@ -93,132 +117,116 @@ public class Call extends Entity implements IJsonBackedObject { public CallDirection direction; /** - * The Ringing Timeout In Seconds. + * The Incoming Context. * */ - @SerializedName("ringingTimeoutInSeconds") - @Expose - public Integer ringingTimeoutInSeconds; - - /** - * The Subject. - * The subject of the conversation. - */ - @SerializedName("subject") + @SerializedName("incomingContext") @Expose - public String subject; + public IncomingContext incomingContext; /** - * The Callback Uri. - * The callback URL on which callbacks will be delivered. Must be https. + * The Media Config. + * The media configuration. Required. */ - @SerializedName("callbackUri") + @SerializedName("mediaConfig") @Expose - public String callbackUri; + public MediaConfig mediaConfig; /** - * The Call Routes. - * The routing information on how the call was retargeted. Read-only. + * The Media State. + * Read-only. The call media state. */ - @SerializedName("callRoutes") + @SerializedName("mediaState") @Expose - public java.util.List callRoutes; + public CallMediaState mediaState; /** - * The Source. - * The originator of the call. + * The Meeting Capability. + * */ - @SerializedName("source") + @SerializedName("meetingCapability") @Expose - public ParticipantInfo source; + public MeetingCapability meetingCapability; /** - * The Targets. - * The targets of the call. Required information for creating peer to peer call. + * The Meeting Info. + * The meeting information that's required for joining a meeting. */ - @SerializedName("targets") + @SerializedName("meetingInfo") @Expose - public java.util.List targets; + public MeetingInfo meetingInfo; /** - * The Answered By. + * The My Participant Id. * */ - @SerializedName("answeredBy") + @SerializedName("myParticipantId") @Expose - public ParticipantInfo answeredBy; + public String myParticipantId; /** * The Requested Modalities. - * The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. + * */ @SerializedName("requestedModalities") @Expose public java.util.List requestedModalities; /** - * The Active Modalities. + * The Result Info. * */ - @SerializedName("activeModalities") - @Expose - public java.util.List activeModalities; - - /** - * The Media Config. - * The media configuration. Required. - */ - @SerializedName("mediaConfig") + @SerializedName("resultInfo") @Expose - public MediaConfig mediaConfig; + public ResultInfo resultInfo; /** - * The Chat Info. - * The chat information. Required information for joining a meeting. + * The Ringing Timeout In Seconds. + * */ - @SerializedName("chatInfo") + @SerializedName("ringingTimeoutInSeconds") @Expose - public ChatInfo chatInfo; + public Integer ringingTimeoutInSeconds; /** - * The Call Options. + * The Routing Policies. * */ - @SerializedName("callOptions") + @SerializedName("routingPolicies") @Expose - public CallOptions callOptions; + public java.util.List routingPolicies; /** - * The Meeting Info. - * The meeting information that's required for joining a meeting. + * The Source. + * */ - @SerializedName("meetingInfo") + @SerializedName("source") @Expose - public MeetingInfo meetingInfo; + public ParticipantInfo source; /** - * The Transcription. + * The State. * */ - @SerializedName("transcription") + @SerializedName("state") @Expose - public CallTranscriptionInfo transcription; + public CallState state; /** - * The Meeting Capability. + * The Subject. * */ - @SerializedName("meetingCapability") + @SerializedName("subject") @Expose - public MeetingCapability meetingCapability; + public String subject; /** - * The Routing Policies. + * The Targets. * */ - @SerializedName("routingPolicies") + @SerializedName("targets") @Expose - public java.util.List routingPolicies; + public java.util.List targets; /** * The Tenant Id. @@ -229,12 +237,12 @@ public class Call extends Entity implements IJsonBackedObject { public String tenantId; /** - * The My Participant Id. - * Read-only. + * The Termination Reason. + * */ - @SerializedName("myParticipantId") + @SerializedName("terminationReason") @Expose - public String myParticipantId; + public String terminationReason; /** * The Tone Info. @@ -245,26 +253,12 @@ public class Call extends Entity implements IJsonBackedObject { public ToneInfo toneInfo; /** - * The Call Chain Id. - * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. - */ - @SerializedName("callChainId") - @Expose - public String callChainId; - - /** - * The Incoming Context. + * The Transcription. * */ - @SerializedName("incomingContext") + @SerializedName("transcription") @Expose - public IncomingContext incomingContext; - - /** - * The Participants. - * Read-only. Nullable. - */ - public ParticipantCollectionPage participants; + public CallTranscriptionInfo transcription; /** * The Audio Routing Groups. @@ -278,6 +272,12 @@ public class Call extends Entity implements IJsonBackedObject { */ public CommsOperationCollectionPage operations; + /** + * The Participants. + * Read-only. Nullable. + */ + public ParticipantCollectionPage participants; + /** * The raw representation of this class @@ -318,22 +318,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("participants")) { - final ParticipantCollectionResponse response = new ParticipantCollectionResponse(); - if (json.has("participants@odata.nextLink")) { - response.nextLink = json.get("participants@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("participants").toString(), JsonObject[].class); - final Participant[] array = new Participant[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Participant.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - participants = new ParticipantCollectionPage(response, null); - } - if (json.has("audioRoutingGroups")) { final AudioRoutingGroupCollectionResponse response = new AudioRoutingGroupCollectionResponse(); if (json.has("audioRoutingGroups@odata.nextLink")) { @@ -365,5 +349,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); operations = new CommsOperationCollectionPage(response, null); } + + if (json.has("participants")) { + final ParticipantCollectionResponse response = new ParticipantCollectionResponse(); + if (json.has("participants@odata.nextLink")) { + response.nextLink = json.get("participants@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("participants").toString(), JsonObject[].class); + final Participant[] array = new Participant[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Participant.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + participants = new ParticipantCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CallRoute.java b/src/main/java/com/microsoft/graph/models/extensions/CallRoute.java index 31a432028d1..d048d1a3cea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CallRoute.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CallRoute.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.RoutingType; import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.generated.RoutingType; import com.google.gson.JsonObject; @@ -38,12 +38,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Routing Type. - * Possible values are: forwarded, lookup, selfFork. + * The Final. + * The identity that was resolved to in the call. */ - @SerializedName("routingType") + @SerializedName("final") @Expose - public RoutingType routingType; + public IdentitySet msgraphFinal; /** * The Original. @@ -54,12 +54,12 @@ public final AdditionalDataManager additionalDataManager() { public IdentitySet original; /** - * The Final. - * The identity that was resolved to in the call. + * The Routing Type. + * Possible values are: forwarded, lookup, selfFork. */ - @SerializedName("final") + @SerializedName("routingType") @Expose - public IdentitySet msgraphFinal; + public RoutingType routingType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CallTranscriptionInfo.java b/src/main/java/com/microsoft/graph/models/extensions/CallTranscriptionInfo.java index fb79311ef38..6601840ea39 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CallTranscriptionInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CallTranscriptionInfo.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The State. - * + * The Last Modified Date Time. + * The state modified time in UTC. */ - @SerializedName("state") + @SerializedName("lastModifiedDateTime") @Expose - public CallTranscriptionState state; + public java.util.Calendar lastModifiedDateTime; /** - * The Last Modified Date Time. - * + * The State. + * Possible values are: notStarted, active, inactive. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("state") @Expose - public java.util.Calendar lastModifiedDateTime; + public CallTranscriptionState state; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CartToClassAssociation.java b/src/main/java/com/microsoft/graph/models/extensions/CartToClassAssociation.java index 2acb4a918b1..88441d55621 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CartToClassAssociation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CartToClassAssociation.java @@ -26,6 +26,14 @@ public class CartToClassAssociation extends Entity implements IJsonBackedObject { + /** + * The Classroom Ids. + * Identifiers of classrooms to be associated with device carts. + */ + @SerializedName("classroomIds") + @Expose + public java.util.List classroomIds; + /** * The Created Date Time. * DateTime the object was created. @@ -35,20 +43,20 @@ public class CartToClassAssociation extends Entity implements IJsonBackedObject public java.util.Calendar createdDateTime; /** - * The Last Modified Date Time. - * DateTime the object was last modified. + * The Description. + * Admin provided description of the CartToClassAssociation. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("description") @Expose - public java.util.Calendar lastModifiedDateTime; + public String description; /** - * The Version. - * Version of the CartToClassAssociation. + * The Device Cart Ids. + * Identifiers of device carts to be associated with classes. */ - @SerializedName("version") + @SerializedName("deviceCartIds") @Expose - public Integer version; + public java.util.List deviceCartIds; /** * The Display Name. @@ -59,28 +67,20 @@ public class CartToClassAssociation extends Entity implements IJsonBackedObject public String displayName; /** - * The Description. - * Admin provided description of the CartToClassAssociation. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Device Cart Ids. - * Identifiers of device carts to be associated with classes. + * The Last Modified Date Time. + * DateTime the object was last modified. */ - @SerializedName("deviceCartIds") + @SerializedName("lastModifiedDateTime") @Expose - public java.util.List deviceCartIds; + public java.util.Calendar lastModifiedDateTime; /** - * The Classroom Ids. - * Identifiers of classrooms to be associated with device carts. + * The Version. + * Version of the CartToClassAssociation. */ - @SerializedName("classroomIds") + @SerializedName("version") @Expose - public java.util.List classroomIds; + public Integer version; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CertificateAuthority.java b/src/main/java/com/microsoft/graph/models/extensions/CertificateAuthority.java index dd573f30dec..5218667676e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CertificateAuthority.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CertificateAuthority.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Is Root Authority. - * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority. + * The Certificate. + * Required. The base64 encoded string representing the public certificate. */ - @SerializedName("isRootAuthority") + @SerializedName("certificate") @Expose - public Boolean isRootAuthority; + public byte[] certificate; /** * The Certificate Revocation List Url. @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public String deltaCertificateRevocationListUrl; /** - * The Certificate. - * Required. The base64 encoded string representing the public certificate. + * The Is Root Authority. + * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority. */ - @SerializedName("certificate") + @SerializedName("isRootAuthority") @Expose - public byte[] certificate; + public Boolean isRootAuthority; /** * The Issuer. diff --git a/src/main/java/com/microsoft/graph/models/extensions/CertificateConnectorSetting.java b/src/main/java/com/microsoft/graph/models/extensions/CertificateConnectorSetting.java index 08de30e28ef..c6f06bef8cf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CertificateConnectorSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CertificateConnectorSetting.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Status. - * Certificate connector status - */ - @SerializedName("status") - @Expose - public Integer status; - /** * The Cert Expiry Time. * Certificate expire time @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar certExpiryTime; + /** + * The Connector Version. + * Version of certificate connector + */ + @SerializedName("connectorVersion") + @Expose + public String connectorVersion; + /** * The Enrollment Error. * Certificate connector enrollment error @@ -67,14 +67,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar lastConnectorConnectionTime; - /** - * The Connector Version. - * Version of certificate connector - */ - @SerializedName("connectorVersion") - @Expose - public String connectorVersion; - /** * The Last Upload Version. * Version of last uploaded certificate connector @@ -83,6 +75,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Long lastUploadVersion; + /** + * The Status. + * Certificate connector status + */ + @SerializedName("status") + @Expose + public Integer status; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChangeNotification.java b/src/main/java/com/microsoft/graph/models/extensions/ChangeNotification.java index 40b44917727..2b820947293 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChangeNotification.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChangeNotification.java @@ -40,44 +40,44 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. - * Unique ID for the notification. Optional. + * The Change Type. + * Indicates the type of change that will raise the change notification. The supported values are: created, updated, deleted. Required. */ - @SerializedName("id") + @SerializedName("changeType") @Expose - public String id; + public ChangeType changeType; /** - * The Subscription Id. - * The unique identifier of the subscription that generated the notification. + * The Client State. + * Value of the clientState property sent in the subscription request (if any). The maximum length is 255 characters. The client can check whether the change notification came from the service by comparing the values of the clientState property. The value of the clientState property sent with the subscription is compared with the value of the clientState property received with each change notification. Optional. */ - @SerializedName("subscriptionId") + @SerializedName("clientState") @Expose - public java.util.UUID subscriptionId; + public String clientState; /** - * The Subscription Expiration Date Time. - * The expiration time for the subscription. Required. + * The Encrypted Content. + * */ - @SerializedName("subscriptionExpirationDateTime") + @SerializedName("encryptedContent") @Expose - public java.util.Calendar subscriptionExpirationDateTime; + public ChangeNotificationEncryptedContent encryptedContent; /** - * The Client State. - * Value of the clientState property sent in the subscription request (if any). The maximum length is 255 characters. The client can check whether the change notification came from the service by comparing the values of the clientState property. The value of the clientState property sent with the subscription is compared with the value of the clientState property received with each change notification. Optional. + * The Id. + * Unique ID for the notification. Optional. */ - @SerializedName("clientState") + @SerializedName("id") @Expose - public String clientState; + public String id; /** - * The Change Type. - * Indicates the type of change that will raise the change notification. The supported values are: created, updated, deleted. Required. + * The Lifecycle Event. + * */ - @SerializedName("changeType") + @SerializedName("lifecycleEvent") @Expose - public ChangeType changeType; + public LifecycleEventType lifecycleEvent; /** * The Resource. @@ -88,36 +88,36 @@ public final AdditionalDataManager additionalDataManager() { public String resource; /** - * The Tenant Id. - * The unique identifier of the tenant from which the change notification originated. + * The Resource Data. + * The content of this property depends on the type of resource being subscribed to. Required. */ - @SerializedName("tenantId") + @SerializedName("resourceData") @Expose - public java.util.UUID tenantId; + public ResourceData resourceData; /** - * The Encrypted Content. - * + * The Subscription Expiration Date Time. + * The expiration time for the subscription. Required. */ - @SerializedName("encryptedContent") + @SerializedName("subscriptionExpirationDateTime") @Expose - public ChangeNotificationEncryptedContent encryptedContent; + public java.util.Calendar subscriptionExpirationDateTime; /** - * The Lifecycle Event. - * + * The Subscription Id. + * The unique identifier of the subscription that generated the notification. */ - @SerializedName("lifecycleEvent") + @SerializedName("subscriptionId") @Expose - public LifecycleEventType lifecycleEvent; + public java.util.UUID subscriptionId; /** - * The Resource Data. - * The content of this property depends on the type of resource being subscribed to. Required. + * The Tenant Id. + * The unique identifier of the tenant from which the change notification originated. */ - @SerializedName("resourceData") + @SerializedName("tenantId") @Expose - public ResourceData resourceData; + public java.util.UUID tenantId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChangeNotificationEncryptedContent.java b/src/main/java/com/microsoft/graph/models/extensions/ChangeNotificationEncryptedContent.java index 09bccc68124..efd29276084 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChangeNotificationEncryptedContent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChangeNotificationEncryptedContent.java @@ -44,20 +44,20 @@ public final AdditionalDataManager additionalDataManager() { public String data; /** - * The Data Signature. + * The Data Key. * */ - @SerializedName("dataSignature") + @SerializedName("dataKey") @Expose - public String dataSignature; + public String dataKey; /** - * The Data Key. + * The Data Signature. * */ - @SerializedName("dataKey") + @SerializedName("dataSignature") @Expose - public String dataKey; + public String dataSignature; /** * The Encryption Certificate Id. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChangeTrackedEntity.java b/src/main/java/com/microsoft/graph/models/extensions/ChangeTrackedEntity.java index 2a9c790e6b9..b497935a7df 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChangeTrackedEntity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChangeTrackedEntity.java @@ -35,14 +35,6 @@ public class ChangeTrackedEntity extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar createdDateTime; - /** - * The Last Modified Date Time. - * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - /** * The Last Modified By. * Identity of the person who last modified the entity. @@ -51,6 +43,14 @@ public class ChangeTrackedEntity extends Entity implements IJsonBackedObject { @Expose public IdentitySet lastModifiedBy; + /** + * The Last Modified Date Time. + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Channel.java b/src/main/java/com/microsoft/graph/models/extensions/Channel.java index 83d7a26a48f..19ff46a4e75 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Channel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Channel.java @@ -10,17 +10,17 @@ import java.util.EnumSet; import com.microsoft.graph.models.generated.ChannelMembershipType; import com.microsoft.graph.models.extensions.ChannelModerationSettings; +import com.microsoft.graph.models.extensions.DriveItem; +import com.microsoft.graph.models.extensions.ConversationMember; import com.microsoft.graph.models.extensions.ChatMessage; import com.microsoft.graph.models.extensions.TeamsTab; -import com.microsoft.graph.models.extensions.ConversationMember; -import com.microsoft.graph.models.extensions.DriveItem; import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ConversationMemberCollectionResponse; +import com.microsoft.graph.requests.extensions.ConversationMemberCollectionPage; import com.microsoft.graph.requests.extensions.ChatMessageCollectionResponse; import com.microsoft.graph.requests.extensions.ChatMessageCollectionPage; import com.microsoft.graph.requests.extensions.TeamsTabCollectionResponse; import com.microsoft.graph.requests.extensions.TeamsTabCollectionPage; -import com.microsoft.graph.requests.extensions.ConversationMemberCollectionResponse; -import com.microsoft.graph.requests.extensions.ConversationMemberCollectionPage; import com.google.gson.JsonObject; @@ -39,12 +39,12 @@ public class Channel extends Entity implements IJsonBackedObject { /** - * The Display Name. - * Channel name as it will appear to the user in Microsoft Teams. + * The Created Date Time. + * */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -55,12 +55,12 @@ public class Channel extends Entity implements IJsonBackedObject { public String description; /** - * The Is Favorite By Default. - * + * The Display Name. + * Channel name as it will appear to the user in Microsoft Teams. */ - @SerializedName("isFavoriteByDefault") + @SerializedName("displayName") @Expose - public Boolean isFavoriteByDefault; + public String displayName; /** * The Email. @@ -71,12 +71,12 @@ public class Channel extends Entity implements IJsonBackedObject { public String email; /** - * The Web Url. - * A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. + * The Is Favorite By Default. + * */ - @SerializedName("webUrl") + @SerializedName("isFavoriteByDefault") @Expose - public String webUrl; + public Boolean isFavoriteByDefault; /** * The Membership Type. @@ -95,16 +95,20 @@ public class Channel extends Entity implements IJsonBackedObject { public ChannelModerationSettings moderationSettings; /** - * The Messages. - * A collection of all the messages in the channel. A navigation property. Nullable. + * The Web Url. + * A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. */ - public ChatMessageCollectionPage messages; + @SerializedName("webUrl") + @Expose + public String webUrl; /** - * The Tabs. - * A collection of all the tabs in the channel. A navigation property. + * The Files Folder. + * Metadata for the location where the channel's files are stored. */ - public TeamsTabCollectionPage tabs; + @SerializedName("filesFolder") + @Expose + public DriveItem filesFolder; /** * The Members. @@ -113,12 +117,16 @@ public class Channel extends Entity implements IJsonBackedObject { public ConversationMemberCollectionPage members; /** - * The Files Folder. - * Metadata for the location where the channel's files are stored. + * The Messages. + * A collection of all the messages in the channel. A navigation property. Nullable. */ - @SerializedName("filesFolder") - @Expose - public DriveItem filesFolder; + public ChatMessageCollectionPage messages; + + /** + * The Tabs. + * A collection of all the tabs in the channel. A navigation property. + */ + public TeamsTabCollectionPage tabs; /** @@ -160,6 +168,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; + if (json.has("members")) { + final ConversationMemberCollectionResponse response = new ConversationMemberCollectionResponse(); + if (json.has("members@odata.nextLink")) { + response.nextLink = json.get("members@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); + final ConversationMember[] array = new ConversationMember[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConversationMember.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + members = new ConversationMemberCollectionPage(response, null); + } + if (json.has("messages")) { final ChatMessageCollectionResponse response = new ChatMessageCollectionResponse(); if (json.has("messages@odata.nextLink")) { @@ -191,21 +215,5 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); tabs = new TeamsTabCollectionPage(response, null); } - - if (json.has("members")) { - final ConversationMemberCollectionResponse response = new ConversationMemberCollectionResponse(); - if (json.has("members@odata.nextLink")) { - response.nextLink = json.get("members@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); - final ConversationMember[] array = new ConversationMember[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConversationMember.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - members = new ConversationMemberCollectionPage(response, null); - } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChannelIdentity.java b/src/main/java/com/microsoft/graph/models/extensions/ChannelIdentity.java index b82b70bee18..ce194778da2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChannelIdentity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChannelIdentity.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Team Id. + * The Channel Id. * */ - @SerializedName("teamId") + @SerializedName("channelId") @Expose - public String teamId; + public String channelId; /** - * The Channel Id. + * The Team Id. * */ - @SerializedName("channelId") + @SerializedName("teamId") @Expose - public String channelId; + public String teamId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChannelModerationSettings.java b/src/main/java/com/microsoft/graph/models/extensions/ChannelModerationSettings.java index bb920de606c..5c189eb4de0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChannelModerationSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChannelModerationSettings.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.UserNewMessageRestriction; import com.microsoft.graph.models.generated.ReplyRestriction; +import com.microsoft.graph.models.generated.UserNewMessageRestriction; import com.google.gson.JsonObject; @@ -38,36 +38,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The User New Message Restriction. + * The Allow New Message From Bots. * */ - @SerializedName("userNewMessageRestriction") + @SerializedName("allowNewMessageFromBots") @Expose - public UserNewMessageRestriction userNewMessageRestriction; + public Boolean allowNewMessageFromBots; /** - * The Reply Restriction. + * The Allow New Message From Connectors. * */ - @SerializedName("replyRestriction") + @SerializedName("allowNewMessageFromConnectors") @Expose - public ReplyRestriction replyRestriction; + public Boolean allowNewMessageFromConnectors; /** - * The Allow New Message From Bots. + * The Reply Restriction. * */ - @SerializedName("allowNewMessageFromBots") + @SerializedName("replyRestriction") @Expose - public Boolean allowNewMessageFromBots; + public ReplyRestriction replyRestriction; /** - * The Allow New Message From Connectors. + * The User New Message Restriction. * */ - @SerializedName("allowNewMessageFromConnectors") + @SerializedName("userNewMessageRestriction") @Expose - public Boolean allowNewMessageFromConnectors; + public UserNewMessageRestriction userNewMessageRestriction; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Chat.java b/src/main/java/com/microsoft/graph/models/extensions/Chat.java index c8480af08e7..d4061e93546 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Chat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Chat.java @@ -8,16 +8,16 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.TeamsAppInstallation; import com.microsoft.graph.models.extensions.ConversationMember; import com.microsoft.graph.models.extensions.ChatMessage; -import com.microsoft.graph.models.extensions.TeamsAppInstallation; import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionResponse; +import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionPage; import com.microsoft.graph.requests.extensions.ConversationMemberCollectionResponse; import com.microsoft.graph.requests.extensions.ConversationMemberCollectionPage; import com.microsoft.graph.requests.extensions.ChatMessageCollectionResponse; import com.microsoft.graph.requests.extensions.ChatMessageCollectionPage; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionResponse; -import com.microsoft.graph.requests.extensions.TeamsAppInstallationCollectionPage; import com.google.gson.JsonObject; @@ -35,14 +35,6 @@ public class Chat extends Entity implements IJsonBackedObject { - /** - * The Topic. - * - */ - @SerializedName("topic") - @Expose - public String topic; - /** * The Created Date Time. * @@ -60,22 +52,30 @@ public class Chat extends Entity implements IJsonBackedObject { public java.util.Calendar lastUpdatedDateTime; /** - * The Members. + * The Topic. * */ - public ConversationMemberCollectionPage members; + @SerializedName("topic") + @Expose + public String topic; /** - * The Messages. + * The Installed Apps. * */ - public ChatMessageCollectionPage messages; + public TeamsAppInstallationCollectionPage installedApps; /** - * The Installed Apps. + * The Members. * */ - public TeamsAppInstallationCollectionPage installedApps; + public ConversationMemberCollectionPage members; + + /** + * The Messages. + * + */ + public ChatMessageCollectionPage messages; /** @@ -117,6 +117,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; + if (json.has("installedApps")) { + final TeamsAppInstallationCollectionResponse response = new TeamsAppInstallationCollectionResponse(); + if (json.has("installedApps@odata.nextLink")) { + response.nextLink = json.get("installedApps@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("installedApps").toString(), JsonObject[].class); + final TeamsAppInstallation[] array = new TeamsAppInstallation[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAppInstallation.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + installedApps = new TeamsAppInstallationCollectionPage(response, null); + } + if (json.has("members")) { final ConversationMemberCollectionResponse response = new ConversationMemberCollectionResponse(); if (json.has("members@odata.nextLink")) { @@ -148,21 +164,5 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); messages = new ChatMessageCollectionPage(response, null); } - - if (json.has("installedApps")) { - final TeamsAppInstallationCollectionResponse response = new TeamsAppInstallationCollectionResponse(); - if (json.has("installedApps@odata.nextLink")) { - response.nextLink = json.get("installedApps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("installedApps").toString(), JsonObject[].class); - final TeamsAppInstallation[] array = new TeamsAppInstallation[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TeamsAppInstallation.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - installedApps = new TeamsAppInstallationCollectionPage(response, null); - } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChatInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ChatInfo.java index a975ae77c9c..49397010dc2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChatInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChatInfo.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Thread Id. - * The unique identifier for a thread in Microsoft Teams. - */ - @SerializedName("threadId") - @Expose - public String threadId; - /** * The Message Id. * The unique identifier of a message in a Microsoft Teams channel. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String replyChainMessageId; + /** + * The Thread Id. + * The unique identifier for a thread in Microsoft Teams. + */ + @SerializedName("threadId") + @Expose + public String threadId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChatMessage.java b/src/main/java/com/microsoft/graph/models/extensions/ChatMessage.java index d0c460fedba..a6d91118edd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChatMessage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChatMessage.java @@ -8,22 +8,22 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.ChatMessageType; +import com.microsoft.graph.models.extensions.ChatMessageAttachment; import com.microsoft.graph.models.extensions.ItemBody; import com.microsoft.graph.models.extensions.ChannelIdentity; -import com.microsoft.graph.models.extensions.ChatMessageAttachment; -import com.microsoft.graph.models.extensions.ChatMessageMention; +import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.generated.ChatMessageImportance; +import com.microsoft.graph.models.extensions.ChatMessageMention; +import com.microsoft.graph.models.generated.ChatMessageType; import com.microsoft.graph.models.extensions.ChatMessagePolicyViolation; import com.microsoft.graph.models.extensions.ChatMessageReaction; -import com.microsoft.graph.models.extensions.ChatMessage; import com.microsoft.graph.models.extensions.ChatMessageHostedContent; +import com.microsoft.graph.models.extensions.ChatMessage; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.ChatMessageCollectionResponse; -import com.microsoft.graph.requests.extensions.ChatMessageCollectionPage; import com.microsoft.graph.requests.extensions.ChatMessageHostedContentCollectionResponse; import com.microsoft.graph.requests.extensions.ChatMessageHostedContentCollectionPage; +import com.microsoft.graph.requests.extensions.ChatMessageCollectionResponse; +import com.microsoft.graph.requests.extensions.ChatMessageCollectionPage; import com.google.gson.JsonObject; @@ -42,36 +42,36 @@ public class ChatMessage extends Entity implements IJsonBackedObject { /** - * The Reply To Id. - * Read-only. Id of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels not chats) + * The Attachments. + * Attached files. Attachments are currently read-only – sending attachments is not supported. */ - @SerializedName("replyToId") + @SerializedName("attachments") @Expose - public String replyToId; + public java.util.List attachments; /** - * The From. - * Read only. Details of the sender of the chat message. + * The Body. + * Plaintext/HTML representation of the content of the chat message. Representation is specified by the contentType inside the body. The content is always in HTML if the chat message contains a chatMessageMention. */ - @SerializedName("from") + @SerializedName("body") @Expose - public IdentitySet from; + public ItemBody body; /** - * The Etag. - * Read-only. Version number of the chat message. + * The Channel Identity. + * */ - @SerializedName("etag") + @SerializedName("channelIdentity") @Expose - public String etag; + public ChannelIdentity channelIdentity; /** - * The Message Type. - * The type of chat message. The possible values are: message. + * The Chat Id. + * */ - @SerializedName("messageType") + @SerializedName("chatId") @Expose - public ChatMessageType messageType; + public String chatId; /** * The Created Date Time. @@ -81,14 +81,6 @@ public class ChatMessage extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar createdDateTime; - /** - * The Last Modified Date Time. - * Read only. Timestamp of when the chat message is created or edited, including when a reply is made (if it's a root chat message in a channel) or a reaction is added or removed. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - /** * The Deleted Date Time. * Read only. Timestamp at which the chat message was deleted, or null if not deleted. @@ -98,52 +90,44 @@ public class ChatMessage extends Entity implements IJsonBackedObject { public java.util.Calendar deletedDateTime; /** - * The Subject. - * The subject of the chat message, in plaintext. - */ - @SerializedName("subject") - @Expose - public String subject; - - /** - * The Body. - * Plaintext/HTML representation of the content of the chat message. Representation is specified by the contentType inside the body. The content is always in HTML if the chat message contains a chatMessageMention. + * The Etag. + * Read-only. Version number of the chat message. */ - @SerializedName("body") + @SerializedName("etag") @Expose - public ItemBody body; + public String etag; /** - * The Summary. - * Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat. + * The From. + * Read only. Details of the sender of the chat message. */ - @SerializedName("summary") + @SerializedName("from") @Expose - public String summary; + public IdentitySet from; /** - * The Chat Id. - * + * The Importance. + * The importance of the chat message. The possible values are: normal, high, urgent. */ - @SerializedName("chatId") + @SerializedName("importance") @Expose - public String chatId; + public ChatMessageImportance importance; /** - * The Channel Identity. - * + * The Last Modified Date Time. + * Read only. Timestamp of when the chat message is created or edited, including when a reply is made (if it's a root chat message in a channel) or a reaction is added or removed. */ - @SerializedName("channelIdentity") + @SerializedName("lastModifiedDateTime") @Expose - public ChannelIdentity channelIdentity; + public java.util.Calendar lastModifiedDateTime; /** - * The Attachments. - * Attached files. Attachments are currently read-only – sending attachments is not supported. + * The Locale. + * Locale of the chat message set by the client. */ - @SerializedName("attachments") + @SerializedName("locale") @Expose - public java.util.List attachments; + public String locale; /** * The Mentions. @@ -154,12 +138,12 @@ public class ChatMessage extends Entity implements IJsonBackedObject { public java.util.List mentions; /** - * The Importance. - * The importance of the chat message. The possible values are: normal, high, urgent. + * The Message Type. + * The type of chat message. The possible values are: message. */ - @SerializedName("importance") + @SerializedName("messageType") @Expose - public ChatMessageImportance importance; + public ChatMessageType messageType; /** * The Policy Violation. @@ -178,12 +162,28 @@ public class ChatMessage extends Entity implements IJsonBackedObject { public java.util.List reactions; /** - * The Locale. - * Locale of the chat message set by the client. + * The Reply To Id. + * Read-only. Id of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels not chats) */ - @SerializedName("locale") + @SerializedName("replyToId") @Expose - public String locale; + public String replyToId; + + /** + * The Subject. + * The subject of the chat message, in plaintext. + */ + @SerializedName("subject") + @Expose + public String subject; + + /** + * The Summary. + * Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat. + */ + @SerializedName("summary") + @Expose + public String summary; /** * The Web Url. @@ -194,16 +194,16 @@ public class ChatMessage extends Entity implements IJsonBackedObject { public String webUrl; /** - * The Replies. + * The Hosted Contents. * */ - public ChatMessageCollectionPage replies; + public ChatMessageHostedContentCollectionPage hostedContents; /** - * The Hosted Contents. + * The Replies. * */ - public ChatMessageHostedContentCollectionPage hostedContents; + public ChatMessageCollectionPage replies; /** @@ -245,22 +245,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("replies")) { - final ChatMessageCollectionResponse response = new ChatMessageCollectionResponse(); - if (json.has("replies@odata.nextLink")) { - response.nextLink = json.get("replies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("replies").toString(), JsonObject[].class); - final ChatMessage[] array = new ChatMessage[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ChatMessage.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - replies = new ChatMessageCollectionPage(response, null); - } - if (json.has("hostedContents")) { final ChatMessageHostedContentCollectionResponse response = new ChatMessageHostedContentCollectionResponse(); if (json.has("hostedContents@odata.nextLink")) { @@ -276,5 +260,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); hostedContents = new ChatMessageHostedContentCollectionPage(response, null); } + + if (json.has("replies")) { + final ChatMessageCollectionResponse response = new ChatMessageCollectionResponse(); + if (json.has("replies@odata.nextLink")) { + response.nextLink = json.get("replies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("replies").toString(), JsonObject[].class); + final ChatMessage[] array = new ChatMessage[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ChatMessage.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + replies = new ChatMessageCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChatMessageAttachment.java b/src/main/java/com/microsoft/graph/models/extensions/ChatMessageAttachment.java index de6d8217920..75d8bc376f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChatMessageAttachment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChatMessageAttachment.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. - * Read-only. Unique id of the attachment. + * The Content. + * The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive. */ - @SerializedName("id") + @SerializedName("content") @Expose - public String id; + public String content; /** * The Content Type. @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public String contentUrl; /** - * The Content. - * The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive. + * The Id. + * Read-only. Unique id of the attachment. */ - @SerializedName("content") + @SerializedName("id") @Expose - public String content; + public String id; /** * The Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChatMessageMention.java b/src/main/java/com/microsoft/graph/models/extensions/ChatMessageMention.java index 1348eba815d..fcc1b42fbfa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChatMessageMention.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChatMessageMention.java @@ -44,14 +44,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer id; - /** - * The Mention Text. - * String used to represent the mention. For example, a user's display name, a team name. - */ - @SerializedName("mentionText") - @Expose - public String mentionText; - /** * The Mentioned. * The entity (user, application, team, or channel) that was mentioned. If it was a channel or team that was @mentioned, the identitySet contains a conversation property giving the ID of the team/channel, and a conversationIdentityType property that represents either the team or channel. @@ -60,6 +52,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public IdentitySet mentioned; + /** + * The Mention Text. + * String used to represent the mention. For example, a user's display name, a team name. + */ + @SerializedName("mentionText") + @Expose + public String mentionText; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChatMessagePolicyViolationPolicyTip.java b/src/main/java/com/microsoft/graph/models/extensions/ChatMessagePolicyViolationPolicyTip.java index ff611e69bb9..80085fc2e41 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChatMessagePolicyViolationPolicyTip.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChatMessagePolicyViolationPolicyTip.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The General Text. + * The Compliance Url. * */ - @SerializedName("generalText") + @SerializedName("complianceUrl") @Expose - public String generalText; + public String complianceUrl; /** - * The Compliance Url. + * The General Text. * */ - @SerializedName("complianceUrl") + @SerializedName("generalText") @Expose - public String complianceUrl; + public String generalText; /** * The Matched Condition Descriptions. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ChatMessageReaction.java b/src/main/java/com/microsoft/graph/models/extensions/ChatMessageReaction.java index f3b40793a96..f5a2b41ce8a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ChatMessageReaction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ChatMessageReaction.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Reaction Type. + * The Created Date Time. * */ - @SerializedName("reactionType") + @SerializedName("createdDateTime") @Expose - public String reactionType; + public java.util.Calendar createdDateTime; /** - * The Created Date Time. + * The Reaction Type. * */ - @SerializedName("createdDateTime") + @SerializedName("reactionType") @Expose - public java.util.Calendar createdDateTime; + public String reactionType; /** * The User. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ClaimsMapping.java b/src/main/java/com/microsoft/graph/models/extensions/ClaimsMapping.java index cc9224b6b47..beffbe70f48 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ClaimsMapping.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ClaimsMapping.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The User Id. + * The Display Name. * */ - @SerializedName("userId") + @SerializedName("displayName") @Expose - public String userId; + public String displayName; /** - * The Display Name. + * The Email. * */ - @SerializedName("displayName") + @SerializedName("email") @Expose - public String displayName; + public String email; /** * The Given Name. @@ -68,12 +68,12 @@ public final AdditionalDataManager additionalDataManager() { public String surname; /** - * The Email. + * The User Id. * */ - @SerializedName("email") + @SerializedName("userId") @Expose - public String email; + public String userId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ClassifcationErrorBase.java b/src/main/java/com/microsoft/graph/models/extensions/ClassifcationErrorBase.java index 9d7bf2f70be..094132b1dff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ClassifcationErrorBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ClassifcationErrorBase.java @@ -44,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String code; + /** + * The Inner Error. + * + */ + @SerializedName("innerError") + @Expose + public ClassificationInnerError innerError; + /** * The Message. * @@ -60,14 +68,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String target; - /** - * The Inner Error. - * - */ - @SerializedName("innerError") - @Expose - public ClassificationInnerError innerError; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ClassificationInnerError.java b/src/main/java/com/microsoft/graph/models/extensions/ClassificationInnerError.java index a6b5447b8a0..52e04366fa7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ClassificationInnerError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ClassificationInnerError.java @@ -36,36 +36,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Error Date Time. + * The Activity Id. * */ - @SerializedName("errorDateTime") + @SerializedName("activityId") @Expose - public java.util.Calendar errorDateTime; + public String activityId; /** - * The Code. + * The Client Request Id. * */ - @SerializedName("code") + @SerializedName("clientRequestId") @Expose - public String code; + public String clientRequestId; /** - * The Client Request Id. + * The Code. * */ - @SerializedName("clientRequestId") + @SerializedName("code") @Expose - public String clientRequestId; + public String code; /** - * The Activity Id. + * The Error Date Time. * */ - @SerializedName("activityId") + @SerializedName("errorDateTime") @Expose - public String activityId; + public java.util.Calendar errorDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ClassificationResult.java b/src/main/java/com/microsoft/graph/models/extensions/ClassificationResult.java index ca28e9c4527..10ece82a05f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ClassificationResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ClassificationResult.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Sensitive Type Id. + * The Confidence Level. * */ - @SerializedName("sensitiveTypeId") + @SerializedName("confidenceLevel") @Expose - public java.util.UUID sensitiveTypeId; + public Integer confidenceLevel; /** * The Count. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer count; /** - * The Confidence Level. + * The Sensitive Type Id. * */ - @SerializedName("confidenceLevel") + @SerializedName("sensitiveTypeId") @Expose - public Integer confidenceLevel; + public java.util.UUID sensitiveTypeId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ComanagedDevicesSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ComanagedDevicesSummary.java index a2b6d4f8fba..16e5a0ba810 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ComanagedDevicesSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ComanagedDevicesSummary.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Inventory Count. - * Number of devices with Inventory swung-over. This property is read-only. - */ - @SerializedName("inventoryCount") - @Expose - public Integer inventoryCount; - /** * The Compliance Policy Count. * Number of devices with CompliancePolicy swung-over. This property is read-only. @@ -51,14 +43,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer compliancePolicyCount; - /** - * The Resource Access Count. - * Number of devices with ResourceAccess swung-over. This property is read-only. - */ - @SerializedName("resourceAccessCount") - @Expose - public Integer resourceAccessCount; - /** * The Configuration Settings Count. * Number of devices with ConfigurationSettings swung-over. This property is read-only. @@ -67,14 +51,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer configurationSettingsCount; - /** - * The Windows Update For Business Count. - * Number of devices with WindowsUpdateForBusiness swung-over. This property is read-only. - */ - @SerializedName("windowsUpdateForBusinessCount") - @Expose - public Integer windowsUpdateForBusinessCount; - /** * The Endpoint Protection Count. * Number of devices with EndpointProtection swung-over. This property is read-only. @@ -83,6 +59,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer endpointProtectionCount; + /** + * The Inventory Count. + * Number of devices with Inventory swung-over. This property is read-only. + */ + @SerializedName("inventoryCount") + @Expose + public Integer inventoryCount; + /** * The Modern Apps Count. * Number of devices with ModernApps swung-over. This property is read-only. @@ -99,6 +83,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer officeAppsCount; + /** + * The Resource Access Count. + * Number of devices with ResourceAccess swung-over. This property is read-only. + */ + @SerializedName("resourceAccessCount") + @Expose + public Integer resourceAccessCount; + /** * The Total Comanaged Count. * Number of Co-Managed Devices. This property is read-only. @@ -107,6 +99,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer totalComanagedCount; + /** + * The Windows Update For Business Count. + * Number of devices with WindowsUpdateForBusiness swung-over. This property is read-only. + */ + @SerializedName("windowsUpdateForBusinessCount") + @Expose + public Integer windowsUpdateForBusinessCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevice.java b/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevice.java index f08baa9f24d..689479b1ab0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevice.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevice.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceType; import com.microsoft.graph.models.generated.DeviceRegistrationState; -import com.microsoft.graph.models.generated.OwnerType; +import com.microsoft.graph.models.generated.DeviceType; import com.microsoft.graph.models.generated.ManagementAgentType; import com.microsoft.graph.models.generated.ManagementState; +import com.microsoft.graph.models.generated.OwnerType; import com.microsoft.graph.models.generated.ComanagementEligibleType; import com.microsoft.graph.models.extensions.Entity; @@ -32,6 +32,14 @@ public class ComanagementEligibleDevice extends Entity implements IJsonBackedObject { + /** + * The Client Registration Status. + * ClientRegistrationStatus + */ + @SerializedName("clientRegistrationStatus") + @Expose + public DeviceRegistrationState clientRegistrationStatus; + /** * The Device Name. * DeviceName @@ -49,20 +57,12 @@ public class ComanagementEligibleDevice extends Entity implements IJsonBackedObj public DeviceType deviceType; /** - * The Client Registration Status. - * ClientRegistrationStatus - */ - @SerializedName("clientRegistrationStatus") - @Expose - public DeviceRegistrationState clientRegistrationStatus; - - /** - * The Owner Type. - * OwnerType + * The Entity Source. + * EntitySource */ - @SerializedName("ownerType") + @SerializedName("entitySource") @Expose - public OwnerType ownerType; + public Integer entitySource; /** * The Management Agents. @@ -81,12 +81,12 @@ public class ComanagementEligibleDevice extends Entity implements IJsonBackedObj public ManagementState managementState; /** - * The Reference Id. - * ReferenceId + * The Manufacturer. + * Manufacturer */ - @SerializedName("referenceId") + @SerializedName("manufacturer") @Expose - public String referenceId; + public String manufacturer; /** * The Mdm Status. @@ -97,60 +97,60 @@ public class ComanagementEligibleDevice extends Entity implements IJsonBackedObj public String mdmStatus; /** - * The Os Version. - * OSVersion + * The Model. + * Model */ - @SerializedName("osVersion") + @SerializedName("model") @Expose - public String osVersion; + public String model; /** - * The Serial Number. - * SerialNumber + * The Os Description. + * OSDescription */ - @SerializedName("serialNumber") + @SerializedName("osDescription") @Expose - public String serialNumber; + public String osDescription; /** - * The Manufacturer. - * Manufacturer + * The Os Version. + * OSVersion */ - @SerializedName("manufacturer") + @SerializedName("osVersion") @Expose - public String manufacturer; + public String osVersion; /** - * The Model. - * Model + * The Owner Type. + * OwnerType */ - @SerializedName("model") + @SerializedName("ownerType") @Expose - public String model; + public OwnerType ownerType; /** - * The Os Description. - * OSDescription + * The Reference Id. + * ReferenceId */ - @SerializedName("osDescription") + @SerializedName("referenceId") @Expose - public String osDescription; + public String referenceId; /** - * The Entity Source. - * EntitySource + * The Serial Number. + * SerialNumber */ - @SerializedName("entitySource") + @SerializedName("serialNumber") @Expose - public Integer entitySource; + public String serialNumber; /** - * The User Id. - * UserId + * The Status. + * ComanagementEligibleStatus */ - @SerializedName("userId") + @SerializedName("status") @Expose - public String userId; + public ComanagementEligibleType status; /** * The Upn. @@ -169,20 +169,20 @@ public class ComanagementEligibleDevice extends Entity implements IJsonBackedObj public String userEmail; /** - * The User Name. - * UserName + * The User Id. + * UserId */ - @SerializedName("userName") + @SerializedName("userId") @Expose - public String userName; + public String userId; /** - * The Status. - * ComanagementEligibleStatus + * The User Name. + * UserName */ - @SerializedName("status") + @SerializedName("userName") @Expose - public ComanagementEligibleType status; + public String userName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevicesSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevicesSummary.java index 60684af6a87..42e78290260 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevicesSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ComanagementEligibleDevicesSummary.java @@ -43,14 +43,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer comanagedCount; - /** - * The Eligible Count. - * Count of devices fully eligible for Co-Management - */ - @SerializedName("eligibleCount") - @Expose - public Integer eligibleCount; - /** * The Eligible But Not Azure Ad Joined Count. * Count of devices eligible for Co-Management but not yet joined to Azure Active Directory @@ -60,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer eligibleButNotAzureAdJoinedCount; /** - * The Needs Os Update Count. - * Count of devices that will be eligible for Co-Management after an OS update + * The Eligible Count. + * Count of devices fully eligible for Co-Management */ - @SerializedName("needsOsUpdateCount") + @SerializedName("eligibleCount") @Expose - public Integer needsOsUpdateCount; + public Integer eligibleCount; /** * The Ineligible Count. @@ -75,6 +67,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer ineligibleCount; + /** + * The Needs Os Update Count. + * Count of devices that will be eligible for Co-Management after an OS update + */ + @SerializedName("needsOsUpdateCount") + @Expose + public Integer needsOsUpdateCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Command.java b/src/main/java/com/microsoft/graph/models/extensions/Command.java index 65f4af6a48b..3772f4cace8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Command.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Command.java @@ -28,22 +28,6 @@ public class Command extends Entity implements IJsonBackedObject { - /** - * The Status. - * - */ - @SerializedName("Status") - @Expose - public String status; - - /** - * The Type. - * - */ - @SerializedName("Type") - @Expose - public String type; - /** * The App Service Name. * @@ -53,20 +37,20 @@ public class Command extends Entity implements IJsonBackedObject { public String appServiceName; /** - * The Package Family Name. + * The Error. * */ - @SerializedName("PackageFamilyName") + @SerializedName("Error") @Expose - public String packageFamilyName; + public String error; /** - * The Error. + * The Package Family Name. * */ - @SerializedName("Error") + @SerializedName("PackageFamilyName") @Expose - public String error; + public String packageFamilyName; /** * The Payload. @@ -92,6 +76,22 @@ public class Command extends Entity implements IJsonBackedObject { @Expose public String postBackUri; + /** + * The Status. + * + */ + @SerializedName("Status") + @Expose + public String status; + + /** + * The Type. + * + */ + @SerializedName("Type") + @Expose + public String type; + /** * The Responsepayload. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/CommsOperation.java b/src/main/java/com/microsoft/graph/models/extensions/CommsOperation.java index 30d98ce60f5..042d4abdf8d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CommsOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CommsOperation.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.OperationStatus; import com.microsoft.graph.models.extensions.ResultInfo; +import com.microsoft.graph.models.generated.OperationStatus; import com.microsoft.graph.models.extensions.Entity; @@ -28,14 +28,6 @@ public class CommsOperation extends Entity implements IJsonBackedObject { - /** - * The Status. - * Possible values are: notStarted, running, completed, failed. Read-only. - */ - @SerializedName("status") - @Expose - public OperationStatus status; - /** * The Client Context. * Unique Client Context string. Max limit is 256 chars. @@ -52,6 +44,14 @@ public class CommsOperation extends Entity implements IJsonBackedObject { @Expose public ResultInfo resultInfo; + /** + * The Status. + * Possible values are: notStarted, running, completed, failed. Read-only. + */ + @SerializedName("status") + @Expose + public OperationStatus status; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Company.java b/src/main/java/com/microsoft/graph/models/extensions/Company.java index 83ac7bb3ce4..81d4e4cbddc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Company.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Company.java @@ -8,112 +8,112 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Item; -import com.microsoft.graph.models.extensions.Customer; -import com.microsoft.graph.models.extensions.Vendor; +import com.microsoft.graph.models.extensions.Account; +import com.microsoft.graph.models.extensions.AgedAccountsPayable; +import com.microsoft.graph.models.extensions.AgedAccountsReceivable; import com.microsoft.graph.models.extensions.CompanyInformation; -import com.microsoft.graph.models.extensions.SalesInvoice; -import com.microsoft.graph.models.extensions.SalesInvoiceLine; +import com.microsoft.graph.models.extensions.CountryRegion; +import com.microsoft.graph.models.extensions.Currency; import com.microsoft.graph.models.extensions.CustomerPaymentJournal; import com.microsoft.graph.models.extensions.CustomerPayment; -import com.microsoft.graph.models.extensions.Account; -import com.microsoft.graph.models.extensions.TaxGroup; -import com.microsoft.graph.models.extensions.Journal; -import com.microsoft.graph.models.extensions.JournalLine; +import com.microsoft.graph.models.extensions.Customer; +import com.microsoft.graph.models.extensions.Dimension; +import com.microsoft.graph.models.extensions.DimensionValue; import com.microsoft.graph.models.extensions.Employee; import com.microsoft.graph.models.extensions.GeneralLedgerEntry; -import com.microsoft.graph.models.extensions.Currency; +import com.microsoft.graph.models.extensions.ItemCategory; +import com.microsoft.graph.models.extensions.Item; +import com.microsoft.graph.models.extensions.JournalLine; +import com.microsoft.graph.models.extensions.Journal; import com.microsoft.graph.models.extensions.PaymentMethod; -import com.microsoft.graph.models.extensions.Dimension; -import com.microsoft.graph.models.extensions.DimensionValue; import com.microsoft.graph.models.extensions.PaymentTerm; -import com.microsoft.graph.models.extensions.ShipmentMethod; -import com.microsoft.graph.models.extensions.ItemCategory; -import com.microsoft.graph.models.extensions.CountryRegion; -import com.microsoft.graph.models.extensions.SalesOrder; +import com.microsoft.graph.models.extensions.Picture; +import com.microsoft.graph.models.extensions.PurchaseInvoiceLine; +import com.microsoft.graph.models.extensions.PurchaseInvoice; +import com.microsoft.graph.models.extensions.SalesCreditMemoLine; +import com.microsoft.graph.models.extensions.SalesCreditMemo; +import com.microsoft.graph.models.extensions.SalesInvoiceLine; +import com.microsoft.graph.models.extensions.SalesInvoice; import com.microsoft.graph.models.extensions.SalesOrderLine; -import com.microsoft.graph.models.extensions.UnitOfMeasure; -import com.microsoft.graph.models.extensions.AgedAccountsReceivable; -import com.microsoft.graph.models.extensions.AgedAccountsPayable; -import com.microsoft.graph.models.extensions.TaxArea; -import com.microsoft.graph.models.extensions.SalesQuote; +import com.microsoft.graph.models.extensions.SalesOrder; import com.microsoft.graph.models.extensions.SalesQuoteLine; -import com.microsoft.graph.models.extensions.SalesCreditMemo; -import com.microsoft.graph.models.extensions.SalesCreditMemoLine; -import com.microsoft.graph.models.extensions.PurchaseInvoice; -import com.microsoft.graph.models.extensions.PurchaseInvoiceLine; -import com.microsoft.graph.models.extensions.Picture; +import com.microsoft.graph.models.extensions.SalesQuote; +import com.microsoft.graph.models.extensions.ShipmentMethod; +import com.microsoft.graph.models.extensions.TaxArea; +import com.microsoft.graph.models.extensions.TaxGroup; +import com.microsoft.graph.models.extensions.UnitOfMeasure; +import com.microsoft.graph.models.extensions.Vendor; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.ItemCollectionResponse; -import com.microsoft.graph.requests.extensions.ItemCollectionPage; -import com.microsoft.graph.requests.extensions.CustomerCollectionResponse; -import com.microsoft.graph.requests.extensions.CustomerCollectionPage; -import com.microsoft.graph.requests.extensions.VendorCollectionResponse; -import com.microsoft.graph.requests.extensions.VendorCollectionPage; +import com.microsoft.graph.requests.extensions.AccountCollectionResponse; +import com.microsoft.graph.requests.extensions.AccountCollectionPage; +import com.microsoft.graph.requests.extensions.AgedAccountsPayableCollectionResponse; +import com.microsoft.graph.requests.extensions.AgedAccountsPayableCollectionPage; +import com.microsoft.graph.requests.extensions.AgedAccountsReceivableCollectionResponse; +import com.microsoft.graph.requests.extensions.AgedAccountsReceivableCollectionPage; import com.microsoft.graph.requests.extensions.CompanyInformationCollectionResponse; import com.microsoft.graph.requests.extensions.CompanyInformationCollectionPage; -import com.microsoft.graph.requests.extensions.SalesInvoiceCollectionResponse; -import com.microsoft.graph.requests.extensions.SalesInvoiceCollectionPage; -import com.microsoft.graph.requests.extensions.SalesInvoiceLineCollectionResponse; -import com.microsoft.graph.requests.extensions.SalesInvoiceLineCollectionPage; +import com.microsoft.graph.requests.extensions.CountryRegionCollectionResponse; +import com.microsoft.graph.requests.extensions.CountryRegionCollectionPage; +import com.microsoft.graph.requests.extensions.CurrencyCollectionResponse; +import com.microsoft.graph.requests.extensions.CurrencyCollectionPage; import com.microsoft.graph.requests.extensions.CustomerPaymentJournalCollectionResponse; import com.microsoft.graph.requests.extensions.CustomerPaymentJournalCollectionPage; import com.microsoft.graph.requests.extensions.CustomerPaymentCollectionResponse; import com.microsoft.graph.requests.extensions.CustomerPaymentCollectionPage; -import com.microsoft.graph.requests.extensions.AccountCollectionResponse; -import com.microsoft.graph.requests.extensions.AccountCollectionPage; -import com.microsoft.graph.requests.extensions.TaxGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.TaxGroupCollectionPage; -import com.microsoft.graph.requests.extensions.JournalCollectionResponse; -import com.microsoft.graph.requests.extensions.JournalCollectionPage; -import com.microsoft.graph.requests.extensions.JournalLineCollectionResponse; -import com.microsoft.graph.requests.extensions.JournalLineCollectionPage; +import com.microsoft.graph.requests.extensions.CustomerCollectionResponse; +import com.microsoft.graph.requests.extensions.CustomerCollectionPage; +import com.microsoft.graph.requests.extensions.DimensionCollectionResponse; +import com.microsoft.graph.requests.extensions.DimensionCollectionPage; +import com.microsoft.graph.requests.extensions.DimensionValueCollectionResponse; +import com.microsoft.graph.requests.extensions.DimensionValueCollectionPage; import com.microsoft.graph.requests.extensions.EmployeeCollectionResponse; import com.microsoft.graph.requests.extensions.EmployeeCollectionPage; import com.microsoft.graph.requests.extensions.GeneralLedgerEntryCollectionResponse; import com.microsoft.graph.requests.extensions.GeneralLedgerEntryCollectionPage; -import com.microsoft.graph.requests.extensions.CurrencyCollectionResponse; -import com.microsoft.graph.requests.extensions.CurrencyCollectionPage; +import com.microsoft.graph.requests.extensions.ItemCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.ItemCategoryCollectionPage; +import com.microsoft.graph.requests.extensions.ItemCollectionResponse; +import com.microsoft.graph.requests.extensions.ItemCollectionPage; +import com.microsoft.graph.requests.extensions.JournalLineCollectionResponse; +import com.microsoft.graph.requests.extensions.JournalLineCollectionPage; +import com.microsoft.graph.requests.extensions.JournalCollectionResponse; +import com.microsoft.graph.requests.extensions.JournalCollectionPage; import com.microsoft.graph.requests.extensions.PaymentMethodCollectionResponse; import com.microsoft.graph.requests.extensions.PaymentMethodCollectionPage; -import com.microsoft.graph.requests.extensions.DimensionCollectionResponse; -import com.microsoft.graph.requests.extensions.DimensionCollectionPage; -import com.microsoft.graph.requests.extensions.DimensionValueCollectionResponse; -import com.microsoft.graph.requests.extensions.DimensionValueCollectionPage; import com.microsoft.graph.requests.extensions.PaymentTermCollectionResponse; import com.microsoft.graph.requests.extensions.PaymentTermCollectionPage; -import com.microsoft.graph.requests.extensions.ShipmentMethodCollectionResponse; -import com.microsoft.graph.requests.extensions.ShipmentMethodCollectionPage; -import com.microsoft.graph.requests.extensions.ItemCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.ItemCategoryCollectionPage; -import com.microsoft.graph.requests.extensions.CountryRegionCollectionResponse; -import com.microsoft.graph.requests.extensions.CountryRegionCollectionPage; -import com.microsoft.graph.requests.extensions.SalesOrderCollectionResponse; -import com.microsoft.graph.requests.extensions.SalesOrderCollectionPage; +import com.microsoft.graph.requests.extensions.PictureCollectionResponse; +import com.microsoft.graph.requests.extensions.PictureCollectionPage; +import com.microsoft.graph.requests.extensions.PurchaseInvoiceLineCollectionResponse; +import com.microsoft.graph.requests.extensions.PurchaseInvoiceLineCollectionPage; +import com.microsoft.graph.requests.extensions.PurchaseInvoiceCollectionResponse; +import com.microsoft.graph.requests.extensions.PurchaseInvoiceCollectionPage; +import com.microsoft.graph.requests.extensions.SalesCreditMemoLineCollectionResponse; +import com.microsoft.graph.requests.extensions.SalesCreditMemoLineCollectionPage; +import com.microsoft.graph.requests.extensions.SalesCreditMemoCollectionResponse; +import com.microsoft.graph.requests.extensions.SalesCreditMemoCollectionPage; +import com.microsoft.graph.requests.extensions.SalesInvoiceLineCollectionResponse; +import com.microsoft.graph.requests.extensions.SalesInvoiceLineCollectionPage; +import com.microsoft.graph.requests.extensions.SalesInvoiceCollectionResponse; +import com.microsoft.graph.requests.extensions.SalesInvoiceCollectionPage; import com.microsoft.graph.requests.extensions.SalesOrderLineCollectionResponse; import com.microsoft.graph.requests.extensions.SalesOrderLineCollectionPage; -import com.microsoft.graph.requests.extensions.UnitOfMeasureCollectionResponse; -import com.microsoft.graph.requests.extensions.UnitOfMeasureCollectionPage; -import com.microsoft.graph.requests.extensions.AgedAccountsReceivableCollectionResponse; -import com.microsoft.graph.requests.extensions.AgedAccountsReceivableCollectionPage; -import com.microsoft.graph.requests.extensions.AgedAccountsPayableCollectionResponse; -import com.microsoft.graph.requests.extensions.AgedAccountsPayableCollectionPage; -import com.microsoft.graph.requests.extensions.TaxAreaCollectionResponse; -import com.microsoft.graph.requests.extensions.TaxAreaCollectionPage; -import com.microsoft.graph.requests.extensions.SalesQuoteCollectionResponse; -import com.microsoft.graph.requests.extensions.SalesQuoteCollectionPage; +import com.microsoft.graph.requests.extensions.SalesOrderCollectionResponse; +import com.microsoft.graph.requests.extensions.SalesOrderCollectionPage; import com.microsoft.graph.requests.extensions.SalesQuoteLineCollectionResponse; import com.microsoft.graph.requests.extensions.SalesQuoteLineCollectionPage; -import com.microsoft.graph.requests.extensions.SalesCreditMemoCollectionResponse; -import com.microsoft.graph.requests.extensions.SalesCreditMemoCollectionPage; -import com.microsoft.graph.requests.extensions.SalesCreditMemoLineCollectionResponse; -import com.microsoft.graph.requests.extensions.SalesCreditMemoLineCollectionPage; -import com.microsoft.graph.requests.extensions.PurchaseInvoiceCollectionResponse; -import com.microsoft.graph.requests.extensions.PurchaseInvoiceCollectionPage; -import com.microsoft.graph.requests.extensions.PurchaseInvoiceLineCollectionResponse; -import com.microsoft.graph.requests.extensions.PurchaseInvoiceLineCollectionPage; -import com.microsoft.graph.requests.extensions.PictureCollectionResponse; -import com.microsoft.graph.requests.extensions.PictureCollectionPage; +import com.microsoft.graph.requests.extensions.SalesQuoteCollectionResponse; +import com.microsoft.graph.requests.extensions.SalesQuoteCollectionPage; +import com.microsoft.graph.requests.extensions.ShipmentMethodCollectionResponse; +import com.microsoft.graph.requests.extensions.ShipmentMethodCollectionPage; +import com.microsoft.graph.requests.extensions.TaxAreaCollectionResponse; +import com.microsoft.graph.requests.extensions.TaxAreaCollectionPage; +import com.microsoft.graph.requests.extensions.TaxGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.TaxGroupCollectionPage; +import com.microsoft.graph.requests.extensions.UnitOfMeasureCollectionResponse; +import com.microsoft.graph.requests.extensions.UnitOfMeasureCollectionPage; +import com.microsoft.graph.requests.extensions.VendorCollectionResponse; +import com.microsoft.graph.requests.extensions.VendorCollectionPage; import com.google.gson.JsonObject; @@ -132,54 +132,54 @@ public class Company extends Entity implements IJsonBackedObject { /** - * The System Version. + * The Business Profile Id. * */ - @SerializedName("systemVersion") + @SerializedName("businessProfileId") @Expose - public String systemVersion; + public String businessProfileId; /** - * The Name. + * The Display Name. * */ - @SerializedName("name") + @SerializedName("displayName") @Expose - public String name; + public String displayName; /** - * The Display Name. + * The Name. * */ - @SerializedName("displayName") + @SerializedName("name") @Expose - public String displayName; + public String name; /** - * The Business Profile Id. + * The System Version. * */ - @SerializedName("businessProfileId") + @SerializedName("systemVersion") @Expose - public String businessProfileId; + public String systemVersion; /** - * The Items. + * The Accounts. * */ - public ItemCollectionPage items; + public AccountCollectionPage accounts; /** - * The Customers. + * The Aged Accounts Payable. * */ - public CustomerCollectionPage customers; + public AgedAccountsPayableCollectionPage agedAccountsPayable; /** - * The Vendors. + * The Aged Accounts Receivable. * */ - public VendorCollectionPage vendors; + public AgedAccountsReceivableCollectionPage agedAccountsReceivable; /** * The Company Information. @@ -188,16 +188,16 @@ public class Company extends Entity implements IJsonBackedObject { public CompanyInformationCollectionPage companyInformation; /** - * The Sales Invoices. + * The Countries Regions. * */ - public SalesInvoiceCollectionPage salesInvoices; + public CountryRegionCollectionPage countriesRegions; /** - * The Sales Invoice Lines. + * The Currencies. * */ - public SalesInvoiceLineCollectionPage salesInvoiceLines; + public CurrencyCollectionPage currencies; /** * The Customer Payment Journals. @@ -212,28 +212,22 @@ public class Company extends Entity implements IJsonBackedObject { public CustomerPaymentCollectionPage customerPayments; /** - * The Accounts. - * - */ - public AccountCollectionPage accounts; - - /** - * The Tax Groups. + * The Customers. * */ - public TaxGroupCollectionPage taxGroups; + public CustomerCollectionPage customers; /** - * The Journals. + * The Dimensions. * */ - public JournalCollectionPage journals; + public DimensionCollectionPage dimensions; /** - * The Journal Lines. + * The Dimension Values. * */ - public JournalLineCollectionPage journalLines; + public DimensionValueCollectionPage dimensionValues; /** * The Employees. @@ -248,94 +242,94 @@ public class Company extends Entity implements IJsonBackedObject { public GeneralLedgerEntryCollectionPage generalLedgerEntries; /** - * The Currencies. + * The Item Categories. * */ - public CurrencyCollectionPage currencies; + public ItemCategoryCollectionPage itemCategories; /** - * The Payment Methods. + * The Items. * */ - public PaymentMethodCollectionPage paymentMethods; + public ItemCollectionPage items; /** - * The Dimensions. + * The Journal Lines. * */ - public DimensionCollectionPage dimensions; + public JournalLineCollectionPage journalLines; /** - * The Dimension Values. + * The Journals. * */ - public DimensionValueCollectionPage dimensionValues; + public JournalCollectionPage journals; /** - * The Payment Terms. + * The Payment Methods. * */ - public PaymentTermCollectionPage paymentTerms; + public PaymentMethodCollectionPage paymentMethods; /** - * The Shipment Methods. + * The Payment Terms. * */ - public ShipmentMethodCollectionPage shipmentMethods; + public PaymentTermCollectionPage paymentTerms; /** - * The Item Categories. + * The Picture. * */ - public ItemCategoryCollectionPage itemCategories; + public PictureCollectionPage picture; /** - * The Countries Regions. + * The Purchase Invoice Lines. * */ - public CountryRegionCollectionPage countriesRegions; + public PurchaseInvoiceLineCollectionPage purchaseInvoiceLines; /** - * The Sales Orders. + * The Purchase Invoices. * */ - public SalesOrderCollectionPage salesOrders; + public PurchaseInvoiceCollectionPage purchaseInvoices; /** - * The Sales Order Lines. + * The Sales Credit Memo Lines. * */ - public SalesOrderLineCollectionPage salesOrderLines; + public SalesCreditMemoLineCollectionPage salesCreditMemoLines; /** - * The Units Of Measure. + * The Sales Credit Memos. * */ - public UnitOfMeasureCollectionPage unitsOfMeasure; + public SalesCreditMemoCollectionPage salesCreditMemos; /** - * The Aged Accounts Receivable. + * The Sales Invoice Lines. * */ - public AgedAccountsReceivableCollectionPage agedAccountsReceivable; + public SalesInvoiceLineCollectionPage salesInvoiceLines; /** - * The Aged Accounts Payable. + * The Sales Invoices. * */ - public AgedAccountsPayableCollectionPage agedAccountsPayable; + public SalesInvoiceCollectionPage salesInvoices; /** - * The Tax Areas. + * The Sales Order Lines. * */ - public TaxAreaCollectionPage taxAreas; + public SalesOrderLineCollectionPage salesOrderLines; /** - * The Sales Quotes. + * The Sales Orders. * */ - public SalesQuoteCollectionPage salesQuotes; + public SalesOrderCollectionPage salesOrders; /** * The Sales Quote Lines. @@ -344,34 +338,40 @@ public class Company extends Entity implements IJsonBackedObject { public SalesQuoteLineCollectionPage salesQuoteLines; /** - * The Sales Credit Memos. + * The Sales Quotes. * */ - public SalesCreditMemoCollectionPage salesCreditMemos; + public SalesQuoteCollectionPage salesQuotes; /** - * The Sales Credit Memo Lines. + * The Shipment Methods. * */ - public SalesCreditMemoLineCollectionPage salesCreditMemoLines; + public ShipmentMethodCollectionPage shipmentMethods; /** - * The Purchase Invoices. + * The Tax Areas. * */ - public PurchaseInvoiceCollectionPage purchaseInvoices; + public TaxAreaCollectionPage taxAreas; /** - * The Purchase Invoice Lines. + * The Tax Groups. * */ - public PurchaseInvoiceLineCollectionPage purchaseInvoiceLines; + public TaxGroupCollectionPage taxGroups; /** - * The Picture. + * The Units Of Measure. * */ - public PictureCollectionPage picture; + public UnitOfMeasureCollectionPage unitsOfMeasure; + + /** + * The Vendors. + * + */ + public VendorCollectionPage vendors; /** @@ -413,52 +413,52 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("items")) { - final ItemCollectionResponse response = new ItemCollectionResponse(); - if (json.has("items@odata.nextLink")) { - response.nextLink = json.get("items@odata.nextLink").getAsString(); + if (json.has("accounts")) { + final AccountCollectionResponse response = new AccountCollectionResponse(); + if (json.has("accounts@odata.nextLink")) { + response.nextLink = json.get("accounts@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); - final Item[] array = new Item[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accounts").toString(), JsonObject[].class); + final Account[] array = new Account[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Item.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Account.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - items = new ItemCollectionPage(response, null); + accounts = new AccountCollectionPage(response, null); } - if (json.has("customers")) { - final CustomerCollectionResponse response = new CustomerCollectionResponse(); - if (json.has("customers@odata.nextLink")) { - response.nextLink = json.get("customers@odata.nextLink").getAsString(); + if (json.has("agedAccountsPayable")) { + final AgedAccountsPayableCollectionResponse response = new AgedAccountsPayableCollectionResponse(); + if (json.has("agedAccountsPayable@odata.nextLink")) { + response.nextLink = json.get("agedAccountsPayable@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("customers").toString(), JsonObject[].class); - final Customer[] array = new Customer[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("agedAccountsPayable").toString(), JsonObject[].class); + final AgedAccountsPayable[] array = new AgedAccountsPayable[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Customer.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AgedAccountsPayable.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - customers = new CustomerCollectionPage(response, null); + agedAccountsPayable = new AgedAccountsPayableCollectionPage(response, null); } - if (json.has("vendors")) { - final VendorCollectionResponse response = new VendorCollectionResponse(); - if (json.has("vendors@odata.nextLink")) { - response.nextLink = json.get("vendors@odata.nextLink").getAsString(); + if (json.has("agedAccountsReceivable")) { + final AgedAccountsReceivableCollectionResponse response = new AgedAccountsReceivableCollectionResponse(); + if (json.has("agedAccountsReceivable@odata.nextLink")) { + response.nextLink = json.get("agedAccountsReceivable@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("vendors").toString(), JsonObject[].class); - final Vendor[] array = new Vendor[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("agedAccountsReceivable").toString(), JsonObject[].class); + final AgedAccountsReceivable[] array = new AgedAccountsReceivable[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Vendor.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AgedAccountsReceivable.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - vendors = new VendorCollectionPage(response, null); + agedAccountsReceivable = new AgedAccountsReceivableCollectionPage(response, null); } if (json.has("companyInformation")) { @@ -477,36 +477,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { companyInformation = new CompanyInformationCollectionPage(response, null); } - if (json.has("salesInvoices")) { - final SalesInvoiceCollectionResponse response = new SalesInvoiceCollectionResponse(); - if (json.has("salesInvoices@odata.nextLink")) { - response.nextLink = json.get("salesInvoices@odata.nextLink").getAsString(); + if (json.has("countriesRegions")) { + final CountryRegionCollectionResponse response = new CountryRegionCollectionResponse(); + if (json.has("countriesRegions@odata.nextLink")) { + response.nextLink = json.get("countriesRegions@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesInvoices").toString(), JsonObject[].class); - final SalesInvoice[] array = new SalesInvoice[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("countriesRegions").toString(), JsonObject[].class); + final CountryRegion[] array = new CountryRegion[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesInvoice.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), CountryRegion.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - salesInvoices = new SalesInvoiceCollectionPage(response, null); + countriesRegions = new CountryRegionCollectionPage(response, null); } - if (json.has("salesInvoiceLines")) { - final SalesInvoiceLineCollectionResponse response = new SalesInvoiceLineCollectionResponse(); - if (json.has("salesInvoiceLines@odata.nextLink")) { - response.nextLink = json.get("salesInvoiceLines@odata.nextLink").getAsString(); + if (json.has("currencies")) { + final CurrencyCollectionResponse response = new CurrencyCollectionResponse(); + if (json.has("currencies@odata.nextLink")) { + response.nextLink = json.get("currencies@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesInvoiceLines").toString(), JsonObject[].class); - final SalesInvoiceLine[] array = new SalesInvoiceLine[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("currencies").toString(), JsonObject[].class); + final Currency[] array = new Currency[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesInvoiceLine.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Currency.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - salesInvoiceLines = new SalesInvoiceLineCollectionPage(response, null); + currencies = new CurrencyCollectionPage(response, null); } if (json.has("customerPaymentJournals")) { @@ -541,68 +541,52 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { customerPayments = new CustomerPaymentCollectionPage(response, null); } - if (json.has("accounts")) { - final AccountCollectionResponse response = new AccountCollectionResponse(); - if (json.has("accounts@odata.nextLink")) { - response.nextLink = json.get("accounts@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accounts").toString(), JsonObject[].class); - final Account[] array = new Account[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Account.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - accounts = new AccountCollectionPage(response, null); - } - - if (json.has("taxGroups")) { - final TaxGroupCollectionResponse response = new TaxGroupCollectionResponse(); - if (json.has("taxGroups@odata.nextLink")) { - response.nextLink = json.get("taxGroups@odata.nextLink").getAsString(); + if (json.has("customers")) { + final CustomerCollectionResponse response = new CustomerCollectionResponse(); + if (json.has("customers@odata.nextLink")) { + response.nextLink = json.get("customers@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taxGroups").toString(), JsonObject[].class); - final TaxGroup[] array = new TaxGroup[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("customers").toString(), JsonObject[].class); + final Customer[] array = new Customer[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TaxGroup.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Customer.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - taxGroups = new TaxGroupCollectionPage(response, null); + customers = new CustomerCollectionPage(response, null); } - if (json.has("journals")) { - final JournalCollectionResponse response = new JournalCollectionResponse(); - if (json.has("journals@odata.nextLink")) { - response.nextLink = json.get("journals@odata.nextLink").getAsString(); + if (json.has("dimensions")) { + final DimensionCollectionResponse response = new DimensionCollectionResponse(); + if (json.has("dimensions@odata.nextLink")) { + response.nextLink = json.get("dimensions@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("journals").toString(), JsonObject[].class); - final Journal[] array = new Journal[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("dimensions").toString(), JsonObject[].class); + final Dimension[] array = new Dimension[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Journal.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Dimension.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - journals = new JournalCollectionPage(response, null); + dimensions = new DimensionCollectionPage(response, null); } - if (json.has("journalLines")) { - final JournalLineCollectionResponse response = new JournalLineCollectionResponse(); - if (json.has("journalLines@odata.nextLink")) { - response.nextLink = json.get("journalLines@odata.nextLink").getAsString(); + if (json.has("dimensionValues")) { + final DimensionValueCollectionResponse response = new DimensionValueCollectionResponse(); + if (json.has("dimensionValues@odata.nextLink")) { + response.nextLink = json.get("dimensionValues@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("journalLines").toString(), JsonObject[].class); - final JournalLine[] array = new JournalLine[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("dimensionValues").toString(), JsonObject[].class); + final DimensionValue[] array = new DimensionValue[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), JournalLine.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DimensionValue.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - journalLines = new JournalLineCollectionPage(response, null); + dimensionValues = new DimensionValueCollectionPage(response, null); } if (json.has("employees")) { @@ -637,244 +621,244 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { generalLedgerEntries = new GeneralLedgerEntryCollectionPage(response, null); } - if (json.has("currencies")) { - final CurrencyCollectionResponse response = new CurrencyCollectionResponse(); - if (json.has("currencies@odata.nextLink")) { - response.nextLink = json.get("currencies@odata.nextLink").getAsString(); + if (json.has("itemCategories")) { + final ItemCategoryCollectionResponse response = new ItemCategoryCollectionResponse(); + if (json.has("itemCategories@odata.nextLink")) { + response.nextLink = json.get("itemCategories@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("currencies").toString(), JsonObject[].class); - final Currency[] array = new Currency[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("itemCategories").toString(), JsonObject[].class); + final ItemCategory[] array = new ItemCategory[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Currency.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ItemCategory.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - currencies = new CurrencyCollectionPage(response, null); + itemCategories = new ItemCategoryCollectionPage(response, null); } - if (json.has("paymentMethods")) { - final PaymentMethodCollectionResponse response = new PaymentMethodCollectionResponse(); - if (json.has("paymentMethods@odata.nextLink")) { - response.nextLink = json.get("paymentMethods@odata.nextLink").getAsString(); + if (json.has("items")) { + final ItemCollectionResponse response = new ItemCollectionResponse(); + if (json.has("items@odata.nextLink")) { + response.nextLink = json.get("items@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("paymentMethods").toString(), JsonObject[].class); - final PaymentMethod[] array = new PaymentMethod[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("items").toString(), JsonObject[].class); + final Item[] array = new Item[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PaymentMethod.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Item.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - paymentMethods = new PaymentMethodCollectionPage(response, null); + items = new ItemCollectionPage(response, null); } - if (json.has("dimensions")) { - final DimensionCollectionResponse response = new DimensionCollectionResponse(); - if (json.has("dimensions@odata.nextLink")) { - response.nextLink = json.get("dimensions@odata.nextLink").getAsString(); + if (json.has("journalLines")) { + final JournalLineCollectionResponse response = new JournalLineCollectionResponse(); + if (json.has("journalLines@odata.nextLink")) { + response.nextLink = json.get("journalLines@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("dimensions").toString(), JsonObject[].class); - final Dimension[] array = new Dimension[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("journalLines").toString(), JsonObject[].class); + final JournalLine[] array = new JournalLine[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Dimension.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), JournalLine.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - dimensions = new DimensionCollectionPage(response, null); + journalLines = new JournalLineCollectionPage(response, null); } - if (json.has("dimensionValues")) { - final DimensionValueCollectionResponse response = new DimensionValueCollectionResponse(); - if (json.has("dimensionValues@odata.nextLink")) { - response.nextLink = json.get("dimensionValues@odata.nextLink").getAsString(); + if (json.has("journals")) { + final JournalCollectionResponse response = new JournalCollectionResponse(); + if (json.has("journals@odata.nextLink")) { + response.nextLink = json.get("journals@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("dimensionValues").toString(), JsonObject[].class); - final DimensionValue[] array = new DimensionValue[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("journals").toString(), JsonObject[].class); + final Journal[] array = new Journal[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DimensionValue.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Journal.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - dimensionValues = new DimensionValueCollectionPage(response, null); + journals = new JournalCollectionPage(response, null); } - if (json.has("paymentTerms")) { - final PaymentTermCollectionResponse response = new PaymentTermCollectionResponse(); - if (json.has("paymentTerms@odata.nextLink")) { - response.nextLink = json.get("paymentTerms@odata.nextLink").getAsString(); + if (json.has("paymentMethods")) { + final PaymentMethodCollectionResponse response = new PaymentMethodCollectionResponse(); + if (json.has("paymentMethods@odata.nextLink")) { + response.nextLink = json.get("paymentMethods@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("paymentTerms").toString(), JsonObject[].class); - final PaymentTerm[] array = new PaymentTerm[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("paymentMethods").toString(), JsonObject[].class); + final PaymentMethod[] array = new PaymentMethod[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PaymentTerm.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PaymentMethod.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - paymentTerms = new PaymentTermCollectionPage(response, null); + paymentMethods = new PaymentMethodCollectionPage(response, null); } - if (json.has("shipmentMethods")) { - final ShipmentMethodCollectionResponse response = new ShipmentMethodCollectionResponse(); - if (json.has("shipmentMethods@odata.nextLink")) { - response.nextLink = json.get("shipmentMethods@odata.nextLink").getAsString(); + if (json.has("paymentTerms")) { + final PaymentTermCollectionResponse response = new PaymentTermCollectionResponse(); + if (json.has("paymentTerms@odata.nextLink")) { + response.nextLink = json.get("paymentTerms@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("shipmentMethods").toString(), JsonObject[].class); - final ShipmentMethod[] array = new ShipmentMethod[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("paymentTerms").toString(), JsonObject[].class); + final PaymentTerm[] array = new PaymentTerm[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ShipmentMethod.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PaymentTerm.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - shipmentMethods = new ShipmentMethodCollectionPage(response, null); + paymentTerms = new PaymentTermCollectionPage(response, null); } - if (json.has("itemCategories")) { - final ItemCategoryCollectionResponse response = new ItemCategoryCollectionResponse(); - if (json.has("itemCategories@odata.nextLink")) { - response.nextLink = json.get("itemCategories@odata.nextLink").getAsString(); + if (json.has("picture")) { + final PictureCollectionResponse response = new PictureCollectionResponse(); + if (json.has("picture@odata.nextLink")) { + response.nextLink = json.get("picture@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("itemCategories").toString(), JsonObject[].class); - final ItemCategory[] array = new ItemCategory[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("picture").toString(), JsonObject[].class); + final Picture[] array = new Picture[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ItemCategory.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Picture.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - itemCategories = new ItemCategoryCollectionPage(response, null); + picture = new PictureCollectionPage(response, null); } - if (json.has("countriesRegions")) { - final CountryRegionCollectionResponse response = new CountryRegionCollectionResponse(); - if (json.has("countriesRegions@odata.nextLink")) { - response.nextLink = json.get("countriesRegions@odata.nextLink").getAsString(); + if (json.has("purchaseInvoiceLines")) { + final PurchaseInvoiceLineCollectionResponse response = new PurchaseInvoiceLineCollectionResponse(); + if (json.has("purchaseInvoiceLines@odata.nextLink")) { + response.nextLink = json.get("purchaseInvoiceLines@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("countriesRegions").toString(), JsonObject[].class); - final CountryRegion[] array = new CountryRegion[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("purchaseInvoiceLines").toString(), JsonObject[].class); + final PurchaseInvoiceLine[] array = new PurchaseInvoiceLine[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), CountryRegion.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PurchaseInvoiceLine.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - countriesRegions = new CountryRegionCollectionPage(response, null); + purchaseInvoiceLines = new PurchaseInvoiceLineCollectionPage(response, null); } - if (json.has("salesOrders")) { - final SalesOrderCollectionResponse response = new SalesOrderCollectionResponse(); - if (json.has("salesOrders@odata.nextLink")) { - response.nextLink = json.get("salesOrders@odata.nextLink").getAsString(); + if (json.has("purchaseInvoices")) { + final PurchaseInvoiceCollectionResponse response = new PurchaseInvoiceCollectionResponse(); + if (json.has("purchaseInvoices@odata.nextLink")) { + response.nextLink = json.get("purchaseInvoices@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesOrders").toString(), JsonObject[].class); - final SalesOrder[] array = new SalesOrder[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("purchaseInvoices").toString(), JsonObject[].class); + final PurchaseInvoice[] array = new PurchaseInvoice[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesOrder.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PurchaseInvoice.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - salesOrders = new SalesOrderCollectionPage(response, null); + purchaseInvoices = new PurchaseInvoiceCollectionPage(response, null); } - if (json.has("salesOrderLines")) { - final SalesOrderLineCollectionResponse response = new SalesOrderLineCollectionResponse(); - if (json.has("salesOrderLines@odata.nextLink")) { - response.nextLink = json.get("salesOrderLines@odata.nextLink").getAsString(); + if (json.has("salesCreditMemoLines")) { + final SalesCreditMemoLineCollectionResponse response = new SalesCreditMemoLineCollectionResponse(); + if (json.has("salesCreditMemoLines@odata.nextLink")) { + response.nextLink = json.get("salesCreditMemoLines@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesOrderLines").toString(), JsonObject[].class); - final SalesOrderLine[] array = new SalesOrderLine[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesCreditMemoLines").toString(), JsonObject[].class); + final SalesCreditMemoLine[] array = new SalesCreditMemoLine[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesOrderLine.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesCreditMemoLine.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - salesOrderLines = new SalesOrderLineCollectionPage(response, null); + salesCreditMemoLines = new SalesCreditMemoLineCollectionPage(response, null); } - if (json.has("unitsOfMeasure")) { - final UnitOfMeasureCollectionResponse response = new UnitOfMeasureCollectionResponse(); - if (json.has("unitsOfMeasure@odata.nextLink")) { - response.nextLink = json.get("unitsOfMeasure@odata.nextLink").getAsString(); + if (json.has("salesCreditMemos")) { + final SalesCreditMemoCollectionResponse response = new SalesCreditMemoCollectionResponse(); + if (json.has("salesCreditMemos@odata.nextLink")) { + response.nextLink = json.get("salesCreditMemos@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("unitsOfMeasure").toString(), JsonObject[].class); - final UnitOfMeasure[] array = new UnitOfMeasure[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesCreditMemos").toString(), JsonObject[].class); + final SalesCreditMemo[] array = new SalesCreditMemo[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), UnitOfMeasure.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesCreditMemo.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - unitsOfMeasure = new UnitOfMeasureCollectionPage(response, null); + salesCreditMemos = new SalesCreditMemoCollectionPage(response, null); } - if (json.has("agedAccountsReceivable")) { - final AgedAccountsReceivableCollectionResponse response = new AgedAccountsReceivableCollectionResponse(); - if (json.has("agedAccountsReceivable@odata.nextLink")) { - response.nextLink = json.get("agedAccountsReceivable@odata.nextLink").getAsString(); + if (json.has("salesInvoiceLines")) { + final SalesInvoiceLineCollectionResponse response = new SalesInvoiceLineCollectionResponse(); + if (json.has("salesInvoiceLines@odata.nextLink")) { + response.nextLink = json.get("salesInvoiceLines@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("agedAccountsReceivable").toString(), JsonObject[].class); - final AgedAccountsReceivable[] array = new AgedAccountsReceivable[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesInvoiceLines").toString(), JsonObject[].class); + final SalesInvoiceLine[] array = new SalesInvoiceLine[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AgedAccountsReceivable.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesInvoiceLine.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - agedAccountsReceivable = new AgedAccountsReceivableCollectionPage(response, null); + salesInvoiceLines = new SalesInvoiceLineCollectionPage(response, null); } - if (json.has("agedAccountsPayable")) { - final AgedAccountsPayableCollectionResponse response = new AgedAccountsPayableCollectionResponse(); - if (json.has("agedAccountsPayable@odata.nextLink")) { - response.nextLink = json.get("agedAccountsPayable@odata.nextLink").getAsString(); + if (json.has("salesInvoices")) { + final SalesInvoiceCollectionResponse response = new SalesInvoiceCollectionResponse(); + if (json.has("salesInvoices@odata.nextLink")) { + response.nextLink = json.get("salesInvoices@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("agedAccountsPayable").toString(), JsonObject[].class); - final AgedAccountsPayable[] array = new AgedAccountsPayable[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesInvoices").toString(), JsonObject[].class); + final SalesInvoice[] array = new SalesInvoice[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AgedAccountsPayable.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesInvoice.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - agedAccountsPayable = new AgedAccountsPayableCollectionPage(response, null); + salesInvoices = new SalesInvoiceCollectionPage(response, null); } - if (json.has("taxAreas")) { - final TaxAreaCollectionResponse response = new TaxAreaCollectionResponse(); - if (json.has("taxAreas@odata.nextLink")) { - response.nextLink = json.get("taxAreas@odata.nextLink").getAsString(); + if (json.has("salesOrderLines")) { + final SalesOrderLineCollectionResponse response = new SalesOrderLineCollectionResponse(); + if (json.has("salesOrderLines@odata.nextLink")) { + response.nextLink = json.get("salesOrderLines@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taxAreas").toString(), JsonObject[].class); - final TaxArea[] array = new TaxArea[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesOrderLines").toString(), JsonObject[].class); + final SalesOrderLine[] array = new SalesOrderLine[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TaxArea.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesOrderLine.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - taxAreas = new TaxAreaCollectionPage(response, null); + salesOrderLines = new SalesOrderLineCollectionPage(response, null); } - if (json.has("salesQuotes")) { - final SalesQuoteCollectionResponse response = new SalesQuoteCollectionResponse(); - if (json.has("salesQuotes@odata.nextLink")) { - response.nextLink = json.get("salesQuotes@odata.nextLink").getAsString(); + if (json.has("salesOrders")) { + final SalesOrderCollectionResponse response = new SalesOrderCollectionResponse(); + if (json.has("salesOrders@odata.nextLink")) { + response.nextLink = json.get("salesOrders@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesQuotes").toString(), JsonObject[].class); - final SalesQuote[] array = new SalesQuote[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesOrders").toString(), JsonObject[].class); + final SalesOrder[] array = new SalesOrder[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesQuote.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesOrder.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - salesQuotes = new SalesQuoteCollectionPage(response, null); + salesOrders = new SalesOrderCollectionPage(response, null); } if (json.has("salesQuoteLines")) { @@ -893,84 +877,100 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { salesQuoteLines = new SalesQuoteLineCollectionPage(response, null); } - if (json.has("salesCreditMemos")) { - final SalesCreditMemoCollectionResponse response = new SalesCreditMemoCollectionResponse(); - if (json.has("salesCreditMemos@odata.nextLink")) { - response.nextLink = json.get("salesCreditMemos@odata.nextLink").getAsString(); + if (json.has("salesQuotes")) { + final SalesQuoteCollectionResponse response = new SalesQuoteCollectionResponse(); + if (json.has("salesQuotes@odata.nextLink")) { + response.nextLink = json.get("salesQuotes@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesCreditMemos").toString(), JsonObject[].class); - final SalesCreditMemo[] array = new SalesCreditMemo[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesQuotes").toString(), JsonObject[].class); + final SalesQuote[] array = new SalesQuote[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesCreditMemo.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesQuote.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - salesCreditMemos = new SalesCreditMemoCollectionPage(response, null); + salesQuotes = new SalesQuoteCollectionPage(response, null); } - if (json.has("salesCreditMemoLines")) { - final SalesCreditMemoLineCollectionResponse response = new SalesCreditMemoLineCollectionResponse(); - if (json.has("salesCreditMemoLines@odata.nextLink")) { - response.nextLink = json.get("salesCreditMemoLines@odata.nextLink").getAsString(); + if (json.has("shipmentMethods")) { + final ShipmentMethodCollectionResponse response = new ShipmentMethodCollectionResponse(); + if (json.has("shipmentMethods@odata.nextLink")) { + response.nextLink = json.get("shipmentMethods@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("salesCreditMemoLines").toString(), JsonObject[].class); - final SalesCreditMemoLine[] array = new SalesCreditMemoLine[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("shipmentMethods").toString(), JsonObject[].class); + final ShipmentMethod[] array = new ShipmentMethod[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SalesCreditMemoLine.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ShipmentMethod.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - salesCreditMemoLines = new SalesCreditMemoLineCollectionPage(response, null); + shipmentMethods = new ShipmentMethodCollectionPage(response, null); } - if (json.has("purchaseInvoices")) { - final PurchaseInvoiceCollectionResponse response = new PurchaseInvoiceCollectionResponse(); - if (json.has("purchaseInvoices@odata.nextLink")) { - response.nextLink = json.get("purchaseInvoices@odata.nextLink").getAsString(); + if (json.has("taxAreas")) { + final TaxAreaCollectionResponse response = new TaxAreaCollectionResponse(); + if (json.has("taxAreas@odata.nextLink")) { + response.nextLink = json.get("taxAreas@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("purchaseInvoices").toString(), JsonObject[].class); - final PurchaseInvoice[] array = new PurchaseInvoice[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taxAreas").toString(), JsonObject[].class); + final TaxArea[] array = new TaxArea[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PurchaseInvoice.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TaxArea.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - purchaseInvoices = new PurchaseInvoiceCollectionPage(response, null); + taxAreas = new TaxAreaCollectionPage(response, null); } - if (json.has("purchaseInvoiceLines")) { - final PurchaseInvoiceLineCollectionResponse response = new PurchaseInvoiceLineCollectionResponse(); - if (json.has("purchaseInvoiceLines@odata.nextLink")) { - response.nextLink = json.get("purchaseInvoiceLines@odata.nextLink").getAsString(); + if (json.has("taxGroups")) { + final TaxGroupCollectionResponse response = new TaxGroupCollectionResponse(); + if (json.has("taxGroups@odata.nextLink")) { + response.nextLink = json.get("taxGroups@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("purchaseInvoiceLines").toString(), JsonObject[].class); - final PurchaseInvoiceLine[] array = new PurchaseInvoiceLine[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taxGroups").toString(), JsonObject[].class); + final TaxGroup[] array = new TaxGroup[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PurchaseInvoiceLine.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TaxGroup.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - purchaseInvoiceLines = new PurchaseInvoiceLineCollectionPage(response, null); + taxGroups = new TaxGroupCollectionPage(response, null); } - if (json.has("picture")) { - final PictureCollectionResponse response = new PictureCollectionResponse(); - if (json.has("picture@odata.nextLink")) { - response.nextLink = json.get("picture@odata.nextLink").getAsString(); + if (json.has("unitsOfMeasure")) { + final UnitOfMeasureCollectionResponse response = new UnitOfMeasureCollectionResponse(); + if (json.has("unitsOfMeasure@odata.nextLink")) { + response.nextLink = json.get("unitsOfMeasure@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("picture").toString(), JsonObject[].class); - final Picture[] array = new Picture[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("unitsOfMeasure").toString(), JsonObject[].class); + final UnitOfMeasure[] array = new UnitOfMeasure[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Picture.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), UnitOfMeasure.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - picture = new PictureCollectionPage(response, null); + unitsOfMeasure = new UnitOfMeasureCollectionPage(response, null); + } + + if (json.has("vendors")) { + final VendorCollectionResponse response = new VendorCollectionResponse(); + if (json.has("vendors@odata.nextLink")) { + response.nextLink = json.get("vendors@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("vendors").toString(), JsonObject[].class); + final Vendor[] array = new Vendor[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Vendor.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + vendors = new VendorCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/CompanyDetail.java b/src/main/java/com/microsoft/graph/models/extensions/CompanyDetail.java index 1c059984827..21f40e62e47 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CompanyDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CompanyDetail.java @@ -37,28 +37,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Display Name. + * The Address. * */ - @SerializedName("displayName") + @SerializedName("address") @Expose - public String displayName; + public PhysicalAddress address; /** - * The Pronunciation. + * The Department. * */ - @SerializedName("pronunciation") + @SerializedName("department") @Expose - public String pronunciation; + public String department; /** - * The Department. + * The Display Name. * */ - @SerializedName("department") + @SerializedName("displayName") @Expose - public String department; + public String displayName; /** * The Office Location. @@ -69,12 +69,12 @@ public final AdditionalDataManager additionalDataManager() { public String officeLocation; /** - * The Address. + * The Pronunciation. * */ - @SerializedName("address") + @SerializedName("pronunciation") @Expose - public PhysicalAddress address; + public String pronunciation; /** * The Web Url. diff --git a/src/main/java/com/microsoft/graph/models/extensions/CompanyInformation.java b/src/main/java/com/microsoft/graph/models/extensions/CompanyInformation.java index 0427be9fecf..903596941da 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CompanyInformation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CompanyInformation.java @@ -28,36 +28,36 @@ public class CompanyInformation extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Address. * */ - @SerializedName("displayName") + @SerializedName("address") @Expose - public String displayName; + public PostalAddressType address; /** - * The Address. + * The Currency Code. * */ - @SerializedName("address") + @SerializedName("currencyCode") @Expose - public PostalAddressType address; + public String currencyCode; /** - * The Phone Number. + * The Current Fiscal Year Start Date. * */ - @SerializedName("phoneNumber") + @SerializedName("currentFiscalYearStartDate") @Expose - public String phoneNumber; + public com.microsoft.graph.models.extensions.DateOnly currentFiscalYearStartDate; /** - * The Fax Number. + * The Display Name. * */ - @SerializedName("faxNumber") + @SerializedName("displayName") @Expose - public String faxNumber; + public String displayName; /** * The Email. @@ -68,52 +68,52 @@ public class CompanyInformation extends Entity implements IJsonBackedObject { public String email; /** - * The Website. + * The Fax Number. * */ - @SerializedName("website") + @SerializedName("faxNumber") @Expose - public String website; + public String faxNumber; /** - * The Tax Registration Number. + * The Industry. * */ - @SerializedName("taxRegistrationNumber") + @SerializedName("industry") @Expose - public String taxRegistrationNumber; + public String industry; /** - * The Currency Code. + * The Last Modified Date Time. * */ - @SerializedName("currencyCode") + @SerializedName("lastModifiedDateTime") @Expose - public String currencyCode; + public java.util.Calendar lastModifiedDateTime; /** - * The Current Fiscal Year Start Date. + * The Phone Number. * */ - @SerializedName("currentFiscalYearStartDate") + @SerializedName("phoneNumber") @Expose - public com.microsoft.graph.models.extensions.DateOnly currentFiscalYearStartDate; + public String phoneNumber; /** - * The Industry. + * The Tax Registration Number. * */ - @SerializedName("industry") + @SerializedName("taxRegistrationNumber") @Expose - public String industry; + public String taxRegistrationNumber; /** - * The Last Modified Date Time. + * The Website. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("website") @Expose - public java.util.Calendar lastModifiedDateTime; + public String website; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CompanyPortalBlockedAction.java b/src/main/java/com/microsoft/graph/models/extensions/CompanyPortalBlockedAction.java index 4329fe69f84..d2e238565a9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CompanyPortalBlockedAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CompanyPortalBlockedAction.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DevicePlatformType; -import com.microsoft.graph.models.generated.OwnerType; import com.microsoft.graph.models.generated.CompanyPortalAction; +import com.microsoft.graph.models.generated.OwnerType; +import com.microsoft.graph.models.generated.DevicePlatformType; import com.google.gson.JsonObject; @@ -39,12 +39,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Platform. - * Device OS/Platform + * The Action. + * Device Action */ - @SerializedName("platform") + @SerializedName("action") @Expose - public DevicePlatformType platform; + public CompanyPortalAction action; /** * The Owner Type. @@ -55,12 +55,12 @@ public final AdditionalDataManager additionalDataManager() { public OwnerType ownerType; /** - * The Action. - * Device Action + * The Platform. + * Device OS/Platform */ - @SerializedName("action") + @SerializedName("platform") @Expose - public CompanyPortalAction action; + public DevicePlatformType platform; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ComplianceManagementPartner.java b/src/main/java/com/microsoft/graph/models/extensions/ComplianceManagementPartner.java index dbed8931210..9566bc8fcbc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ComplianceManagementPartner.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ComplianceManagementPartner.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementPartnerTenantState; import com.microsoft.graph.models.extensions.ComplianceManagementPartnerAssignment; +import com.microsoft.graph.models.generated.DeviceManagementPartnerTenantState; import com.microsoft.graph.models.extensions.Entity; @@ -29,20 +29,20 @@ public class ComplianceManagementPartner extends Entity implements IJsonBackedOb /** - * The Last Heartbeat Date Time. - * Timestamp of last heartbeat after admin onboarded to the compliance management partner + * The Android Enrollment Assignments. + * User groups which enroll Android devices through partner. */ - @SerializedName("lastHeartbeatDateTime") + @SerializedName("androidEnrollmentAssignments") @Expose - public java.util.Calendar lastHeartbeatDateTime; + public java.util.List androidEnrollmentAssignments; /** - * The Partner State. - * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * The Android Onboarded. + * Partner onboarded for Android devices. */ - @SerializedName("partnerState") + @SerializedName("androidOnboarded") @Expose - public DeviceManagementPartnerTenantState partnerState; + public Boolean androidOnboarded; /** * The Display Name. @@ -53,28 +53,12 @@ public class ComplianceManagementPartner extends Entity implements IJsonBackedOb public String displayName; /** - * The Mac Os Onboarded. - * Partner onboarded for Mac devices. - */ - @SerializedName("macOsOnboarded") - @Expose - public Boolean macOsOnboarded; - - /** - * The Windows Onboarded. - * Partner onboarded for Windows devices. - */ - @SerializedName("windowsOnboarded") - @Expose - public Boolean windowsOnboarded; - - /** - * The Android Onboarded. - * Partner onboarded for Android devices. + * The Ios Enrollment Assignments. + * User groups which enroll ios devices through partner. */ - @SerializedName("androidOnboarded") + @SerializedName("iosEnrollmentAssignments") @Expose - public Boolean androidOnboarded; + public java.util.List iosEnrollmentAssignments; /** * The Ios Onboarded. @@ -84,6 +68,14 @@ public class ComplianceManagementPartner extends Entity implements IJsonBackedOb @Expose public Boolean iosOnboarded; + /** + * The Last Heartbeat Date Time. + * Timestamp of last heartbeat after admin onboarded to the compliance management partner + */ + @SerializedName("lastHeartbeatDateTime") + @Expose + public java.util.Calendar lastHeartbeatDateTime; + /** * The Mac Os Enrollment Assignments. * User groups which enroll Mac devices through partner. @@ -93,28 +85,36 @@ public class ComplianceManagementPartner extends Entity implements IJsonBackedOb public java.util.List macOsEnrollmentAssignments; /** - * The Windows Enrollment Assignments. - * User groups which enroll Windows devices through partner. + * The Mac Os Onboarded. + * Partner onboarded for Mac devices. */ - @SerializedName("windowsEnrollmentAssignments") + @SerializedName("macOsOnboarded") @Expose - public java.util.List windowsEnrollmentAssignments; + public Boolean macOsOnboarded; /** - * The Android Enrollment Assignments. - * User groups which enroll Android devices through partner. + * The Partner State. + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. */ - @SerializedName("androidEnrollmentAssignments") + @SerializedName("partnerState") @Expose - public java.util.List androidEnrollmentAssignments; + public DeviceManagementPartnerTenantState partnerState; /** - * The Ios Enrollment Assignments. - * User groups which enroll ios devices through partner. + * The Windows Enrollment Assignments. + * User groups which enroll Windows devices through partner. */ - @SerializedName("iosEnrollmentAssignments") + @SerializedName("windowsEnrollmentAssignments") @Expose - public java.util.List iosEnrollmentAssignments; + public java.util.List windowsEnrollmentAssignments; + + /** + * The Windows Onboarded. + * Partner onboarded for Windows devices. + */ + @SerializedName("windowsOnboarded") + @Expose + public Boolean windowsOnboarded; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessApplications.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessApplications.java index c3f4bb60ff5..577d067b120 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessApplications.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessApplications.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Include Applications. - * The list of application IDs the policy applies to, unless explicitly excluded (in excludeApplications). Can also be set to All. - */ - @SerializedName("includeApplications") - @Expose - public java.util.List includeApplications; - /** * The Exclude Applications. * The list of application IDs explicitly excluded from the policy. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List excludeApplications; + /** + * The Include Applications. + * The list of application IDs the policy applies to, unless explicitly excluded (in excludeApplications). Can also be set to All. + */ + @SerializedName("includeApplications") + @Expose + public java.util.List includeApplications; + /** * The Include User Actions. * User actions to include. For example, urn:user:registersecurityinfo diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessConditionSet.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessConditionSet.java index 7543a4d7559..12de19dc5bf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessConditionSet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessConditionSet.java @@ -9,13 +9,13 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.ConditionalAccessApplications; -import com.microsoft.graph.models.extensions.ConditionalAccessUsers; -import com.microsoft.graph.models.generated.RiskLevel; -import com.microsoft.graph.models.extensions.ConditionalAccessPlatforms; -import com.microsoft.graph.models.extensions.ConditionalAccessLocations; import com.microsoft.graph.models.generated.ConditionalAccessClientApp; -import com.microsoft.graph.models.extensions.ConditionalAccessDeviceStates; import com.microsoft.graph.models.extensions.ConditionalAccessDevices; +import com.microsoft.graph.models.extensions.ConditionalAccessDeviceStates; +import com.microsoft.graph.models.extensions.ConditionalAccessLocations; +import com.microsoft.graph.models.extensions.ConditionalAccessPlatforms; +import com.microsoft.graph.models.generated.RiskLevel; +import com.microsoft.graph.models.extensions.ConditionalAccessUsers; import com.google.gson.JsonObject; @@ -52,36 +52,28 @@ public final AdditionalDataManager additionalDataManager() { public ConditionalAccessApplications applications; /** - * The Users. - * Users, groups, and roles included in and excluded from the policy. Required. - */ - @SerializedName("users") - @Expose - public ConditionalAccessUsers users; - - /** - * The Sign In Risk Levels. - * Risk levels included in the policy. Possible values are: low, medium, high, none. + * The Client App Types. + * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. */ - @SerializedName("signInRiskLevels") + @SerializedName("clientAppTypes") @Expose - public java.util.List signInRiskLevels; + public java.util.List clientAppTypes; /** - * The User Risk Levels. + * The Devices. * */ - @SerializedName("userRiskLevels") + @SerializedName("devices") @Expose - public java.util.List userRiskLevels; + public ConditionalAccessDevices devices; /** - * The Platforms. - * Platforms included in and excluded from the policy. + * The Device States. + * */ - @SerializedName("platforms") + @SerializedName("deviceStates") @Expose - public ConditionalAccessPlatforms platforms; + public ConditionalAccessDeviceStates deviceStates; /** * The Locations. @@ -92,28 +84,36 @@ public final AdditionalDataManager additionalDataManager() { public ConditionalAccessLocations locations; /** - * The Client App Types. - * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. + * The Platforms. + * Platforms included in and excluded from the policy. */ - @SerializedName("clientAppTypes") + @SerializedName("platforms") @Expose - public java.util.List clientAppTypes; + public ConditionalAccessPlatforms platforms; /** - * The Device States. - * + * The Sign In Risk Levels. + * Risk levels included in the policy. Possible values are: low, medium, high, none. */ - @SerializedName("deviceStates") + @SerializedName("signInRiskLevels") @Expose - public ConditionalAccessDeviceStates deviceStates; + public java.util.List signInRiskLevels; /** - * The Devices. + * The User Risk Levels. * */ - @SerializedName("devices") + @SerializedName("userRiskLevels") @Expose - public ConditionalAccessDevices devices; + public java.util.List userRiskLevels; + + /** + * The Users. + * Users, groups, and roles included in and excluded from the policy. Required. + */ + @SerializedName("users") + @Expose + public ConditionalAccessUsers users; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDeviceStates.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDeviceStates.java index 9a979183517..9d246b261c1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDeviceStates.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDeviceStates.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Include States. + * The Exclude States. * */ - @SerializedName("includeStates") + @SerializedName("excludeStates") @Expose - public java.util.List includeStates; + public java.util.List excludeStates; /** - * The Exclude States. + * The Include States. * */ - @SerializedName("excludeStates") + @SerializedName("includeStates") @Expose - public java.util.List excludeStates; + public java.util.List includeStates; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDevices.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDevices.java index c58b8a98339..20ac6d26c6d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDevices.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessDevices.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Include Device States. + * The Exclude Device States. * */ - @SerializedName("includeDeviceStates") + @SerializedName("excludeDeviceStates") @Expose - public java.util.List includeDeviceStates; + public java.util.List excludeDeviceStates; /** - * The Exclude Device States. + * The Include Device States. * */ - @SerializedName("excludeDeviceStates") + @SerializedName("includeDeviceStates") @Expose - public java.util.List excludeDeviceStates; + public java.util.List includeDeviceStates; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessGrantControls.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessGrantControls.java index 20b09ecac2b..7bb0ec56069 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessGrantControls.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessGrantControls.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Operator. - * Defines the relationship of the grant controls. Possible values: AND, OR. - */ - @SerializedName("operator") - @Expose - public String operator; - /** * The Built In Controls. * List of values of built-in controls required by the policy. Possible values: Block, Mfa, CompliantDevice, DomainJoinedDevice, ApprovedApplication, CompliantApplication @@ -60,6 +52,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List customAuthenticationFactors; + /** + * The Operator. + * Defines the relationship of the grant controls. Possible values: AND, OR. + */ + @SerializedName("operator") + @Expose + public String operator; + /** * The Terms Of Use. * List of terms of use IDs required by the policy. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessLocations.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessLocations.java index 1a3a7436ef2..b576a1130c7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessLocations.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessLocations.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Include Locations. - * Location IDs in scope of policy unless explicitly excluded, All, or AllTrusted. - */ - @SerializedName("includeLocations") - @Expose - public java.util.List includeLocations; - /** * The Exclude Locations. * Location IDs excluded from scope of policy. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List excludeLocations; + /** + * The Include Locations. + * Location IDs in scope of policy unless explicitly excluded, All, or AllTrusted. + */ + @SerializedName("includeLocations") + @Expose + public java.util.List includeLocations; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPlatforms.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPlatforms.java index 5c149f0c439..64ba7584a2e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPlatforms.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPlatforms.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Include Platforms. - * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue. - */ - @SerializedName("includePlatforms") - @Expose - public java.util.List includePlatforms; - /** * The Exclude Platforms. * Possible values are: android, iOS, windows, windowsPhone, macOS, unknownFutureValue. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List excludePlatforms; + /** + * The Include Platforms. + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue. + */ + @SerializedName("includePlatforms") + @Expose + public java.util.List includePlatforms; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPolicy.java index dde8229bd66..68bf2987d38 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessPolicy.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ConditionalAccessPolicyState; import com.microsoft.graph.models.extensions.ConditionalAccessConditionSet; import com.microsoft.graph.models.extensions.ConditionalAccessGrantControls; import com.microsoft.graph.models.extensions.ConditionalAccessSessionControls; +import com.microsoft.graph.models.generated.ConditionalAccessPolicyState; import com.microsoft.graph.models.extensions.Entity; @@ -31,28 +31,20 @@ public class ConditionalAccessPolicy extends Entity implements IJsonBackedObject /** - * The Created Date Time. - * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Readonly. + * The Conditions. + * Specifies the rules that must be met for the policy to apply. Required. */ - @SerializedName("createdDateTime") + @SerializedName("conditions") @Expose - public java.util.Calendar createdDateTime; + public ConditionalAccessConditionSet conditions; /** - * The Modified Date Time. + * The Created Date Time. * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Readonly. */ - @SerializedName("modifiedDateTime") - @Expose - public java.util.Calendar modifiedDateTime; - - /** - * The Display Name. - * Specifies a display name for the conditionalAccessPolicy object. - */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -63,20 +55,12 @@ public class ConditionalAccessPolicy extends Entity implements IJsonBackedObject public String description; /** - * The State. - * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. - */ - @SerializedName("state") - @Expose - public ConditionalAccessPolicyState state; - - /** - * The Conditions. - * Specifies the rules that must be met for the policy to apply. Required. + * The Display Name. + * Specifies a display name for the conditionalAccessPolicy object. */ - @SerializedName("conditions") + @SerializedName("displayName") @Expose - public ConditionalAccessConditionSet conditions; + public String displayName; /** * The Grant Controls. @@ -86,6 +70,14 @@ public class ConditionalAccessPolicy extends Entity implements IJsonBackedObject @Expose public ConditionalAccessGrantControls grantControls; + /** + * The Modified Date Time. + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Readonly. + */ + @SerializedName("modifiedDateTime") + @Expose + public java.util.Calendar modifiedDateTime; + /** * The Session Controls. * Specifies the session controls that are enforced after sign-in. @@ -94,6 +86,14 @@ public class ConditionalAccessPolicy extends Entity implements IJsonBackedObject @Expose public ConditionalAccessSessionControls sessionControls; + /** + * The State. + * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. + */ + @SerializedName("state") + @Expose + public ConditionalAccessPolicyState state; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessRoot.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessRoot.java index d9fa47ecaa4..4a63cef6d0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessRoot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessRoot.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ConditionalAccessPolicy; import com.microsoft.graph.models.extensions.NamedLocation; +import com.microsoft.graph.models.extensions.ConditionalAccessPolicy; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.ConditionalAccessPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.ConditionalAccessPolicyCollectionPage; import com.microsoft.graph.requests.extensions.NamedLocationCollectionResponse; import com.microsoft.graph.requests.extensions.NamedLocationCollectionPage; +import com.microsoft.graph.requests.extensions.ConditionalAccessPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.ConditionalAccessPolicyCollectionPage; import com.google.gson.JsonObject; @@ -33,16 +33,16 @@ public class ConditionalAccessRoot extends Entity implements IJsonBackedObject { /** - * The Policies. + * The Named Locations. * */ - public ConditionalAccessPolicyCollectionPage policies; + public NamedLocationCollectionPage namedLocations; /** - * The Named Locations. + * The Policies. * */ - public NamedLocationCollectionPage namedLocations; + public ConditionalAccessPolicyCollectionPage policies; /** @@ -84,22 +84,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("policies")) { - final ConditionalAccessPolicyCollectionResponse response = new ConditionalAccessPolicyCollectionResponse(); - if (json.has("policies@odata.nextLink")) { - response.nextLink = json.get("policies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("policies").toString(), JsonObject[].class); - final ConditionalAccessPolicy[] array = new ConditionalAccessPolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConditionalAccessPolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - policies = new ConditionalAccessPolicyCollectionPage(response, null); - } - if (json.has("namedLocations")) { final NamedLocationCollectionResponse response = new NamedLocationCollectionResponse(); if (json.has("namedLocations@odata.nextLink")) { @@ -115,5 +99,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); namedLocations = new NamedLocationCollectionPage(response, null); } + + if (json.has("policies")) { + final ConditionalAccessPolicyCollectionResponse response = new ConditionalAccessPolicyCollectionResponse(); + if (json.has("policies@odata.nextLink")) { + response.nextLink = json.get("policies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("policies").toString(), JsonObject[].class); + final ConditionalAccessPolicy[] array = new ConditionalAccessPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConditionalAccessPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + policies = new ConditionalAccessPolicyCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessSessionControls.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessSessionControls.java index bc8ead56a7d..053732270f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessSessionControls.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessSessionControls.java @@ -10,8 +10,8 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.ApplicationEnforcedRestrictionsSessionControl; import com.microsoft.graph.models.extensions.CloudAppSecuritySessionControl; -import com.microsoft.graph.models.extensions.SignInFrequencySessionControl; import com.microsoft.graph.models.extensions.PersistentBrowserSessionControl; +import com.microsoft.graph.models.extensions.SignInFrequencySessionControl; import com.google.gson.JsonObject; @@ -55,14 +55,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public CloudAppSecuritySessionControl cloudAppSecurity; - /** - * The Sign In Frequency. - * Session control to enforce signin frequency. - */ - @SerializedName("signInFrequency") - @Expose - public SignInFrequencySessionControl signInFrequency; - /** * The Persistent Browser. * Session control to define whether to persist cookies or not. All apps should be selected for this session control to work correctly. @@ -71,6 +63,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public PersistentBrowserSessionControl persistentBrowser; + /** + * The Sign In Frequency. + * Session control to enforce signin frequency. + */ + @SerializedName("signInFrequency") + @Expose + public SignInFrequencySessionControl signInFrequency; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessUsers.java b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessUsers.java index 6442f916e53..4c594ebcb65 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessUsers.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConditionalAccessUsers.java @@ -36,12 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Include Users. - * User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + * The Exclude Groups. + * Group IDs excluded from scope of policy. */ - @SerializedName("includeUsers") + @SerializedName("excludeGroups") @Expose - public java.util.List includeUsers; + public java.util.List excludeGroups; + + /** + * The Exclude Roles. + * Role IDs excluded from scope of policy. + */ + @SerializedName("excludeRoles") + @Expose + public java.util.List excludeRoles; /** * The Exclude Users. @@ -59,14 +67,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List includeGroups; - /** - * The Exclude Groups. - * Group IDs excluded from scope of policy. - */ - @SerializedName("excludeGroups") - @Expose - public java.util.List excludeGroups; - /** * The Include Roles. * Role IDs in scope of policy unless explicitly excluded, or All. @@ -76,12 +76,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List includeRoles; /** - * The Exclude Roles. - * Role IDs excluded from scope of policy. + * The Include Users. + * User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. */ - @SerializedName("excludeRoles") + @SerializedName("includeUsers") @Expose - public java.util.List excludeRoles; + public java.util.List includeUsers; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java b/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java index 45b032a0c97..2256e2aefb7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientEnabledFeatures.java @@ -36,28 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Inventory. - * Whether inventory is managed by Intune - */ - @SerializedName("inventory") - @Expose - public Boolean inventory; - - /** - * The Modern Apps. - * Whether modern application is managed by Intune - */ - @SerializedName("modernApps") - @Expose - public Boolean modernApps; - - /** - * The Resource Access. - * Whether resource access is managed by Intune + * The Compliance Policy. + * Whether compliance policy is managed by Intune */ - @SerializedName("resourceAccess") + @SerializedName("compliancePolicy") @Expose - public Boolean resourceAccess; + public Boolean compliancePolicy; /** * The Device Configuration. @@ -68,28 +52,28 @@ public final AdditionalDataManager additionalDataManager() { public Boolean deviceConfiguration; /** - * The Compliance Policy. - * Whether compliance policy is managed by Intune + * The Endpoint Protection. + * Whether Endpoint Protection is managed by Intune */ - @SerializedName("compliancePolicy") + @SerializedName("endpointProtection") @Expose - public Boolean compliancePolicy; + public Boolean endpointProtection; /** - * The Windows Update For Business. - * Whether Windows Update for Business is managed by Intune + * The Inventory. + * Whether inventory is managed by Intune */ - @SerializedName("windowsUpdateForBusiness") + @SerializedName("inventory") @Expose - public Boolean windowsUpdateForBusiness; + public Boolean inventory; /** - * The Endpoint Protection. - * Whether Endpoint Protection is managed by Intune + * The Modern Apps. + * Whether modern application is managed by Intune */ - @SerializedName("endpointProtection") + @SerializedName("modernApps") @Expose - public Boolean endpointProtection; + public Boolean modernApps; /** * The Office Apps. @@ -99,6 +83,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean officeApps; + /** + * The Resource Access. + * Whether resource access is managed by Intune + */ + @SerializedName("resourceAccess") + @Expose + public Boolean resourceAccess; + + /** + * The Windows Update For Business. + * Whether Windows Update for Business is managed by Intune + */ + @SerializedName("windowsUpdateForBusiness") + @Expose + public Boolean windowsUpdateForBusiness; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientHealthState.java b/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientHealthState.java index cb10136bffc..d14a009576c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientHealthState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConfigurationManagerClientHealthState.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The State. - * Current configuration manager client state. - */ - @SerializedName("state") - @Expose - public ConfigurationManagerClientState state; - /** * The Error Code. * Error code for failed state. @@ -60,6 +52,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar lastSyncDateTime; + /** + * The State. + * Current configuration manager client state. + */ + @SerializedName("state") + @Expose + public ConfigurationManagerClientState state; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganization.java b/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganization.java index ac05b356695..8aca52e0419 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganization.java @@ -31,12 +31,20 @@ public class ConnectedOrganization extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Created By. * */ - @SerializedName("displayName") + @SerializedName("createdBy") @Expose - public String displayName; + public String createdBy; + + /** + * The Created Date Time. + * + */ + @SerializedName("createdDateTime") + @Expose + public java.util.Calendar createdDateTime; /** * The Description. @@ -47,20 +55,20 @@ public class ConnectedOrganization extends Entity implements IJsonBackedObject { public String description; /** - * The Created By. + * The Display Name. * */ - @SerializedName("createdBy") + @SerializedName("displayName") @Expose - public String createdBy; + public String displayName; /** - * The Created Date Time. + * The Identity Sources. * */ - @SerializedName("createdDateTime") + @SerializedName("identitySources") @Expose - public java.util.Calendar createdDateTime; + public java.util.List identitySources; /** * The Modified By. @@ -79,12 +87,10 @@ public class ConnectedOrganization extends Entity implements IJsonBackedObject { public java.util.Calendar modifiedDateTime; /** - * The Identity Sources. + * The External Sponsors. * */ - @SerializedName("identitySources") - @Expose - public java.util.List identitySources; + public DirectoryObjectCollectionPage externalSponsors; /** * The Internal Sponsors. @@ -92,12 +98,6 @@ public class ConnectedOrganization extends Entity implements IJsonBackedObject { */ public DirectoryObjectCollectionPage internalSponsors; - /** - * The External Sponsors. - * - */ - public DirectoryObjectCollectionPage externalSponsors; - /** * The raw representation of this class @@ -138,36 +138,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("internalSponsors")) { + if (json.has("externalSponsors")) { final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("internalSponsors@odata.nextLink")) { - response.nextLink = json.get("internalSponsors@odata.nextLink").getAsString(); + if (json.has("externalSponsors@odata.nextLink")) { + response.nextLink = json.get("externalSponsors@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("internalSponsors").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("externalSponsors").toString(), JsonObject[].class); final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - internalSponsors = new DirectoryObjectCollectionPage(response, null); + externalSponsors = new DirectoryObjectCollectionPage(response, null); } - if (json.has("externalSponsors")) { + if (json.has("internalSponsors")) { final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("externalSponsors@odata.nextLink")) { - response.nextLink = json.get("externalSponsors@odata.nextLink").getAsString(); + if (json.has("internalSponsors@odata.nextLink")) { + response.nextLink = json.get("internalSponsors@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("externalSponsors").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("internalSponsors").toString(), JsonObject[].class); final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - externalSponsors = new DirectoryObjectCollectionPage(response, null); + internalSponsors = new DirectoryObjectCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganizationMembers.java b/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganizationMembers.java index b63a8c7c12e..b5561066c6e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganizationMembers.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConnectedOrganizationMembers.java @@ -27,20 +27,20 @@ public class ConnectedOrganizationMembers extends UserSet implements IJsonBacked /** - * The Id. + * The Description. * */ - @SerializedName("id") + @SerializedName("description") @Expose - public String id; + public String description; /** - * The Description. + * The Id. * */ - @SerializedName("description") + @SerializedName("id") @Expose - public String description; + public String id; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConnectionOperation.java b/src/main/java/com/microsoft/graph/models/extensions/ConnectionOperation.java index cce3d1722da..67a264ea8a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConnectionOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConnectionOperation.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ConnectionOperationStatus; import com.microsoft.graph.models.extensions.ErrorDetail; +import com.microsoft.graph.models.generated.ConnectionOperationStatus; import com.microsoft.graph.models.extensions.Entity; @@ -29,20 +29,20 @@ public class ConnectionOperation extends Entity implements IJsonBackedObject { /** - * The Status. + * The Error. * */ - @SerializedName("status") + @SerializedName("error") @Expose - public ConnectionOperationStatus status; + public ErrorDetail error; /** - * The Error. + * The Status. * */ - @SerializedName("error") + @SerializedName("status") @Expose - public ErrorDetail error; + public ConnectionOperationStatus status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Connector.java b/src/main/java/com/microsoft/graph/models/extensions/Connector.java index e97a853a6bf..348cacfd514 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Connector.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Connector.java @@ -31,20 +31,20 @@ public class Connector extends Entity implements IJsonBackedObject { /** - * The Machine Name. + * The External Ip. * */ - @SerializedName("machineName") + @SerializedName("externalIp") @Expose - public String machineName; + public String externalIp; /** - * The External Ip. + * The Machine Name. * */ - @SerializedName("externalIp") + @SerializedName("machineName") @Expose - public String externalIp; + public String machineName; /** * The Status. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConnectorGroup.java b/src/main/java/com/microsoft/graph/models/extensions/ConnectorGroup.java index 403ff7b6d34..de1bee44267 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConnectorGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConnectorGroup.java @@ -10,13 +10,13 @@ import java.util.EnumSet; import com.microsoft.graph.models.generated.ConnectorGroupType; import com.microsoft.graph.models.generated.ConnectorGroupRegion; -import com.microsoft.graph.models.extensions.Connector; import com.microsoft.graph.models.extensions.Application; +import com.microsoft.graph.models.extensions.Connector; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.ConnectorCollectionResponse; -import com.microsoft.graph.requests.extensions.ConnectorCollectionPage; import com.microsoft.graph.requests.extensions.ApplicationCollectionResponse; import com.microsoft.graph.requests.extensions.ApplicationCollectionPage; +import com.microsoft.graph.requests.extensions.ConnectorCollectionResponse; +import com.microsoft.graph.requests.extensions.ConnectorCollectionPage; import com.google.gson.JsonObject; @@ -34,14 +34,6 @@ public class ConnectorGroup extends Entity implements IJsonBackedObject { - /** - * The Name. - * - */ - @SerializedName("name") - @Expose - public String name; - /** * The Connector Group Type. * @@ -58,6 +50,14 @@ public class ConnectorGroup extends Entity implements IJsonBackedObject { @Expose public Boolean isDefault; + /** + * The Name. + * + */ + @SerializedName("name") + @Expose + public String name; + /** * The Region. * @@ -67,16 +67,16 @@ public class ConnectorGroup extends Entity implements IJsonBackedObject { public ConnectorGroupRegion region; /** - * The Members. + * The Applications. * */ - public ConnectorCollectionPage members; + public ApplicationCollectionPage applications; /** - * The Applications. + * The Members. * */ - public ApplicationCollectionPage applications; + public ConnectorCollectionPage members; /** @@ -118,22 +118,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("members")) { - final ConnectorCollectionResponse response = new ConnectorCollectionResponse(); - if (json.has("members@odata.nextLink")) { - response.nextLink = json.get("members@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); - final Connector[] array = new Connector[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Connector.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - members = new ConnectorCollectionPage(response, null); - } - if (json.has("applications")) { final ApplicationCollectionResponse response = new ApplicationCollectionResponse(); if (json.has("applications@odata.nextLink")) { @@ -149,5 +133,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); applications = new ApplicationCollectionPage(response, null); } + + if (json.has("members")) { + final ConnectorCollectionResponse response = new ConnectorCollectionResponse(); + if (json.has("members@odata.nextLink")) { + response.nextLink = json.get("members@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); + final Connector[] array = new Connector[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Connector.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + members = new ConnectorCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Contact.java b/src/main/java/com/microsoft/graph/models/extensions/Contact.java index 0c03cb8974e..80bad908188 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Contact.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Contact.java @@ -9,21 +9,21 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.TypedEmailAddress; -import com.microsoft.graph.models.extensions.Website; +import com.microsoft.graph.models.extensions.FollowupFlag; import com.microsoft.graph.models.extensions.Phone; import com.microsoft.graph.models.extensions.PhysicalAddress; -import com.microsoft.graph.models.extensions.FollowupFlag; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.Website; +import com.microsoft.graph.models.extensions.Extension; import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.ProfilePhoto; -import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.google.gson.JsonObject; @@ -42,12 +42,12 @@ public class Contact extends OutlookItem implements IJsonBackedObject { /** - * The Parent Folder Id. - * The ID of the contact's parent folder. + * The Assistant Name. + * The name of the contact's assistant. */ - @SerializedName("parentFolderId") + @SerializedName("assistantName") @Expose - public String parentFolderId; + public String assistantName; /** * The Birthday. @@ -58,124 +58,108 @@ public class Contact extends OutlookItem implements IJsonBackedObject { public java.util.Calendar birthday; /** - * The File As. - * The name the contact is filed under. - */ - @SerializedName("fileAs") - @Expose - public String fileAs; - - /** - * The Display Name. - * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. + * The Children. + * The names of the contact's children. */ - @SerializedName("displayName") + @SerializedName("children") @Expose - public String displayName; + public java.util.List children; /** - * The Given Name. - * The contact's given name. + * The Company Name. + * The name of the contact's company. */ - @SerializedName("givenName") + @SerializedName("companyName") @Expose - public String givenName; + public String companyName; /** - * The Initials. - * The contact's initials. + * The Department. + * The contact's department. */ - @SerializedName("initials") + @SerializedName("department") @Expose - public String initials; + public String department; /** - * The Middle Name. - * The contact's middle name. + * The Display Name. + * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. */ - @SerializedName("middleName") + @SerializedName("displayName") @Expose - public String middleName; + public String displayName; /** - * The Nick Name. - * The contact's nickname. + * The Email Addresses. + * The contact's email addresses. */ - @SerializedName("nickName") + @SerializedName("emailAddresses") @Expose - public String nickName; + public java.util.List emailAddresses; /** - * The Surname. - * The contact's surname. + * The File As. + * The name the contact is filed under. */ - @SerializedName("surname") + @SerializedName("fileAs") @Expose - public String surname; + public String fileAs; /** - * The Title. - * The contact's title. + * The Flag. + * */ - @SerializedName("title") + @SerializedName("flag") @Expose - public String title; + public FollowupFlag flag; /** - * The Yomi Given Name. - * The phonetic Japanese given name (first name) of the contact. + * The Gender. + * */ - @SerializedName("yomiGivenName") + @SerializedName("gender") @Expose - public String yomiGivenName; + public String gender; /** - * The Yomi Surname. - * The phonetic Japanese surname (last name) of the contact. + * The Generation. + * The contact's generation. */ - @SerializedName("yomiSurname") + @SerializedName("generation") @Expose - public String yomiSurname; + public String generation; /** - * The Yomi Company Name. - * The phonetic Japanese company name of the contact. + * The Given Name. + * The contact's given name. */ - @SerializedName("yomiCompanyName") + @SerializedName("givenName") @Expose - public String yomiCompanyName; + public String givenName; /** - * The Generation. - * The contact's generation. + * The Im Addresses. + * The contact's instant messaging (IM) addresses. */ - @SerializedName("generation") + @SerializedName("imAddresses") @Expose - public String generation; + public java.util.List imAddresses; /** - * The Email Addresses. - * The contact's email addresses. + * The Initials. + * The contact's initials. */ - @SerializedName("emailAddresses") + @SerializedName("initials") @Expose - public java.util.List emailAddresses; + public String initials; /** - * The Websites. + * The Is Favorite. * */ - @SerializedName("websites") - @Expose - public java.util.List websites; - - /** - * The Im Addresses. - * The contact's instant messaging (IM) addresses. - */ - @SerializedName("imAddresses") + @SerializedName("isFavorite") @Expose - public java.util.List imAddresses; + public Boolean isFavorite; /** * The Job Title. @@ -186,52 +170,52 @@ public class Contact extends OutlookItem implements IJsonBackedObject { public String jobTitle; /** - * The Company Name. - * The name of the contact's company. + * The Manager. + * The name of the contact's manager. */ - @SerializedName("companyName") + @SerializedName("manager") @Expose - public String companyName; + public String manager; /** - * The Department. - * The contact's department. + * The Middle Name. + * The contact's middle name. */ - @SerializedName("department") + @SerializedName("middleName") @Expose - public String department; + public String middleName; /** - * The Office Location. - * The location of the contact's office. + * The Nick Name. + * The contact's nickname. */ - @SerializedName("officeLocation") + @SerializedName("nickName") @Expose - public String officeLocation; + public String nickName; /** - * The Profession. - * The contact's profession. + * The Office Location. + * The location of the contact's office. */ - @SerializedName("profession") + @SerializedName("officeLocation") @Expose - public String profession; + public String officeLocation; /** - * The Assistant Name. - * The name of the contact's assistant. + * The Parent Folder Id. + * The ID of the contact's parent folder. */ - @SerializedName("assistantName") + @SerializedName("parentFolderId") @Expose - public String assistantName; + public String parentFolderId; /** - * The Manager. - * The name of the contact's manager. + * The Personal Notes. + * The user's notes about the contact. */ - @SerializedName("manager") + @SerializedName("personalNotes") @Expose - public String manager; + public String personalNotes; /** * The Phones. @@ -249,6 +233,14 @@ public class Contact extends OutlookItem implements IJsonBackedObject { @Expose public java.util.List postalAddresses; + /** + * The Profession. + * The contact's profession. + */ + @SerializedName("profession") + @Expose + public String profession; + /** * The Spouse Name. * The name of the contact's spouse/partner. @@ -258,20 +250,28 @@ public class Contact extends OutlookItem implements IJsonBackedObject { public String spouseName; /** - * The Personal Notes. - * The user's notes about the contact. + * The Surname. + * The contact's surname. */ - @SerializedName("personalNotes") + @SerializedName("surname") @Expose - public String personalNotes; + public String surname; /** - * The Children. - * The names of the contact's children. + * The Title. + * The contact's title. */ - @SerializedName("children") + @SerializedName("title") @Expose - public java.util.List children; + public String title; + + /** + * The Websites. + * + */ + @SerializedName("websites") + @Expose + public java.util.List websites; /** * The Wedding Anniversary. @@ -282,34 +282,34 @@ public class Contact extends OutlookItem implements IJsonBackedObject { public com.microsoft.graph.models.extensions.DateOnly weddingAnniversary; /** - * The Gender. - * + * The Yomi Company Name. + * The phonetic Japanese company name of the contact. */ - @SerializedName("gender") + @SerializedName("yomiCompanyName") @Expose - public String gender; + public String yomiCompanyName; /** - * The Is Favorite. - * + * The Yomi Given Name. + * The phonetic Japanese given name (first name) of the contact. */ - @SerializedName("isFavorite") + @SerializedName("yomiGivenName") @Expose - public Boolean isFavorite; + public String yomiGivenName; /** - * The Flag. - * + * The Yomi Surname. + * The phonetic Japanese surname (last name) of the contact. */ - @SerializedName("flag") + @SerializedName("yomiSurname") @Expose - public FollowupFlag flag; + public String yomiSurname; /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the contact. Read-only. Nullable. + * The Extensions. + * The collection of open extensions defined for the contact. Read-only. Nullable. */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + public ExtensionCollectionPage extensions; /** * The Multi Value Extended Properties. @@ -326,10 +326,10 @@ public class Contact extends OutlookItem implements IJsonBackedObject { public ProfilePhoto photo; /** - * The Extensions. - * The collection of open extensions defined for the contact. Read-only. Nullable. + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the contact. Read-only. Nullable. */ - public ExtensionCollectionPage extensions; + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** @@ -371,20 +371,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + extensions = new ExtensionCollectionPage(response, null); } if (json.has("multiValueExtendedProperties")) { @@ -403,20 +403,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); } - if (json.has("extensions")) { - final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java b/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java index 19c359b9578..8b60c5cab55 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContactFolder.java @@ -8,19 +8,19 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.Contact; import com.microsoft.graph.models.extensions.ContactFolder; +import com.microsoft.graph.models.extensions.Contact; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.ContactCollectionResponse; -import com.microsoft.graph.requests.extensions.ContactCollectionPage; import com.microsoft.graph.requests.extensions.ContactFolderCollectionResponse; import com.microsoft.graph.requests.extensions.ContactFolderCollectionPage; +import com.microsoft.graph.requests.extensions.ContactCollectionResponse; +import com.microsoft.graph.requests.extensions.ContactCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.google.gson.JsonObject; @@ -38,14 +38,6 @@ public class ContactFolder extends Entity implements IJsonBackedObject { - /** - * The Parent Folder Id. - * The ID of the folder's parent folder. - */ - @SerializedName("parentFolderId") - @Expose - public String parentFolderId; - /** * The Display Name. * The folder's display name. @@ -54,6 +46,14 @@ public class ContactFolder extends Entity implements IJsonBackedObject { @Expose public String displayName; + /** + * The Parent Folder Id. + * The ID of the folder's parent folder. + */ + @SerializedName("parentFolderId") + @Expose + public String parentFolderId; + /** * The Well Known Name. * @@ -63,16 +63,10 @@ public class ContactFolder extends Entity implements IJsonBackedObject { public String wellKnownName; /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + * The Child Folders. + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + public ContactFolderCollectionPage childFolders; /** * The Contacts. @@ -81,10 +75,16 @@ public class ContactFolder extends Entity implements IJsonBackedObject { public ContactCollectionPage contacts; /** - * The Child Folders. - * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. */ - public ContactFolderCollectionPage childFolders; + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** @@ -126,36 +126,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("childFolders")) { + final ContactFolderCollectionResponse response = new ContactFolderCollectionResponse(); + if (json.has("childFolders@odata.nextLink")) { + response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); + final ContactFolder[] array = new ContactFolder[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContactFolder.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + childFolders = new ContactFolderCollectionPage(response, null); } if (json.has("contacts")) { @@ -174,20 +158,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { contacts = new ContactCollectionPage(response, null); } - if (json.has("childFolders")) { - final ContactFolderCollectionResponse response = new ContactFolderCollectionResponse(); - if (json.has("childFolders@odata.nextLink")) { - response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); - final ContactFolder[] array = new ContactFolder[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ContactFolder.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - childFolders = new ContactFolderCollectionPage(response, null); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContentClassification.java b/src/main/java/com/microsoft/graph/models/extensions/ContentClassification.java index 882a74be997..49a690944cd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContentClassification.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContentClassification.java @@ -37,36 +37,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Sensitive Type Id. + * The Confidence. * */ - @SerializedName("sensitiveTypeId") + @SerializedName("confidence") @Expose - public String sensitiveTypeId; + public Integer confidence; /** - * The Unique Count. + * The Matches. * */ - @SerializedName("uniqueCount") + @SerializedName("matches") @Expose - public Integer uniqueCount; + public java.util.List matches; /** - * The Confidence. + * The Sensitive Type Id. * */ - @SerializedName("confidence") + @SerializedName("sensitiveTypeId") @Expose - public Integer confidence; + public String sensitiveTypeId; /** - * The Matches. + * The Unique Count. * */ - @SerializedName("matches") + @SerializedName("uniqueCount") @Expose - public java.util.List matches; + public Integer uniqueCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContentInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ContentInfo.java index ec447ad9b50..7144b3e6a6c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContentInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContentInfo.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.ContentFormat; -import com.microsoft.graph.models.generated.ContentState; import com.microsoft.graph.models.extensions.KeyValuePair; +import com.microsoft.graph.models.generated.ContentState; import com.google.gson.JsonObject; @@ -46,14 +46,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public ContentFormat format; - /** - * The State. - * - */ - @SerializedName("state") - @Expose - public ContentState state; - /** * The Identifier. * @@ -70,6 +62,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List metadata; + /** + * The State. + * + */ + @SerializedName("state") + @Expose + public ContentState state; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContentProperties.java b/src/main/java/com/microsoft/graph/models/extensions/ContentProperties.java index 28d3296a4a0..abe6f21e966 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ContentProperties.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ContentProperties.java @@ -45,12 +45,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List extensions; /** - * The Metadata. + * The Last Modified By. * */ - @SerializedName("metadata") + @SerializedName("lastModifiedBy") @Expose - public ContentMetadata metadata; + public String lastModifiedBy; /** * The Last Modified Date Time. @@ -61,12 +61,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar lastModifiedDateTime; /** - * The Last Modified By. + * The Metadata. * */ - @SerializedName("lastModifiedBy") + @SerializedName("metadata") @Expose - public String lastModifiedBy; + public ContentMetadata metadata; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ContinuousAccessEvaluationPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/ContinuousAccessEvaluationPolicy.java new file mode 100644 index 00000000000..41ab7863a6c --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/extensions/ContinuousAccessEvaluationPolicy.java @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models.extensions; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; + + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Continuous Access Evaluation Policy. + */ +public class ContinuousAccessEvaluationPolicy extends Entity implements IJsonBackedObject { + + + /** + * The Description. + * + */ + @SerializedName("description") + @Expose + public String description; + + /** + * The Display Name. + * + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The Groups. + * + */ + @SerializedName("groups") + @Expose + public java.util.List groups; + + /** + * The Is Enabled. + * + */ + @SerializedName("isEnabled") + @Expose + public Boolean isEnabled; + + /** + * The Users. + * + */ + @SerializedName("users") + @Expose + public java.util.List users; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/models/extensions/Conversation.java b/src/main/java/com/microsoft/graph/models/extensions/Conversation.java index 8431295f7d7..4c9b63de27a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Conversation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Conversation.java @@ -29,14 +29,6 @@ public class Conversation extends Entity implements IJsonBackedObject { - /** - * The Topic. - * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. - */ - @SerializedName("topic") - @Expose - public String topic; - /** * The Has Attachments. * Indicates whether any of the posts within this Conversation has at least one attachment. @@ -53,14 +45,6 @@ public class Conversation extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastDeliveredDateTime; - /** - * The Unique Senders. - * All the users that sent a message to this Conversation. - */ - @SerializedName("uniqueSenders") - @Expose - public java.util.List uniqueSenders; - /** * The Preview. * A short summary from the body of the latest post in this converstaion. @@ -69,6 +53,22 @@ public class Conversation extends Entity implements IJsonBackedObject { @Expose public String preview; + /** + * The Topic. + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + */ + @SerializedName("topic") + @Expose + public String topic; + + /** + * The Unique Senders. + * All the users that sent a message to this Conversation. + */ + @SerializedName("uniqueSenders") + @Expose + public java.util.List uniqueSenders; + /** * The Threads. * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConversationMember.java b/src/main/java/com/microsoft/graph/models/extensions/ConversationMember.java index dca7258551a..1aec9847bcb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConversationMember.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConversationMember.java @@ -26,14 +26,6 @@ public class ConversationMember extends Entity implements IJsonBackedObject { - /** - * The Roles. - * The roles for that user. - */ - @SerializedName("roles") - @Expose - public java.util.List roles; - /** * The Display Name. * The display name of the user. @@ -42,6 +34,14 @@ public class ConversationMember extends Entity implements IJsonBackedObject { @Expose public String displayName; + /** + * The Roles. + * The roles for that user. + */ + @SerializedName("roles") + @Expose + public java.util.List roles; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java b/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java index 0d2fde0d3ad..ffb698bea41 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConversationThread.java @@ -31,20 +31,12 @@ public class ConversationThread extends Entity implements IJsonBackedObject { /** - * The To Recipients. - * The To: recipients for the thread. - */ - @SerializedName("toRecipients") - @Expose - public java.util.List toRecipients; - - /** - * The Topic. - * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + * The Cc Recipients. + * The Cc: recipients for the thread. */ - @SerializedName("topic") + @SerializedName("ccRecipients") @Expose - public String topic; + public java.util.List ccRecipients; /** * The Has Attachments. @@ -54,6 +46,14 @@ public class ConversationThread extends Entity implements IJsonBackedObject { @Expose public Boolean hasAttachments; + /** + * The Is Locked. + * Indicates if the thread is locked. + */ + @SerializedName("isLocked") + @Expose + public Boolean isLocked; + /** * The Last Delivered Date Time. * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' @@ -63,36 +63,36 @@ public class ConversationThread extends Entity implements IJsonBackedObject { public java.util.Calendar lastDeliveredDateTime; /** - * The Unique Senders. - * All the users that sent a message to this thread. + * The Preview. + * A short summary from the body of the latest post in this conversation. */ - @SerializedName("uniqueSenders") + @SerializedName("preview") @Expose - public java.util.List uniqueSenders; + public String preview; /** - * The Cc Recipients. - * The Cc: recipients for the thread. + * The Topic. + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. */ - @SerializedName("ccRecipients") + @SerializedName("topic") @Expose - public java.util.List ccRecipients; + public String topic; /** - * The Preview. - * A short summary from the body of the latest post in this conversation. + * The To Recipients. + * The To: recipients for the thread. */ - @SerializedName("preview") + @SerializedName("toRecipients") @Expose - public String preview; + public java.util.List toRecipients; /** - * The Is Locked. - * Indicates if the thread is locked. + * The Unique Senders. + * All the users that sent a message to this thread. */ - @SerializedName("isLocked") + @SerializedName("uniqueSenders") @Expose - public Boolean isLocked; + public java.util.List uniqueSenders; /** * The Posts. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ConvertIdResult.java b/src/main/java/com/microsoft/graph/models/extensions/ConvertIdResult.java index 4fb8b845b29..be8828cce52 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ConvertIdResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ConvertIdResult.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Error Details. + * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. + */ + @SerializedName("errorDetails") + @Expose + public GenericError errorDetails; + /** * The Source Id. * The identifier that was converted. This value is the original, un-converted identifier. @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String targetId; - /** - * The Error Details. - * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. - */ - @SerializedName("errorDetails") - @Expose - public GenericError errorDetails; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/CopyNotebookModel.java b/src/main/java/com/microsoft/graph/models/extensions/CopyNotebookModel.java index 38de6f0a3c9..2b7b01130e4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CopyNotebookModel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CopyNotebookModel.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.OnenoteUserRole; -import com.microsoft.graph.models.extensions.NotebookLinks; import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.NotebookLinks; +import com.microsoft.graph.models.generated.OnenoteUserRole; import com.google.gson.JsonObject; @@ -39,108 +39,108 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Is Default. + * The Created By. * */ - @SerializedName("isDefault") + @SerializedName("createdBy") @Expose - public Boolean isDefault; + public String createdBy; /** - * The User Role. + * The Created By Identity. * */ - @SerializedName("userRole") + @SerializedName("createdByIdentity") @Expose - public OnenoteUserRole userRole; + public IdentitySet createdByIdentity; /** - * The Is Shared. + * The Created Time. * */ - @SerializedName("isShared") + @SerializedName("createdTime") @Expose - public Boolean isShared; + public java.util.Calendar createdTime; /** - * The Sections Url. + * The Id. * */ - @SerializedName("sectionsUrl") + @SerializedName("id") @Expose - public String sectionsUrl; + public String id; /** - * The Section Groups Url. + * The Is Default. * */ - @SerializedName("sectionGroupsUrl") + @SerializedName("isDefault") @Expose - public String sectionGroupsUrl; + public Boolean isDefault; /** - * The Links. + * The Is Shared. * */ - @SerializedName("links") + @SerializedName("isShared") @Expose - public NotebookLinks links; + public Boolean isShared; /** - * The Name. + * The Last Modified By. * */ - @SerializedName("name") + @SerializedName("lastModifiedBy") @Expose - public String name; + public String lastModifiedBy; /** - * The Created By. + * The Last Modified By Identity. * */ - @SerializedName("createdBy") + @SerializedName("lastModifiedByIdentity") @Expose - public String createdBy; + public IdentitySet lastModifiedByIdentity; /** - * The Created By Identity. + * The Last Modified Time. * */ - @SerializedName("createdByIdentity") + @SerializedName("lastModifiedTime") @Expose - public IdentitySet createdByIdentity; + public java.util.Calendar lastModifiedTime; /** - * The Last Modified By. + * The Links. * */ - @SerializedName("lastModifiedBy") + @SerializedName("links") @Expose - public String lastModifiedBy; + public NotebookLinks links; /** - * The Last Modified By Identity. + * The Name. * */ - @SerializedName("lastModifiedByIdentity") + @SerializedName("name") @Expose - public IdentitySet lastModifiedByIdentity; + public String name; /** - * The Last Modified Time. + * The Section Groups Url. * */ - @SerializedName("lastModifiedTime") + @SerializedName("sectionGroupsUrl") @Expose - public java.util.Calendar lastModifiedTime; + public String sectionGroupsUrl; /** - * The Id. + * The Sections Url. * */ - @SerializedName("id") + @SerializedName("sectionsUrl") @Expose - public String id; + public String sectionsUrl; /** * The Self. @@ -151,12 +151,12 @@ public final AdditionalDataManager additionalDataManager() { public String self; /** - * The Created Time. + * The User Role. * */ - @SerializedName("createdTime") + @SerializedName("userRole") @Expose - public java.util.Calendar createdTime; + public OnenoteUserRole userRole; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CountryRegion.java b/src/main/java/com/microsoft/graph/models/extensions/CountryRegion.java index 6608a4f3926..00b2a61a0cc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CountryRegion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CountryRegion.java @@ -26,6 +26,14 @@ public class CountryRegion extends Entity implements IJsonBackedObject { + /** + * The Address Format. + * + */ + @SerializedName("addressFormat") + @Expose + public String addressFormat; + /** * The Code. * @@ -42,14 +50,6 @@ public class CountryRegion extends Entity implements IJsonBackedObject { @Expose public String displayName; - /** - * The Address Format. - * - */ - @SerializedName("addressFormat") - @Expose - public String addressFormat; - /** * The Last Modified Date Time. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/Credential.java b/src/main/java/com/microsoft/graph/models/extensions/Credential.java index f75b3128a16..dd36d81f969 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Credential.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Credential.java @@ -44,20 +44,20 @@ public final AdditionalDataManager additionalDataManager() { public String fieldId; /** - * The Value. + * The Type. * */ - @SerializedName("value") + @SerializedName("type") @Expose - public String value; + public String type; /** - * The Type. + * The Value. * */ - @SerializedName("type") + @SerializedName("value") @Expose - public String type; + public String value; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CredentialSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/CredentialSingleSignOnExtension.java index 47993f9a3b4..0312c2ce625 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CredentialSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CredentialSingleSignOnExtension.java @@ -28,20 +28,12 @@ public class CredentialSingleSignOnExtension extends SingleSignOnExtension imple /** - * The Extension Identifier. - * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. - */ - @SerializedName("extensionIdentifier") - @Expose - public String extensionIdentifier; - - /** - * The Team Identifier. - * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * The Configurations. + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. */ - @SerializedName("teamIdentifier") + @SerializedName("configurations") @Expose - public String teamIdentifier; + public java.util.List configurations; /** * The Domains. @@ -51,6 +43,14 @@ public class CredentialSingleSignOnExtension extends SingleSignOnExtension imple @Expose public java.util.List domains; + /** + * The Extension Identifier. + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + */ + @SerializedName("extensionIdentifier") + @Expose + public String extensionIdentifier; + /** * The Realm. * Gets or sets the case-sensitive realm name for this profile. @@ -60,12 +60,12 @@ public class CredentialSingleSignOnExtension extends SingleSignOnExtension imple public String realm; /** - * The Configurations. - * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * The Team Identifier. + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. */ - @SerializedName("configurations") + @SerializedName("teamIdentifier") @Expose - public java.util.List configurations; + public String teamIdentifier; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CredentialUsageSummary.java b/src/main/java/com/microsoft/graph/models/extensions/CredentialUsageSummary.java index cc4cf1bc188..5998e2998ed 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CredentialUsageSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CredentialUsageSummary.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.FeatureType; import com.microsoft.graph.models.generated.UsageAuthMethod; +import com.microsoft.graph.models.generated.FeatureType; import com.microsoft.graph.models.extensions.Entity; @@ -29,36 +29,36 @@ public class CredentialUsageSummary extends Entity implements IJsonBackedObject /** - * The Feature. + * The Auth Method. * */ - @SerializedName("feature") + @SerializedName("authMethod") @Expose - public FeatureType feature; + public UsageAuthMethod authMethod; /** - * The Successful Activity Count. + * The Failure Activity Count. * */ - @SerializedName("successfulActivityCount") + @SerializedName("failureActivityCount") @Expose - public Long successfulActivityCount; + public Long failureActivityCount; /** - * The Failure Activity Count. + * The Feature. * */ - @SerializedName("failureActivityCount") + @SerializedName("feature") @Expose - public Long failureActivityCount; + public FeatureType feature; /** - * The Auth Method. + * The Successful Activity Count. * */ - @SerializedName("authMethod") + @SerializedName("successfulActivityCount") @Expose - public UsageAuthMethod authMethod; + public Long successfulActivityCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CredentialUserRegistrationDetails.java b/src/main/java/com/microsoft/graph/models/extensions/CredentialUserRegistrationDetails.java index 13e62f5201d..e73df31e837 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CredentialUserRegistrationDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CredentialUserRegistrationDetails.java @@ -28,60 +28,60 @@ public class CredentialUserRegistrationDetails extends Entity implements IJsonBa /** - * The User Principal Name. + * The Auth Methods. * */ - @SerializedName("userPrincipalName") + @SerializedName("authMethods") @Expose - public String userPrincipalName; + public java.util.List authMethods; /** - * The User Display Name. + * The Is Capable. * */ - @SerializedName("userDisplayName") + @SerializedName("isCapable") @Expose - public String userDisplayName; + public Boolean isCapable; /** - * The Auth Methods. + * The Is Enabled. * */ - @SerializedName("authMethods") + @SerializedName("isEnabled") @Expose - public java.util.List authMethods; + public Boolean isEnabled; /** - * The Is Registered. + * The Is Mfa Registered. * */ - @SerializedName("isRegistered") + @SerializedName("isMfaRegistered") @Expose - public Boolean isRegistered; + public Boolean isMfaRegistered; /** - * The Is Enabled. + * The Is Registered. * */ - @SerializedName("isEnabled") + @SerializedName("isRegistered") @Expose - public Boolean isEnabled; + public Boolean isRegistered; /** - * The Is Capable. + * The User Display Name. * */ - @SerializedName("isCapable") + @SerializedName("userDisplayName") @Expose - public Boolean isCapable; + public String userDisplayName; /** - * The Is Mfa Registered. + * The User Principal Name. * */ - @SerializedName("isMfaRegistered") + @SerializedName("userPrincipalName") @Expose - public Boolean isMfaRegistered; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CryptographySuite.java b/src/main/java/com/microsoft/graph/models/extensions/CryptographySuite.java index c4c9c6a8a6f..23cc8415dfd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CryptographySuite.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CryptographySuite.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.AuthenticationTransformConstant; import com.microsoft.graph.models.generated.VpnEncryptionAlgorithmType; -import com.microsoft.graph.models.generated.VpnIntegrityAlgorithmType; import com.microsoft.graph.models.generated.DiffieHellmanGroup; -import com.microsoft.graph.models.generated.AuthenticationTransformConstant; +import com.microsoft.graph.models.generated.VpnIntegrityAlgorithmType; import com.microsoft.graph.models.generated.PerfectForwardSecrecyGroup; @@ -41,20 +41,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Encryption Method. - * Encryption Method + * The Authentication Transform Constants. + * Authentication Transform Constants */ - @SerializedName("encryptionMethod") + @SerializedName("authenticationTransformConstants") @Expose - public VpnEncryptionAlgorithmType encryptionMethod; + public AuthenticationTransformConstant authenticationTransformConstants; /** - * The Integrity Check Method. - * Integrity Check Method + * The Cipher Transform Constants. + * Cipher Transform Constants */ - @SerializedName("integrityCheckMethod") + @SerializedName("cipherTransformConstants") @Expose - public VpnIntegrityAlgorithmType integrityCheckMethod; + public VpnEncryptionAlgorithmType cipherTransformConstants; /** * The Dh Group. @@ -65,20 +65,20 @@ public final AdditionalDataManager additionalDataManager() { public DiffieHellmanGroup dhGroup; /** - * The Cipher Transform Constants. - * Cipher Transform Constants + * The Encryption Method. + * Encryption Method */ - @SerializedName("cipherTransformConstants") + @SerializedName("encryptionMethod") @Expose - public VpnEncryptionAlgorithmType cipherTransformConstants; + public VpnEncryptionAlgorithmType encryptionMethod; /** - * The Authentication Transform Constants. - * Authentication Transform Constants + * The Integrity Check Method. + * Integrity Check Method */ - @SerializedName("authenticationTransformConstants") + @SerializedName("integrityCheckMethod") @Expose - public AuthenticationTransformConstant authenticationTransformConstants; + public VpnIntegrityAlgorithmType integrityCheckMethod; /** * The Pfs Group. diff --git a/src/main/java/com/microsoft/graph/models/extensions/Currency.java b/src/main/java/com/microsoft/graph/models/extensions/Currency.java index 282c9f4c033..5213bda091e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Currency.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Currency.java @@ -27,52 +27,52 @@ public class Currency extends Entity implements IJsonBackedObject { /** - * The Code. + * The Amount Decimal Places. * */ - @SerializedName("code") + @SerializedName("amountDecimalPlaces") @Expose - public String code; + public String amountDecimalPlaces; /** - * The Display Name. + * The Amount Rounding Precision. * */ - @SerializedName("displayName") + @SerializedName("amountRoundingPrecision") @Expose - public String displayName; + public java.math.BigDecimal amountRoundingPrecision; /** - * The Symbol. + * The Code. * */ - @SerializedName("symbol") + @SerializedName("code") @Expose - public String symbol; + public String code; /** - * The Amount Decimal Places. + * The Display Name. * */ - @SerializedName("amountDecimalPlaces") + @SerializedName("displayName") @Expose - public String amountDecimalPlaces; + public String displayName; /** - * The Amount Rounding Precision. + * The Last Modified Date Time. * */ - @SerializedName("amountRoundingPrecision") + @SerializedName("lastModifiedDateTime") @Expose - public java.math.BigDecimal amountRoundingPrecision; + public java.util.Calendar lastModifiedDateTime; /** - * The Last Modified Date Time. + * The Symbol. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("symbol") @Expose - public java.util.Calendar lastModifiedDateTime; + public String symbol; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CurrentLabel.java b/src/main/java/com/microsoft/graph/models/extensions/CurrentLabel.java index 8e8448617ee..b12217ef05f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CurrentLabel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CurrentLabel.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Application Mode. * */ - @SerializedName("id") + @SerializedName("applicationMode") @Expose - public String id; + public ApplicationMode applicationMode; /** - * The Application Mode. + * The Id. * */ - @SerializedName("applicationMode") + @SerializedName("id") @Expose - public ApplicationMode applicationMode; + public String id; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CustomSubjectAlternativeName.java b/src/main/java/com/microsoft/graph/models/extensions/CustomSubjectAlternativeName.java index c3ef3101870..f63ed8a18e6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CustomSubjectAlternativeName.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CustomSubjectAlternativeName.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The San Type. - * Custom SAN Type. - */ - @SerializedName("sanType") - @Expose - public EnumSet sanType; - /** * The Name. * Custom SAN Name @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String name; + /** + * The San Type. + * Custom SAN Type. + */ + @SerializedName("sanType") + @Expose + public EnumSet sanType; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java b/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java index 5ccde4c5f8b..9a8b9607782 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CustomTimeZone.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.StandardTimeZoneOffset; import com.microsoft.graph.models.extensions.DaylightTimeZoneOffset; +import com.microsoft.graph.models.extensions.StandardTimeZoneOffset; import com.microsoft.graph.models.extensions.TimeZoneBase; @@ -36,14 +36,6 @@ public class CustomTimeZone extends TimeZoneBase implements IJsonBackedObject { @Expose public Integer bias; - /** - * The Standard Offset. - * Specifies when the time zone switches from daylight saving time to standard time. - */ - @SerializedName("standardOffset") - @Expose - public StandardTimeZoneOffset standardOffset; - /** * The Daylight Offset. * Specifies when the time zone switches from standard time to daylight saving time. @@ -52,6 +44,14 @@ public class CustomTimeZone extends TimeZoneBase implements IJsonBackedObject { @Expose public DaylightTimeZoneOffset daylightOffset; + /** + * The Standard Offset. + * Specifies when the time zone switches from daylight saving time to standard time. + */ + @SerializedName("standardOffset") + @Expose + public StandardTimeZoneOffset standardOffset; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/CustomUpdateTimeWindow.java b/src/main/java/com/microsoft/graph/models/extensions/CustomUpdateTimeWindow.java index ba54b4a941b..d2af7427ba2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CustomUpdateTimeWindow.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CustomUpdateTimeWindow.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Start Day. - * Start day of the time window - */ - @SerializedName("startDay") - @Expose - public DayOfWeek startDay; - /** * The End Day. * End day of the time window @@ -52,14 +44,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public DayOfWeek endDay; - /** - * The Start Time. - * Start time of the time window - */ - @SerializedName("startTime") - @Expose - public com.microsoft.graph.models.extensions.TimeOfDay startTime; - /** * The End Time. * End time of the time window @@ -68,6 +52,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public com.microsoft.graph.models.extensions.TimeOfDay endTime; + /** + * The Start Day. + * Start day of the time window + */ + @SerializedName("startDay") + @Expose + public DayOfWeek startDay; + + /** + * The Start Time. + * Start time of the time window + */ + @SerializedName("startTime") + @Expose + public com.microsoft.graph.models.extensions.TimeOfDay startTime; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Customer.java b/src/main/java/com/microsoft/graph/models/extensions/Customer.java index a4f8237b9e6..b6312b89bae 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Customer.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Customer.java @@ -9,11 +9,11 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.PostalAddressType; -import com.microsoft.graph.models.extensions.Picture; import com.microsoft.graph.models.extensions.Currency; +import com.microsoft.graph.models.extensions.PaymentMethod; import com.microsoft.graph.models.extensions.PaymentTerm; +import com.microsoft.graph.models.extensions.Picture; import com.microsoft.graph.models.extensions.ShipmentMethod; -import com.microsoft.graph.models.extensions.PaymentMethod; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.PictureCollectionResponse; import com.microsoft.graph.requests.extensions.PictureCollectionPage; @@ -35,44 +35,44 @@ public class Customer extends Entity implements IJsonBackedObject { /** - * The Number. + * The Address. * */ - @SerializedName("number") + @SerializedName("address") @Expose - public String number; + public PostalAddressType address; /** - * The Display Name. + * The Blocked. * */ - @SerializedName("displayName") + @SerializedName("blocked") @Expose - public String displayName; + public String blocked; /** - * The Type. + * The Currency Code. * */ - @SerializedName("type") + @SerializedName("currencyCode") @Expose - public String type; + public String currencyCode; /** - * The Address. + * The Currency Id. * */ - @SerializedName("address") + @SerializedName("currencyId") @Expose - public PostalAddressType address; + public java.util.UUID currencyId; /** - * The Phone Number. + * The Display Name. * */ - @SerializedName("phoneNumber") + @SerializedName("displayName") @Expose - public String phoneNumber; + public String displayName; /** * The Email. @@ -83,114 +83,116 @@ public class Customer extends Entity implements IJsonBackedObject { public String email; /** - * The Website. + * The Last Modified Date Time. * */ - @SerializedName("website") + @SerializedName("lastModifiedDateTime") @Expose - public String website; + public java.util.Calendar lastModifiedDateTime; /** - * The Tax Liable. + * The Number. * */ - @SerializedName("taxLiable") + @SerializedName("number") @Expose - public Boolean taxLiable; + public String number; /** - * The Tax Area Id. + * The Payment Method Id. * */ - @SerializedName("taxAreaId") + @SerializedName("paymentMethodId") @Expose - public java.util.UUID taxAreaId; + public java.util.UUID paymentMethodId; /** - * The Tax Area Display Name. + * The Payment Terms Id. * */ - @SerializedName("taxAreaDisplayName") + @SerializedName("paymentTermsId") @Expose - public String taxAreaDisplayName; + public java.util.UUID paymentTermsId; /** - * The Tax Registration Number. + * The Phone Number. * */ - @SerializedName("taxRegistrationNumber") + @SerializedName("phoneNumber") @Expose - public String taxRegistrationNumber; + public String phoneNumber; /** - * The Currency Id. + * The Shipment Method Id. * */ - @SerializedName("currencyId") + @SerializedName("shipmentMethodId") @Expose - public java.util.UUID currencyId; + public java.util.UUID shipmentMethodId; /** - * The Currency Code. + * The Tax Area Display Name. * */ - @SerializedName("currencyCode") + @SerializedName("taxAreaDisplayName") @Expose - public String currencyCode; + public String taxAreaDisplayName; /** - * The Payment Terms Id. + * The Tax Area Id. * */ - @SerializedName("paymentTermsId") + @SerializedName("taxAreaId") @Expose - public java.util.UUID paymentTermsId; + public java.util.UUID taxAreaId; /** - * The Shipment Method Id. + * The Tax Liable. * */ - @SerializedName("shipmentMethodId") + @SerializedName("taxLiable") @Expose - public java.util.UUID shipmentMethodId; + public Boolean taxLiable; /** - * The Payment Method Id. + * The Tax Registration Number. * */ - @SerializedName("paymentMethodId") + @SerializedName("taxRegistrationNumber") @Expose - public java.util.UUID paymentMethodId; + public String taxRegistrationNumber; /** - * The Blocked. + * The Type. * */ - @SerializedName("blocked") + @SerializedName("type") @Expose - public String blocked; + public String type; /** - * The Last Modified Date Time. + * The Website. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("website") @Expose - public java.util.Calendar lastModifiedDateTime; + public String website; /** - * The Picture. + * The Currency. * */ - public PictureCollectionPage picture; + @SerializedName("currency") + @Expose + public Currency currency; /** - * The Currency. + * The Payment Method. * */ - @SerializedName("currency") + @SerializedName("paymentMethod") @Expose - public Currency currency; + public PaymentMethod paymentMethod; /** * The Payment Term. @@ -201,20 +203,18 @@ public class Customer extends Entity implements IJsonBackedObject { public PaymentTerm paymentTerm; /** - * The Shipment Method. + * The Picture. * */ - @SerializedName("shipmentMethod") - @Expose - public ShipmentMethod shipmentMethod; + public PictureCollectionPage picture; /** - * The Payment Method. + * The Shipment Method. * */ - @SerializedName("paymentMethod") + @SerializedName("shipmentMethod") @Expose - public PaymentMethod paymentMethod; + public ShipmentMethod shipmentMethod; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/CustomerPayment.java b/src/main/java/com/microsoft/graph/models/extensions/CustomerPayment.java index dc723347df3..5d57fb5973b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CustomerPayment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CustomerPayment.java @@ -28,36 +28,36 @@ public class CustomerPayment extends Entity implements IJsonBackedObject { /** - * The Journal Display Name. + * The Amount. * */ - @SerializedName("journalDisplayName") + @SerializedName("amount") @Expose - public String journalDisplayName; + public java.math.BigDecimal amount; /** - * The Line Number. + * The Applies To Invoice Id. * */ - @SerializedName("lineNumber") + @SerializedName("appliesToInvoiceId") @Expose - public Integer lineNumber; + public java.util.UUID appliesToInvoiceId; /** - * The Customer Id. + * The Applies To Invoice Number. * */ - @SerializedName("customerId") + @SerializedName("appliesToInvoiceNumber") @Expose - public java.util.UUID customerId; + public String appliesToInvoiceNumber; /** - * The Customer Number. + * The Comment. * */ - @SerializedName("customerNumber") + @SerializedName("comment") @Expose - public String customerNumber; + public String comment; /** * The Contact Id. @@ -68,76 +68,76 @@ public class CustomerPayment extends Entity implements IJsonBackedObject { public String contactId; /** - * The Posting Date. + * The Customer Id. * */ - @SerializedName("postingDate") + @SerializedName("customerId") @Expose - public com.microsoft.graph.models.extensions.DateOnly postingDate; + public java.util.UUID customerId; /** - * The Document Number. + * The Customer Number. * */ - @SerializedName("documentNumber") + @SerializedName("customerNumber") @Expose - public String documentNumber; + public String customerNumber; /** - * The External Document Number. + * The Description. * */ - @SerializedName("externalDocumentNumber") + @SerializedName("description") @Expose - public String externalDocumentNumber; + public String description; /** - * The Amount. + * The Document Number. * */ - @SerializedName("amount") + @SerializedName("documentNumber") @Expose - public java.math.BigDecimal amount; + public String documentNumber; /** - * The Applies To Invoice Id. + * The External Document Number. * */ - @SerializedName("appliesToInvoiceId") + @SerializedName("externalDocumentNumber") @Expose - public java.util.UUID appliesToInvoiceId; + public String externalDocumentNumber; /** - * The Applies To Invoice Number. + * The Journal Display Name. * */ - @SerializedName("appliesToInvoiceNumber") + @SerializedName("journalDisplayName") @Expose - public String appliesToInvoiceNumber; + public String journalDisplayName; /** - * The Description. + * The Last Modified Date Time. * */ - @SerializedName("description") + @SerializedName("lastModifiedDateTime") @Expose - public String description; + public java.util.Calendar lastModifiedDateTime; /** - * The Comment. + * The Line Number. * */ - @SerializedName("comment") + @SerializedName("lineNumber") @Expose - public String comment; + public Integer lineNumber; /** - * The Last Modified Date Time. + * The Posting Date. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("postingDate") @Expose - public java.util.Calendar lastModifiedDateTime; + public com.microsoft.graph.models.extensions.DateOnly postingDate; /** * The Customer. diff --git a/src/main/java/com/microsoft/graph/models/extensions/CustomerPaymentJournal.java b/src/main/java/com/microsoft/graph/models/extensions/CustomerPaymentJournal.java index 154932a5878..251d096e71e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/CustomerPaymentJournal.java +++ b/src/main/java/com/microsoft/graph/models/extensions/CustomerPaymentJournal.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.CustomerPayment; import com.microsoft.graph.models.extensions.Account; +import com.microsoft.graph.models.extensions.CustomerPayment; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.CustomerPaymentCollectionResponse; import com.microsoft.graph.requests.extensions.CustomerPaymentCollectionPage; @@ -30,6 +30,22 @@ public class CustomerPaymentJournal extends Entity implements IJsonBackedObject { + /** + * The Balancing Account Id. + * + */ + @SerializedName("balancingAccountId") + @Expose + public java.util.UUID balancingAccountId; + + /** + * The Balancing Account Number. + * + */ + @SerializedName("balancingAccountNumber") + @Expose + public String balancingAccountNumber; + /** * The Code. * @@ -55,20 +71,12 @@ public class CustomerPaymentJournal extends Entity implements IJsonBackedObject public java.util.Calendar lastModifiedDateTime; /** - * The Balancing Account Id. - * - */ - @SerializedName("balancingAccountId") - @Expose - public java.util.UUID balancingAccountId; - - /** - * The Balancing Account Number. + * The Account. * */ - @SerializedName("balancingAccountNumber") + @SerializedName("account") @Expose - public String balancingAccountNumber; + public Account account; /** * The Customer Payments. @@ -76,14 +84,6 @@ public class CustomerPaymentJournal extends Entity implements IJsonBackedObject */ public CustomerPaymentCollectionPage customerPayments; - /** - * The Account. - * - */ - @SerializedName("account") - @Expose - public Account account; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DataClassificationService.java b/src/main/java/com/microsoft/graph/models/extensions/DataClassificationService.java index bb64eced9cb..a4f7369dfe1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DataClassificationService.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DataClassificationService.java @@ -9,23 +9,23 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.ExactMatchDataStore; -import com.microsoft.graph.models.extensions.SensitiveType; +import com.microsoft.graph.models.extensions.FileClassificationRequest; import com.microsoft.graph.models.extensions.JobResponseBase; import com.microsoft.graph.models.extensions.TextClassificationRequest; -import com.microsoft.graph.models.extensions.FileClassificationRequest; +import com.microsoft.graph.models.extensions.SensitiveType; import com.microsoft.graph.models.extensions.SensitivityLabel; import com.microsoft.graph.models.extensions.ExactMatchUploadAgent; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.ExactMatchDataStoreCollectionResponse; import com.microsoft.graph.requests.extensions.ExactMatchDataStoreCollectionPage; -import com.microsoft.graph.requests.extensions.SensitiveTypeCollectionResponse; -import com.microsoft.graph.requests.extensions.SensitiveTypeCollectionPage; +import com.microsoft.graph.requests.extensions.FileClassificationRequestCollectionResponse; +import com.microsoft.graph.requests.extensions.FileClassificationRequestCollectionPage; import com.microsoft.graph.requests.extensions.JobResponseBaseCollectionResponse; import com.microsoft.graph.requests.extensions.JobResponseBaseCollectionPage; import com.microsoft.graph.requests.extensions.TextClassificationRequestCollectionResponse; import com.microsoft.graph.requests.extensions.TextClassificationRequestCollectionPage; -import com.microsoft.graph.requests.extensions.FileClassificationRequestCollectionResponse; -import com.microsoft.graph.requests.extensions.FileClassificationRequestCollectionPage; +import com.microsoft.graph.requests.extensions.SensitiveTypeCollectionResponse; +import com.microsoft.graph.requests.extensions.SensitiveTypeCollectionPage; import com.microsoft.graph.requests.extensions.SensitivityLabelCollectionResponse; import com.microsoft.graph.requests.extensions.SensitivityLabelCollectionPage; import com.microsoft.graph.requests.extensions.ExactMatchUploadAgentCollectionResponse; @@ -54,22 +54,22 @@ public class DataClassificationService extends Entity implements IJsonBackedObje public ExactMatchDataStoreCollectionPage exactMatchDataStores; /** - * The Sensitive Types. + * The Classify File. * */ - public SensitiveTypeCollectionPage sensitiveTypes; + public FileClassificationRequestCollectionPage classifyFile; /** - * The Jobs. + * The Classify File Jobs. * */ - public JobResponseBaseCollectionPage jobs; + public JobResponseBaseCollectionPage classifyFileJobs; /** - * The Classify File Jobs. + * The Classify Text. * */ - public JobResponseBaseCollectionPage classifyFileJobs; + public TextClassificationRequestCollectionPage classifyText; /** * The Classify Text Jobs. @@ -78,34 +78,34 @@ public class DataClassificationService extends Entity implements IJsonBackedObje public JobResponseBaseCollectionPage classifyTextJobs; /** - * The Evaluate Label Jobs. + * The Evaluate Dlp Policies Jobs. * */ - public JobResponseBaseCollectionPage evaluateLabelJobs; + public JobResponseBaseCollectionPage evaluateDlpPoliciesJobs; /** - * The Evaluate Dlp Policies Jobs. + * The Evaluate Label Jobs. * */ - public JobResponseBaseCollectionPage evaluateDlpPoliciesJobs; + public JobResponseBaseCollectionPage evaluateLabelJobs; /** - * The Labels And Policies Evaluation Jobs. + * The Jobs. * */ - public JobResponseBaseCollectionPage labelsAndPoliciesEvaluationJobs; + public JobResponseBaseCollectionPage jobs; /** - * The Classify Text. + * The Labels And Policies Evaluation Jobs. * */ - public TextClassificationRequestCollectionPage classifyText; + public JobResponseBaseCollectionPage labelsAndPoliciesEvaluationJobs; /** - * The Classify File. + * The Sensitive Types. * */ - public FileClassificationRequestCollectionPage classifyFile; + public SensitiveTypeCollectionPage sensitiveTypes; /** * The Sensitivity Labels. @@ -175,52 +175,52 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { exactMatchDataStores = new ExactMatchDataStoreCollectionPage(response, null); } - if (json.has("sensitiveTypes")) { - final SensitiveTypeCollectionResponse response = new SensitiveTypeCollectionResponse(); - if (json.has("sensitiveTypes@odata.nextLink")) { - response.nextLink = json.get("sensitiveTypes@odata.nextLink").getAsString(); + if (json.has("classifyFile")) { + final FileClassificationRequestCollectionResponse response = new FileClassificationRequestCollectionResponse(); + if (json.has("classifyFile@odata.nextLink")) { + response.nextLink = json.get("classifyFile@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sensitiveTypes").toString(), JsonObject[].class); - final SensitiveType[] array = new SensitiveType[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classifyFile").toString(), JsonObject[].class); + final FileClassificationRequest[] array = new FileClassificationRequest[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SensitiveType.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), FileClassificationRequest.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - sensitiveTypes = new SensitiveTypeCollectionPage(response, null); + classifyFile = new FileClassificationRequestCollectionPage(response, null); } - if (json.has("jobs")) { + if (json.has("classifyFileJobs")) { final JobResponseBaseCollectionResponse response = new JobResponseBaseCollectionResponse(); - if (json.has("jobs@odata.nextLink")) { - response.nextLink = json.get("jobs@odata.nextLink").getAsString(); + if (json.has("classifyFileJobs@odata.nextLink")) { + response.nextLink = json.get("classifyFileJobs@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("jobs").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classifyFileJobs").toString(), JsonObject[].class); final JobResponseBase[] array = new JobResponseBase[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), JobResponseBase.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - jobs = new JobResponseBaseCollectionPage(response, null); + classifyFileJobs = new JobResponseBaseCollectionPage(response, null); } - if (json.has("classifyFileJobs")) { - final JobResponseBaseCollectionResponse response = new JobResponseBaseCollectionResponse(); - if (json.has("classifyFileJobs@odata.nextLink")) { - response.nextLink = json.get("classifyFileJobs@odata.nextLink").getAsString(); + if (json.has("classifyText")) { + final TextClassificationRequestCollectionResponse response = new TextClassificationRequestCollectionResponse(); + if (json.has("classifyText@odata.nextLink")) { + response.nextLink = json.get("classifyText@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classifyFileJobs").toString(), JsonObject[].class); - final JobResponseBase[] array = new JobResponseBase[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classifyText").toString(), JsonObject[].class); + final TextClassificationRequest[] array = new TextClassificationRequest[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), JobResponseBase.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TextClassificationRequest.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - classifyFileJobs = new JobResponseBaseCollectionPage(response, null); + classifyText = new TextClassificationRequestCollectionPage(response, null); } if (json.has("classifyTextJobs")) { @@ -239,6 +239,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { classifyTextJobs = new JobResponseBaseCollectionPage(response, null); } + if (json.has("evaluateDlpPoliciesJobs")) { + final JobResponseBaseCollectionResponse response = new JobResponseBaseCollectionResponse(); + if (json.has("evaluateDlpPoliciesJobs@odata.nextLink")) { + response.nextLink = json.get("evaluateDlpPoliciesJobs@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("evaluateDlpPoliciesJobs").toString(), JsonObject[].class); + final JobResponseBase[] array = new JobResponseBase[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), JobResponseBase.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + evaluateDlpPoliciesJobs = new JobResponseBaseCollectionPage(response, null); + } + if (json.has("evaluateLabelJobs")) { final JobResponseBaseCollectionResponse response = new JobResponseBaseCollectionResponse(); if (json.has("evaluateLabelJobs@odata.nextLink")) { @@ -255,20 +271,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { evaluateLabelJobs = new JobResponseBaseCollectionPage(response, null); } - if (json.has("evaluateDlpPoliciesJobs")) { + if (json.has("jobs")) { final JobResponseBaseCollectionResponse response = new JobResponseBaseCollectionResponse(); - if (json.has("evaluateDlpPoliciesJobs@odata.nextLink")) { - response.nextLink = json.get("evaluateDlpPoliciesJobs@odata.nextLink").getAsString(); + if (json.has("jobs@odata.nextLink")) { + response.nextLink = json.get("jobs@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("evaluateDlpPoliciesJobs").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("jobs").toString(), JsonObject[].class); final JobResponseBase[] array = new JobResponseBase[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), JobResponseBase.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - evaluateDlpPoliciesJobs = new JobResponseBaseCollectionPage(response, null); + jobs = new JobResponseBaseCollectionPage(response, null); } if (json.has("labelsAndPoliciesEvaluationJobs")) { @@ -287,36 +303,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { labelsAndPoliciesEvaluationJobs = new JobResponseBaseCollectionPage(response, null); } - if (json.has("classifyText")) { - final TextClassificationRequestCollectionResponse response = new TextClassificationRequestCollectionResponse(); - if (json.has("classifyText@odata.nextLink")) { - response.nextLink = json.get("classifyText@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classifyText").toString(), JsonObject[].class); - final TextClassificationRequest[] array = new TextClassificationRequest[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TextClassificationRequest.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - classifyText = new TextClassificationRequestCollectionPage(response, null); - } - - if (json.has("classifyFile")) { - final FileClassificationRequestCollectionResponse response = new FileClassificationRequestCollectionResponse(); - if (json.has("classifyFile@odata.nextLink")) { - response.nextLink = json.get("classifyFile@odata.nextLink").getAsString(); + if (json.has("sensitiveTypes")) { + final SensitiveTypeCollectionResponse response = new SensitiveTypeCollectionResponse(); + if (json.has("sensitiveTypes@odata.nextLink")) { + response.nextLink = json.get("sensitiveTypes@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("classifyFile").toString(), JsonObject[].class); - final FileClassificationRequest[] array = new FileClassificationRequest[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sensitiveTypes").toString(), JsonObject[].class); + final SensitiveType[] array = new SensitiveType[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), FileClassificationRequest.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SensitiveType.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - classifyFile = new FileClassificationRequestCollectionPage(response, null); + sensitiveTypes = new SensitiveTypeCollectionPage(response, null); } if (json.has("sensitivityLabels")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java b/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java index 770addc7061..8397c56d3cd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DataPolicyOperation.java @@ -35,6 +35,14 @@ public class DataPolicyOperation extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar completedDateTime; + /** + * The Progress. + * Specifies the progress of an operation. + */ + @SerializedName("progress") + @Expose + public Double progress; + /** * The Status. * Possible values are: notStarted, running, complete, failed, unknownFutureValue. @@ -51,14 +59,6 @@ public class DataPolicyOperation extends Entity implements IJsonBackedObject { @Expose public String storageLocation; - /** - * The User Id. - * The id for the user on whom the operation is performed. - */ - @SerializedName("userId") - @Expose - public String userId; - /** * The Submitted Date Time. * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' @@ -68,12 +68,12 @@ public class DataPolicyOperation extends Entity implements IJsonBackedObject { public java.util.Calendar submittedDateTime; /** - * The Progress. - * Specifies the progress of an operation. + * The User Id. + * The id for the user on whom the operation is performed. */ - @SerializedName("progress") + @SerializedName("userId") @Expose - public Double progress; + public String userId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DataSharingConsent.java b/src/main/java/com/microsoft/graph/models/extensions/DataSharingConsent.java index 91051a9b1c1..04b96f2d362 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DataSharingConsent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DataSharingConsent.java @@ -27,20 +27,12 @@ public class DataSharingConsent extends Entity implements IJsonBackedObject { /** - * The Service Display Name. - * The display name of the service work flow - */ - @SerializedName("serviceDisplayName") - @Expose - public String serviceDisplayName; - - /** - * The Terms Url. - * The TermsUrl for the data sharing consent + * The Grant Date Time. + * The time consent was granted for this account */ - @SerializedName("termsUrl") + @SerializedName("grantDateTime") @Expose - public String termsUrl; + public java.util.Calendar grantDateTime; /** * The Granted. @@ -50,14 +42,6 @@ public class DataSharingConsent extends Entity implements IJsonBackedObject { @Expose public Boolean granted; - /** - * The Grant Date Time. - * The time consent was granted for this account - */ - @SerializedName("grantDateTime") - @Expose - public java.util.Calendar grantDateTime; - /** * The Granted By Upn. * The Upn of the user that granted consent for this account @@ -74,6 +58,22 @@ public class DataSharingConsent extends Entity implements IJsonBackedObject { @Expose public String grantedByUserId; + /** + * The Service Display Name. + * The display name of the service work flow + */ + @SerializedName("serviceDisplayName") + @Expose + public String serviceDisplayName; + + /** + * The Terms Url. + * The TermsUrl for the data sharing consent + */ + @SerializedName("termsUrl") + @Expose + public String termsUrl; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DataStoreField.java b/src/main/java/com/microsoft/graph/models/extensions/DataStoreField.java index 3944ab73ba8..f9d982fe926 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DataStoreField.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DataStoreField.java @@ -44,20 +44,20 @@ public final AdditionalDataManager additionalDataManager() { public String name; /** - * The Unique. + * The Searchable. * */ - @SerializedName("unique") + @SerializedName("searchable") @Expose - public Boolean unique; + public Boolean searchable; /** - * The Searchable. + * The Unique. * */ - @SerializedName("searchable") + @SerializedName("unique") @Expose - public Boolean searchable; + public Boolean unique; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java index a9e12ff7790..6581c19a562 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DefaultManagedAppProtection.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppRemediationAction; import com.microsoft.graph.models.generated.ManagedAppDataEncryptionType; import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.generated.ManagedAppRemediationAction; -import com.microsoft.graph.models.generated.AndroidManagedAppSafetyNetDeviceAttestationType; import com.microsoft.graph.models.generated.AndroidManagedAppSafetyNetAppsVerificationType; +import com.microsoft.graph.models.generated.AndroidManagedAppSafetyNetDeviceAttestationType; import com.microsoft.graph.models.extensions.ManagedMobileApp; import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; import com.microsoft.graph.models.extensions.ManagedAppProtection; @@ -36,164 +36,148 @@ public class DefaultManagedAppProtection extends ManagedAppProtection implements /** - * The App Data Encryption Type. - * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. - */ - @SerializedName("appDataEncryptionType") - @Expose - public ManagedAppDataEncryptionType appDataEncryptionType; - - /** - * The Screen Capture Blocked. - * Indicates whether screen capture is blocked. (Android only) - */ - @SerializedName("screenCaptureBlocked") - @Expose - public Boolean screenCaptureBlocked; - - /** - * The Encrypt App Data. - * Indicates whether managed-app data should be encrypted. (Android only) + * The Allowed Android Device Manufacturers. + * Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. (Android only) */ - @SerializedName("encryptAppData") + @SerializedName("allowedAndroidDeviceManufacturers") @Expose - public Boolean encryptAppData; + public String allowedAndroidDeviceManufacturers; /** - * The Disable App Encryption If Device Encryption Is Enabled. - * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) + * The Allowed Android Device Models. + * List of device models allowed, as a string, for the managed app to work. (Android Only) */ - @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") + @SerializedName("allowedAndroidDeviceModels") @Expose - public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; + public java.util.List allowedAndroidDeviceModels; /** - * The Minimum Required Sdk Version. - * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) + * The Allowed Ios Device Models. + * Semicolon seperated list of device models allowed, as a string, for the managed app to work. (iOS Only) */ - @SerializedName("minimumRequiredSdkVersion") + @SerializedName("allowedIosDeviceModels") @Expose - public String minimumRequiredSdkVersion; + public String allowedIosDeviceModels; /** - * The Custom Settings. - * A set of string key and string value pairs to be sent to the affected users, unalterned by this service + * The App Action If Android Device Manufacturer Not Allowed. + * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only) */ - @SerializedName("customSettings") + @SerializedName("appActionIfAndroidDeviceManufacturerNotAllowed") @Expose - public java.util.List customSettings; + public ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed; /** - * The Deployed App Count. - * Count of apps to which the current policy is deployed. + * The App Action If Android Device Model Not Allowed. + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (Android Only) */ - @SerializedName("deployedAppCount") + @SerializedName("appActionIfAndroidDeviceModelNotAllowed") @Expose - public Integer deployedAppCount; + public ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed; /** - * The Minimum Required Patch Version. - * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) + * The App Action If Android Safety Net Apps Verification Failed. + * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirment fails. */ - @SerializedName("minimumRequiredPatchVersion") + @SerializedName("appActionIfAndroidSafetyNetAppsVerificationFailed") @Expose - public String minimumRequiredPatchVersion; + public ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed; /** - * The Minimum Warning Patch Version. - * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) + * The App Action If Android Safety Net Device Attestation Failed. + * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirment fails. */ - @SerializedName("minimumWarningPatchVersion") + @SerializedName("appActionIfAndroidSafetyNetDeviceAttestationFailed") @Expose - public String minimumWarningPatchVersion; + public ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed; /** - * The Exempted App Protocols. - * iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only) + * The App Action If Ios Device Model Not Allowed. + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (iOS Only) */ - @SerializedName("exemptedAppProtocols") + @SerializedName("appActionIfIosDeviceModelNotAllowed") @Expose - public java.util.List exemptedAppProtocols; + public ManagedAppRemediationAction appActionIfIosDeviceModelNotAllowed; /** - * The Exempted App Packages. - * Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only) + * The App Data Encryption Type. + * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. */ - @SerializedName("exemptedAppPackages") + @SerializedName("appDataEncryptionType") @Expose - public java.util.List exemptedAppPackages; + public ManagedAppDataEncryptionType appDataEncryptionType; /** - * The Face Id Blocked. - * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) + * The Custom Browser Display Name. + * Friendly name of the preferred custom browser to open weblink on Android. (Android only) */ - @SerializedName("faceIdBlocked") + @SerializedName("customBrowserDisplayName") @Expose - public Boolean faceIdBlocked; + public String customBrowserDisplayName; /** - * The Minimum Wipe Sdk Version. - * Versions less than the specified version will block the managed app from accessing company data. + * The Custom Browser Package Id. + * Unique identifier of a custom browser to open weblink on Android. (Android only) */ - @SerializedName("minimumWipeSdkVersion") + @SerializedName("customBrowserPackageId") @Expose - public String minimumWipeSdkVersion; + public String customBrowserPackageId; /** - * The Minimum Wipe Patch Version. - * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. (Android only) + * The Custom Browser Protocol. + * A custom browser protocol to open weblink on iOS. (iOS only) */ - @SerializedName("minimumWipePatchVersion") + @SerializedName("customBrowserProtocol") @Expose - public String minimumWipePatchVersion; + public String customBrowserProtocol; /** - * The Allowed Ios Device Models. - * Semicolon seperated list of device models allowed, as a string, for the managed app to work. (iOS Only) + * The Custom Dialer App Display Name. + * Friendly name of a custom dialer app to click-to-open a phone number on Android. */ - @SerializedName("allowedIosDeviceModels") + @SerializedName("customDialerAppDisplayName") @Expose - public String allowedIosDeviceModels; + public String customDialerAppDisplayName; /** - * The App Action If Ios Device Model Not Allowed. - * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (iOS Only) + * The Custom Dialer App Package Id. + * PackageId of a custom dialer app to click-to-open a phone number on Android. */ - @SerializedName("appActionIfIosDeviceModelNotAllowed") + @SerializedName("customDialerAppPackageId") @Expose - public ManagedAppRemediationAction appActionIfIosDeviceModelNotAllowed; + public String customDialerAppPackageId; /** - * The Allowed Android Device Manufacturers. - * Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. (Android only) + * The Custom Dialer App Protocol. + * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. */ - @SerializedName("allowedAndroidDeviceManufacturers") + @SerializedName("customDialerAppProtocol") @Expose - public String allowedAndroidDeviceManufacturers; + public String customDialerAppProtocol; /** - * The App Action If Android Device Manufacturer Not Allowed. - * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only) + * The Custom Settings. + * A set of string key and string value pairs to be sent to the affected users, unalterned by this service */ - @SerializedName("appActionIfAndroidDeviceManufacturerNotAllowed") + @SerializedName("customSettings") @Expose - public ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed; + public java.util.List customSettings; /** - * The Third Party Keyboards Blocked. - * Defines if third party keyboards are allowed while accessing a managed app. (iOS Only) + * The Deployed App Count. + * Count of apps to which the current policy is deployed. */ - @SerializedName("thirdPartyKeyboardsBlocked") + @SerializedName("deployedAppCount") @Expose - public Boolean thirdPartyKeyboardsBlocked; + public Integer deployedAppCount; /** - * The Filter Open In To Only Managed Apps. - * Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. (iOS Only) + * The Disable App Encryption If Device Encryption Is Enabled. + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) */ - @SerializedName("filterOpenInToOnlyManagedApps") + @SerializedName("disableAppEncryptionIfDeviceEncryptionIsEnabled") @Expose - public Boolean filterOpenInToOnlyManagedApps; + public Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled; /** * The Disable Protection Of Managed Outbound Open In Data. @@ -204,76 +188,68 @@ public class DefaultManagedAppProtection extends ManagedAppProtection implements public Boolean disableProtectionOfManagedOutboundOpenInData; /** - * The Protect Inbound Data From Unknown Sources. - * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. (iOS Only) - */ - @SerializedName("protectInboundDataFromUnknownSources") - @Expose - public Boolean protectInboundDataFromUnknownSources; - - /** - * The Required Android Safety Net Device Attestation Type. - * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. + * The Encrypt App Data. + * Indicates whether managed-app data should be encrypted. (Android only) */ - @SerializedName("requiredAndroidSafetyNetDeviceAttestationType") + @SerializedName("encryptAppData") @Expose - public AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType; + public Boolean encryptAppData; /** - * The App Action If Android Safety Net Device Attestation Failed. - * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirment fails. + * The Exempted App Packages. + * Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only) */ - @SerializedName("appActionIfAndroidSafetyNetDeviceAttestationFailed") + @SerializedName("exemptedAppPackages") @Expose - public ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed; + public java.util.List exemptedAppPackages; /** - * The Required Android Safety Net Apps Verification Type. - * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. + * The Exempted App Protocols. + * iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only) */ - @SerializedName("requiredAndroidSafetyNetAppsVerificationType") + @SerializedName("exemptedAppProtocols") @Expose - public AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType; + public java.util.List exemptedAppProtocols; /** - * The App Action If Android Safety Net Apps Verification Failed. - * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirment fails. + * The Face Id Blocked. + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) */ - @SerializedName("appActionIfAndroidSafetyNetAppsVerificationFailed") + @SerializedName("faceIdBlocked") @Expose - public ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed; + public Boolean faceIdBlocked; /** - * The Custom Browser Protocol. - * A custom browser protocol to open weblink on iOS. (iOS only) + * The Filter Open In To Only Managed Apps. + * Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. (iOS Only) */ - @SerializedName("customBrowserProtocol") + @SerializedName("filterOpenInToOnlyManagedApps") @Expose - public String customBrowserProtocol; + public Boolean filterOpenInToOnlyManagedApps; /** - * The Custom Browser Package Id. - * Unique identifier of a custom browser to open weblink on Android. (Android only) + * The Minimum Required Company Portal Version. + * Minimum version of the Company portal that must be installed on the device or app access will be blocked */ - @SerializedName("customBrowserPackageId") + @SerializedName("minimumRequiredCompanyPortalVersion") @Expose - public String customBrowserPackageId; + public String minimumRequiredCompanyPortalVersion; /** - * The Custom Browser Display Name. - * Friendly name of the preferred custom browser to open weblink on Android. (Android only) + * The Minimum Required Patch Version. + * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) */ - @SerializedName("customBrowserDisplayName") + @SerializedName("minimumRequiredPatchVersion") @Expose - public String customBrowserDisplayName; + public String minimumRequiredPatchVersion; /** - * The Minimum Required Company Portal Version. - * Minimum version of the Company portal that must be installed on the device or app access will be blocked + * The Minimum Required Sdk Version. + * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) */ - @SerializedName("minimumRequiredCompanyPortalVersion") + @SerializedName("minimumRequiredSdkVersion") @Expose - public String minimumRequiredCompanyPortalVersion; + public String minimumRequiredSdkVersion; /** * The Minimum Warning Company Portal Version. @@ -283,6 +259,14 @@ public class DefaultManagedAppProtection extends ManagedAppProtection implements @Expose public String minimumWarningCompanyPortalVersion; + /** + * The Minimum Warning Patch Version. + * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) + */ + @SerializedName("minimumWarningPatchVersion") + @Expose + public String minimumWarningPatchVersion; + /** * The Minimum Wipe Company Portal Version. * Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped @@ -292,44 +276,60 @@ public class DefaultManagedAppProtection extends ManagedAppProtection implements public String minimumWipeCompanyPortalVersion; /** - * The Allowed Android Device Models. - * List of device models allowed, as a string, for the managed app to work. (Android Only) + * The Minimum Wipe Patch Version. + * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. (Android only) */ - @SerializedName("allowedAndroidDeviceModels") + @SerializedName("minimumWipePatchVersion") @Expose - public java.util.List allowedAndroidDeviceModels; + public String minimumWipePatchVersion; /** - * The App Action If Android Device Model Not Allowed. - * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (Android Only) + * The Minimum Wipe Sdk Version. + * Versions less than the specified version will block the managed app from accessing company data. */ - @SerializedName("appActionIfAndroidDeviceModelNotAllowed") + @SerializedName("minimumWipeSdkVersion") @Expose - public ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed; + public String minimumWipeSdkVersion; /** - * The Custom Dialer App Protocol. - * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. + * The Protect Inbound Data From Unknown Sources. + * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. (iOS Only) */ - @SerializedName("customDialerAppProtocol") + @SerializedName("protectInboundDataFromUnknownSources") @Expose - public String customDialerAppProtocol; + public Boolean protectInboundDataFromUnknownSources; /** - * The Custom Dialer App Package Id. - * PackageId of a custom dialer app to click-to-open a phone number on Android. + * The Required Android Safety Net Apps Verification Type. + * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. */ - @SerializedName("customDialerAppPackageId") + @SerializedName("requiredAndroidSafetyNetAppsVerificationType") @Expose - public String customDialerAppPackageId; + public AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType; /** - * The Custom Dialer App Display Name. - * Friendly name of a custom dialer app to click-to-open a phone number on Android. + * The Required Android Safety Net Device Attestation Type. + * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. */ - @SerializedName("customDialerAppDisplayName") + @SerializedName("requiredAndroidSafetyNetDeviceAttestationType") @Expose - public String customDialerAppDisplayName; + public AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType; + + /** + * The Screen Capture Blocked. + * Indicates whether screen capture is blocked. (Android only) + */ + @SerializedName("screenCaptureBlocked") + @Expose + public Boolean screenCaptureBlocked; + + /** + * The Third Party Keyboards Blocked. + * Defines if third party keyboards are allowed while accessing a managed app. (iOS Only) + */ + @SerializedName("thirdPartyKeyboardsBlocked") + @Expose + public Boolean thirdPartyKeyboardsBlocked; /** * The Apps. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java b/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java index e2d681b649a..ff00bf56353 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DefenderDetectedMalwareActions.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The High Severity. + * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + */ + @SerializedName("highSeverity") + @Expose + public DefenderThreatAction highSeverity; + /** * The Low Severity. * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public DefenderThreatAction moderateSeverity; - /** - * The High Severity. - * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. - */ - @SerializedName("highSeverity") - @Expose - public DefenderThreatAction highSeverity; - /** * The Severe Severity. * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DelegatedPermissionClassification.java b/src/main/java/com/microsoft/graph/models/extensions/DelegatedPermissionClassification.java index ed6b018b518..2e4f850be86 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DelegatedPermissionClassification.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DelegatedPermissionClassification.java @@ -27,6 +27,14 @@ public class DelegatedPermissionClassification extends Entity implements IJsonBackedObject { + /** + * The Classification. + * + */ + @SerializedName("classification") + @Expose + public PermissionClassificationType classification; + /** * The Permission Id. * @@ -43,14 +51,6 @@ public class DelegatedPermissionClassification extends Entity implements IJsonBa @Expose public String permissionName; - /** - * The Classification. - * - */ - @SerializedName("classification") - @Expose - public PermissionClassificationType classification; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentBaseProfile.java b/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentBaseProfile.java index eabadbb9f12..2adb39e81ea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentBaseProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentBaseProfile.java @@ -27,116 +27,116 @@ public class DepEnrollmentBaseProfile extends EnrollmentProfile implements IJson /** - * The Is Default. - * Indicates if this is the default profile + * The Apple Id Disabled. + * Indicates if Apple id setup pane is disabled */ - @SerializedName("isDefault") + @SerializedName("appleIdDisabled") @Expose - public Boolean isDefault; + public Boolean appleIdDisabled; /** - * The Supervised Mode Enabled. - * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. + * The Apple Pay Disabled. + * Indicates if Apple pay setup pane is disabled */ - @SerializedName("supervisedModeEnabled") + @SerializedName("applePayDisabled") @Expose - public Boolean supervisedModeEnabled; + public Boolean applePayDisabled; /** - * The Support Department. - * Support department information + * The Configuration Web Url. + * URL for setup assistant login */ - @SerializedName("supportDepartment") + @SerializedName("configurationWebUrl") @Expose - public String supportDepartment; + public Boolean configurationWebUrl; /** - * The Pass Code Disabled. - * Indicates if Passcode setup pane is disabled + * The Device Name Template. + * Sets a literal or name pattern. */ - @SerializedName("passCodeDisabled") + @SerializedName("deviceNameTemplate") @Expose - public Boolean passCodeDisabled; + public String deviceNameTemplate; /** - * The Is Mandatory. - * Indicates if the profile is mandatory + * The Diagnostics Disabled. + * Indicates if diagnostics setup pane is disabled */ - @SerializedName("isMandatory") + @SerializedName("diagnosticsDisabled") @Expose - public Boolean isMandatory; + public Boolean diagnosticsDisabled; /** - * The Location Disabled. - * Indicates if Location service setup pane is disabled + * The Display Tone Setup Disabled. + * Indicates if displaytone setup screen is disabled */ - @SerializedName("locationDisabled") + @SerializedName("displayToneSetupDisabled") @Expose - public Boolean locationDisabled; + public Boolean displayToneSetupDisabled; /** - * The Support Phone Number. - * Support phone number + * The Is Default. + * Indicates if this is the default profile */ - @SerializedName("supportPhoneNumber") + @SerializedName("isDefault") @Expose - public String supportPhoneNumber; + public Boolean isDefault; /** - * The Profile Removal Disabled. - * Indicates if the profile removal option is disabled + * The Is Mandatory. + * Indicates if the profile is mandatory */ - @SerializedName("profileRemovalDisabled") + @SerializedName("isMandatory") @Expose - public Boolean profileRemovalDisabled; + public Boolean isMandatory; /** - * The Restore Blocked. - * Indicates if Restore setup pane is blocked + * The Location Disabled. + * Indicates if Location service setup pane is disabled */ - @SerializedName("restoreBlocked") + @SerializedName("locationDisabled") @Expose - public Boolean restoreBlocked; + public Boolean locationDisabled; /** - * The Apple Id Disabled. - * Indicates if Apple id setup pane is disabled + * The Pass Code Disabled. + * Indicates if Passcode setup pane is disabled */ - @SerializedName("appleIdDisabled") + @SerializedName("passCodeDisabled") @Expose - public Boolean appleIdDisabled; + public Boolean passCodeDisabled; /** - * The Terms And Conditions Disabled. - * Indicates if 'Terms and Conditions' setup pane is disabled + * The Privacy Pane Disabled. + * Indicates if privacy screen is disabled */ - @SerializedName("termsAndConditionsDisabled") + @SerializedName("privacyPaneDisabled") @Expose - public Boolean termsAndConditionsDisabled; + public Boolean privacyPaneDisabled; /** - * The Touch Id Disabled. - * Indicates if touch id setup pane is disabled + * The Profile Removal Disabled. + * Indicates if the profile removal option is disabled */ - @SerializedName("touchIdDisabled") + @SerializedName("profileRemovalDisabled") @Expose - public Boolean touchIdDisabled; + public Boolean profileRemovalDisabled; /** - * The Apple Pay Disabled. - * Indicates if Apple pay setup pane is disabled + * The Restore Blocked. + * Indicates if Restore setup pane is blocked */ - @SerializedName("applePayDisabled") + @SerializedName("restoreBlocked") @Expose - public Boolean applePayDisabled; + public Boolean restoreBlocked; /** - * The Zoom Disabled. - * Indicates if zoom setup pane is disabled + * The Screen Time Screen Disabled. + * Indicates if screen timeout setup is disabled */ - @SerializedName("zoomDisabled") + @SerializedName("screenTimeScreenDisabled") @Expose - public Boolean zoomDisabled; + public Boolean screenTimeScreenDisabled; /** * The Siri Disabled. @@ -147,52 +147,52 @@ public class DepEnrollmentBaseProfile extends EnrollmentProfile implements IJson public Boolean siriDisabled; /** - * The Diagnostics Disabled. - * Indicates if diagnostics setup pane is disabled + * The Supervised Mode Enabled. + * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. */ - @SerializedName("diagnosticsDisabled") + @SerializedName("supervisedModeEnabled") @Expose - public Boolean diagnosticsDisabled; + public Boolean supervisedModeEnabled; /** - * The Display Tone Setup Disabled. - * Indicates if displaytone setup screen is disabled + * The Support Department. + * Support department information */ - @SerializedName("displayToneSetupDisabled") + @SerializedName("supportDepartment") @Expose - public Boolean displayToneSetupDisabled; + public String supportDepartment; /** - * The Privacy Pane Disabled. - * Indicates if privacy screen is disabled + * The Support Phone Number. + * Support phone number */ - @SerializedName("privacyPaneDisabled") + @SerializedName("supportPhoneNumber") @Expose - public Boolean privacyPaneDisabled; + public String supportPhoneNumber; /** - * The Screen Time Screen Disabled. - * Indicates if screen timeout setup is disabled + * The Terms And Conditions Disabled. + * Indicates if 'Terms and Conditions' setup pane is disabled */ - @SerializedName("screenTimeScreenDisabled") + @SerializedName("termsAndConditionsDisabled") @Expose - public Boolean screenTimeScreenDisabled; + public Boolean termsAndConditionsDisabled; /** - * The Device Name Template. - * Sets a literal or name pattern. + * The Touch Id Disabled. + * Indicates if touch id setup pane is disabled */ - @SerializedName("deviceNameTemplate") + @SerializedName("touchIdDisabled") @Expose - public String deviceNameTemplate; + public Boolean touchIdDisabled; /** - * The Configuration Web Url. - * URL for setup assistant login + * The Zoom Disabled. + * Indicates if zoom setup pane is disabled */ - @SerializedName("configurationWebUrl") + @SerializedName("zoomDisabled") @Expose - public Boolean configurationWebUrl; + public Boolean zoomDisabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentProfile.java b/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentProfile.java index 79327ba1fc1..f8ce7f37062 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DepEnrollmentProfile.java @@ -29,60 +29,60 @@ public class DepEnrollmentProfile extends EnrollmentProfile implements IJsonBack /** - * The Is Default. - * Indicates if this is the default profile + * The Apple Id Disabled. + * Indicates if Apple id setup pane is disabled */ - @SerializedName("isDefault") + @SerializedName("appleIdDisabled") @Expose - public Boolean isDefault; + public Boolean appleIdDisabled; /** - * The Supervised Mode Enabled. - * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. + * The Apple Pay Disabled. + * Indicates if Apple pay setup pane is disabled */ - @SerializedName("supervisedModeEnabled") + @SerializedName("applePayDisabled") @Expose - public Boolean supervisedModeEnabled; + public Boolean applePayDisabled; /** - * The Support Department. - * Support department information + * The Await Device Configured Confirmation. + * Indicates if the device will need to wait for configured confirmation */ - @SerializedName("supportDepartment") + @SerializedName("awaitDeviceConfiguredConfirmation") @Expose - public String supportDepartment; + public Boolean awaitDeviceConfiguredConfirmation; /** - * The Pass Code Disabled. - * Indicates if Passcode setup pane is disabled + * The Diagnostics Disabled. + * Indicates if diagnostics setup pane is disabled */ - @SerializedName("passCodeDisabled") + @SerializedName("diagnosticsDisabled") @Expose - public Boolean passCodeDisabled; + public Boolean diagnosticsDisabled; /** - * The Is Mandatory. - * Indicates if the profile is mandatory + * The Enable Shared IPad. + * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. */ - @SerializedName("isMandatory") + @SerializedName("enableSharedIPad") @Expose - public Boolean isMandatory; + public Boolean enableSharedIPad; /** - * The Location Disabled. - * Indicates if Location service setup pane is disabled + * The Is Default. + * Indicates if this is the default profile */ - @SerializedName("locationDisabled") + @SerializedName("isDefault") @Expose - public Boolean locationDisabled; + public Boolean isDefault; /** - * The Support Phone Number. - * Support phone number + * The Is Mandatory. + * Indicates if the profile is mandatory */ - @SerializedName("supportPhoneNumber") + @SerializedName("isMandatory") @Expose - public String supportPhoneNumber; + public Boolean isMandatory; /** * The ITunes Pairing Mode. @@ -93,76 +93,76 @@ public class DepEnrollmentProfile extends EnrollmentProfile implements IJsonBack public ITunesPairingMode iTunesPairingMode; /** - * The Profile Removal Disabled. - * Indicates if the profile removal option is disabled + * The Location Disabled. + * Indicates if Location service setup pane is disabled */ - @SerializedName("profileRemovalDisabled") + @SerializedName("locationDisabled") @Expose - public Boolean profileRemovalDisabled; + public Boolean locationDisabled; /** - * The Management Certificates. - * Management certificates for Apple Configurator + * The Mac OSFile Vault Disabled. + * Indicates if Mac OS file vault is disabled */ - @SerializedName("managementCertificates") + @SerializedName("macOSFileVaultDisabled") @Expose - public java.util.List managementCertificates; + public Boolean macOSFileVaultDisabled; /** - * The Restore Blocked. - * Indicates if Restore setup pane is blocked + * The Mac OSRegistration Disabled. + * Indicates if Mac OS registration is disabled */ - @SerializedName("restoreBlocked") + @SerializedName("macOSRegistrationDisabled") @Expose - public Boolean restoreBlocked; + public Boolean macOSRegistrationDisabled; /** - * The Restore From Android Disabled. - * Indicates if Restore from Android is disabled + * The Management Certificates. + * Management certificates for Apple Configurator */ - @SerializedName("restoreFromAndroidDisabled") + @SerializedName("managementCertificates") @Expose - public Boolean restoreFromAndroidDisabled; + public java.util.List managementCertificates; /** - * The Apple Id Disabled. - * Indicates if Apple id setup pane is disabled + * The Pass Code Disabled. + * Indicates if Passcode setup pane is disabled */ - @SerializedName("appleIdDisabled") + @SerializedName("passCodeDisabled") @Expose - public Boolean appleIdDisabled; + public Boolean passCodeDisabled; /** - * The Terms And Conditions Disabled. - * Indicates if 'Terms and Conditions' setup pane is disabled + * The Profile Removal Disabled. + * Indicates if the profile removal option is disabled */ - @SerializedName("termsAndConditionsDisabled") + @SerializedName("profileRemovalDisabled") @Expose - public Boolean termsAndConditionsDisabled; + public Boolean profileRemovalDisabled; /** - * The Touch Id Disabled. - * Indicates if touch id setup pane is disabled + * The Restore Blocked. + * Indicates if Restore setup pane is blocked */ - @SerializedName("touchIdDisabled") + @SerializedName("restoreBlocked") @Expose - public Boolean touchIdDisabled; + public Boolean restoreBlocked; /** - * The Apple Pay Disabled. - * Indicates if Apple pay setup pane is disabled + * The Restore From Android Disabled. + * Indicates if Restore from Android is disabled */ - @SerializedName("applePayDisabled") + @SerializedName("restoreFromAndroidDisabled") @Expose - public Boolean applePayDisabled; + public Boolean restoreFromAndroidDisabled; /** - * The Zoom Disabled. - * Indicates if zoom setup pane is disabled + * The Shared IPad Maximum User Count. + * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. */ - @SerializedName("zoomDisabled") + @SerializedName("sharedIPadMaximumUserCount") @Expose - public Boolean zoomDisabled; + public Integer sharedIPadMaximumUserCount; /** * The Siri Disabled. @@ -173,52 +173,52 @@ public class DepEnrollmentProfile extends EnrollmentProfile implements IJsonBack public Boolean siriDisabled; /** - * The Diagnostics Disabled. - * Indicates if diagnostics setup pane is disabled + * The Supervised Mode Enabled. + * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. */ - @SerializedName("diagnosticsDisabled") + @SerializedName("supervisedModeEnabled") @Expose - public Boolean diagnosticsDisabled; + public Boolean supervisedModeEnabled; /** - * The Mac OSRegistration Disabled. - * Indicates if Mac OS registration is disabled + * The Support Department. + * Support department information */ - @SerializedName("macOSRegistrationDisabled") + @SerializedName("supportDepartment") @Expose - public Boolean macOSRegistrationDisabled; + public String supportDepartment; /** - * The Mac OSFile Vault Disabled. - * Indicates if Mac OS file vault is disabled + * The Support Phone Number. + * Support phone number */ - @SerializedName("macOSFileVaultDisabled") + @SerializedName("supportPhoneNumber") @Expose - public Boolean macOSFileVaultDisabled; + public String supportPhoneNumber; /** - * The Await Device Configured Confirmation. - * Indicates if the device will need to wait for configured confirmation + * The Terms And Conditions Disabled. + * Indicates if 'Terms and Conditions' setup pane is disabled */ - @SerializedName("awaitDeviceConfiguredConfirmation") + @SerializedName("termsAndConditionsDisabled") @Expose - public Boolean awaitDeviceConfiguredConfirmation; + public Boolean termsAndConditionsDisabled; /** - * The Shared IPad Maximum User Count. - * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. + * The Touch Id Disabled. + * Indicates if touch id setup pane is disabled */ - @SerializedName("sharedIPadMaximumUserCount") + @SerializedName("touchIdDisabled") @Expose - public Integer sharedIPadMaximumUserCount; + public Boolean touchIdDisabled; /** - * The Enable Shared IPad. - * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. + * The Zoom Disabled. + * Indicates if zoom setup pane is disabled */ - @SerializedName("enableSharedIPad") + @SerializedName("zoomDisabled") @Expose - public Boolean enableSharedIPad; + public Boolean zoomDisabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DepIOSEnrollmentProfile.java b/src/main/java/com/microsoft/graph/models/extensions/DepIOSEnrollmentProfile.java index 69b0d818e3d..8c2cdefb63f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DepIOSEnrollmentProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DepIOSEnrollmentProfile.java @@ -29,28 +29,12 @@ public class DepIOSEnrollmentProfile extends DepEnrollmentBaseProfile implements /** - * The ITunes Pairing Mode. - * Indicates the iTunes pairing mode - */ - @SerializedName("iTunesPairingMode") - @Expose - public ITunesPairingMode iTunesPairingMode; - - /** - * The Management Certificates. - * Management certificates for Apple Configurator - */ - @SerializedName("managementCertificates") - @Expose - public java.util.List managementCertificates; - - /** - * The Restore From Android Disabled. - * Indicates if Restore from Android is disabled + * The Appearance Screen Disabled. + * Indicates if Apperance screen is disabled */ - @SerializedName("restoreFromAndroidDisabled") + @SerializedName("appearanceScreenDisabled") @Expose - public Boolean restoreFromAndroidDisabled; + public Boolean appearanceScreenDisabled; /** * The Await Device Configured Confirmation. @@ -61,28 +45,28 @@ public class DepIOSEnrollmentProfile extends DepEnrollmentBaseProfile implements public Boolean awaitDeviceConfiguredConfirmation; /** - * The Shared IPad Maximum User Count. - * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. + * The Company Portal Vpp Token Id. + * If set, indicates which Vpp token should be used to deploy the Company Portal w/ device licensing. 'enableAuthenticationViaCompanyPortal' must be set in order for this property to be set. */ - @SerializedName("sharedIPadMaximumUserCount") + @SerializedName("companyPortalVppTokenId") @Expose - public Integer sharedIPadMaximumUserCount; + public String companyPortalVppTokenId; /** - * The Enable Shared IPad. - * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. + * The Device To Device Migration Disabled. + * Indicates if Device To Device Migration is disabled */ - @SerializedName("enableSharedIPad") + @SerializedName("deviceToDeviceMigrationDisabled") @Expose - public Boolean enableSharedIPad; + public Boolean deviceToDeviceMigrationDisabled; /** - * The Company Portal Vpp Token Id. - * If set, indicates which Vpp token should be used to deploy the Company Portal w/ device licensing. 'enableAuthenticationViaCompanyPortal' must be set in order for this property to be set. + * The Enable Shared IPad. + * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. */ - @SerializedName("companyPortalVppTokenId") + @SerializedName("enableSharedIPad") @Expose - public String companyPortalVppTokenId; + public Boolean enableSharedIPad; /** * The Enable Single App Enrollment Mode. @@ -92,6 +76,14 @@ public class DepIOSEnrollmentProfile extends DepEnrollmentBaseProfile implements @Expose public Boolean enableSingleAppEnrollmentMode; + /** + * The Express Language Screen Disabled. + * Indicates if Express Language screen is disabled + */ + @SerializedName("expressLanguageScreenDisabled") + @Expose + public Boolean expressLanguageScreenDisabled; + /** * The Home Button Screen Disabled. * Indicates if home button sensitivity screen is disabled @@ -109,68 +101,76 @@ public class DepIOSEnrollmentProfile extends DepEnrollmentBaseProfile implements public Boolean iMessageAndFaceTimeScreenDisabled; /** - * The On Boarding Screen Disabled. - * Indicates if onboarding setup screen is disabled + * The ITunes Pairing Mode. + * Indicates the iTunes pairing mode */ - @SerializedName("onBoardingScreenDisabled") + @SerializedName("iTunesPairingMode") @Expose - public Boolean onBoardingScreenDisabled; + public ITunesPairingMode iTunesPairingMode; /** - * The Sim Setup Screen Disabled. - * Indicates if the SIMSetup screen is disabled + * The Management Certificates. + * Management certificates for Apple Configurator */ - @SerializedName("simSetupScreenDisabled") + @SerializedName("managementCertificates") @Expose - public Boolean simSetupScreenDisabled; + public java.util.List managementCertificates; /** - * The Software Update Screen Disabled. - * Indicates if the mandatory sofware update screen is disabled + * The On Boarding Screen Disabled. + * Indicates if onboarding setup screen is disabled */ - @SerializedName("softwareUpdateScreenDisabled") + @SerializedName("onBoardingScreenDisabled") @Expose - public Boolean softwareUpdateScreenDisabled; + public Boolean onBoardingScreenDisabled; /** - * The Watch Migration Screen Disabled. - * Indicates if the watch migration screen is disabled + * The Preferred Language Screen Disabled. + * Indicates if Preferred language screen is disabled */ - @SerializedName("watchMigrationScreenDisabled") + @SerializedName("preferredLanguageScreenDisabled") @Expose - public Boolean watchMigrationScreenDisabled; + public Boolean preferredLanguageScreenDisabled; /** - * The Appearance Screen Disabled. - * Indicates if Apperance screen is disabled + * The Restore From Android Disabled. + * Indicates if Restore from Android is disabled */ - @SerializedName("appearanceScreenDisabled") + @SerializedName("restoreFromAndroidDisabled") @Expose - public Boolean appearanceScreenDisabled; + public Boolean restoreFromAndroidDisabled; /** - * The Express Language Screen Disabled. - * Indicates if Express Language screen is disabled + * The Shared IPad Maximum User Count. + * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. */ - @SerializedName("expressLanguageScreenDisabled") + @SerializedName("sharedIPadMaximumUserCount") @Expose - public Boolean expressLanguageScreenDisabled; + public Integer sharedIPadMaximumUserCount; /** - * The Preferred Language Screen Disabled. - * Indicates if Preferred language screen is disabled + * The Sim Setup Screen Disabled. + * Indicates if the SIMSetup screen is disabled */ - @SerializedName("preferredLanguageScreenDisabled") + @SerializedName("simSetupScreenDisabled") @Expose - public Boolean preferredLanguageScreenDisabled; + public Boolean simSetupScreenDisabled; /** - * The Device To Device Migration Disabled. - * Indicates if Device To Device Migration is disabled + * The Software Update Screen Disabled. + * Indicates if the mandatory sofware update screen is disabled */ - @SerializedName("deviceToDeviceMigrationDisabled") + @SerializedName("softwareUpdateScreenDisabled") @Expose - public Boolean deviceToDeviceMigrationDisabled; + public Boolean softwareUpdateScreenDisabled; + + /** + * The Watch Migration Screen Disabled. + * Indicates if the watch migration screen is disabled + */ + @SerializedName("watchMigrationScreenDisabled") + @Expose + public Boolean watchMigrationScreenDisabled; /** * The Welcome Screen Disabled. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DepMacOSEnrollmentProfile.java b/src/main/java/com/microsoft/graph/models/extensions/DepMacOSEnrollmentProfile.java index a889656af05..601f277b270 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DepMacOSEnrollmentProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DepMacOSEnrollmentProfile.java @@ -27,12 +27,12 @@ public class DepMacOSEnrollmentProfile extends DepEnrollmentBaseProfile implemen /** - * The Registration Disabled. - * Indicates if registration is disabled + * The Choose Your Lock Screen Disabled. + * Indicates if iCloud Documents and Desktop screen is disabled */ - @SerializedName("registrationDisabled") + @SerializedName("chooseYourLockScreenDisabled") @Expose - public Boolean registrationDisabled; + public Boolean chooseYourLockScreenDisabled; /** * The File Vault Disabled. @@ -59,12 +59,12 @@ public class DepMacOSEnrollmentProfile extends DepEnrollmentBaseProfile implemen public Boolean iCloudStorageDisabled; /** - * The Choose Your Lock Screen Disabled. - * Indicates if iCloud Documents and Desktop screen is disabled + * The Registration Disabled. + * Indicates if registration is disabled */ - @SerializedName("chooseYourLockScreenDisabled") + @SerializedName("registrationDisabled") @Expose - public Boolean chooseYourLockScreenDisabled; + public Boolean registrationDisabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DepOnboardingSetting.java b/src/main/java/com/microsoft/graph/models/extensions/DepOnboardingSetting.java index 64d83b7c181..b4f3219dfd5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DepOnboardingSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DepOnboardingSetting.java @@ -44,12 +44,12 @@ public class DepOnboardingSetting extends Entity implements IJsonBackedObject { public String appleIdentifier; /** - * The Token Expiration Date Time. - * When the token will expire. + * The Data Sharing Consent Granted. + * Consent granted for data sharing with Apple Dep Service */ - @SerializedName("tokenExpirationDateTime") + @SerializedName("dataSharingConsentGranted") @Expose - public java.util.Calendar tokenExpirationDateTime; + public Boolean dataSharingConsentGranted; /** * The Last Modified Date Time. @@ -67,6 +67,14 @@ public class DepOnboardingSetting extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastSuccessfulSyncDateTime; + /** + * The Last Sync Error Code. + * Error code reported by Apple during last dep sync. + */ + @SerializedName("lastSyncErrorCode") + @Expose + public Integer lastSyncErrorCode; + /** * The Last Sync Triggered Date Time. * When Intune last requested a sync. @@ -75,6 +83,14 @@ public class DepOnboardingSetting extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastSyncTriggeredDateTime; + /** + * The Role Scope Tag Ids. + * List of Scope Tags for this Entity instance. + */ + @SerializedName("roleScopeTagIds") + @Expose + public java.util.List roleScopeTagIds; + /** * The Share Token With School Data Sync Service. * Whether or not the Dep token sharing is enabled with the School Data Sync service. @@ -84,20 +100,20 @@ public class DepOnboardingSetting extends Entity implements IJsonBackedObject { public Boolean shareTokenWithSchoolDataSyncService; /** - * The Last Sync Error Code. - * Error code reported by Apple during last dep sync. + * The Synced Device Count. + * Gets synced device count */ - @SerializedName("lastSyncErrorCode") + @SerializedName("syncedDeviceCount") @Expose - public Integer lastSyncErrorCode; + public Integer syncedDeviceCount; /** - * The Token Type. - * Gets or sets the Dep Token Type. + * The Token Expiration Date Time. + * When the token will expire. */ - @SerializedName("tokenType") + @SerializedName("tokenExpirationDateTime") @Expose - public DepTokenType tokenType; + public java.util.Calendar tokenExpirationDateTime; /** * The Token Name. @@ -108,28 +124,12 @@ public class DepOnboardingSetting extends Entity implements IJsonBackedObject { public String tokenName; /** - * The Synced Device Count. - * Gets synced device count - */ - @SerializedName("syncedDeviceCount") - @Expose - public Integer syncedDeviceCount; - - /** - * The Data Sharing Consent Granted. - * Consent granted for data sharing with Apple Dep Service - */ - @SerializedName("dataSharingConsentGranted") - @Expose - public Boolean dataSharingConsentGranted; - - /** - * The Role Scope Tag Ids. - * List of Scope Tags for this Entity instance. + * The Token Type. + * Gets or sets the Dep Token Type. */ - @SerializedName("roleScopeTagIds") + @SerializedName("tokenType") @Expose - public java.util.List roleScopeTagIds; + public DepTokenType tokenType; /** * The Default Ios Enrollment Profile. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java b/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java index 98b3aedc65d..46b0d9f28e2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DetectedApp.java @@ -30,20 +30,20 @@ public class DetectedApp extends Entity implements IJsonBackedObject { /** - * The Display Name. - * Name of the discovered application. Read-only + * The Device Count. + * The number of devices that have installed this application */ - @SerializedName("displayName") + @SerializedName("deviceCount") @Expose - public String displayName; + public Integer deviceCount; /** - * The Version. - * Version of the discovered application. Read-only + * The Display Name. + * Name of the discovered application. Read-only */ - @SerializedName("version") + @SerializedName("displayName") @Expose - public String version; + public String displayName; /** * The Size In Byte. @@ -54,12 +54,12 @@ public class DetectedApp extends Entity implements IJsonBackedObject { public Long sizeInByte; /** - * The Device Count. - * The number of devices that have installed this application + * The Version. + * Version of the discovered application. Read-only */ - @SerializedName("deviceCount") + @SerializedName("version") @Expose - public Integer deviceCount; + public String version; /** * The Managed Devices. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DetectedSensitiveContentBase.java b/src/main/java/com/microsoft/graph/models/extensions/DetectedSensitiveContentBase.java index ecc82e73022..e91436938b3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DetectedSensitiveContentBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DetectedSensitiveContentBase.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Confidence. * */ - @SerializedName("id") + @SerializedName("confidence") @Expose - public java.util.UUID id; + public Integer confidence; /** * The Display Name. @@ -53,20 +53,20 @@ public final AdditionalDataManager additionalDataManager() { public String displayName; /** - * The Unique Count. + * The Id. * */ - @SerializedName("uniqueCount") + @SerializedName("id") @Expose - public Integer uniqueCount; + public java.util.UUID id; /** - * The Confidence. + * The Matches. * */ - @SerializedName("confidence") + @SerializedName("matches") @Expose - public Integer confidence; + public java.util.List matches; /** * The Recommended Confidence. @@ -77,12 +77,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer recommendedConfidence; /** - * The Matches. + * The Unique Count. * */ - @SerializedName("matches") + @SerializedName("uniqueCount") @Expose - public java.util.List matches; + public Integer uniqueCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Device.java b/src/main/java/com/microsoft/graph/models/extensions/Device.java index fa5990cbc79..b22b2f56d23 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Device.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Device.java @@ -253,12 +253,12 @@ public class Device extends DirectoryObject implements IJsonBackedObject { public String trustType; /** - * The Name. + * The Kind. * */ - @SerializedName("Name") + @SerializedName("Kind") @Expose - public String name; + public String kind; /** * The Manufacturer. @@ -277,28 +277,28 @@ public class Device extends DirectoryObject implements IJsonBackedObject { public String model; /** - * The Kind. + * The Name. * */ - @SerializedName("Kind") + @SerializedName("Name") @Expose - public String kind; + public String name; /** - * The Status. + * The Platform. * */ - @SerializedName("Status") + @SerializedName("Platform") @Expose - public String status; + public String platform; /** - * The Platform. + * The Status. * */ - @SerializedName("Platform") + @SerializedName("Status") @Expose - public String platform; + public String status; /** * The Member Of. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java index a219be723c5..fc121cc379a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceActionResult.java @@ -52,14 +52,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public ActionState actionState; - /** - * The Start Date Time. - * Time the action was initiated - */ - @SerializedName("startDateTime") - @Expose - public java.util.Calendar startDateTime; - /** * The Last Updated Date Time. * Time the action state was last updated @@ -68,6 +60,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar lastUpdatedDateTime; + /** + * The Start Date Time. + * Time the action was initiated + */ + @SerializedName("startDateTime") + @Expose + public java.util.Calendar startDateTime; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignedRoleDetails.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignedRoleDetails.java index eaf8bdc2a19..f0c13c66d72 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignedRoleDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignedRoleDetails.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Role Definition Ids. - * Role Definition IDs for the specifc Role Definitions assigned to a user. - */ - @SerializedName("roleDefinitionIds") - @Expose - public java.util.List roleDefinitionIds; - /** * The Role Assignment Ids. * Role Assignment IDs for the specifc Role Assignments assigned to a user. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List roleAssignmentIds; + /** + * The Role Definition Ids. + * Role Definition IDs for the specifc Role Definitions assigned to a user. + */ + @SerializedName("roleDefinitionIds") + @Expose + public java.util.List roleDefinitionIds; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentFilter.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentFilter.java index 02e256645bf..97924752078 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentFilter.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAndAppManagementAssignmentFilter.java @@ -36,12 +36,12 @@ public class DeviceAndAppManagementAssignmentFilter extends Entity implements IJ public java.util.Calendar createdDateTime; /** - * The Last Modified Date Time. - * Last modified time of the Assignment Filter. + * The Description. + * Description of the Assignment Filter. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("description") @Expose - public java.util.Calendar lastModifiedDateTime; + public String description; /** * The Display Name. @@ -52,12 +52,12 @@ public class DeviceAndAppManagementAssignmentFilter extends Entity implements IJ public String displayName; /** - * The Description. - * Description of the Assignment Filter. + * The Last Modified Date Time. + * Last modified time of the Assignment Filter. */ - @SerializedName("description") + @SerializedName("lastModifiedDateTime") @Expose - public String description; + public java.util.Calendar lastModifiedDateTime; /** * The Platform. @@ -67,14 +67,6 @@ public class DeviceAndAppManagementAssignmentFilter extends Entity implements IJ @Expose public DevicePlatformType platform; - /** - * The Rule. - * Rule definition of the Assignment Filter. - */ - @SerializedName("rule") - @Expose - public String rule; - /** * The Role Scope Tags. * RoleScopeTags of the Assignment Filter. @@ -83,6 +75,14 @@ public class DeviceAndAppManagementAssignmentFilter extends Entity implements IJ @Expose public java.util.List roleScopeTags; + /** + * The Rule. + * Rule definition of the Assignment Filter. + */ + @SerializedName("rule") + @Expose + public String rule; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java index 02157b07e57..a27cb02ba17 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagement.java @@ -9,72 +9,72 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.MicrosoftStoreForBusinessPortalSelectionOptions; -import com.microsoft.graph.models.extensions.ManagedEBook; -import com.microsoft.graph.models.extensions.MobileApp; -import com.microsoft.graph.models.extensions.MobileAppCategory; +import com.microsoft.graph.models.extensions.ManagedEBookCategory; import com.microsoft.graph.models.extensions.EnterpriseCodeSigningCertificate; import com.microsoft.graph.models.extensions.IosLobAppProvisioningConfiguration; -import com.microsoft.graph.models.extensions.SymantecCodeSigningCertificate; +import com.microsoft.graph.models.extensions.MobileAppCategory; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfiguration; -import com.microsoft.graph.models.extensions.ManagedEBookCategory; +import com.microsoft.graph.models.extensions.MobileApp; +import com.microsoft.graph.models.extensions.SymantecCodeSigningCertificate; +import com.microsoft.graph.models.extensions.ManagedEBook; import com.microsoft.graph.models.extensions.PolicySet; import com.microsoft.graph.models.extensions.SideLoadingKey; import com.microsoft.graph.models.extensions.VppToken; import com.microsoft.graph.models.extensions.WindowsManagementApp; -import com.microsoft.graph.models.extensions.ManagedAppPolicy; -import com.microsoft.graph.models.extensions.IosManagedAppProtection; import com.microsoft.graph.models.extensions.AndroidManagedAppProtection; import com.microsoft.graph.models.extensions.DefaultManagedAppProtection; -import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; -import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; -import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; +import com.microsoft.graph.models.extensions.IosManagedAppProtection; +import com.microsoft.graph.models.extensions.ManagedAppPolicy; import com.microsoft.graph.models.extensions.ManagedAppRegistration; import com.microsoft.graph.models.extensions.ManagedAppStatus; +import com.microsoft.graph.models.extensions.MdmWindowsInformationProtectionPolicy; +import com.microsoft.graph.models.extensions.TargetedManagedAppConfiguration; import com.microsoft.graph.models.extensions.WindowsInformationProtectionDeviceRegistration; +import com.microsoft.graph.models.extensions.WindowsInformationProtectionPolicy; import com.microsoft.graph.models.extensions.WindowsInformationProtectionWipeAction; import com.microsoft.graph.models.extensions.DeviceAppManagementTask; import com.microsoft.graph.models.extensions.WindowsDefenderApplicationControlSupplementalPolicy; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.ManagedEBookCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedEBookCollectionPage; -import com.microsoft.graph.requests.extensions.MobileAppCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppCollectionPage; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionPage; import com.microsoft.graph.requests.extensions.EnterpriseCodeSigningCertificateCollectionResponse; import com.microsoft.graph.requests.extensions.EnterpriseCodeSigningCertificateCollectionPage; import com.microsoft.graph.requests.extensions.IosLobAppProvisioningConfigurationCollectionResponse; import com.microsoft.graph.requests.extensions.IosLobAppProvisioningConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationCollectionPage; -import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionPage; +import com.microsoft.graph.requests.extensions.MobileAppCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedEBookCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedEBookCollectionPage; import com.microsoft.graph.requests.extensions.PolicySetCollectionResponse; import com.microsoft.graph.requests.extensions.PolicySetCollectionPage; import com.microsoft.graph.requests.extensions.SideLoadingKeyCollectionResponse; import com.microsoft.graph.requests.extensions.SideLoadingKeyCollectionPage; import com.microsoft.graph.requests.extensions.VppTokenCollectionResponse; import com.microsoft.graph.requests.extensions.VppTokenCollectionPage; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionPage; -import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionResponse; -import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionPage; import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionCollectionResponse; import com.microsoft.graph.requests.extensions.AndroidManagedAppProtectionCollectionPage; import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionCollectionResponse; import com.microsoft.graph.requests.extensions.DefaultManagedAppProtectionCollectionPage; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionResponse; -import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionPage; -import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionPage; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionResponse; +import com.microsoft.graph.requests.extensions.IosManagedAppProtectionCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedAppPolicyCollectionPage; import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedAppRegistrationCollectionPage; import com.microsoft.graph.requests.extensions.ManagedAppStatusCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedAppStatusCollectionPage; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.MdmWindowsInformationProtectionPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionResponse; +import com.microsoft.graph.requests.extensions.TargetedManagedAppConfigurationCollectionPage; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionDeviceRegistrationCollectionResponse; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionDeviceRegistrationCollectionPage; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsInformationProtectionPolicyCollectionPage; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionWipeActionCollectionResponse; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionWipeActionCollectionPage; import com.microsoft.graph.requests.extensions.DeviceAppManagementTaskCollectionResponse; @@ -98,14 +98,6 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { - /** - * The Microsoft Store For Business Last Successful Sync Date Time. - * The last time the apps from the Microsoft Store for Business were synced successfully for the account. - */ - @SerializedName("microsoftStoreForBusinessLastSuccessfulSyncDateTime") - @Expose - public java.util.Calendar microsoftStoreForBusinessLastSuccessfulSyncDateTime; - /** * The Is Enabled For Microsoft Store For Business. * Whether the account is enabled for syncing applications from the Microsoft Store for Business. @@ -130,6 +122,14 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar microsoftStoreForBusinessLastCompletedApplicationSyncTime; + /** + * The Microsoft Store For Business Last Successful Sync Date Time. + * The last time the apps from the Microsoft Store for Business were synced successfully for the account. + */ + @SerializedName("microsoftStoreForBusinessLastSuccessfulSyncDateTime") + @Expose + public java.util.Calendar microsoftStoreForBusinessLastSuccessfulSyncDateTime; + /** * The Microsoft Store For Business Portal Selection. * The end user portal information is used to sync applications from the Microsoft Store for Business to Intune Company Portal. There are three options to pick from ['Company portal only', 'Company portal and private store', 'Private store only'] @@ -139,16 +139,22 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { public EnumSet microsoftStoreForBusinessPortalSelection; /** - * The Managed EBooks. - * The Managed eBook. + * The Managed EBook Categories. + * The mobile eBook categories. */ - public ManagedEBookCollectionPage managedEBooks; + public ManagedEBookCategoryCollectionPage managedEBookCategories; /** - * The Mobile Apps. - * The mobile apps. + * The Enterprise Code Signing Certificates. + * The Windows Enterprise Code Signing Certificate. */ - public MobileAppCollectionPage mobileApps; + public EnterpriseCodeSigningCertificateCollectionPage enterpriseCodeSigningCertificates; + + /** + * The Ios Lob App Provisioning Configurations. + * The IOS Lob App Provisioning Configurations. + */ + public IosLobAppProvisioningConfigurationCollectionPage iosLobAppProvisioningConfigurations; /** * The Mobile App Categories. @@ -157,16 +163,16 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { public MobileAppCategoryCollectionPage mobileAppCategories; /** - * The Enterprise Code Signing Certificates. - * The Windows Enterprise Code Signing Certificate. + * The Mobile App Configurations. + * The Managed Device Mobile Application Configurations. */ - public EnterpriseCodeSigningCertificateCollectionPage enterpriseCodeSigningCertificates; + public ManagedDeviceMobileAppConfigurationCollectionPage mobileAppConfigurations; /** - * The Ios Lob App Provisioning Configurations. - * The IOS Lob App Provisioning Configurations. + * The Mobile Apps. + * The mobile apps. */ - public IosLobAppProvisioningConfigurationCollectionPage iosLobAppProvisioningConfigurations; + public MobileAppCollectionPage mobileApps; /** * The Symantec Code Signing Certificate. @@ -177,16 +183,10 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { public SymantecCodeSigningCertificate symantecCodeSigningCertificate; /** - * The Mobile App Configurations. - * The Managed Device Mobile Application Configurations. - */ - public ManagedDeviceMobileAppConfigurationCollectionPage mobileAppConfigurations; - - /** - * The Managed EBook Categories. - * The mobile eBook categories. + * The Managed EBooks. + * The Managed eBook. */ - public ManagedEBookCategoryCollectionPage managedEBookCategories; + public ManagedEBookCollectionPage managedEBooks; /** * The Policy Sets. @@ -214,18 +214,6 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { @Expose public WindowsManagementApp windowsManagementApp; - /** - * The Managed App Policies. - * Managed app policies. - */ - public ManagedAppPolicyCollectionPage managedAppPolicies; - - /** - * The Ios Managed App Protections. - * iOS managed app policies. - */ - public IosManagedAppProtectionCollectionPage iosManagedAppProtections; - /** * The Android Managed App Protections. * Android managed app policies. @@ -239,22 +227,16 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { public DefaultManagedAppProtectionCollectionPage defaultManagedAppProtections; /** - * The Targeted Managed App Configurations. - * Targeted managed app configurations. - */ - public TargetedManagedAppConfigurationCollectionPage targetedManagedAppConfigurations; - - /** - * The Mdm Windows Information Protection Policies. - * Windows information protection for apps running on devices which are MDM enrolled. + * The Ios Managed App Protections. + * iOS managed app policies. */ - public MdmWindowsInformationProtectionPolicyCollectionPage mdmWindowsInformationProtectionPolicies; + public IosManagedAppProtectionCollectionPage iosManagedAppProtections; /** - * The Windows Information Protection Policies. - * Windows information protection for apps running on devices which are not MDM enrolled. + * The Managed App Policies. + * Managed app policies. */ - public WindowsInformationProtectionPolicyCollectionPage windowsInformationProtectionPolicies; + public ManagedAppPolicyCollectionPage managedAppPolicies; /** * The Managed App Registrations. @@ -268,12 +250,30 @@ public class DeviceAppManagement extends Entity implements IJsonBackedObject { */ public ManagedAppStatusCollectionPage managedAppStatuses; + /** + * The Mdm Windows Information Protection Policies. + * Windows information protection for apps running on devices which are MDM enrolled. + */ + public MdmWindowsInformationProtectionPolicyCollectionPage mdmWindowsInformationProtectionPolicies; + + /** + * The Targeted Managed App Configurations. + * Targeted managed app configurations. + */ + public TargetedManagedAppConfigurationCollectionPage targetedManagedAppConfigurations; + /** * The Windows Information Protection Device Registrations. * Windows information protection device registrations that are not MDM enrolled. */ public WindowsInformationProtectionDeviceRegistrationCollectionPage windowsInformationProtectionDeviceRegistrations; + /** + * The Windows Information Protection Policies. + * Windows information protection for apps running on devices which are not MDM enrolled. + */ + public WindowsInformationProtectionPolicyCollectionPage windowsInformationProtectionPolicies; + /** * The Windows Information Protection Wipe Actions. * Windows information protection wipe actions. @@ -332,52 +332,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("managedEBooks")) { - final ManagedEBookCollectionResponse response = new ManagedEBookCollectionResponse(); - if (json.has("managedEBooks@odata.nextLink")) { - response.nextLink = json.get("managedEBooks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedEBooks").toString(), JsonObject[].class); - final ManagedEBook[] array = new ManagedEBook[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBook.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedEBooks = new ManagedEBookCollectionPage(response, null); - } - - if (json.has("mobileApps")) { - final MobileAppCollectionResponse response = new MobileAppCollectionResponse(); - if (json.has("mobileApps@odata.nextLink")) { - response.nextLink = json.get("mobileApps@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileApps").toString(), JsonObject[].class); - final MobileApp[] array = new MobileApp[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileApp.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - mobileApps = new MobileAppCollectionPage(response, null); - } - - if (json.has("mobileAppCategories")) { - final MobileAppCategoryCollectionResponse response = new MobileAppCategoryCollectionResponse(); - if (json.has("mobileAppCategories@odata.nextLink")) { - response.nextLink = json.get("mobileAppCategories@odata.nextLink").getAsString(); + if (json.has("managedEBookCategories")) { + final ManagedEBookCategoryCollectionResponse response = new ManagedEBookCategoryCollectionResponse(); + if (json.has("managedEBookCategories@odata.nextLink")) { + response.nextLink = json.get("managedEBookCategories@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppCategories").toString(), JsonObject[].class); - final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedEBookCategories").toString(), JsonObject[].class); + final ManagedEBookCategory[] array = new ManagedEBookCategory[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBookCategory.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - mobileAppCategories = new MobileAppCategoryCollectionPage(response, null); + managedEBookCategories = new ManagedEBookCategoryCollectionPage(response, null); } if (json.has("enterpriseCodeSigningCertificates")) { @@ -412,6 +380,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { iosLobAppProvisioningConfigurations = new IosLobAppProvisioningConfigurationCollectionPage(response, null); } + if (json.has("mobileAppCategories")) { + final MobileAppCategoryCollectionResponse response = new MobileAppCategoryCollectionResponse(); + if (json.has("mobileAppCategories@odata.nextLink")) { + response.nextLink = json.get("mobileAppCategories@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppCategories").toString(), JsonObject[].class); + final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mobileAppCategories = new MobileAppCategoryCollectionPage(response, null); + } + if (json.has("mobileAppConfigurations")) { final ManagedDeviceMobileAppConfigurationCollectionResponse response = new ManagedDeviceMobileAppConfigurationCollectionResponse(); if (json.has("mobileAppConfigurations@odata.nextLink")) { @@ -428,20 +412,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { mobileAppConfigurations = new ManagedDeviceMobileAppConfigurationCollectionPage(response, null); } - if (json.has("managedEBookCategories")) { - final ManagedEBookCategoryCollectionResponse response = new ManagedEBookCategoryCollectionResponse(); - if (json.has("managedEBookCategories@odata.nextLink")) { - response.nextLink = json.get("managedEBookCategories@odata.nextLink").getAsString(); + if (json.has("mobileApps")) { + final MobileAppCollectionResponse response = new MobileAppCollectionResponse(); + if (json.has("mobileApps@odata.nextLink")) { + response.nextLink = json.get("mobileApps@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedEBookCategories").toString(), JsonObject[].class); - final ManagedEBookCategory[] array = new ManagedEBookCategory[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileApps").toString(), JsonObject[].class); + final MobileApp[] array = new MobileApp[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBookCategory.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileApp.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - managedEBookCategories = new ManagedEBookCategoryCollectionPage(response, null); + mobileApps = new MobileAppCollectionPage(response, null); + } + + if (json.has("managedEBooks")) { + final ManagedEBookCollectionResponse response = new ManagedEBookCollectionResponse(); + if (json.has("managedEBooks@odata.nextLink")) { + response.nextLink = json.get("managedEBooks@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedEBooks").toString(), JsonObject[].class); + final ManagedEBook[] array = new ManagedEBook[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBook.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + managedEBooks = new ManagedEBookCollectionPage(response, null); } if (json.has("policySets")) { @@ -492,38 +492,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { vppTokens = new VppTokenCollectionPage(response, null); } - if (json.has("managedAppPolicies")) { - final ManagedAppPolicyCollectionResponse response = new ManagedAppPolicyCollectionResponse(); - if (json.has("managedAppPolicies@odata.nextLink")) { - response.nextLink = json.get("managedAppPolicies@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppPolicies").toString(), JsonObject[].class); - final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - managedAppPolicies = new ManagedAppPolicyCollectionPage(response, null); - } - - if (json.has("iosManagedAppProtections")) { - final IosManagedAppProtectionCollectionResponse response = new IosManagedAppProtectionCollectionResponse(); - if (json.has("iosManagedAppProtections@odata.nextLink")) { - response.nextLink = json.get("iosManagedAppProtections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosManagedAppProtections").toString(), JsonObject[].class); - final IosManagedAppProtection[] array = new IosManagedAppProtection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosManagedAppProtection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - iosManagedAppProtections = new IosManagedAppProtectionCollectionPage(response, null); - } - if (json.has("androidManagedAppProtections")) { final AndroidManagedAppProtectionCollectionResponse response = new AndroidManagedAppProtectionCollectionResponse(); if (json.has("androidManagedAppProtections@odata.nextLink")) { @@ -556,52 +524,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { defaultManagedAppProtections = new DefaultManagedAppProtectionCollectionPage(response, null); } - if (json.has("targetedManagedAppConfigurations")) { - final TargetedManagedAppConfigurationCollectionResponse response = new TargetedManagedAppConfigurationCollectionResponse(); - if (json.has("targetedManagedAppConfigurations@odata.nextLink")) { - response.nextLink = json.get("targetedManagedAppConfigurations@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("targetedManagedAppConfigurations").toString(), JsonObject[].class); - final TargetedManagedAppConfiguration[] array = new TargetedManagedAppConfiguration[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppConfiguration.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - targetedManagedAppConfigurations = new TargetedManagedAppConfigurationCollectionPage(response, null); - } - - if (json.has("mdmWindowsInformationProtectionPolicies")) { - final MdmWindowsInformationProtectionPolicyCollectionResponse response = new MdmWindowsInformationProtectionPolicyCollectionResponse(); - if (json.has("mdmWindowsInformationProtectionPolicies@odata.nextLink")) { - response.nextLink = json.get("mdmWindowsInformationProtectionPolicies@odata.nextLink").getAsString(); + if (json.has("iosManagedAppProtections")) { + final IosManagedAppProtectionCollectionResponse response = new IosManagedAppProtectionCollectionResponse(); + if (json.has("iosManagedAppProtections@odata.nextLink")) { + response.nextLink = json.get("iosManagedAppProtections@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mdmWindowsInformationProtectionPolicies").toString(), JsonObject[].class); - final MdmWindowsInformationProtectionPolicy[] array = new MdmWindowsInformationProtectionPolicy[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosManagedAppProtections").toString(), JsonObject[].class); + final IosManagedAppProtection[] array = new IosManagedAppProtection[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MdmWindowsInformationProtectionPolicy.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosManagedAppProtection.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - mdmWindowsInformationProtectionPolicies = new MdmWindowsInformationProtectionPolicyCollectionPage(response, null); + iosManagedAppProtections = new IosManagedAppProtectionCollectionPage(response, null); } - if (json.has("windowsInformationProtectionPolicies")) { - final WindowsInformationProtectionPolicyCollectionResponse response = new WindowsInformationProtectionPolicyCollectionResponse(); - if (json.has("windowsInformationProtectionPolicies@odata.nextLink")) { - response.nextLink = json.get("windowsInformationProtectionPolicies@odata.nextLink").getAsString(); + if (json.has("managedAppPolicies")) { + final ManagedAppPolicyCollectionResponse response = new ManagedAppPolicyCollectionResponse(); + if (json.has("managedAppPolicies@odata.nextLink")) { + response.nextLink = json.get("managedAppPolicies@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionPolicies").toString(), JsonObject[].class); - final WindowsInformationProtectionPolicy[] array = new WindowsInformationProtectionPolicy[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("managedAppPolicies").toString(), JsonObject[].class); + final ManagedAppPolicy[] array = new ManagedAppPolicy[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionPolicy.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAppPolicy.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - windowsInformationProtectionPolicies = new WindowsInformationProtectionPolicyCollectionPage(response, null); + managedAppPolicies = new ManagedAppPolicyCollectionPage(response, null); } if (json.has("managedAppRegistrations")) { @@ -636,6 +588,38 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { managedAppStatuses = new ManagedAppStatusCollectionPage(response, null); } + if (json.has("mdmWindowsInformationProtectionPolicies")) { + final MdmWindowsInformationProtectionPolicyCollectionResponse response = new MdmWindowsInformationProtectionPolicyCollectionResponse(); + if (json.has("mdmWindowsInformationProtectionPolicies@odata.nextLink")) { + response.nextLink = json.get("mdmWindowsInformationProtectionPolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mdmWindowsInformationProtectionPolicies").toString(), JsonObject[].class); + final MdmWindowsInformationProtectionPolicy[] array = new MdmWindowsInformationProtectionPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MdmWindowsInformationProtectionPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + mdmWindowsInformationProtectionPolicies = new MdmWindowsInformationProtectionPolicyCollectionPage(response, null); + } + + if (json.has("targetedManagedAppConfigurations")) { + final TargetedManagedAppConfigurationCollectionResponse response = new TargetedManagedAppConfigurationCollectionResponse(); + if (json.has("targetedManagedAppConfigurations@odata.nextLink")) { + response.nextLink = json.get("targetedManagedAppConfigurations@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("targetedManagedAppConfigurations").toString(), JsonObject[].class); + final TargetedManagedAppConfiguration[] array = new TargetedManagedAppConfiguration[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TargetedManagedAppConfiguration.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + targetedManagedAppConfigurations = new TargetedManagedAppConfigurationCollectionPage(response, null); + } + if (json.has("windowsInformationProtectionDeviceRegistrations")) { final WindowsInformationProtectionDeviceRegistrationCollectionResponse response = new WindowsInformationProtectionDeviceRegistrationCollectionResponse(); if (json.has("windowsInformationProtectionDeviceRegistrations@odata.nextLink")) { @@ -652,6 +636,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { windowsInformationProtectionDeviceRegistrations = new WindowsInformationProtectionDeviceRegistrationCollectionPage(response, null); } + if (json.has("windowsInformationProtectionPolicies")) { + final WindowsInformationProtectionPolicyCollectionResponse response = new WindowsInformationProtectionPolicyCollectionResponse(); + if (json.has("windowsInformationProtectionPolicies@odata.nextLink")) { + response.nextLink = json.get("windowsInformationProtectionPolicies@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsInformationProtectionPolicies").toString(), JsonObject[].class); + final WindowsInformationProtectionPolicy[] array = new WindowsInformationProtectionPolicy[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsInformationProtectionPolicy.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + windowsInformationProtectionPolicies = new WindowsInformationProtectionPolicyCollectionPage(response, null); + } + if (json.has("windowsInformationProtectionWipeActions")) { final WindowsInformationProtectionWipeActionCollectionResponse response = new WindowsInformationProtectionWipeActionCollectionResponse(); if (json.has("windowsInformationProtectionWipeActions@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagementTask.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagementTask.java index 915bb3de917..4545d6d9703 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagementTask.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceAppManagementTask.java @@ -30,20 +30,20 @@ public class DeviceAppManagementTask extends Entity implements IJsonBackedObject /** - * The Display Name. - * The name. + * The Assigned To. + * The name or email of the admin this task is assigned to. */ - @SerializedName("displayName") + @SerializedName("assignedTo") @Expose - public String displayName; + public String assignedTo; /** - * The Description. - * The description. + * The Category. + * The category. */ - @SerializedName("description") + @SerializedName("category") @Expose - public String description; + public DeviceAppManagementTaskCategory category; /** * The Created Date Time. @@ -54,52 +54,52 @@ public class DeviceAppManagementTask extends Entity implements IJsonBackedObject public java.util.Calendar createdDateTime; /** - * The Due Date Time. - * The due date. + * The Creator. + * The email address of the creator. */ - @SerializedName("dueDateTime") + @SerializedName("creator") @Expose - public java.util.Calendar dueDateTime; + public String creator; /** - * The Category. - * The category. + * The Creator Notes. + * Notes from the creator. */ - @SerializedName("category") + @SerializedName("creatorNotes") @Expose - public DeviceAppManagementTaskCategory category; + public String creatorNotes; /** - * The Priority. - * The priority. + * The Description. + * The description. */ - @SerializedName("priority") + @SerializedName("description") @Expose - public DeviceAppManagementTaskPriority priority; + public String description; /** - * The Creator. - * The email address of the creator. + * The Display Name. + * The name. */ - @SerializedName("creator") + @SerializedName("displayName") @Expose - public String creator; + public String displayName; /** - * The Creator Notes. - * Notes from the creator. + * The Due Date Time. + * The due date. */ - @SerializedName("creatorNotes") + @SerializedName("dueDateTime") @Expose - public String creatorNotes; + public java.util.Calendar dueDateTime; /** - * The Assigned To. - * The name or email of the admin this task is assigned to. + * The Priority. + * The priority. */ - @SerializedName("assignedTo") + @SerializedName("priority") @Expose - public String assignedTo; + public DeviceAppManagementTaskPriority priority; /** * The Status. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java index aa1adc6ce2b..6436c971756 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCategory.java @@ -26,14 +26,6 @@ public class DeviceCategory extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * Display name for the device category. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * Optional description for the device category. @@ -42,6 +34,14 @@ public class DeviceCategory extends Entity implements IJsonBackedObject { @Expose public String description; + /** + * The Display Name. + * Display name for the device category. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Role Scope Tag Ids. * Optional role scope tags for the device category. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java index b3e0d2fe134..f7fc9a5a42b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceActionItem.java @@ -27,14 +27,6 @@ public class DeviceComplianceActionItem extends Entity implements IJsonBackedObject { - /** - * The Grace Period Hours. - * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 - */ - @SerializedName("gracePeriodHours") - @Expose - public Integer gracePeriodHours; - /** * The Action Type. * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification. @@ -44,12 +36,12 @@ public class DeviceComplianceActionItem extends Entity implements IJsonBackedObj public DeviceComplianceActionType actionType; /** - * The Notification Template Id. - * What notification Message template to use + * The Grace Period Hours. + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 */ - @SerializedName("notificationTemplateId") + @SerializedName("gracePeriodHours") @Expose - public String notificationTemplateId; + public Integer gracePeriodHours; /** * The Notification Message CCList. @@ -59,6 +51,14 @@ public class DeviceComplianceActionItem extends Entity implements IJsonBackedObj @Expose public java.util.List notificationMessageCCList; + /** + * The Notification Template Id. + * What notification Message template to use + */ + @SerializedName("notificationTemplateId") + @Expose + public String notificationTemplateId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java index bb25adc675e..71646ccf64d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceOverview.java @@ -27,36 +27,20 @@ public class DeviceComplianceDeviceOverview extends Entity implements IJsonBacke /** - * The Pending Count. - * Number of pending devices - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Not Applicable Platform Count. - * Number of not applicable devices due to mismatch platform and policy + * The Configuration Version. + * Version of the policy for that overview */ - @SerializedName("notApplicablePlatformCount") + @SerializedName("configurationVersion") @Expose - public Integer notApplicablePlatformCount; + public Integer configurationVersion; /** - * The Success Count. - * Number of succeeded devices + * The Conflict Count. + * Number of devices in conflict */ - @SerializedName("successCount") + @SerializedName("conflictCount") @Expose - public Integer successCount; + public Integer conflictCount; /** * The Error Count. @@ -74,14 +58,6 @@ public class DeviceComplianceDeviceOverview extends Entity implements IJsonBacke @Expose public Integer failedCount; - /** - * The Conflict Count. - * Number of devices in conflict - */ - @SerializedName("conflictCount") - @Expose - public Integer conflictCount; - /** * The Last Update Date Time. * Last update time @@ -91,12 +67,36 @@ public class DeviceComplianceDeviceOverview extends Entity implements IJsonBacke public java.util.Calendar lastUpdateDateTime; /** - * The Configuration Version. - * Version of the policy for that overview + * The Not Applicable Count. + * Number of not applicable devices */ - @SerializedName("configurationVersion") + @SerializedName("notApplicableCount") @Expose - public Integer configurationVersion; + public Integer notApplicableCount; + + /** + * The Not Applicable Platform Count. + * Number of not applicable devices due to mismatch platform and policy + */ + @SerializedName("notApplicablePlatformCount") + @Expose + public Integer notApplicablePlatformCount; + + /** + * The Pending Count. + * Number of pending devices + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Success Count. + * Number of succeeded devices + */ + @SerializedName("successCount") + @Expose + public Integer successCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java index 188b791515d..3ee7050835d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceDeviceStatus.java @@ -28,20 +28,20 @@ public class DeviceComplianceDeviceStatus extends Entity implements IJsonBackedO /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires */ - @SerializedName("deviceDisplayName") + @SerializedName("complianceGracePeriodExpirationDateTime") @Expose - public String deviceDisplayName; + public java.util.Calendar complianceGracePeriodExpirationDateTime; /** - * The User Name. - * The User Name that is being reported + * The Device Display Name. + * Device name of the DevicePolicyStatus. */ - @SerializedName("userName") + @SerializedName("deviceDisplayName") @Expose - public String userName; + public String deviceDisplayName; /** * The Device Model. @@ -52,20 +52,20 @@ public class DeviceComplianceDeviceStatus extends Entity implements IJsonBackedO public String deviceModel; /** - * The Platform. - * Platform of the device that is being reported + * The Last Reported Date Time. + * Last modified date time of the policy report. */ - @SerializedName("platform") + @SerializedName("lastReportedDateTime") @Expose - public Integer platform; + public java.util.Calendar lastReportedDateTime; /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires + * The Platform. + * Platform of the device that is being reported */ - @SerializedName("complianceGracePeriodExpirationDateTime") + @SerializedName("platform") @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; + public Integer platform; /** * The Status. @@ -76,12 +76,12 @@ public class DeviceComplianceDeviceStatus extends Entity implements IJsonBackedO public ComplianceStatus status; /** - * The Last Reported Date Time. - * Last modified date time of the policy report. + * The User Name. + * The User Name that is being reported */ - @SerializedName("lastReportedDateTime") + @SerializedName("userName") @Expose - public java.util.Calendar lastReportedDateTime; + public String userName; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java index 14df035f575..0de0b3475b3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicy.java @@ -8,24 +8,24 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; import com.microsoft.graph.models.extensions.DeviceComplianceDeviceStatus; -import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; import com.microsoft.graph.models.extensions.DeviceComplianceDeviceOverview; +import com.microsoft.graph.models.extensions.DeviceComplianceScheduledActionForRule; +import com.microsoft.graph.models.extensions.DeviceComplianceUserStatus; import com.microsoft.graph.models.extensions.DeviceComplianceUserOverview; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicyAssignment; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceComplianceDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceComplianceScheduledActionForRuleCollectionPage; import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceComplianceUserStatusCollectionPage; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyAssignmentCollectionPage; import com.google.gson.JsonObject; @@ -43,14 +43,6 @@ public class DeviceCompliancePolicy extends Entity implements IJsonBackedObject { - /** - * The Role Scope Tag Ids. - * List of Scope Tags for this Entity instance. - */ - @SerializedName("roleScopeTagIds") - @Expose - public java.util.List roleScopeTagIds; - /** * The Created Date Time. * DateTime the object was created. @@ -67,6 +59,14 @@ public class DeviceCompliancePolicy extends Entity implements IJsonBackedObject @Expose public String description; + /** + * The Display Name. + * Admin provided name of the device configuration. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Last Modified Date Time. * DateTime the object was last modified. @@ -76,12 +76,12 @@ public class DeviceCompliancePolicy extends Entity implements IJsonBackedObject public java.util.Calendar lastModifiedDateTime; /** - * The Display Name. - * Admin provided name of the device configuration. + * The Role Scope Tag Ids. + * List of Scope Tags for this Entity instance. */ - @SerializedName("displayName") + @SerializedName("roleScopeTagIds") @Expose - public String displayName; + public java.util.List roleScopeTagIds; /** * The Version. @@ -92,22 +92,22 @@ public class DeviceCompliancePolicy extends Entity implements IJsonBackedObject public Integer version; /** - * The Scheduled Actions For Rule. - * The list of scheduled action for this rule + * The Assignments. + * The collection of assignments for this compliance policy. */ - public DeviceComplianceScheduledActionForRuleCollectionPage scheduledActionsForRule; + public DeviceCompliancePolicyAssignmentCollectionPage assignments; /** - * The Device Statuses. - * List of DeviceComplianceDeviceStatus. + * The Device Setting State Summaries. + * Compliance Setting State Device Summary */ - public DeviceComplianceDeviceStatusCollectionPage deviceStatuses; + public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; /** - * The User Statuses. - * List of DeviceComplianceUserStatus. + * The Device Statuses. + * List of DeviceComplianceDeviceStatus. */ - public DeviceComplianceUserStatusCollectionPage userStatuses; + public DeviceComplianceDeviceStatusCollectionPage deviceStatuses; /** * The Device Status Overview. @@ -118,24 +118,24 @@ public class DeviceCompliancePolicy extends Entity implements IJsonBackedObject public DeviceComplianceDeviceOverview deviceStatusOverview; /** - * The User Status Overview. - * Device compliance users status overview + * The Scheduled Actions For Rule. + * The list of scheduled action for this rule */ - @SerializedName("userStatusOverview") - @Expose - public DeviceComplianceUserOverview userStatusOverview; + public DeviceComplianceScheduledActionForRuleCollectionPage scheduledActionsForRule; /** - * The Device Setting State Summaries. - * Compliance Setting State Device Summary + * The User Statuses. + * List of DeviceComplianceUserStatus. */ - public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; + public DeviceComplianceUserStatusCollectionPage userStatuses; /** - * The Assignments. - * The collection of assignments for this compliance policy. + * The User Status Overview. + * Device compliance users status overview */ - public DeviceCompliancePolicyAssignmentCollectionPage assignments; + @SerializedName("userStatusOverview") + @Expose + public DeviceComplianceUserOverview userStatusOverview; /** @@ -177,84 +177,84 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("scheduledActionsForRule")) { - final DeviceComplianceScheduledActionForRuleCollectionResponse response = new DeviceComplianceScheduledActionForRuleCollectionResponse(); - if (json.has("scheduledActionsForRule@odata.nextLink")) { - response.nextLink = json.get("scheduledActionsForRule@odata.nextLink").getAsString(); + if (json.has("assignments")) { + final DeviceCompliancePolicyAssignmentCollectionResponse response = new DeviceCompliancePolicyAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("scheduledActionsForRule").toString(), JsonObject[].class); - final DeviceComplianceScheduledActionForRule[] array = new DeviceComplianceScheduledActionForRule[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final DeviceCompliancePolicyAssignment[] array = new DeviceCompliancePolicyAssignment[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceScheduledActionForRule.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicyAssignment.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - scheduledActionsForRule = new DeviceComplianceScheduledActionForRuleCollectionPage(response, null); + assignments = new DeviceCompliancePolicyAssignmentCollectionPage(response, null); } - if (json.has("deviceStatuses")) { - final DeviceComplianceDeviceStatusCollectionResponse response = new DeviceComplianceDeviceStatusCollectionResponse(); - if (json.has("deviceStatuses@odata.nextLink")) { - response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); + if (json.has("deviceSettingStateSummaries")) { + final SettingStateDeviceSummaryCollectionResponse response = new SettingStateDeviceSummaryCollectionResponse(); + if (json.has("deviceSettingStateSummaries@odata.nextLink")) { + response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); - final DeviceComplianceDeviceStatus[] array = new DeviceComplianceDeviceStatus[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); + final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceDeviceStatus.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceStatuses = new DeviceComplianceDeviceStatusCollectionPage(response, null); + deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); } - if (json.has("userStatuses")) { - final DeviceComplianceUserStatusCollectionResponse response = new DeviceComplianceUserStatusCollectionResponse(); - if (json.has("userStatuses@odata.nextLink")) { - response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); + if (json.has("deviceStatuses")) { + final DeviceComplianceDeviceStatusCollectionResponse response = new DeviceComplianceDeviceStatusCollectionResponse(); + if (json.has("deviceStatuses@odata.nextLink")) { + response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); - final DeviceComplianceUserStatus[] array = new DeviceComplianceUserStatus[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); + final DeviceComplianceDeviceStatus[] array = new DeviceComplianceDeviceStatus[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceUserStatus.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceDeviceStatus.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - userStatuses = new DeviceComplianceUserStatusCollectionPage(response, null); + deviceStatuses = new DeviceComplianceDeviceStatusCollectionPage(response, null); } - if (json.has("deviceSettingStateSummaries")) { - final SettingStateDeviceSummaryCollectionResponse response = new SettingStateDeviceSummaryCollectionResponse(); - if (json.has("deviceSettingStateSummaries@odata.nextLink")) { - response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); + if (json.has("scheduledActionsForRule")) { + final DeviceComplianceScheduledActionForRuleCollectionResponse response = new DeviceComplianceScheduledActionForRuleCollectionResponse(); + if (json.has("scheduledActionsForRule@odata.nextLink")) { + response.nextLink = json.get("scheduledActionsForRule@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); - final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("scheduledActionsForRule").toString(), JsonObject[].class); + final DeviceComplianceScheduledActionForRule[] array = new DeviceComplianceScheduledActionForRule[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceScheduledActionForRule.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); + scheduledActionsForRule = new DeviceComplianceScheduledActionForRuleCollectionPage(response, null); } - if (json.has("assignments")) { - final DeviceCompliancePolicyAssignmentCollectionResponse response = new DeviceCompliancePolicyAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); + if (json.has("userStatuses")) { + final DeviceComplianceUserStatusCollectionResponse response = new DeviceComplianceUserStatusCollectionResponse(); + if (json.has("userStatuses@odata.nextLink")) { + response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final DeviceCompliancePolicyAssignment[] array = new DeviceCompliancePolicyAssignment[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); + final DeviceComplianceUserStatus[] array = new DeviceComplianceUserStatus[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceCompliancePolicyAssignment.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceUserStatus.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - assignments = new DeviceCompliancePolicyAssignmentCollectionPage(response, null); + userStatuses = new DeviceComplianceUserStatusCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java index e793a2106e8..b5d38224d6d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyAssignment.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.generated.DeviceAndAppManagementAssignmentSource; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.Entity; @@ -28,14 +28,6 @@ public class DeviceCompliancePolicyAssignment extends Entity implements IJsonBackedObject { - /** - * The Target. - * Target for the compliance policy assignment. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - /** * The Source. * The assignment source for the device compliance policy, direct or parcel/policySet. @@ -52,6 +44,14 @@ public class DeviceCompliancePolicyAssignment extends Entity implements IJsonBac @Expose public String sourceId; + /** + * The Target. + * Target for the compliance policy assignment. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java index 310711bead4..09d23ce7ef0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyDeviceStateSummary.java @@ -27,12 +27,12 @@ public class DeviceCompliancePolicyDeviceStateSummary extends Entity implements /** - * The In Grace Period Count. - * Number of devices that are in grace period + * The Compliant Device Count. + * Number of compliant devices */ - @SerializedName("inGracePeriodCount") + @SerializedName("compliantDeviceCount") @Expose - public Integer inGracePeriodCount; + public Integer compliantDeviceCount; /** * The Config Manager Count. @@ -43,36 +43,28 @@ public class DeviceCompliancePolicyDeviceStateSummary extends Entity implements public Integer configManagerCount; /** - * The Unknown Device Count. - * Number of unknown devices - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Not Applicable Device Count. - * Number of not applicable devices + * The Conflict Device Count. + * Number of conflict devices */ - @SerializedName("notApplicableDeviceCount") + @SerializedName("conflictDeviceCount") @Expose - public Integer notApplicableDeviceCount; + public Integer conflictDeviceCount; /** - * The Compliant Device Count. - * Number of compliant devices + * The Error Device Count. + * Number of error devices */ - @SerializedName("compliantDeviceCount") + @SerializedName("errorDeviceCount") @Expose - public Integer compliantDeviceCount; + public Integer errorDeviceCount; /** - * The Remediated Device Count. - * Number of remediated devices + * The In Grace Period Count. + * Number of devices that are in grace period */ - @SerializedName("remediatedDeviceCount") + @SerializedName("inGracePeriodCount") @Expose - public Integer remediatedDeviceCount; + public Integer inGracePeriodCount; /** * The Non Compliant Device Count. @@ -83,20 +75,28 @@ public class DeviceCompliancePolicyDeviceStateSummary extends Entity implements public Integer nonCompliantDeviceCount; /** - * The Error Device Count. - * Number of error devices + * The Not Applicable Device Count. + * Number of not applicable devices */ - @SerializedName("errorDeviceCount") + @SerializedName("notApplicableDeviceCount") @Expose - public Integer errorDeviceCount; + public Integer notApplicableDeviceCount; /** - * The Conflict Device Count. - * Number of conflict devices + * The Remediated Device Count. + * Number of remediated devices */ - @SerializedName("conflictDeviceCount") + @SerializedName("remediatedDeviceCount") @Expose - public Integer conflictDeviceCount; + public Integer remediatedDeviceCount; + + /** + * The Unknown Device Count. + * Number of unknown devices + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyGroupAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyGroupAssignment.java index fc9d699f262..5487d1952b5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyGroupAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyGroupAssignment.java @@ -27,14 +27,6 @@ public class DeviceCompliancePolicyGroupAssignment extends Entity implements IJsonBackedObject { - /** - * The Target Group Id. - * The Id of the AAD group we are targeting the device compliance policy to. - */ - @SerializedName("targetGroupId") - @Expose - public String targetGroupId; - /** * The Exclude Group. * Indicates if this group is should be excluded. Defaults that the group should be included @@ -43,6 +35,14 @@ public class DeviceCompliancePolicyGroupAssignment extends Entity implements IJs @Expose public Boolean excludeGroup; + /** + * The Target Group Id. + * The Id of the AAD group we are targeting the device compliance policy to. + */ + @SerializedName("targetGroupId") + @Expose + public String targetGroupId; + /** * The Device Compliance Policy. * The navigation link to the device compliance polic targeted. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java index 3ff44c2b1a8..df1d6c17a31 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingState.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; import com.microsoft.graph.models.extensions.SettingSource; +import com.microsoft.graph.models.generated.ComplianceStatus; import com.google.gson.JsonObject; @@ -38,20 +38,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Setting. - * The setting that is being reported + * The Current Value. + * Current value of setting on device */ - @SerializedName("setting") + @SerializedName("currentValue") @Expose - public String setting; + public String currentValue; /** - * The Setting Name. - * Localized/user friendly setting name that is being reported + * The Error Code. + * Error code for the setting */ - @SerializedName("settingName") + @SerializedName("errorCode") @Expose - public String settingName; + public Long errorCode; + + /** + * The Error Description. + * Error description + */ + @SerializedName("errorDescription") + @Expose + public String errorDescription; /** * The Instance Display Name. @@ -62,44 +70,44 @@ public final AdditionalDataManager additionalDataManager() { public String instanceDisplayName; /** - * The State. - * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * The Setting. + * The setting that is being reported */ - @SerializedName("state") + @SerializedName("setting") @Expose - public ComplianceStatus state; + public String setting; /** - * The Error Code. - * Error code for the setting + * The Setting Instance Id. + * SettingInstanceId */ - @SerializedName("errorCode") + @SerializedName("settingInstanceId") @Expose - public Long errorCode; + public String settingInstanceId; /** - * The Error Description. - * Error description + * The Setting Name. + * Localized/user friendly setting name that is being reported */ - @SerializedName("errorDescription") + @SerializedName("settingName") @Expose - public String errorDescription; + public String settingName; /** - * The User Id. - * UserId + * The Sources. + * Contributing policies */ - @SerializedName("userId") + @SerializedName("sources") @Expose - public String userId; + public java.util.List sources; /** - * The User Name. - * UserName + * The State. + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. */ - @SerializedName("userName") + @SerializedName("state") @Expose - public String userName; + public ComplianceStatus state; /** * The User Email. @@ -110,36 +118,28 @@ public final AdditionalDataManager additionalDataManager() { public String userEmail; /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Sources. - * Contributing policies + * The User Id. + * UserId */ - @SerializedName("sources") + @SerializedName("userId") @Expose - public java.util.List sources; + public String userId; /** - * The Current Value. - * Current value of setting on device + * The User Name. + * UserName */ - @SerializedName("currentValue") + @SerializedName("userName") @Expose - public String currentValue; + public String userName; /** - * The Setting Instance Id. - * SettingInstanceId + * The User Principal Name. + * UserPrincipalName. */ - @SerializedName("settingInstanceId") + @SerializedName("userPrincipalName") @Expose - public String settingInstanceId; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java index 3ba22ddce36..d7a1211a1c6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicySettingStateSummary.java @@ -31,36 +31,36 @@ public class DeviceCompliancePolicySettingStateSummary extends Entity implements /** - * The Setting. - * The setting class name and property name. + * The Compliant Device Count. + * Number of compliant devices */ - @SerializedName("setting") + @SerializedName("compliantDeviceCount") @Expose - public String setting; + public Integer compliantDeviceCount; /** - * The Setting Name. - * Name of the setting. + * The Conflict Device Count. + * Number of conflict devices */ - @SerializedName("settingName") + @SerializedName("conflictDeviceCount") @Expose - public String settingName; + public Integer conflictDeviceCount; /** - * The Platform Type. - * Setting platform. Possible values are: android, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, all. + * The Error Device Count. + * Number of error devices */ - @SerializedName("platformType") + @SerializedName("errorDeviceCount") @Expose - public PolicyPlatformType platformType; + public Integer errorDeviceCount; /** - * The Unknown Device Count. - * Number of unknown devices + * The Non Compliant Device Count. + * Number of NonCompliant devices */ - @SerializedName("unknownDeviceCount") + @SerializedName("nonCompliantDeviceCount") @Expose - public Integer unknownDeviceCount; + public Integer nonCompliantDeviceCount; /** * The Not Applicable Device Count. @@ -71,12 +71,12 @@ public class DeviceCompliancePolicySettingStateSummary extends Entity implements public Integer notApplicableDeviceCount; /** - * The Compliant Device Count. - * Number of compliant devices + * The Platform Type. + * Setting platform. Possible values are: android, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, all. */ - @SerializedName("compliantDeviceCount") + @SerializedName("platformType") @Expose - public Integer compliantDeviceCount; + public PolicyPlatformType platformType; /** * The Remediated Device Count. @@ -87,28 +87,28 @@ public class DeviceCompliancePolicySettingStateSummary extends Entity implements public Integer remediatedDeviceCount; /** - * The Non Compliant Device Count. - * Number of NonCompliant devices + * The Setting. + * The setting class name and property name. */ - @SerializedName("nonCompliantDeviceCount") + @SerializedName("setting") @Expose - public Integer nonCompliantDeviceCount; + public String setting; /** - * The Error Device Count. - * Number of error devices + * The Setting Name. + * Name of the setting. */ - @SerializedName("errorDeviceCount") + @SerializedName("settingName") @Expose - public Integer errorDeviceCount; + public String settingName; /** - * The Conflict Device Count. - * Number of conflict devices + * The Unknown Device Count. + * Number of unknown devices */ - @SerializedName("conflictDeviceCount") + @SerializedName("unknownDeviceCount") @Expose - public Integer conflictDeviceCount; + public Integer unknownDeviceCount; /** * The Device Compliance Setting States. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java index 76987b29e7e..8d5d594603e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceCompliancePolicyState.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingState; import com.microsoft.graph.models.generated.PolicyPlatformType; +import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingState; import com.microsoft.graph.models.generated.ComplianceStatus; import com.microsoft.graph.models.extensions.Entity; @@ -29,14 +29,6 @@ public class DeviceCompliancePolicyState extends Entity implements IJsonBackedObject { - /** - * The Setting States. - * - */ - @SerializedName("settingStates") - @Expose - public java.util.List settingStates; - /** * The Display Name. * The name of the policy for this policyBase @@ -45,14 +37,6 @@ public class DeviceCompliancePolicyState extends Entity implements IJsonBackedOb @Expose public String displayName; - /** - * The Version. - * The version of the policy - */ - @SerializedName("version") - @Expose - public Integer version; - /** * The Platform Type. * Platform type that the policy applies to @@ -61,14 +45,6 @@ public class DeviceCompliancePolicyState extends Entity implements IJsonBackedOb @Expose public PolicyPlatformType platformType; - /** - * The State. - * The compliance state of the policy - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - /** * The Setting Count. * Count of how many setting a policy holds @@ -77,6 +53,22 @@ public class DeviceCompliancePolicyState extends Entity implements IJsonBackedOb @Expose public Integer settingCount; + /** + * The Setting States. + * + */ + @SerializedName("settingStates") + @Expose + public java.util.List settingStates; + + /** + * The State. + * The compliance state of the policy + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + /** * The User Id. * User unique identifier, must be Guid @@ -93,6 +85,14 @@ public class DeviceCompliancePolicyState extends Entity implements IJsonBackedOb @Expose public String userPrincipalName; + /** + * The Version. + * The version of the policy + */ + @SerializedName("version") + @Expose + public Integer version; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScript.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScript.java index 4ce62b4d813..d35308a22ce 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScript.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScript.java @@ -10,8 +10,8 @@ import java.util.EnumSet; import com.microsoft.graph.models.generated.RunAsAccountType; import com.microsoft.graph.models.extensions.DeviceHealthScriptAssignment; -import com.microsoft.graph.models.extensions.DeviceComplianceScriptRunSummary; import com.microsoft.graph.models.extensions.DeviceComplianceScriptDeviceState; +import com.microsoft.graph.models.extensions.DeviceComplianceScriptRunSummary; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.DeviceHealthScriptAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceHealthScriptAssignmentCollectionPage; @@ -35,28 +35,12 @@ public class DeviceComplianceScript extends Entity implements IJsonBackedObject /** - * The Publisher. - * Name of the device compliance script publisher - */ - @SerializedName("publisher") - @Expose - public String publisher; - - /** - * The Version. - * Version of the device compliance script - */ - @SerializedName("version") - @Expose - public String version; - - /** - * The Display Name. - * Name of the device compliance script + * The Created Date Time. + * The timestamp of when the device compliance script was created. This property is read-only. */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -75,12 +59,20 @@ public class DeviceComplianceScript extends Entity implements IJsonBackedObject public byte[] detectionScriptContent; /** - * The Created Date Time. - * The timestamp of when the device compliance script was created. This property is read-only. + * The Display Name. + * Name of the device compliance script */ - @SerializedName("createdDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar createdDateTime; + public String displayName; + + /** + * The Enforce Signature Check. + * Indicate whether the script signature needs be checked + */ + @SerializedName("enforceSignatureCheck") + @Expose + public Boolean enforceSignatureCheck; /** * The Last Modified Date Time. @@ -91,20 +83,20 @@ public class DeviceComplianceScript extends Entity implements IJsonBackedObject public java.util.Calendar lastModifiedDateTime; /** - * The Run As Account. - * Indicates the type of execution context + * The Publisher. + * Name of the device compliance script publisher */ - @SerializedName("runAsAccount") + @SerializedName("publisher") @Expose - public RunAsAccountType runAsAccount; + public String publisher; /** - * The Enforce Signature Check. - * Indicate whether the script signature needs be checked + * The Role Scope Tag Ids. + * List of Scope Tag IDs for the device compliance script */ - @SerializedName("enforceSignatureCheck") + @SerializedName("roleScopeTagIds") @Expose - public Boolean enforceSignatureCheck; + public java.util.List roleScopeTagIds; /** * The Run As32Bit. @@ -115,12 +107,20 @@ public class DeviceComplianceScript extends Entity implements IJsonBackedObject public Boolean runAs32Bit; /** - * The Role Scope Tag Ids. - * List of Scope Tag IDs for the device compliance script + * The Run As Account. + * Indicates the type of execution context */ - @SerializedName("roleScopeTagIds") + @SerializedName("runAsAccount") @Expose - public java.util.List roleScopeTagIds; + public RunAsAccountType runAsAccount; + + /** + * The Version. + * Version of the device compliance script + */ + @SerializedName("version") + @Expose + public String version; /** * The Assignments. @@ -128,6 +128,12 @@ public class DeviceComplianceScript extends Entity implements IJsonBackedObject */ public DeviceHealthScriptAssignmentCollectionPage assignments; + /** + * The Device Run States. + * List of run states for the device compliance script across all devices + */ + public DeviceComplianceScriptDeviceStateCollectionPage deviceRunStates; + /** * The Run Summary. * High level run summary for device compliance script. @@ -136,12 +142,6 @@ public class DeviceComplianceScript extends Entity implements IJsonBackedObject @Expose public DeviceComplianceScriptRunSummary runSummary; - /** - * The Device Run States. - * List of run states for the device compliance script across all devices - */ - public DeviceComplianceScriptDeviceStateCollectionPage deviceRunStates; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptDeviceState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptDeviceState.java index 856a35598c5..c9ccaf062fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptDeviceState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptDeviceState.java @@ -36,14 +36,6 @@ public class DeviceComplianceScriptDeviceState extends Entity implements IJsonBa @Expose public RunState detectionState; - /** - * The Last State Update Date Time. - * The last timestamp of when the device compliance script executed - */ - @SerializedName("lastStateUpdateDateTime") - @Expose - public java.util.Calendar lastStateUpdateDateTime; - /** * The Expected State Update Date Time. * The next timestamp of when the device compliance script is expected to execute @@ -53,20 +45,20 @@ public class DeviceComplianceScriptDeviceState extends Entity implements IJsonBa public java.util.Calendar expectedStateUpdateDateTime; /** - * The Last Sync Date Time. - * The last time that Intune Managment Extension synced with Intune + * The Last State Update Date Time. + * The last timestamp of when the device compliance script executed */ - @SerializedName("lastSyncDateTime") + @SerializedName("lastStateUpdateDateTime") @Expose - public java.util.Calendar lastSyncDateTime; + public java.util.Calendar lastStateUpdateDateTime; /** - * The Script Output. - * Output of the detection script + * The Last Sync Date Time. + * The last time that Intune Managment Extension synced with Intune */ - @SerializedName("scriptOutput") + @SerializedName("lastSyncDateTime") @Expose - public String scriptOutput; + public java.util.Calendar lastSyncDateTime; /** * The Script Error. @@ -76,6 +68,14 @@ public class DeviceComplianceScriptDeviceState extends Entity implements IJsonBa @Expose public String scriptError; + /** + * The Script Output. + * Output of the detection script + */ + @SerializedName("scriptOutput") + @Expose + public String scriptOutput; + /** * The Managed Device. * The managed device on which the device compliance script executed diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRule.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRule.java index ba360693870..08bd372bb9a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRule.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.Operator; import com.microsoft.graph.models.generated.DataType; +import com.microsoft.graph.models.generated.Operator; import com.google.gson.JsonObject; @@ -37,22 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Setting Name. - * Setting name specified in the rule. - */ - @SerializedName("settingName") - @Expose - public String settingName; - - /** - * The Operator. - * Operator specified in the rule. - */ - @SerializedName("operator") - @Expose - public Operator operator; - /** * The Data Type. * Data type specified in the rule. @@ -69,6 +53,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String operand; + /** + * The Operator. + * Operator specified in the rule. + */ + @SerializedName("operator") + @Expose + public Operator operator; + + /** + * The Setting Name. + * Setting name specified in the rule. + */ + @SerializedName("settingName") + @Expose + public String settingName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRunSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRunSummary.java index 814ac9efe86..2ec43af9226 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRunSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptRunSummary.java @@ -26,22 +26,6 @@ public class DeviceComplianceScriptRunSummary extends Entity implements IJsonBackedObject { - /** - * The No Issue Detected Device Count. - * Number of devices for which the detection script did not find an issue and the device is healthy. Valid values -2147483648 to 2147483647 - */ - @SerializedName("noIssueDetectedDeviceCount") - @Expose - public Integer noIssueDetectedDeviceCount; - - /** - * The Issue Detected Device Count. - * Number of devices for which the detection script found an issue. Valid values -2147483648 to 2147483647 - */ - @SerializedName("issueDetectedDeviceCount") - @Expose - public Integer issueDetectedDeviceCount; - /** * The Detection Script Error Device Count. * Number of devices on which the detection script execution encountered an error and did not complete. Valid values -2147483648 to 2147483647 @@ -58,6 +42,14 @@ public class DeviceComplianceScriptRunSummary extends Entity implements IJsonBac @Expose public Integer detectionScriptPendingDeviceCount; + /** + * The Issue Detected Device Count. + * Number of devices for which the detection script found an issue. Valid values -2147483648 to 2147483647 + */ + @SerializedName("issueDetectedDeviceCount") + @Expose + public Integer issueDetectedDeviceCount; + /** * The Last Script Run Date Time. * Last run time for the script across all devices @@ -66,6 +58,14 @@ public class DeviceComplianceScriptRunSummary extends Entity implements IJsonBac @Expose public java.util.Calendar lastScriptRunDateTime; + /** + * The No Issue Detected Device Count. + * Number of devices for which the detection script did not find an issue and the device is healthy. Valid values -2147483648 to 2147483647 + */ + @SerializedName("noIssueDetectedDeviceCount") + @Expose + public Integer noIssueDetectedDeviceCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptValidationResult.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptValidationResult.java index 7c37943d2e5..bd95c56999f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptValidationResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceScriptValidationResult.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceComplianceScriptRuleError; import com.microsoft.graph.models.extensions.DeviceComplianceScriptRule; import com.microsoft.graph.models.extensions.DeviceComplianceScriptError; -import com.microsoft.graph.models.extensions.DeviceComplianceScriptRuleError; import com.google.gson.JsonObject; @@ -38,6 +38,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Rule Errors. + * Errors in json for the script for rules. + */ + @SerializedName("ruleErrors") + @Expose + public java.util.List ruleErrors; + /** * The Rules. * Parsed rules from json. @@ -54,14 +62,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List scriptErrors; - /** - * The Rule Errors. - * Errors in json for the script for rules. - */ - @SerializedName("ruleErrors") - @Expose - public java.util.List ruleErrors; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java index c5c9d1ba07b..00f917f4247 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceSettingState.java @@ -28,6 +28,38 @@ public class DeviceComplianceSettingState extends Entity implements IJsonBackedObject { + /** + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires + */ + @SerializedName("complianceGracePeriodExpirationDateTime") + @Expose + public java.util.Calendar complianceGracePeriodExpirationDateTime; + + /** + * The Device Id. + * The Device Id that is being reported + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The Device Model. + * The device model that is being reported + */ + @SerializedName("deviceModel") + @Expose + public String deviceModel; + + /** + * The Device Name. + * The Device Name that is being reported + */ + @SerializedName("deviceName") + @Expose + public String deviceName; + /** * The Platform Type. * Device platform type @@ -53,20 +85,20 @@ public class DeviceComplianceSettingState extends Entity implements IJsonBackedO public String settingName; /** - * The Device Id. - * The Device Id that is being reported + * The State. + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. */ - @SerializedName("deviceId") + @SerializedName("state") @Expose - public String deviceId; + public ComplianceStatus state; /** - * The Device Name. - * The Device Name that is being reported + * The User Email. + * The User email address that is being reported */ - @SerializedName("deviceName") + @SerializedName("userEmail") @Expose - public String deviceName; + public String userEmail; /** * The User Id. @@ -76,14 +108,6 @@ public class DeviceComplianceSettingState extends Entity implements IJsonBackedO @Expose public String userId; - /** - * The User Email. - * The User email address that is being reported - */ - @SerializedName("userEmail") - @Expose - public String userEmail; - /** * The User Name. * The User Name that is being reported @@ -100,30 +124,6 @@ public class DeviceComplianceSettingState extends Entity implements IJsonBackedO @Expose public String userPrincipalName; - /** - * The Device Model. - * The device model that is being reported - */ - @SerializedName("deviceModel") - @Expose - public String deviceModel; - - /** - * The State. - * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java index 12bceaa7586..ee5f1b9154e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserOverview.java @@ -27,28 +27,20 @@ public class DeviceComplianceUserOverview extends Entity implements IJsonBackedO /** - * The Pending Count. - * Number of pending Users - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable users + * The Configuration Version. + * Version of the policy for that overview */ - @SerializedName("notApplicableCount") + @SerializedName("configurationVersion") @Expose - public Integer notApplicableCount; + public Integer configurationVersion; /** - * The Success Count. - * Number of succeeded Users + * The Conflict Count. + * Number of users in conflict */ - @SerializedName("successCount") + @SerializedName("conflictCount") @Expose - public Integer successCount; + public Integer conflictCount; /** * The Error Count. @@ -66,14 +58,6 @@ public class DeviceComplianceUserOverview extends Entity implements IJsonBackedO @Expose public Integer failedCount; - /** - * The Conflict Count. - * Number of users in conflict - */ - @SerializedName("conflictCount") - @Expose - public Integer conflictCount; - /** * The Last Update Date Time. * Last update time @@ -83,12 +67,28 @@ public class DeviceComplianceUserOverview extends Entity implements IJsonBackedO public java.util.Calendar lastUpdateDateTime; /** - * The Configuration Version. - * Version of the policy for that overview + * The Not Applicable Count. + * Number of not applicable users */ - @SerializedName("configurationVersion") + @SerializedName("notApplicableCount") @Expose - public Integer configurationVersion; + public Integer notApplicableCount; + + /** + * The Pending Count. + * Number of pending Users + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Success Count. + * Number of succeeded Users + */ + @SerializedName("successCount") + @Expose + public Integer successCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java index 207d205cfd3..486cc35b534 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceComplianceUserStatus.java @@ -27,14 +27,6 @@ public class DeviceComplianceUserStatus extends Entity implements IJsonBackedObject { - /** - * The User Display Name. - * User name of the DevicePolicyStatus. - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - /** * The Devices Count. * Devices count for that user. @@ -43,6 +35,14 @@ public class DeviceComplianceUserStatus extends Entity implements IJsonBackedObj @Expose public Integer devicesCount; + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + /** * The Status. * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. @@ -52,12 +52,12 @@ public class DeviceComplianceUserStatus extends Entity implements IJsonBackedObj public ComplianceStatus status; /** - * The Last Reported Date Time. - * Last modified date time of the policy report. + * The User Display Name. + * User name of the DevicePolicyStatus. */ - @SerializedName("lastReportedDateTime") + @SerializedName("userDisplayName") @Expose - public java.util.Calendar lastReportedDateTime; + public String userDisplayName; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java index 271f42e3e55..3c159f6b311 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfiguration.java @@ -8,27 +8,27 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.DeviceManagementApplicabilityRuleDeviceMode; import com.microsoft.graph.models.extensions.DeviceManagementApplicabilityRuleOsEdition; import com.microsoft.graph.models.extensions.DeviceManagementApplicabilityRuleOsVersion; -import com.microsoft.graph.models.extensions.DeviceManagementApplicabilityRuleDeviceMode; -import com.microsoft.graph.models.extensions.DeviceConfigurationGroupAssignment; import com.microsoft.graph.models.extensions.DeviceConfigurationAssignment; +import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStatus; -import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceOverview; +import com.microsoft.graph.models.extensions.DeviceConfigurationGroupAssignment; +import com.microsoft.graph.models.extensions.DeviceConfigurationUserStatus; import com.microsoft.graph.models.extensions.DeviceConfigurationUserOverview; -import com.microsoft.graph.models.extensions.SettingStateDeviceSummary; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.DeviceConfigurationGroupAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceConfigurationAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionResponse; +import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceConfigurationDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceConfigurationGroupAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceConfigurationUserStatusCollectionPage; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionResponse; -import com.microsoft.graph.requests.extensions.SettingStateDeviceSummaryCollectionPage; import com.google.gson.JsonObject; @@ -47,28 +47,28 @@ public class DeviceConfiguration extends Entity implements IJsonBackedObject { /** - * The Last Modified Date Time. - * DateTime the object was last modified. + * The Created Date Time. + * DateTime the object was created. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("createdDateTime") @Expose - public java.util.Calendar lastModifiedDateTime; + public java.util.Calendar createdDateTime; /** - * The Role Scope Tag Ids. - * List of Scope Tags for this Entity instance. + * The Description. + * Admin provided description of the Device Configuration. */ - @SerializedName("roleScopeTagIds") + @SerializedName("description") @Expose - public java.util.List roleScopeTagIds; + public String description; /** - * The Supports Scope Tags. - * Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read-only. + * The Device Management Applicability Rule Device Mode. + * The device mode applicability rule for this Policy. */ - @SerializedName("supportsScopeTags") + @SerializedName("deviceManagementApplicabilityRuleDeviceMode") @Expose - public Boolean supportsScopeTags; + public DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode; /** * The Device Management Applicability Rule Os Edition. @@ -87,36 +87,36 @@ public class DeviceConfiguration extends Entity implements IJsonBackedObject { public DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion; /** - * The Device Management Applicability Rule Device Mode. - * The device mode applicability rule for this Policy. + * The Display Name. + * Admin provided name of the device configuration. */ - @SerializedName("deviceManagementApplicabilityRuleDeviceMode") + @SerializedName("displayName") @Expose - public DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode; + public String displayName; /** - * The Created Date Time. - * DateTime the object was created. + * The Last Modified Date Time. + * DateTime the object was last modified. */ - @SerializedName("createdDateTime") + @SerializedName("lastModifiedDateTime") @Expose - public java.util.Calendar createdDateTime; + public java.util.Calendar lastModifiedDateTime; /** - * The Description. - * Admin provided description of the Device Configuration. + * The Role Scope Tag Ids. + * List of Scope Tags for this Entity instance. */ - @SerializedName("description") + @SerializedName("roleScopeTagIds") @Expose - public String description; + public java.util.List roleScopeTagIds; /** - * The Display Name. - * Admin provided name of the device configuration. + * The Supports Scope Tags. + * Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read-only. */ - @SerializedName("displayName") + @SerializedName("supportsScopeTags") @Expose - public String displayName; + public Boolean supportsScopeTags; /** * The Version. @@ -126,12 +126,6 @@ public class DeviceConfiguration extends Entity implements IJsonBackedObject { @Expose public Integer version; - /** - * The Group Assignments. - * The list of group assignments for the device configuration profile. - */ - public DeviceConfigurationGroupAssignmentCollectionPage groupAssignments; - /** * The Assignments. * The list of assignments for the device configuration profile. @@ -139,16 +133,16 @@ public class DeviceConfiguration extends Entity implements IJsonBackedObject { public DeviceConfigurationAssignmentCollectionPage assignments; /** - * The Device Statuses. - * Device configuration installation status by device. + * The Device Setting State Summaries. + * Device Configuration Setting State Device Summary */ - public DeviceConfigurationDeviceStatusCollectionPage deviceStatuses; + public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; /** - * The User Statuses. - * Device configuration installation status by user. + * The Device Statuses. + * Device configuration installation status by device. */ - public DeviceConfigurationUserStatusCollectionPage userStatuses; + public DeviceConfigurationDeviceStatusCollectionPage deviceStatuses; /** * The Device Status Overview. @@ -158,6 +152,18 @@ public class DeviceConfiguration extends Entity implements IJsonBackedObject { @Expose public DeviceConfigurationDeviceOverview deviceStatusOverview; + /** + * The Group Assignments. + * The list of group assignments for the device configuration profile. + */ + public DeviceConfigurationGroupAssignmentCollectionPage groupAssignments; + + /** + * The User Statuses. + * Device configuration installation status by user. + */ + public DeviceConfigurationUserStatusCollectionPage userStatuses; + /** * The User Status Overview. * Device Configuration users status overview @@ -166,12 +172,6 @@ public class DeviceConfiguration extends Entity implements IJsonBackedObject { @Expose public DeviceConfigurationUserOverview userStatusOverview; - /** - * The Device Setting State Summaries. - * Device Configuration Setting State Device Summary - */ - public SettingStateDeviceSummaryCollectionPage deviceSettingStateSummaries; - /** * The raw representation of this class @@ -212,22 +212,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("groupAssignments")) { - final DeviceConfigurationGroupAssignmentCollectionResponse response = new DeviceConfigurationGroupAssignmentCollectionResponse(); - if (json.has("groupAssignments@odata.nextLink")) { - response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); - final DeviceConfigurationGroupAssignment[] array = new DeviceConfigurationGroupAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationGroupAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - groupAssignments = new DeviceConfigurationGroupAssignmentCollectionPage(response, null); - } - if (json.has("assignments")) { final DeviceConfigurationAssignmentCollectionResponse response = new DeviceConfigurationAssignmentCollectionResponse(); if (json.has("assignments@odata.nextLink")) { @@ -244,6 +228,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { assignments = new DeviceConfigurationAssignmentCollectionPage(response, null); } + if (json.has("deviceSettingStateSummaries")) { + final SettingStateDeviceSummaryCollectionResponse response = new SettingStateDeviceSummaryCollectionResponse(); + if (json.has("deviceSettingStateSummaries@odata.nextLink")) { + response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); + final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); + } + if (json.has("deviceStatuses")) { final DeviceConfigurationDeviceStatusCollectionResponse response = new DeviceConfigurationDeviceStatusCollectionResponse(); if (json.has("deviceStatuses@odata.nextLink")) { @@ -260,36 +260,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceStatuses = new DeviceConfigurationDeviceStatusCollectionPage(response, null); } - if (json.has("userStatuses")) { - final DeviceConfigurationUserStatusCollectionResponse response = new DeviceConfigurationUserStatusCollectionResponse(); - if (json.has("userStatuses@odata.nextLink")) { - response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); + if (json.has("groupAssignments")) { + final DeviceConfigurationGroupAssignmentCollectionResponse response = new DeviceConfigurationGroupAssignmentCollectionResponse(); + if (json.has("groupAssignments@odata.nextLink")) { + response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); - final DeviceConfigurationUserStatus[] array = new DeviceConfigurationUserStatus[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); + final DeviceConfigurationGroupAssignment[] array = new DeviceConfigurationGroupAssignment[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationUserStatus.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationGroupAssignment.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - userStatuses = new DeviceConfigurationUserStatusCollectionPage(response, null); + groupAssignments = new DeviceConfigurationGroupAssignmentCollectionPage(response, null); } - if (json.has("deviceSettingStateSummaries")) { - final SettingStateDeviceSummaryCollectionResponse response = new SettingStateDeviceSummaryCollectionResponse(); - if (json.has("deviceSettingStateSummaries@odata.nextLink")) { - response.nextLink = json.get("deviceSettingStateSummaries@odata.nextLink").getAsString(); + if (json.has("userStatuses")) { + final DeviceConfigurationUserStatusCollectionResponse response = new DeviceConfigurationUserStatusCollectionResponse(); + if (json.has("userStatuses@odata.nextLink")) { + response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceSettingStateSummaries").toString(), JsonObject[].class); - final SettingStateDeviceSummary[] array = new SettingStateDeviceSummary[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); + final DeviceConfigurationUserStatus[] array = new DeviceConfigurationUserStatus[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SettingStateDeviceSummary.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationUserStatus.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceSettingStateSummaries = new SettingStateDeviceSummaryCollectionPage(response, null); + userStatuses = new DeviceConfigurationUserStatusCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java index cf750cff577..9143e6c1e52 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationAssignment.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.generated.DeviceAndAppManagementAssignmentSource; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.Entity; @@ -28,14 +28,6 @@ public class DeviceConfigurationAssignment extends Entity implements IJsonBackedObject { - /** - * The Target. - * The assignment target for the device configuration. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - /** * The Source. * The assignment source for the device configuration, direct or parcel/policySet. This property is read-only. @@ -52,6 +44,14 @@ public class DeviceConfigurationAssignment extends Entity implements IJsonBacked @Expose public String sourceId; + /** + * The Target. + * The assignment target for the device configuration. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java index ed8284fc9c2..6282d5ee529 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceOverview.java @@ -27,36 +27,20 @@ public class DeviceConfigurationDeviceOverview extends Entity implements IJsonBa /** - * The Pending Count. - * Number of pending devices - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Not Applicable Platform Count. - * Number of not applicable devices due to mismatch platform and policy + * The Configuration Version. + * Version of the policy for that overview */ - @SerializedName("notApplicablePlatformCount") + @SerializedName("configurationVersion") @Expose - public Integer notApplicablePlatformCount; + public Integer configurationVersion; /** - * The Success Count. - * Number of succeeded devices + * The Conflict Count. + * Number of devices in conflict */ - @SerializedName("successCount") + @SerializedName("conflictCount") @Expose - public Integer successCount; + public Integer conflictCount; /** * The Error Count. @@ -74,14 +58,6 @@ public class DeviceConfigurationDeviceOverview extends Entity implements IJsonBa @Expose public Integer failedCount; - /** - * The Conflict Count. - * Number of devices in conflict - */ - @SerializedName("conflictCount") - @Expose - public Integer conflictCount; - /** * The Last Update Date Time. * Last update time @@ -91,12 +67,36 @@ public class DeviceConfigurationDeviceOverview extends Entity implements IJsonBa public java.util.Calendar lastUpdateDateTime; /** - * The Configuration Version. - * Version of the policy for that overview + * The Not Applicable Count. + * Number of not applicable devices */ - @SerializedName("configurationVersion") + @SerializedName("notApplicableCount") @Expose - public Integer configurationVersion; + public Integer notApplicableCount; + + /** + * The Not Applicable Platform Count. + * Number of not applicable devices due to mismatch platform and policy + */ + @SerializedName("notApplicablePlatformCount") + @Expose + public Integer notApplicablePlatformCount; + + /** + * The Pending Count. + * Number of pending devices + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Success Count. + * Number of succeeded devices + */ + @SerializedName("successCount") + @Expose + public Integer successCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java index b96f6b3661c..7ab1d978a45 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStateSummary.java @@ -26,22 +26,6 @@ public class DeviceConfigurationDeviceStateSummary extends Entity implements IJsonBackedObject { - /** - * The Unknown Device Count. - * Number of unknown devices - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - - /** - * The Not Applicable Device Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - /** * The Compliant Device Count. * Number of compliant devices @@ -51,12 +35,20 @@ public class DeviceConfigurationDeviceStateSummary extends Entity implements IJs public Integer compliantDeviceCount; /** - * The Remediated Device Count. - * Number of remediated devices + * The Conflict Device Count. + * Number of conflict devices */ - @SerializedName("remediatedDeviceCount") + @SerializedName("conflictDeviceCount") @Expose - public Integer remediatedDeviceCount; + public Integer conflictDeviceCount; + + /** + * The Error Device Count. + * Number of error devices + */ + @SerializedName("errorDeviceCount") + @Expose + public Integer errorDeviceCount; /** * The Non Compliant Device Count. @@ -67,20 +59,28 @@ public class DeviceConfigurationDeviceStateSummary extends Entity implements IJs public Integer nonCompliantDeviceCount; /** - * The Error Device Count. - * Number of error devices + * The Not Applicable Device Count. + * Number of not applicable devices */ - @SerializedName("errorDeviceCount") + @SerializedName("notApplicableDeviceCount") @Expose - public Integer errorDeviceCount; + public Integer notApplicableDeviceCount; /** - * The Conflict Device Count. - * Number of conflict devices + * The Remediated Device Count. + * Number of remediated devices */ - @SerializedName("conflictDeviceCount") + @SerializedName("remediatedDeviceCount") @Expose - public Integer conflictDeviceCount; + public Integer remediatedDeviceCount; + + /** + * The Unknown Device Count. + * Number of unknown devices + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java index a2e36c2b198..aa18b2dea0c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationDeviceStatus.java @@ -28,20 +28,20 @@ public class DeviceConfigurationDeviceStatus extends Entity implements IJsonBack /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires */ - @SerializedName("deviceDisplayName") + @SerializedName("complianceGracePeriodExpirationDateTime") @Expose - public String deviceDisplayName; + public java.util.Calendar complianceGracePeriodExpirationDateTime; /** - * The User Name. - * The User Name that is being reported + * The Device Display Name. + * Device name of the DevicePolicyStatus. */ - @SerializedName("userName") + @SerializedName("deviceDisplayName") @Expose - public String userName; + public String deviceDisplayName; /** * The Device Model. @@ -52,20 +52,20 @@ public class DeviceConfigurationDeviceStatus extends Entity implements IJsonBack public String deviceModel; /** - * The Platform. - * Platform of the device that is being reported + * The Last Reported Date Time. + * Last modified date time of the policy report. */ - @SerializedName("platform") + @SerializedName("lastReportedDateTime") @Expose - public Integer platform; + public java.util.Calendar lastReportedDateTime; /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires + * The Platform. + * Platform of the device that is being reported */ - @SerializedName("complianceGracePeriodExpirationDateTime") + @SerializedName("platform") @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; + public Integer platform; /** * The Status. @@ -76,12 +76,12 @@ public class DeviceConfigurationDeviceStatus extends Entity implements IJsonBack public ComplianceStatus status; /** - * The Last Reported Date Time. - * Last modified date time of the policy report. + * The User Name. + * The User Name that is being reported */ - @SerializedName("lastReportedDateTime") + @SerializedName("userName") @Expose - public java.util.Calendar lastReportedDateTime; + public String userName; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationGroupAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationGroupAssignment.java index 4f227db5d33..e4368730e8c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationGroupAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationGroupAssignment.java @@ -27,14 +27,6 @@ public class DeviceConfigurationGroupAssignment extends Entity implements IJsonBackedObject { - /** - * The Target Group Id. - * The Id of the AAD group we are targeting the device configuration to. - */ - @SerializedName("targetGroupId") - @Expose - public String targetGroupId; - /** * The Exclude Group. * Indicates if this group is should be excluded. Defaults that the group should be included @@ -43,6 +35,14 @@ public class DeviceConfigurationGroupAssignment extends Entity implements IJsonB @Expose public Boolean excludeGroup; + /** + * The Target Group Id. + * The Id of the AAD group we are targeting the device configuration to. + */ + @SerializedName("targetGroupId") + @Expose + public String targetGroupId; + /** * The Device Configuration. * The navigation link to the Device Configuration being targeted. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java index e86cc32eff3..7ecff04ee61 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationSettingState.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; import com.microsoft.graph.models.extensions.SettingSource; +import com.microsoft.graph.models.generated.ComplianceStatus; import com.google.gson.JsonObject; @@ -38,20 +38,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Setting. - * The setting that is being reported + * The Current Value. + * Current value of setting on device */ - @SerializedName("setting") + @SerializedName("currentValue") @Expose - public String setting; + public String currentValue; /** - * The Setting Name. - * Localized/user friendly setting name that is being reported + * The Error Code. + * Error code for the setting */ - @SerializedName("settingName") + @SerializedName("errorCode") @Expose - public String settingName; + public Long errorCode; + + /** + * The Error Description. + * Error description + */ + @SerializedName("errorDescription") + @Expose + public String errorDescription; /** * The Instance Display Name. @@ -62,44 +70,44 @@ public final AdditionalDataManager additionalDataManager() { public String instanceDisplayName; /** - * The State. - * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * The Setting. + * The setting that is being reported */ - @SerializedName("state") + @SerializedName("setting") @Expose - public ComplianceStatus state; + public String setting; /** - * The Error Code. - * Error code for the setting + * The Setting Instance Id. + * SettingInstanceId */ - @SerializedName("errorCode") + @SerializedName("settingInstanceId") @Expose - public Long errorCode; + public String settingInstanceId; /** - * The Error Description. - * Error description + * The Setting Name. + * Localized/user friendly setting name that is being reported */ - @SerializedName("errorDescription") + @SerializedName("settingName") @Expose - public String errorDescription; + public String settingName; /** - * The User Id. - * UserId + * The Sources. + * Contributing policies */ - @SerializedName("userId") + @SerializedName("sources") @Expose - public String userId; + public java.util.List sources; /** - * The User Name. - * UserName + * The State. + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. */ - @SerializedName("userName") + @SerializedName("state") @Expose - public String userName; + public ComplianceStatus state; /** * The User Email. @@ -110,36 +118,28 @@ public final AdditionalDataManager additionalDataManager() { public String userEmail; /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Sources. - * Contributing policies + * The User Id. + * UserId */ - @SerializedName("sources") + @SerializedName("userId") @Expose - public java.util.List sources; + public String userId; /** - * The Current Value. - * Current value of setting on device + * The User Name. + * UserName */ - @SerializedName("currentValue") + @SerializedName("userName") @Expose - public String currentValue; + public String userName; /** - * The Setting Instance Id. - * SettingInstanceId + * The User Principal Name. + * UserPrincipalName. */ - @SerializedName("settingInstanceId") + @SerializedName("userPrincipalName") @Expose - public String settingInstanceId; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java index a5966c3d26b..c1e2a9392f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationState.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceConfigurationSettingState; import com.microsoft.graph.models.generated.PolicyPlatformType; +import com.microsoft.graph.models.extensions.DeviceConfigurationSettingState; import com.microsoft.graph.models.generated.ComplianceStatus; import com.microsoft.graph.models.extensions.Entity; @@ -29,14 +29,6 @@ public class DeviceConfigurationState extends Entity implements IJsonBackedObject { - /** - * The Setting States. - * - */ - @SerializedName("settingStates") - @Expose - public java.util.List settingStates; - /** * The Display Name. * The name of the policy for this policyBase @@ -45,14 +37,6 @@ public class DeviceConfigurationState extends Entity implements IJsonBackedObjec @Expose public String displayName; - /** - * The Version. - * The version of the policy - */ - @SerializedName("version") - @Expose - public Integer version; - /** * The Platform Type. * Platform type that the policy applies to @@ -61,14 +45,6 @@ public class DeviceConfigurationState extends Entity implements IJsonBackedObjec @Expose public PolicyPlatformType platformType; - /** - * The State. - * The compliance state of the policy - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - /** * The Setting Count. * Count of how many setting a policy holds @@ -77,6 +53,22 @@ public class DeviceConfigurationState extends Entity implements IJsonBackedObjec @Expose public Integer settingCount; + /** + * The Setting States. + * + */ + @SerializedName("settingStates") + @Expose + public java.util.List settingStates; + + /** + * The State. + * The compliance state of the policy + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + /** * The User Id. * User unique identifier, must be Guid @@ -93,6 +85,14 @@ public class DeviceConfigurationState extends Entity implements IJsonBackedObjec @Expose public String userPrincipalName; + /** + * The Version. + * The version of the policy + */ + @SerializedName("version") + @Expose + public Integer version; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationTargetedUserAndDevice.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationTargetedUserAndDevice.java index c286f859611..ed3adb952fd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationTargetedUserAndDevice.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationTargetedUserAndDevice.java @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public String deviceName; /** - * The User Id. - * The id of the user in the checkin. + * The Last Checkin Date Time. + * Last checkin time for this user/device pair. */ - @SerializedName("userId") + @SerializedName("lastCheckinDateTime") @Expose - public String userId; + public java.util.Calendar lastCheckinDateTime; /** * The User Display Name. @@ -68,20 +68,20 @@ public final AdditionalDataManager additionalDataManager() { public String userDisplayName; /** - * The User Principal Name. - * The UPN of the user in the checkin. + * The User Id. + * The id of the user in the checkin. */ - @SerializedName("userPrincipalName") + @SerializedName("userId") @Expose - public String userPrincipalName; + public String userId; /** - * The Last Checkin Date Time. - * Last checkin time for this user/device pair. + * The User Principal Name. + * The UPN of the user in the checkin. */ - @SerializedName("lastCheckinDateTime") + @SerializedName("userPrincipalName") @Expose - public java.util.Calendar lastCheckinDateTime; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java index f4846658c56..e21d3294af5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserOverview.java @@ -27,28 +27,20 @@ public class DeviceConfigurationUserOverview extends Entity implements IJsonBack /** - * The Pending Count. - * Number of pending Users - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable users + * The Configuration Version. + * Version of the policy for that overview */ - @SerializedName("notApplicableCount") + @SerializedName("configurationVersion") @Expose - public Integer notApplicableCount; + public Integer configurationVersion; /** - * The Success Count. - * Number of succeeded Users + * The Conflict Count. + * Number of users in conflict */ - @SerializedName("successCount") + @SerializedName("conflictCount") @Expose - public Integer successCount; + public Integer conflictCount; /** * The Error Count. @@ -66,14 +58,6 @@ public class DeviceConfigurationUserOverview extends Entity implements IJsonBack @Expose public Integer failedCount; - /** - * The Conflict Count. - * Number of users in conflict - */ - @SerializedName("conflictCount") - @Expose - public Integer conflictCount; - /** * The Last Update Date Time. * Last update time @@ -83,12 +67,28 @@ public class DeviceConfigurationUserOverview extends Entity implements IJsonBack public java.util.Calendar lastUpdateDateTime; /** - * The Configuration Version. - * Version of the policy for that overview + * The Not Applicable Count. + * Number of not applicable users */ - @SerializedName("configurationVersion") + @SerializedName("notApplicableCount") @Expose - public Integer configurationVersion; + public Integer notApplicableCount; + + /** + * The Pending Count. + * Number of pending Users + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Success Count. + * Number of succeeded Users + */ + @SerializedName("successCount") + @Expose + public Integer successCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStateSummary.java index c61c58450be..35f32346d4a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStateSummary.java @@ -26,22 +26,6 @@ public class DeviceConfigurationUserStateSummary extends Entity implements IJsonBackedObject { - /** - * The Unknown User Count. - * Number of unknown users - */ - @SerializedName("unknownUserCount") - @Expose - public Integer unknownUserCount; - - /** - * The Not Applicable User Count. - * Number of not applicable users - */ - @SerializedName("notApplicableUserCount") - @Expose - public Integer notApplicableUserCount; - /** * The Compliant User Count. * Number of compliant users @@ -51,12 +35,20 @@ public class DeviceConfigurationUserStateSummary extends Entity implements IJson public Integer compliantUserCount; /** - * The Remediated User Count. - * Number of remediated users + * The Conflict User Count. + * Number of conflict users */ - @SerializedName("remediatedUserCount") + @SerializedName("conflictUserCount") @Expose - public Integer remediatedUserCount; + public Integer conflictUserCount; + + /** + * The Error User Count. + * Number of error users + */ + @SerializedName("errorUserCount") + @Expose + public Integer errorUserCount; /** * The Non Compliant User Count. @@ -67,20 +59,28 @@ public class DeviceConfigurationUserStateSummary extends Entity implements IJson public Integer nonCompliantUserCount; /** - * The Error User Count. - * Number of error users + * The Not Applicable User Count. + * Number of not applicable users */ - @SerializedName("errorUserCount") + @SerializedName("notApplicableUserCount") @Expose - public Integer errorUserCount; + public Integer notApplicableUserCount; /** - * The Conflict User Count. - * Number of conflict users + * The Remediated User Count. + * Number of remediated users */ - @SerializedName("conflictUserCount") + @SerializedName("remediatedUserCount") @Expose - public Integer conflictUserCount; + public Integer remediatedUserCount; + + /** + * The Unknown User Count. + * Number of unknown users + */ + @SerializedName("unknownUserCount") + @Expose + public Integer unknownUserCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java index bd7e07a6c47..ccc44e75399 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceConfigurationUserStatus.java @@ -27,14 +27,6 @@ public class DeviceConfigurationUserStatus extends Entity implements IJsonBackedObject { - /** - * The User Display Name. - * User name of the DevicePolicyStatus. - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - /** * The Devices Count. * Devices count for that user. @@ -43,6 +35,14 @@ public class DeviceConfigurationUserStatus extends Entity implements IJsonBacked @Expose public Integer devicesCount; + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + /** * The Status. * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. @@ -52,12 +52,12 @@ public class DeviceConfigurationUserStatus extends Entity implements IJsonBacked public ComplianceStatus status; /** - * The Last Reported Date Time. - * Last modified date time of the policy report. + * The User Display Name. + * User name of the DevicePolicyStatus. */ - @SerializedName("lastReportedDateTime") + @SerializedName("userDisplayName") @Expose - public java.util.Calendar lastReportedDateTime; + public String userDisplayName; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceDetail.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceDetail.java index 8e66c8aab8e..533464364df 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceDetail.java @@ -35,30 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Device Id. - * Refers to the UniqueID of the device used for signing in. - */ - @SerializedName("deviceId") - @Expose - public String deviceId; - - /** - * The Display Name. - * Refers to the name of the device used for signing in. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Operating System. - * Indicates the operating system name and version used for signing in. - */ - @SerializedName("operatingSystem") - @Expose - public String operatingSystem; - /** * The Browser. * Indicates the browser information of the used for signing in. @@ -75,6 +51,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String browserId; + /** + * The Device Id. + * Refers to the UniqueID of the device used for signing in. + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + + /** + * The Display Name. + * Refers to the name of the device used for signing in. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Is Compliant. * Indicates whether the device is compliant. @@ -91,6 +83,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean isManaged; + /** + * The Operating System. + * Indicates the operating system name and version used for signing in. + */ + @SerializedName("operatingSystem") + @Expose + public String operatingSystem; + /** * The Trust Type. * Provides information about whether the signed-in device is Workplace Joined, AzureAD Joined, Domain Joined. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java index fe4d36481eb..df1e570d902 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentConfiguration.java @@ -30,12 +30,12 @@ public class DeviceEnrollmentConfiguration extends Entity implements IJsonBacked /** - * The Display Name. + * The Created Date Time. * Not yet documented */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -46,20 +46,12 @@ public class DeviceEnrollmentConfiguration extends Entity implements IJsonBacked public String description; /** - * The Priority. - * Not yet documented - */ - @SerializedName("priority") - @Expose - public Integer priority; - - /** - * The Created Date Time. + * The Display Name. * Not yet documented */ - @SerializedName("createdDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar createdDateTime; + public String displayName; /** * The Last Modified Date Time. @@ -70,12 +62,12 @@ public class DeviceEnrollmentConfiguration extends Entity implements IJsonBacked public java.util.Calendar lastModifiedDateTime; /** - * The Version. + * The Priority. * Not yet documented */ - @SerializedName("version") + @SerializedName("priority") @Expose - public Integer version; + public Integer priority; /** * The Role Scope Tag Ids. @@ -85,6 +77,14 @@ public class DeviceEnrollmentConfiguration extends Entity implements IJsonBacked @Expose public java.util.List roleScopeTagIds; + /** + * The Version. + * Not yet documented + */ + @SerializedName("version") + @Expose + public Integer version; + /** * The Assignments. * The list of group assignments for the device configuration profile. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java index 55ae0de8391..af5de3e8ce3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestriction.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Platform Blocked. - * Block the platform from enrolling + * The Blocked Manufacturers. + * Collection of blocked Manufacturers. */ - @SerializedName("platformBlocked") + @SerializedName("blockedManufacturers") @Expose - public Boolean platformBlocked; + public java.util.List blockedManufacturers; /** - * The Personal Device Enrollment Blocked. - * Block personally owned devices from enrolling + * The Os Maximum Version. + * Max OS version supported */ - @SerializedName("personalDeviceEnrollmentBlocked") + @SerializedName("osMaximumVersion") @Expose - public Boolean personalDeviceEnrollmentBlocked; + public String osMaximumVersion; /** * The Os Minimum Version. @@ -60,20 +60,20 @@ public final AdditionalDataManager additionalDataManager() { public String osMinimumVersion; /** - * The Os Maximum Version. - * Max OS version supported + * The Personal Device Enrollment Blocked. + * Block personally owned devices from enrolling */ - @SerializedName("osMaximumVersion") + @SerializedName("personalDeviceEnrollmentBlocked") @Expose - public String osMaximumVersion; + public Boolean personalDeviceEnrollmentBlocked; /** - * The Blocked Manufacturers. - * Collection of blocked Manufacturers. + * The Platform Blocked. + * Block the platform from enrolling */ - @SerializedName("blockedManufacturers") + @SerializedName("platformBlocked") @Expose - public java.util.List blockedManufacturers; + public Boolean platformBlocked; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java index 0651b1cd9db..067027b3194 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentPlatformRestrictionsConfiguration.java @@ -28,44 +28,36 @@ public class DeviceEnrollmentPlatformRestrictionsConfiguration extends DeviceEnr /** - * The Ios Restriction. - * Not yet documented + * The Android For Work Restriction. + * Android for work restrictions based on platform, platform operating system version, and device ownership */ - @SerializedName("iosRestriction") + @SerializedName("androidForWorkRestriction") @Expose - public DeviceEnrollmentPlatformRestriction iosRestriction; + public DeviceEnrollmentPlatformRestriction androidForWorkRestriction; /** - * The Windows Restriction. + * The Android Restriction. * Not yet documented */ - @SerializedName("windowsRestriction") + @SerializedName("androidRestriction") @Expose - public DeviceEnrollmentPlatformRestriction windowsRestriction; + public DeviceEnrollmentPlatformRestriction androidRestriction; /** - * The Windows Mobile Restriction. + * The Ios Restriction. * Not yet documented */ - @SerializedName("windowsMobileRestriction") + @SerializedName("iosRestriction") @Expose - public DeviceEnrollmentPlatformRestriction windowsMobileRestriction; + public DeviceEnrollmentPlatformRestriction iosRestriction; /** - * The Android Restriction. + * The Mac OSRestriction. * Not yet documented */ - @SerializedName("androidRestriction") - @Expose - public DeviceEnrollmentPlatformRestriction androidRestriction; - - /** - * The Android For Work Restriction. - * Android for work restrictions based on platform, platform operating system version, and device ownership - */ - @SerializedName("androidForWorkRestriction") + @SerializedName("macOSRestriction") @Expose - public DeviceEnrollmentPlatformRestriction androidForWorkRestriction; + public DeviceEnrollmentPlatformRestriction macOSRestriction; /** * The Mac Restriction. @@ -76,12 +68,20 @@ public class DeviceEnrollmentPlatformRestrictionsConfiguration extends DeviceEnr public DeviceEnrollmentPlatformRestriction macRestriction; /** - * The Mac OSRestriction. + * The Windows Mobile Restriction. * Not yet documented */ - @SerializedName("macOSRestriction") + @SerializedName("windowsMobileRestriction") @Expose - public DeviceEnrollmentPlatformRestriction macOSRestriction; + public DeviceEnrollmentPlatformRestriction windowsMobileRestriction; + + /** + * The Windows Restriction. + * Not yet documented + */ + @SerializedName("windowsRestriction") + @Expose + public DeviceEnrollmentPlatformRestriction windowsRestriction; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java index 77c85366cec..d177ca84f2a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceEnrollmentWindowsHelloForBusinessConfiguration.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsHelloForBusinessPinUsage; import com.microsoft.graph.models.generated.Enablement; +import com.microsoft.graph.models.generated.WindowsHelloForBusinessPinUsage; import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; @@ -29,28 +29,20 @@ public class DeviceEnrollmentWindowsHelloForBusinessConfiguration extends Device /** - * The Pin Minimum Length. - * Not yet documented + * The Enhanced Biometrics State. + * Not yet documented. Possible values are: notConfigured, enabled, disabled. */ - @SerializedName("pinMinimumLength") + @SerializedName("enhancedBiometricsState") @Expose - public Integer pinMinimumLength; + public Enablement enhancedBiometricsState; /** - * The Pin Maximum Length. + * The Pin Expiration In Days. * Not yet documented */ - @SerializedName("pinMaximumLength") - @Expose - public Integer pinMaximumLength; - - /** - * The Pin Uppercase Characters Usage. - * Not yet documented. Possible values are: allowed, required, disallowed. - */ - @SerializedName("pinUppercaseCharactersUsage") + @SerializedName("pinExpirationInDays") @Expose - public WindowsHelloForBusinessPinUsage pinUppercaseCharactersUsage; + public Integer pinExpirationInDays; /** * The Pin Lowercase Characters Usage. @@ -61,36 +53,44 @@ public class DeviceEnrollmentWindowsHelloForBusinessConfiguration extends Device public WindowsHelloForBusinessPinUsage pinLowercaseCharactersUsage; /** - * The Pin Special Characters Usage. - * Not yet documented. Possible values are: allowed, required, disallowed. + * The Pin Maximum Length. + * Not yet documented */ - @SerializedName("pinSpecialCharactersUsage") + @SerializedName("pinMaximumLength") @Expose - public WindowsHelloForBusinessPinUsage pinSpecialCharactersUsage; + public Integer pinMaximumLength; /** - * The State. - * Not yet documented. Possible values are: notConfigured, enabled, disabled. + * The Pin Minimum Length. + * Not yet documented */ - @SerializedName("state") + @SerializedName("pinMinimumLength") @Expose - public Enablement state; + public Integer pinMinimumLength; /** - * The Security Device Required. + * The Pin Previous Block Count. * Not yet documented */ - @SerializedName("securityDeviceRequired") + @SerializedName("pinPreviousBlockCount") @Expose - public Boolean securityDeviceRequired; + public Integer pinPreviousBlockCount; /** - * The Unlock With Biometrics Enabled. - * Not yet documented + * The Pin Special Characters Usage. + * Not yet documented. Possible values are: allowed, required, disallowed. */ - @SerializedName("unlockWithBiometricsEnabled") + @SerializedName("pinSpecialCharactersUsage") @Expose - public Boolean unlockWithBiometricsEnabled; + public WindowsHelloForBusinessPinUsage pinSpecialCharactersUsage; + + /** + * The Pin Uppercase Characters Usage. + * Not yet documented. Possible values are: allowed, required, disallowed. + */ + @SerializedName("pinUppercaseCharactersUsage") + @Expose + public WindowsHelloForBusinessPinUsage pinUppercaseCharactersUsage; /** * The Remote Passport Enabled. @@ -101,36 +101,36 @@ public class DeviceEnrollmentWindowsHelloForBusinessConfiguration extends Device public Boolean remotePassportEnabled; /** - * The Pin Previous Block Count. + * The Security Device Required. * Not yet documented */ - @SerializedName("pinPreviousBlockCount") + @SerializedName("securityDeviceRequired") @Expose - public Integer pinPreviousBlockCount; + public Boolean securityDeviceRequired; /** - * The Pin Expiration In Days. - * Not yet documented + * The Security Key For Sign In. + * Security key for Sign In provides the capacity for remotely turning ON/OFF Windows Hello Sercurity Keyl Not configured will honor configurations done on the clinet. */ - @SerializedName("pinExpirationInDays") + @SerializedName("securityKeyForSignIn") @Expose - public Integer pinExpirationInDays; + public Enablement securityKeyForSignIn; /** - * The Enhanced Biometrics State. + * The State. * Not yet documented. Possible values are: notConfigured, enabled, disabled. */ - @SerializedName("enhancedBiometricsState") + @SerializedName("state") @Expose - public Enablement enhancedBiometricsState; + public Enablement state; /** - * The Security Key For Sign In. - * Security key for Sign In provides the capacity for remotely turning ON/OFF Windows Hello Sercurity Keyl Not configured will honor configurations done on the clinet. + * The Unlock With Biometrics Enabled. + * Not yet documented */ - @SerializedName("securityKeyForSignIn") + @SerializedName("unlockWithBiometricsEnabled") @Expose - public Enablement securityKeyForSignIn; + public Boolean unlockWithBiometricsEnabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java index 4063409300b..b8aff199917 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceExchangeAccessStateSummary.java @@ -59,14 +59,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer quarantinedDeviceCount; - /** - * The Unknown Device Count. - * Total count of devices with Exchange Access State: Unknown. - */ - @SerializedName("unknownDeviceCount") - @Expose - public Integer unknownDeviceCount; - /** * The Unavailable Device Count. * Total count of devices for which no Exchange Access State could be found. @@ -75,6 +67,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer unavailableDeviceCount; + /** + * The Unknown Device Count. + * Total count of devices with Exchange Access State: Unknown. + */ + @SerializedName("unknownDeviceCount") + @Expose + public Integer unknownDeviceCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java index aed1ee58634..e005a4def33 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceGeoLocation.java @@ -36,12 +36,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Last Collected Date Time Utc. - * Time at which location was recorded, relative to UTC + * The Altitude. + * Altitude, given in meters above sea level */ - @SerializedName("lastCollectedDateTimeUtc") + @SerializedName("altitude") @Expose - public java.util.Calendar lastCollectedDateTimeUtc; + public Double altitude; + + /** + * The Heading. + * Heading in degrees from true north + */ + @SerializedName("heading") + @Expose + public Double heading; + + /** + * The Horizontal Accuracy. + * Accuracy of longitude and latitude in meters + */ + @SerializedName("horizontalAccuracy") + @Expose + public Double horizontalAccuracy; /** * The Last Collected Date Time. @@ -52,12 +68,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar lastCollectedDateTime; /** - * The Longitude. - * Longitude coordinate of the device's location + * The Last Collected Date Time Utc. + * Time at which location was recorded, relative to UTC */ - @SerializedName("longitude") + @SerializedName("lastCollectedDateTimeUtc") @Expose - public Double longitude; + public java.util.Calendar lastCollectedDateTimeUtc; /** * The Latitude. @@ -68,20 +84,20 @@ public final AdditionalDataManager additionalDataManager() { public Double latitude; /** - * The Altitude. - * Altitude, given in meters above sea level + * The Longitude. + * Longitude coordinate of the device's location */ - @SerializedName("altitude") + @SerializedName("longitude") @Expose - public Double altitude; + public Double longitude; /** - * The Horizontal Accuracy. - * Accuracy of longitude and latitude in meters + * The Speed. + * Speed the device is traveling in meters per second */ - @SerializedName("horizontalAccuracy") + @SerializedName("speed") @Expose - public Double horizontalAccuracy; + public Double speed; /** * The Vertical Accuracy. @@ -91,22 +107,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Double verticalAccuracy; - /** - * The Heading. - * Heading in degrees from true north - */ - @SerializedName("heading") - @Expose - public Double heading; - - /** - * The Speed. - * Speed the device is traveling in meters per second - */ - @SerializedName("speed") - @Expose - public Double speed; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java index 3d9a7d46ff7..3ce8c559f6b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthAttestationState.java @@ -36,172 +36,180 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Last Update Date Time. - * The Timestamp of the last update. + * The Attestation Identity Key. + * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate. */ - @SerializedName("lastUpdateDateTime") + @SerializedName("attestationIdentityKey") @Expose - public String lastUpdateDateTime; + public String attestationIdentityKey; /** - * The Content Namespace Url. - * The DHA report version. (Namespace version) + * The Bit Locker Status. + * On or Off of BitLocker Drive Encryption */ - @SerializedName("contentNamespaceUrl") + @SerializedName("bitLockerStatus") @Expose - public String contentNamespaceUrl; + public String bitLockerStatus; /** - * The Device Health Attestation Status. - * The DHA report version. (Namespace version) + * The Boot App Security Version. + * The security version number of the Boot Application */ - @SerializedName("deviceHealthAttestationStatus") + @SerializedName("bootAppSecurityVersion") @Expose - public String deviceHealthAttestationStatus; + public String bootAppSecurityVersion; /** - * The Content Version. - * The HealthAttestation state schema version + * The Boot Debugging. + * When bootDebugging is enabled, the device is used in development and testing */ - @SerializedName("contentVersion") + @SerializedName("bootDebugging") @Expose - public String contentVersion; + public String bootDebugging; /** - * The Issued Date Time. - * The DateTime when device was evaluated or issued to MDM + * The Boot Manager Security Version. + * The security version number of the Boot Application */ - @SerializedName("issuedDateTime") + @SerializedName("bootManagerSecurityVersion") @Expose - public java.util.Calendar issuedDateTime; + public String bootManagerSecurityVersion; /** - * The Attestation Identity Key. - * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate. + * The Boot Manager Version. + * The version of the Boot Manager */ - @SerializedName("attestationIdentityKey") + @SerializedName("bootManagerVersion") @Expose - public String attestationIdentityKey; + public String bootManagerVersion; /** - * The Reset Count. - * The number of times a PC device has hibernated or resumed + * The Boot Revision List Info. + * The Boot Revision List that was loaded during initial boot on the attested device */ - @SerializedName("resetCount") + @SerializedName("bootRevisionListInfo") @Expose - public Long resetCount; + public String bootRevisionListInfo; /** - * The Restart Count. - * The number of times a PC device has rebooted + * The Code Integrity. + * When code integrity is enabled, code execution is restricted to integrity verified code */ - @SerializedName("restartCount") + @SerializedName("codeIntegrity") @Expose - public Long restartCount; + public String codeIntegrity; /** - * The Data Excution Policy. - * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory + * The Code Integrity Check Version. + * The version of the Boot Manager */ - @SerializedName("dataExcutionPolicy") + @SerializedName("codeIntegrityCheckVersion") @Expose - public String dataExcutionPolicy; + public String codeIntegrityCheckVersion; /** - * The Bit Locker Status. - * On or Off of BitLocker Drive Encryption + * The Code Integrity Policy. + * The Code Integrity policy that is controlling the security of the boot environment */ - @SerializedName("bitLockerStatus") + @SerializedName("codeIntegrityPolicy") @Expose - public String bitLockerStatus; + public String codeIntegrityPolicy; /** - * The Boot Manager Version. - * The version of the Boot Manager + * The Content Namespace Url. + * The DHA report version. (Namespace version) */ - @SerializedName("bootManagerVersion") + @SerializedName("contentNamespaceUrl") @Expose - public String bootManagerVersion; + public String contentNamespaceUrl; /** - * The Code Integrity Check Version. - * The version of the Boot Manager + * The Content Version. + * The HealthAttestation state schema version */ - @SerializedName("codeIntegrityCheckVersion") + @SerializedName("contentVersion") @Expose - public String codeIntegrityCheckVersion; + public String contentVersion; /** - * The Secure Boot. - * When Secure Boot is enabled, the core components must have the correct cryptographic signatures + * The Data Excution Policy. + * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory */ - @SerializedName("secureBoot") + @SerializedName("dataExcutionPolicy") @Expose - public String secureBoot; + public String dataExcutionPolicy; /** - * The Boot Debugging. - * When bootDebugging is enabled, the device is used in development and testing + * The Device Health Attestation Status. + * The DHA report version. (Namespace version) */ - @SerializedName("bootDebugging") + @SerializedName("deviceHealthAttestationStatus") @Expose - public String bootDebugging; + public String deviceHealthAttestationStatus; /** - * The Operating System Kernel Debugging. - * When operatingSystemKernelDebugging is enabled, the device is used in development and testing + * The Early Launch Anti Malware Driver Protection. + * ELAM provides protection for the computers in your network when they start up */ - @SerializedName("operatingSystemKernelDebugging") + @SerializedName("earlyLaunchAntiMalwareDriverProtection") @Expose - public String operatingSystemKernelDebugging; + public String earlyLaunchAntiMalwareDriverProtection; /** - * The Code Integrity. - * When code integrity is enabled, code execution is restricted to integrity verified code + * The Health Attestation Supported Status. + * This attribute indicates if DHA is supported for the device */ - @SerializedName("codeIntegrity") + @SerializedName("healthAttestationSupportedStatus") @Expose - public String codeIntegrity; + public String healthAttestationSupportedStatus; /** - * The Test Signing. - * When test signing is allowed, the device does not enforce signature validation during boot + * The Health Status Mismatch Info. + * This attribute appears if DHA-Service detects an integrity issue */ - @SerializedName("testSigning") + @SerializedName("healthStatusMismatchInfo") @Expose - public String testSigning; + public String healthStatusMismatchInfo; /** - * The Safe Mode. - * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state + * The Issued Date Time. + * The DateTime when device was evaluated or issued to MDM */ - @SerializedName("safeMode") + @SerializedName("issuedDateTime") @Expose - public String safeMode; + public java.util.Calendar issuedDateTime; /** - * The Windows PE. - * Operating system running with limited services that is used to prepare a computer for Windows + * The Last Update Date Time. + * The Timestamp of the last update. */ - @SerializedName("windowsPE") + @SerializedName("lastUpdateDateTime") @Expose - public String windowsPE; + public String lastUpdateDateTime; /** - * The Early Launch Anti Malware Driver Protection. - * ELAM provides protection for the computers in your network when they start up + * The Operating System Kernel Debugging. + * When operatingSystemKernelDebugging is enabled, the device is used in development and testing */ - @SerializedName("earlyLaunchAntiMalwareDriverProtection") + @SerializedName("operatingSystemKernelDebugging") @Expose - public String earlyLaunchAntiMalwareDriverProtection; + public String operatingSystemKernelDebugging; /** - * The Virtual Secure Mode. - * VSM is a container that protects high value assets from a compromised kernel + * The Operating System Rev List Info. + * The Operating System Revision List that was loaded during initial boot on the attested device */ - @SerializedName("virtualSecureMode") + @SerializedName("operatingSystemRevListInfo") @Expose - public String virtualSecureMode; + public String operatingSystemRevListInfo; + + /** + * The Pcr0. + * The measurement that is captured in PCR[0] + */ + @SerializedName("pcr0") + @Expose + public String pcr0; /** * The Pcr Hash Algorithm. @@ -212,36 +220,36 @@ public final AdditionalDataManager additionalDataManager() { public String pcrHashAlgorithm; /** - * The Boot App Security Version. - * The security version number of the Boot Application + * The Reset Count. + * The number of times a PC device has hibernated or resumed */ - @SerializedName("bootAppSecurityVersion") + @SerializedName("resetCount") @Expose - public String bootAppSecurityVersion; + public Long resetCount; /** - * The Boot Manager Security Version. - * The security version number of the Boot Application + * The Restart Count. + * The number of times a PC device has rebooted */ - @SerializedName("bootManagerSecurityVersion") + @SerializedName("restartCount") @Expose - public String bootManagerSecurityVersion; + public Long restartCount; /** - * The Tpm Version. - * The security version number of the Boot Application + * The Safe Mode. + * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state */ - @SerializedName("tpmVersion") + @SerializedName("safeMode") @Expose - public String tpmVersion; + public String safeMode; /** - * The Pcr0. - * The measurement that is captured in PCR[0] + * The Secure Boot. + * When Secure Boot is enabled, the core components must have the correct cryptographic signatures */ - @SerializedName("pcr0") + @SerializedName("secureBoot") @Expose - public String pcr0; + public String secureBoot; /** * The Secure Boot Configuration Policy Finger Print. @@ -252,44 +260,36 @@ public final AdditionalDataManager additionalDataManager() { public String secureBootConfigurationPolicyFingerPrint; /** - * The Code Integrity Policy. - * The Code Integrity policy that is controlling the security of the boot environment - */ - @SerializedName("codeIntegrityPolicy") - @Expose - public String codeIntegrityPolicy; - - /** - * The Boot Revision List Info. - * The Boot Revision List that was loaded during initial boot on the attested device + * The Test Signing. + * When test signing is allowed, the device does not enforce signature validation during boot */ - @SerializedName("bootRevisionListInfo") + @SerializedName("testSigning") @Expose - public String bootRevisionListInfo; + public String testSigning; /** - * The Operating System Rev List Info. - * The Operating System Revision List that was loaded during initial boot on the attested device + * The Tpm Version. + * The security version number of the Boot Application */ - @SerializedName("operatingSystemRevListInfo") + @SerializedName("tpmVersion") @Expose - public String operatingSystemRevListInfo; + public String tpmVersion; /** - * The Health Status Mismatch Info. - * This attribute appears if DHA-Service detects an integrity issue + * The Virtual Secure Mode. + * VSM is a container that protects high value assets from a compromised kernel */ - @SerializedName("healthStatusMismatchInfo") + @SerializedName("virtualSecureMode") @Expose - public String healthStatusMismatchInfo; + public String virtualSecureMode; /** - * The Health Attestation Supported Status. - * This attribute indicates if DHA is supported for the device + * The Windows PE. + * Operating system running with limited services that is used to prepare a computer for Windows */ - @SerializedName("healthAttestationSupportedStatus") + @SerializedName("windowsPE") @Expose - public String healthAttestationSupportedStatus; + public String windowsPE; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScript.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScript.java index abe4e6f9c6b..5706d619f7b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScript.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScript.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.RunAsAccountType; import com.microsoft.graph.models.extensions.DeviceHealthScriptParameter; +import com.microsoft.graph.models.generated.RunAsAccountType; import com.microsoft.graph.models.extensions.DeviceHealthScriptAssignment; -import com.microsoft.graph.models.extensions.DeviceHealthScriptRunSummary; import com.microsoft.graph.models.extensions.DeviceHealthScriptDeviceState; +import com.microsoft.graph.models.extensions.DeviceHealthScriptRunSummary; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.DeviceHealthScriptAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceHealthScriptAssignmentCollectionPage; @@ -36,28 +36,12 @@ public class DeviceHealthScript extends Entity implements IJsonBackedObject { /** - * The Publisher. - * Name of the device health script publisher - */ - @SerializedName("publisher") - @Expose - public String publisher; - - /** - * The Version. - * Version of the device health script - */ - @SerializedName("version") - @Expose - public String version; - - /** - * The Display Name. - * Name of the device health script + * The Created Date Time. + * The timestamp of when the device health script was created. This property is read-only. */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -76,20 +60,44 @@ public class DeviceHealthScript extends Entity implements IJsonBackedObject { public byte[] detectionScriptContent; /** - * The Remediation Script Content. - * The entire content of the remediation powershell script + * The Detection Script Parameters. + * List of ComplexType DetectionScriptParameters objects. */ - @SerializedName("remediationScriptContent") + @SerializedName("detectionScriptParameters") @Expose - public byte[] remediationScriptContent; + public java.util.List detectionScriptParameters; /** - * The Created Date Time. - * The timestamp of when the device health script was created. This property is read-only. + * The Display Name. + * Name of the device health script */ - @SerializedName("createdDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar createdDateTime; + public String displayName; + + /** + * The Enforce Signature Check. + * Indicate whether the script signature needs be checked + */ + @SerializedName("enforceSignatureCheck") + @Expose + public Boolean enforceSignatureCheck; + + /** + * The Highest Available Version. + * Highest available version for a Microsoft Proprietary script + */ + @SerializedName("highestAvailableVersion") + @Expose + public String highestAvailableVersion; + + /** + * The Is Global Script. + * Determines if this is Microsoft Proprietary Script. Proprietary scripts are read-only + */ + @SerializedName("isGlobalScript") + @Expose + public Boolean isGlobalScript; /** * The Last Modified Date Time. @@ -100,28 +108,28 @@ public class DeviceHealthScript extends Entity implements IJsonBackedObject { public java.util.Calendar lastModifiedDateTime; /** - * The Run As Account. - * Indicates the type of execution context + * The Publisher. + * Name of the device health script publisher */ - @SerializedName("runAsAccount") + @SerializedName("publisher") @Expose - public RunAsAccountType runAsAccount; + public String publisher; /** - * The Enforce Signature Check. - * Indicate whether the script signature needs be checked + * The Remediation Script Content. + * The entire content of the remediation powershell script */ - @SerializedName("enforceSignatureCheck") + @SerializedName("remediationScriptContent") @Expose - public Boolean enforceSignatureCheck; + public byte[] remediationScriptContent; /** - * The Run As32Bit. - * Indicate whether PowerShell script(s) should run as 32-bit + * The Remediation Script Parameters. + * List of ComplexType RemediationScriptParameters objects. */ - @SerializedName("runAs32Bit") + @SerializedName("remediationScriptParameters") @Expose - public Boolean runAs32Bit; + public java.util.List remediationScriptParameters; /** * The Role Scope Tag Ids. @@ -132,36 +140,28 @@ public class DeviceHealthScript extends Entity implements IJsonBackedObject { public java.util.List roleScopeTagIds; /** - * The Is Global Script. - * Determines if this is Microsoft Proprietary Script. Proprietary scripts are read-only - */ - @SerializedName("isGlobalScript") - @Expose - public Boolean isGlobalScript; - - /** - * The Highest Available Version. - * Highest available version for a Microsoft Proprietary script + * The Run As32Bit. + * Indicate whether PowerShell script(s) should run as 32-bit */ - @SerializedName("highestAvailableVersion") + @SerializedName("runAs32Bit") @Expose - public String highestAvailableVersion; + public Boolean runAs32Bit; /** - * The Detection Script Parameters. - * List of ComplexType DetectionScriptParameters objects. + * The Run As Account. + * Indicates the type of execution context */ - @SerializedName("detectionScriptParameters") + @SerializedName("runAsAccount") @Expose - public java.util.List detectionScriptParameters; + public RunAsAccountType runAsAccount; /** - * The Remediation Script Parameters. - * List of ComplexType RemediationScriptParameters objects. + * The Version. + * Version of the device health script */ - @SerializedName("remediationScriptParameters") + @SerializedName("version") @Expose - public java.util.List remediationScriptParameters; + public String version; /** * The Assignments. @@ -169,6 +169,12 @@ public class DeviceHealthScript extends Entity implements IJsonBackedObject { */ public DeviceHealthScriptAssignmentCollectionPage assignments; + /** + * The Device Run States. + * List of run states for the device health script across all devices + */ + public DeviceHealthScriptDeviceStateCollectionPage deviceRunStates; + /** * The Run Summary. * High level run summary for device health script. @@ -177,12 +183,6 @@ public class DeviceHealthScript extends Entity implements IJsonBackedObject { @Expose public DeviceHealthScriptRunSummary runSummary; - /** - * The Device Run States. - * List of run states for the device health script across all devices - */ - public DeviceHealthScriptDeviceStateCollectionPage deviceRunStates; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptAssignment.java index 33ba8c8b086..3f2217b57f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptAssignment.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.DeviceHealthScriptRunSchedule; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.Entity; @@ -28,14 +28,6 @@ public class DeviceHealthScriptAssignment extends Entity implements IJsonBackedObject { - /** - * The Target. - * The Azure Active Directory group we are targeting the script to - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - /** * The Run Remediation Script. * Determine whether we want to run detection script only or run both detection script and remediation script @@ -52,6 +44,14 @@ public class DeviceHealthScriptAssignment extends Entity implements IJsonBackedO @Expose public DeviceHealthScriptRunSchedule runSchedule; + /** + * The Target. + * The Azure Active Directory group we are targeting the script to + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptDeviceState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptDeviceState.java index cc8083b6f67..c85b852ec45 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptDeviceState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptDeviceState.java @@ -37,14 +37,6 @@ public class DeviceHealthScriptDeviceState extends Entity implements IJsonBacked @Expose public RunState detectionState; - /** - * The Last State Update Date Time. - * The last timestamp of when the device health script executed - */ - @SerializedName("lastStateUpdateDateTime") - @Expose - public java.util.Calendar lastStateUpdateDateTime; - /** * The Expected State Update Date Time. * The next timestamp of when the device health script is expected to execute @@ -53,6 +45,14 @@ public class DeviceHealthScriptDeviceState extends Entity implements IJsonBacked @Expose public java.util.Calendar expectedStateUpdateDateTime; + /** + * The Last State Update Date Time. + * The last timestamp of when the device health script executed + */ + @SerializedName("lastStateUpdateDateTime") + @Expose + public java.util.Calendar lastStateUpdateDateTime; + /** * The Last Sync Date Time. * The last time that Intune Managment Extension synced with Intune @@ -62,44 +62,44 @@ public class DeviceHealthScriptDeviceState extends Entity implements IJsonBacked public java.util.Calendar lastSyncDateTime; /** - * The Pre Remediation Detection Script Output. - * Output of the detection script before remediation + * The Post Remediation Detection Script Error. + * Error from the detection script after remediation */ - @SerializedName("preRemediationDetectionScriptOutput") + @SerializedName("postRemediationDetectionScriptError") @Expose - public String preRemediationDetectionScriptOutput; + public String postRemediationDetectionScriptError; /** - * The Pre Remediation Detection Script Error. - * Error from the detection script before remediation + * The Post Remediation Detection Script Output. + * Detection script output after remediation */ - @SerializedName("preRemediationDetectionScriptError") + @SerializedName("postRemediationDetectionScriptOutput") @Expose - public String preRemediationDetectionScriptError; + public String postRemediationDetectionScriptOutput; /** - * The Remediation Script Error. - * Error output of the remediation script + * The Pre Remediation Detection Script Error. + * Error from the detection script before remediation */ - @SerializedName("remediationScriptError") + @SerializedName("preRemediationDetectionScriptError") @Expose - public String remediationScriptError; + public String preRemediationDetectionScriptError; /** - * The Post Remediation Detection Script Output. - * Detection script output after remediation + * The Pre Remediation Detection Script Output. + * Output of the detection script before remediation */ - @SerializedName("postRemediationDetectionScriptOutput") + @SerializedName("preRemediationDetectionScriptOutput") @Expose - public String postRemediationDetectionScriptOutput; + public String preRemediationDetectionScriptOutput; /** - * The Post Remediation Detection Script Error. - * Error from the detection script after remediation + * The Remediation Script Error. + * Error output of the remediation script */ - @SerializedName("postRemediationDetectionScriptError") + @SerializedName("remediationScriptError") @Expose - public String postRemediationDetectionScriptError; + public String remediationScriptError; /** * The Remediation State. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptParameter.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptParameter.java index 0565a958a89..fafdeebd0ec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptParameter.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptParameter.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Name. - * The name of the param + * The Apply Default Value When Not Assigned. + * Whether Apply DefaultValue When Not Assigned */ - @SerializedName("name") + @SerializedName("applyDefaultValueWhenNotAssigned") @Expose - public String name; + public Boolean applyDefaultValueWhenNotAssigned; /** * The Description. @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public Boolean isRequired; /** - * The Apply Default Value When Not Assigned. - * Whether Apply DefaultValue When Not Assigned + * The Name. + * The name of the param */ - @SerializedName("applyDefaultValueWhenNotAssigned") + @SerializedName("name") @Expose - public Boolean applyDefaultValueWhenNotAssigned; + public String name; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistory.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistory.java index 46213ed3b73..38fbbbf2a8b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistory.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Last Modified Date Time. - * The date on which the results history is calculated for the healthscript. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - /** * The History Data. * The number of devices remediated by the device health script on the given date. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List historyData; + /** + * The Last Modified Date Time. + * The date on which the results history is calculated for the healthscript. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistoryData.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistoryData.java index 18df087a835..fc980e727ad 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistoryData.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationHistoryData.java @@ -43,14 +43,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public com.microsoft.graph.models.extensions.DateOnly date; - /** - * The Remediated Device Count. - * The number of devices remediated by the device health script. - */ - @SerializedName("remediatedDeviceCount") - @Expose - public Integer remediatedDeviceCount; - /** * The No Issue Device Count. * The number of devices that were found to have no issue by the device health script. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer noIssueDeviceCount; + /** + * The Remediated Device Count. + * The number of devices remediated by the device health script. + */ + @SerializedName("remediatedDeviceCount") + @Expose + public Integer remediatedDeviceCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationSummary.java index d93cca3a287..fdbb6739af8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRemediationSummary.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Script Count. - * The number of device health scripts deployed. - */ - @SerializedName("scriptCount") - @Expose - public Integer scriptCount; - /** * The Remediated Device Count. * The number of devices remediated by device health scripts. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer remediatedDeviceCount; + /** + * The Script Count. + * The number of device health scripts deployed. + */ + @SerializedName("scriptCount") + @Expose + public Integer scriptCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRunSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRunSummary.java index 5f98a87c836..b65b32e51aa 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRunSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptRunSummary.java @@ -26,22 +26,6 @@ public class DeviceHealthScriptRunSummary extends Entity implements IJsonBackedObject { - /** - * The No Issue Detected Device Count. - * Number of devices for which the detection script did not find an issue and the device is healthy - */ - @SerializedName("noIssueDetectedDeviceCount") - @Expose - public Integer noIssueDetectedDeviceCount; - - /** - * The Issue Detected Device Count. - * Number of devices for which the detection script found an issue - */ - @SerializedName("issueDetectedDeviceCount") - @Expose - public Integer issueDetectedDeviceCount; - /** * The Detection Script Error Device Count. * Number of devices on which the detection script execution encountered an error and did not complete @@ -59,36 +43,36 @@ public class DeviceHealthScriptRunSummary extends Entity implements IJsonBackedO public Integer detectionScriptPendingDeviceCount; /** - * The Issue Remediated Device Count. - * Number of devices for which the remediation script was able to resolve the detected issue + * The Issue Detected Device Count. + * Number of devices for which the detection script found an issue */ - @SerializedName("issueRemediatedDeviceCount") + @SerializedName("issueDetectedDeviceCount") @Expose - public Integer issueRemediatedDeviceCount; + public Integer issueDetectedDeviceCount; /** - * The Remediation Skipped Device Count. - * Number of devices for which remediation was skipped + * The Issue Remediated Cumulative Device Count. + * Number of devices that were remediated over the last 30 days */ - @SerializedName("remediationSkippedDeviceCount") + @SerializedName("issueRemediatedCumulativeDeviceCount") @Expose - public Integer remediationSkippedDeviceCount; + public Integer issueRemediatedCumulativeDeviceCount; /** - * The Issue Reoccurred Device Count. - * Number of devices for which the remediation script executed successfully but failed to resolve the detected issue + * The Issue Remediated Device Count. + * Number of devices for which the remediation script was able to resolve the detected issue */ - @SerializedName("issueReoccurredDeviceCount") + @SerializedName("issueRemediatedDeviceCount") @Expose - public Integer issueReoccurredDeviceCount; + public Integer issueRemediatedDeviceCount; /** - * The Remediation Script Error Device Count. - * Number of devices for which the remediation script execution encountered an error and did not complete + * The Issue Reoccurred Device Count. + * Number of devices for which the remediation script executed successfully but failed to resolve the detected issue */ - @SerializedName("remediationScriptErrorDeviceCount") + @SerializedName("issueReoccurredDeviceCount") @Expose - public Integer remediationScriptErrorDeviceCount; + public Integer issueReoccurredDeviceCount; /** * The Last Script Run Date Time. @@ -99,12 +83,28 @@ public class DeviceHealthScriptRunSummary extends Entity implements IJsonBackedO public java.util.Calendar lastScriptRunDateTime; /** - * The Issue Remediated Cumulative Device Count. - * Number of devices that were remediated over the last 30 days + * The No Issue Detected Device Count. + * Number of devices for which the detection script did not find an issue and the device is healthy */ - @SerializedName("issueRemediatedCumulativeDeviceCount") + @SerializedName("noIssueDetectedDeviceCount") @Expose - public Integer issueRemediatedCumulativeDeviceCount; + public Integer noIssueDetectedDeviceCount; + + /** + * The Remediation Script Error Device Count. + * Number of devices for which the remediation script execution encountered an error and did not complete + */ + @SerializedName("remediationScriptErrorDeviceCount") + @Expose + public Integer remediationScriptErrorDeviceCount; + + /** + * The Remediation Skipped Device Count. + * Number of devices for which remediation was skipped + */ + @SerializedName("remediationSkippedDeviceCount") + @Expose + public Integer remediationSkippedDeviceCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptTimeSchedule.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptTimeSchedule.java index b01bed4be30..22a4cc4e893 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptTimeSchedule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceHealthScriptTimeSchedule.java @@ -26,14 +26,6 @@ public class DeviceHealthScriptTimeSchedule extends DeviceHealthScriptRunSchedule implements IJsonBackedObject { - /** - * The Use Utc. - * Indicate if the time is Utc or client local time. - */ - @SerializedName("useUtc") - @Expose - public Boolean useUtc; - /** * The Time. * At what time the script is scheduled to run. This collection can contain a maximum of 20 elements. @@ -42,6 +34,14 @@ public class DeviceHealthScriptTimeSchedule extends DeviceHealthScriptRunSchedul @Expose public com.microsoft.graph.models.extensions.TimeOfDay time; + /** + * The Use Utc. + * Indicate if the time is Utc or client local time. + */ + @SerializedName("useUtc") + @Expose + public Boolean useUtc; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java index f7f0a863326..76b7f81186e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceInstallState.java @@ -27,14 +27,6 @@ public class DeviceInstallState extends Entity implements IJsonBackedObject { - /** - * The Device Name. - * Device name. - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - /** * The Device Id. * Device Id. @@ -44,20 +36,12 @@ public class DeviceInstallState extends Entity implements IJsonBackedObject { public String deviceId; /** - * The Last Sync Date Time. - * Last sync date and time. - */ - @SerializedName("lastSyncDateTime") - @Expose - public java.util.Calendar lastSyncDateTime; - - /** - * The Install State. - * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. + * The Device Name. + * Device name. */ - @SerializedName("installState") + @SerializedName("deviceName") @Expose - public InstallState installState; + public String deviceName; /** * The Error Code. @@ -68,12 +52,20 @@ public class DeviceInstallState extends Entity implements IJsonBackedObject { public String errorCode; /** - * The Os Version. - * OS Version. + * The Install State. + * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. */ - @SerializedName("osVersion") + @SerializedName("installState") @Expose - public String osVersion; + public InstallState installState; + + /** + * The Last Sync Date Time. + * Last sync date and time. + */ + @SerializedName("lastSyncDateTime") + @Expose + public java.util.Calendar lastSyncDateTime; /** * The Os Description. @@ -83,6 +75,14 @@ public class DeviceInstallState extends Entity implements IJsonBackedObject { @Expose public String osDescription; + /** + * The Os Version. + * OS Version. + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + /** * The User Name. * Device User Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceKey.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceKey.java index c79a1d23010..50c82e87450 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceKey.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceKey.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Key Type. + * The Device Id. * */ - @SerializedName("keyType") + @SerializedName("deviceId") @Expose - public String keyType; + public java.util.UUID deviceId; /** * The Key Material. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public byte[] keyMaterial; /** - * The Device Id. + * The Key Type. * */ - @SerializedName("deviceId") + @SerializedName("keyType") @Expose - public java.util.UUID deviceId; + public String keyType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceLogCollectionResponse.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceLogCollectionResponse.java index 23e31ab649b..ea6d3b11f0d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceLogCollectionResponse.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceLogCollectionResponse.java @@ -27,36 +27,36 @@ public class DeviceLogCollectionResponse extends Entity implements IJsonBackedOb /** - * The Status. - * The status of the log collection request + * The Error Code. + * The error code, if any. Valid values -9.22337203685478E+18 to 9.22337203685478E+18 */ - @SerializedName("status") + @SerializedName("errorCode") @Expose - public String status; + public Long errorCode; /** - * The Managed Device Id. - * The device Id + * The Expiration Date Time UTC. + * The DateTime of the expiration of the logs */ - @SerializedName("managedDeviceId") + @SerializedName("expirationDateTimeUTC") @Expose - public java.util.UUID managedDeviceId; + public java.util.Calendar expirationDateTimeUTC; /** - * The Error Code. - * The error code, if any. Valid values -9.22337203685478E+18 to 9.22337203685478E+18 + * The Initiated By User Principal Name. + * The UPN for who initiated the request */ - @SerializedName("errorCode") + @SerializedName("initiatedByUserPrincipalName") @Expose - public Long errorCode; + public String initiatedByUserPrincipalName; /** - * The Requested Date Time UTC. - * The DateTime of the request + * The Managed Device Id. + * The device Id */ - @SerializedName("requestedDateTimeUTC") + @SerializedName("managedDeviceId") @Expose - public java.util.Calendar requestedDateTimeUTC; + public java.util.UUID managedDeviceId; /** * The Received Date Time UTC. @@ -67,20 +67,12 @@ public class DeviceLogCollectionResponse extends Entity implements IJsonBackedOb public java.util.Calendar receivedDateTimeUTC; /** - * The Initiated By User Principal Name. - * The UPN for who initiated the request - */ - @SerializedName("initiatedByUserPrincipalName") - @Expose - public String initiatedByUserPrincipalName; - - /** - * The Expiration Date Time UTC. - * The DateTime of the expiration of the logs + * The Requested Date Time UTC. + * The DateTime of the request */ - @SerializedName("expirationDateTimeUTC") + @SerializedName("requestedDateTimeUTC") @Expose - public java.util.Calendar expirationDateTimeUTC; + public java.util.Calendar requestedDateTimeUTC; /** * The Size. @@ -90,6 +82,14 @@ public class DeviceLogCollectionResponse extends Entity implements IJsonBackedOb @Expose public Double size; + /** + * The Status. + * The status of the log collection request + */ + @SerializedName("status") + @Expose + public String status; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java index beb62da4bc8..8afc4fb9984 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagement.java @@ -10,184 +10,186 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.DeviceManagementSettings; import com.microsoft.graph.models.extensions.IntuneBrand; -import com.microsoft.graph.models.generated.DeviceManagementSubscriptionState; -import com.microsoft.graph.models.generated.DeviceManagementSubscriptions; -import com.microsoft.graph.models.extensions.ManagedDeviceCleanupSettings; import com.microsoft.graph.models.extensions.AdminConsent; import com.microsoft.graph.models.extensions.DeviceProtectionOverview; -import com.microsoft.graph.models.extensions.WindowsMalwareOverview; +import com.microsoft.graph.models.extensions.ManagedDeviceCleanupSettings; +import com.microsoft.graph.models.generated.DeviceManagementSubscriptions; +import com.microsoft.graph.models.generated.DeviceManagementSubscriptionState; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsSettings; +import com.microsoft.graph.models.extensions.WindowsMalwareOverview; import com.microsoft.graph.models.extensions.AuditEvent; -import com.microsoft.graph.models.extensions.AndroidForWorkSettings; +import com.microsoft.graph.models.extensions.AndroidDeviceOwnerEnrollmentProfile; import com.microsoft.graph.models.extensions.AndroidForWorkAppConfigurationSchema; import com.microsoft.graph.models.extensions.AndroidForWorkEnrollmentProfile; +import com.microsoft.graph.models.extensions.AndroidForWorkSettings; import com.microsoft.graph.models.extensions.AndroidManagedStoreAccountEnterpriseSettings; import com.microsoft.graph.models.extensions.AndroidManagedStoreAppConfigurationSchema; -import com.microsoft.graph.models.extensions.AndroidDeviceOwnerEnrollmentProfile; import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentFilter; import com.microsoft.graph.models.extensions.TermsAndConditions; -import com.microsoft.graph.models.extensions.DeviceConfiguration; +import com.microsoft.graph.models.extensions.AdvancedThreatProtectionOnboardingStateSummary; +import com.microsoft.graph.models.extensions.CartToClassAssociation; import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; -import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; import com.microsoft.graph.models.extensions.DeviceCompliancePolicyDeviceStateSummary; import com.microsoft.graph.models.extensions.DeviceCompliancePolicySettingStateSummary; -import com.microsoft.graph.models.extensions.AdvancedThreatProtectionOnboardingStateSummary; +import com.microsoft.graph.models.extensions.DeviceConfigurationConflictSummary; import com.microsoft.graph.models.extensions.DeviceConfigurationDeviceStateSummary; +import com.microsoft.graph.models.extensions.RestrictedAppsViolation; +import com.microsoft.graph.models.extensions.DeviceConfiguration; +import com.microsoft.graph.models.extensions.ManagedAllDeviceCertificateState; import com.microsoft.graph.models.extensions.DeviceConfigurationUserStateSummary; -import com.microsoft.graph.models.extensions.CartToClassAssociation; import com.microsoft.graph.models.extensions.IosUpdateDeviceStatus; -import com.microsoft.graph.models.extensions.NdesConnector; -import com.microsoft.graph.models.extensions.RestrictedAppsViolation; import com.microsoft.graph.models.extensions.ManagedDeviceEncryptionState; -import com.microsoft.graph.models.extensions.DeviceConfigurationConflictSummary; -import com.microsoft.graph.models.extensions.ManagedAllDeviceCertificateState; +import com.microsoft.graph.models.extensions.NdesConnector; +import com.microsoft.graph.models.extensions.SoftwareUpdateStatusSummary; +import com.microsoft.graph.models.extensions.ComplianceManagementPartner; +import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; import com.microsoft.graph.models.extensions.DeviceCategory; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; import com.microsoft.graph.models.extensions.DeviceEnrollmentConfiguration; +import com.microsoft.graph.models.extensions.DeviceManagementPartner; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeConnector; import com.microsoft.graph.models.extensions.DeviceManagementExchangeOnPremisesPolicy; -import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; import com.microsoft.graph.models.extensions.MobileThreatDefenseConnector; -import com.microsoft.graph.models.extensions.DeviceManagementPartner; -import com.microsoft.graph.models.extensions.ComplianceManagementPartner; +import com.microsoft.graph.models.extensions.DeviceManagementSettingCategory; import com.microsoft.graph.models.extensions.DeviceManagementIntent; import com.microsoft.graph.models.extensions.DeviceManagementSettingDefinition; import com.microsoft.graph.models.extensions.DeviceManagementTemplate; -import com.microsoft.graph.models.extensions.DeviceManagementSettingCategory; -import com.microsoft.graph.models.extensions.RemoteActionAudit; import com.microsoft.graph.models.extensions.ApplePushNotificationCertificate; +import com.microsoft.graph.models.extensions.ManagedDevice; +import com.microsoft.graph.models.extensions.ComanagementEligibleDevice; +import com.microsoft.graph.models.extensions.DataSharingConsent; +import com.microsoft.graph.models.extensions.DetectedApp; +import com.microsoft.graph.models.extensions.DeviceComplianceScript; +import com.microsoft.graph.models.extensions.DeviceHealthScript; import com.microsoft.graph.models.extensions.DeviceManagementScript; import com.microsoft.graph.models.extensions.DeviceShellScript; -import com.microsoft.graph.models.extensions.DeviceHealthScript; -import com.microsoft.graph.models.extensions.DeviceComplianceScript; import com.microsoft.graph.models.extensions.ManagedDeviceOverview; -import com.microsoft.graph.models.extensions.DetectedApp; -import com.microsoft.graph.models.extensions.ManagedDevice; -import com.microsoft.graph.models.extensions.WindowsMalwareInformation; -import com.microsoft.graph.models.extensions.DataSharingConsent; import com.microsoft.graph.models.extensions.MobileAppTroubleshootingEvent; -import com.microsoft.graph.models.extensions.UserExperienceAnalyticsOverview; +import com.microsoft.graph.models.extensions.RemoteActionAudit; +import com.microsoft.graph.models.extensions.UserExperienceAnalyticsAppHealthApplicationPerformance; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsBaseline; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsCategory; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsDevicePerformance; -import com.microsoft.graph.models.extensions.UserExperienceAnalyticsRegressionSummary; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsDeviceStartupHistory; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsDeviceStartupProcess; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsDeviceStartupProcessPerformance; -import com.microsoft.graph.models.extensions.UserExperienceAnalyticsScoreHistory; import com.microsoft.graph.models.extensions.UserExperienceAnalyticsMetricHistory; -import com.microsoft.graph.models.extensions.UserExperienceAnalyticsAppHealthApplicationPerformance; -import com.microsoft.graph.models.extensions.ComanagementEligibleDevice; +import com.microsoft.graph.models.extensions.UserExperienceAnalyticsOverview; +import com.microsoft.graph.models.extensions.UserExperienceAnalyticsRegressionSummary; +import com.microsoft.graph.models.extensions.UserExperienceAnalyticsScoreHistory; +import com.microsoft.graph.models.extensions.WindowsMalwareInformation; import com.microsoft.graph.models.extensions.DeviceManagementDerivedCredentialSettings; -import com.microsoft.graph.models.extensions.WindowsAutopilotSettings; -import com.microsoft.graph.models.extensions.WindowsAutopilotDeviceIdentity; -import com.microsoft.graph.models.extensions.WindowsAutopilotDeploymentProfile; -import com.microsoft.graph.models.extensions.ImportedDeviceIdentity; +import com.microsoft.graph.models.extensions.AppleUserInitiatedEnrollmentProfile; import com.microsoft.graph.models.extensions.DepOnboardingSetting; +import com.microsoft.graph.models.extensions.ImportedDeviceIdentity; import com.microsoft.graph.models.extensions.ImportedWindowsAutopilotDeviceIdentity; -import com.microsoft.graph.models.extensions.AppleUserInitiatedEnrollmentProfile; +import com.microsoft.graph.models.extensions.WindowsAutopilotDeploymentProfile; +import com.microsoft.graph.models.extensions.WindowsAutopilotDeviceIdentity; +import com.microsoft.graph.models.extensions.WindowsAutopilotSettings; import com.microsoft.graph.models.extensions.ManagementCondition; import com.microsoft.graph.models.extensions.ManagementConditionStatement; -import com.microsoft.graph.models.extensions.GroupPolicyObjectFile; import com.microsoft.graph.models.extensions.GroupPolicyMigrationReport; -import com.microsoft.graph.models.extensions.GroupPolicyConfiguration; +import com.microsoft.graph.models.extensions.GroupPolicyObjectFile; import com.microsoft.graph.models.extensions.GroupPolicyCategory; -import com.microsoft.graph.models.extensions.GroupPolicyDefinition; +import com.microsoft.graph.models.extensions.GroupPolicyConfiguration; import com.microsoft.graph.models.extensions.GroupPolicyDefinitionFile; +import com.microsoft.graph.models.extensions.GroupPolicyDefinition; import com.microsoft.graph.models.extensions.GroupPolicyUploadedDefinitionFile; import com.microsoft.graph.models.extensions.NotificationMessageTemplate; import com.microsoft.graph.models.extensions.DeviceManagementDomainJoinConnector; -import com.microsoft.graph.models.extensions.RoleDefinition; +import com.microsoft.graph.models.extensions.ResourceOperation; import com.microsoft.graph.models.extensions.DeviceAndAppManagementRoleAssignment; +import com.microsoft.graph.models.extensions.RoleDefinition; import com.microsoft.graph.models.extensions.RoleScopeTag; -import com.microsoft.graph.models.extensions.ResourceOperation; import com.microsoft.graph.models.extensions.RemoteAssistancePartner; import com.microsoft.graph.models.extensions.DeviceManagementReports; -import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; import com.microsoft.graph.models.extensions.EmbeddedSIMActivationCodePool; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; +import com.microsoft.graph.models.extensions.TelecomExpenseManagementPartner; import com.microsoft.graph.models.extensions.DeviceManagementAutopilotEvent; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingEvent; import com.microsoft.graph.models.extensions.WindowsFeatureUpdateProfile; +import com.microsoft.graph.models.extensions.IntuneBrandingProfile; import com.microsoft.graph.models.extensions.WindowsInformationProtectionAppLearningSummary; import com.microsoft.graph.models.extensions.WindowsInformationProtectionNetworkLearningSummary; -import com.microsoft.graph.models.extensions.IntuneBrandingProfile; import com.microsoft.graph.models.extensions.UserPFXCertificate; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.AuditEventCollectionResponse; import com.microsoft.graph.requests.extensions.AuditEventCollectionPage; +import com.microsoft.graph.requests.extensions.AndroidDeviceOwnerEnrollmentProfileCollectionResponse; +import com.microsoft.graph.requests.extensions.AndroidDeviceOwnerEnrollmentProfileCollectionPage; import com.microsoft.graph.requests.extensions.AndroidForWorkAppConfigurationSchemaCollectionResponse; import com.microsoft.graph.requests.extensions.AndroidForWorkAppConfigurationSchemaCollectionPage; import com.microsoft.graph.requests.extensions.AndroidForWorkEnrollmentProfileCollectionResponse; import com.microsoft.graph.requests.extensions.AndroidForWorkEnrollmentProfileCollectionPage; import com.microsoft.graph.requests.extensions.AndroidManagedStoreAppConfigurationSchemaCollectionResponse; import com.microsoft.graph.requests.extensions.AndroidManagedStoreAppConfigurationSchemaCollectionPage; -import com.microsoft.graph.requests.extensions.AndroidDeviceOwnerEnrollmentProfileCollectionResponse; -import com.microsoft.graph.requests.extensions.AndroidDeviceOwnerEnrollmentProfileCollectionPage; import com.microsoft.graph.requests.extensions.DeviceAndAppManagementAssignmentFilterCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceAndAppManagementAssignmentFilterCollectionPage; import com.microsoft.graph.requests.extensions.TermsAndConditionsCollectionResponse; import com.microsoft.graph.requests.extensions.TermsAndConditionsCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.CartToClassAssociationCollectionResponse; +import com.microsoft.graph.requests.extensions.CartToClassAssociationCollectionPage; import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyCollectionPage; import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceCompliancePolicySettingStateSummaryCollectionPage; -import com.microsoft.graph.requests.extensions.CartToClassAssociationCollectionResponse; -import com.microsoft.graph.requests.extensions.CartToClassAssociationCollectionPage; -import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionPage; -import com.microsoft.graph.requests.extensions.NdesConnectorCollectionResponse; -import com.microsoft.graph.requests.extensions.NdesConnectorCollectionPage; -import com.microsoft.graph.requests.extensions.RestrictedAppsViolationCollectionResponse; -import com.microsoft.graph.requests.extensions.RestrictedAppsViolationCollectionPage; -import com.microsoft.graph.requests.extensions.ManagedDeviceEncryptionStateCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedDeviceEncryptionStateCollectionPage; import com.microsoft.graph.requests.extensions.DeviceConfigurationConflictSummaryCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceConfigurationConflictSummaryCollectionPage; +import com.microsoft.graph.requests.extensions.RestrictedAppsViolationCollectionResponse; +import com.microsoft.graph.requests.extensions.RestrictedAppsViolationCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationCollectionPage; import com.microsoft.graph.requests.extensions.ManagedAllDeviceCertificateStateCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedAllDeviceCertificateStateCollectionPage; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.IosUpdateDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedDeviceEncryptionStateCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedDeviceEncryptionStateCollectionPage; +import com.microsoft.graph.requests.extensions.NdesConnectorCollectionResponse; +import com.microsoft.graph.requests.extensions.NdesConnectorCollectionPage; +import com.microsoft.graph.requests.extensions.ComplianceManagementPartnerCollectionResponse; +import com.microsoft.graph.requests.extensions.ComplianceManagementPartnerCollectionPage; import com.microsoft.graph.requests.extensions.DeviceCategoryCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceCategoryCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionPage; import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceEnrollmentConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementExchangeConnectorCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementExchangeOnPremisesPolicyCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementExchangeOnPremisesPolicyCollectionPage; import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorCollectionResponse; import com.microsoft.graph.requests.extensions.MobileThreatDefenseConnectorCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementPartnerCollectionPage; -import com.microsoft.graph.requests.extensions.ComplianceManagementPartnerCollectionResponse; -import com.microsoft.graph.requests.extensions.ComplianceManagementPartnerCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementSettingCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementSettingCategoryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementIntentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementIntentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementSettingDefinitionCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementSettingDefinitionCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementTemplateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementTemplateCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceManagementSettingCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementSettingCategoryCollectionPage; -import com.microsoft.graph.requests.extensions.RemoteActionAuditCollectionResponse; -import com.microsoft.graph.requests.extensions.RemoteActionAuditCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceManagementScriptCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementScriptCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceShellScriptCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceShellScriptCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceHealthScriptCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceHealthScriptCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceComplianceScriptCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceComplianceScriptCollectionPage; -import com.microsoft.graph.requests.extensions.DetectedAppCollectionResponse; -import com.microsoft.graph.requests.extensions.DetectedAppCollectionPage; import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedDeviceCollectionPage; -import com.microsoft.graph.requests.extensions.WindowsMalwareInformationCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsMalwareInformationCollectionPage; +import com.microsoft.graph.requests.extensions.ComanagementEligibleDeviceCollectionResponse; +import com.microsoft.graph.requests.extensions.ComanagementEligibleDeviceCollectionPage; import com.microsoft.graph.requests.extensions.DataSharingConsentCollectionResponse; import com.microsoft.graph.requests.extensions.DataSharingConsentCollectionPage; +import com.microsoft.graph.requests.extensions.DetectedAppCollectionResponse; +import com.microsoft.graph.requests.extensions.DetectedAppCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceComplianceScriptCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceComplianceScriptCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceHealthScriptCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceHealthScriptCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementScriptCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementScriptCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceShellScriptCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceShellScriptCollectionPage; import com.microsoft.graph.requests.extensions.MobileAppTroubleshootingEventCollectionResponse; import com.microsoft.graph.requests.extensions.MobileAppTroubleshootingEventCollectionPage; +import com.microsoft.graph.requests.extensions.RemoteActionAuditCollectionResponse; +import com.microsoft.graph.requests.extensions.RemoteActionAuditCollectionPage; +import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse; +import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage; import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsBaselineCollectionResponse; import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsBaselineCollectionPage; import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsCategoryCollectionResponse; @@ -200,76 +202,74 @@ import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsDeviceStartupProcessCollectionPage; import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse; import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionPage; -import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsScoreHistoryCollectionResponse; -import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsScoreHistoryCollectionPage; import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsMetricHistoryCollectionResponse; import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsMetricHistoryCollectionPage; -import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse; -import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage; -import com.microsoft.graph.requests.extensions.ComanagementEligibleDeviceCollectionResponse; -import com.microsoft.graph.requests.extensions.ComanagementEligibleDeviceCollectionPage; +import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsScoreHistoryCollectionResponse; +import com.microsoft.graph.requests.extensions.UserExperienceAnalyticsScoreHistoryCollectionPage; +import com.microsoft.graph.requests.extensions.WindowsMalwareInformationCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsMalwareInformationCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementDerivedCredentialSettingsCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementDerivedCredentialSettingsCollectionPage; -import com.microsoft.graph.requests.extensions.WindowsAutopilotDeviceIdentityCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsAutopilotDeviceIdentityCollectionPage; -import com.microsoft.graph.requests.extensions.WindowsAutopilotDeploymentProfileCollectionResponse; -import com.microsoft.graph.requests.extensions.WindowsAutopilotDeploymentProfileCollectionPage; -import com.microsoft.graph.requests.extensions.ImportedDeviceIdentityCollectionResponse; -import com.microsoft.graph.requests.extensions.ImportedDeviceIdentityCollectionPage; +import com.microsoft.graph.requests.extensions.AppleUserInitiatedEnrollmentProfileCollectionResponse; +import com.microsoft.graph.requests.extensions.AppleUserInitiatedEnrollmentProfileCollectionPage; import com.microsoft.graph.requests.extensions.DepOnboardingSettingCollectionResponse; import com.microsoft.graph.requests.extensions.DepOnboardingSettingCollectionPage; +import com.microsoft.graph.requests.extensions.ImportedDeviceIdentityCollectionResponse; +import com.microsoft.graph.requests.extensions.ImportedDeviceIdentityCollectionPage; import com.microsoft.graph.requests.extensions.ImportedWindowsAutopilotDeviceIdentityCollectionResponse; import com.microsoft.graph.requests.extensions.ImportedWindowsAutopilotDeviceIdentityCollectionPage; -import com.microsoft.graph.requests.extensions.AppleUserInitiatedEnrollmentProfileCollectionResponse; -import com.microsoft.graph.requests.extensions.AppleUserInitiatedEnrollmentProfileCollectionPage; +import com.microsoft.graph.requests.extensions.WindowsAutopilotDeploymentProfileCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsAutopilotDeploymentProfileCollectionPage; +import com.microsoft.graph.requests.extensions.WindowsAutopilotDeviceIdentityCollectionResponse; +import com.microsoft.graph.requests.extensions.WindowsAutopilotDeviceIdentityCollectionPage; import com.microsoft.graph.requests.extensions.ManagementConditionCollectionResponse; import com.microsoft.graph.requests.extensions.ManagementConditionCollectionPage; import com.microsoft.graph.requests.extensions.ManagementConditionStatementCollectionResponse; import com.microsoft.graph.requests.extensions.ManagementConditionStatementCollectionPage; -import com.microsoft.graph.requests.extensions.GroupPolicyObjectFileCollectionResponse; -import com.microsoft.graph.requests.extensions.GroupPolicyObjectFileCollectionPage; import com.microsoft.graph.requests.extensions.GroupPolicyMigrationReportCollectionResponse; import com.microsoft.graph.requests.extensions.GroupPolicyMigrationReportCollectionPage; -import com.microsoft.graph.requests.extensions.GroupPolicyConfigurationCollectionResponse; -import com.microsoft.graph.requests.extensions.GroupPolicyConfigurationCollectionPage; +import com.microsoft.graph.requests.extensions.GroupPolicyObjectFileCollectionResponse; +import com.microsoft.graph.requests.extensions.GroupPolicyObjectFileCollectionPage; import com.microsoft.graph.requests.extensions.GroupPolicyCategoryCollectionResponse; import com.microsoft.graph.requests.extensions.GroupPolicyCategoryCollectionPage; -import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionCollectionPage; +import com.microsoft.graph.requests.extensions.GroupPolicyConfigurationCollectionResponse; +import com.microsoft.graph.requests.extensions.GroupPolicyConfigurationCollectionPage; import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionFileCollectionResponse; import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionFileCollectionPage; +import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionCollectionPage; import com.microsoft.graph.requests.extensions.GroupPolicyUploadedDefinitionFileCollectionResponse; import com.microsoft.graph.requests.extensions.GroupPolicyUploadedDefinitionFileCollectionPage; import com.microsoft.graph.requests.extensions.NotificationMessageTemplateCollectionResponse; import com.microsoft.graph.requests.extensions.NotificationMessageTemplateCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementDomainJoinConnectorCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementDomainJoinConnectorCollectionPage; -import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionPage; +import com.microsoft.graph.requests.extensions.ResourceOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.ResourceOperationCollectionPage; import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceAndAppManagementRoleAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.RoleDefinitionCollectionPage; import com.microsoft.graph.requests.extensions.RoleScopeTagCollectionResponse; import com.microsoft.graph.requests.extensions.RoleScopeTagCollectionPage; -import com.microsoft.graph.requests.extensions.ResourceOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.ResourceOperationCollectionPage; import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerCollectionResponse; import com.microsoft.graph.requests.extensions.RemoteAssistancePartnerCollectionPage; -import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionResponse; -import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionPage; import com.microsoft.graph.requests.extensions.EmbeddedSIMActivationCodePoolCollectionResponse; import com.microsoft.graph.requests.extensions.EmbeddedSIMActivationCodePoolCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionPage; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionResponse; +import com.microsoft.graph.requests.extensions.TelecomExpenseManagementPartnerCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementAutopilotEventCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementAutopilotEventCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementTroubleshootingEventCollectionPage; import com.microsoft.graph.requests.extensions.WindowsFeatureUpdateProfileCollectionResponse; import com.microsoft.graph.requests.extensions.WindowsFeatureUpdateProfileCollectionPage; +import com.microsoft.graph.requests.extensions.IntuneBrandingProfileCollectionResponse; +import com.microsoft.graph.requests.extensions.IntuneBrandingProfileCollectionPage; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryCollectionResponse; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionAppLearningSummaryCollectionPage; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryCollectionResponse; import com.microsoft.graph.requests.extensions.WindowsInformationProtectionNetworkLearningSummaryCollectionPage; -import com.microsoft.graph.requests.extensions.IntuneBrandingProfileCollectionResponse; -import com.microsoft.graph.requests.extensions.IntuneBrandingProfileCollectionPage; import com.microsoft.graph.requests.extensions.UserPFXCertificateCollectionResponse; import com.microsoft.graph.requests.extensions.UserPFXCertificateCollectionPage; @@ -290,20 +290,12 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { /** - * The Settings. - * Account level settings. - */ - @SerializedName("settings") - @Expose - public DeviceManagementSettings settings; - - /** - * The Maximum Dep Tokens. - * Maximum number of dep tokens allowed per-tenant. + * The Device Compliance Report Summarization Date Time. + * The last requested time of device compliance reporting for this account. This property is read-only. */ - @SerializedName("maximumDepTokens") + @SerializedName("deviceComplianceReportSummarizationDateTime") @Expose - public Integer maximumDepTokens; + public java.util.Calendar deviceComplianceReportSummarizationDateTime; /** * The Intune Account Id. @@ -321,14 +313,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastReportAggregationDateTime; - /** - * The Device Compliance Report Summarization Date Time. - * The last requested time of device compliance reporting for this account. This property is read-only. - */ - @SerializedName("deviceComplianceReportSummarizationDateTime") - @Expose - public java.util.Calendar deviceComplianceReportSummarizationDateTime; - /** * The Legacy Pc Manangement Enabled. * The property to enable Non-MDM managed legacy PC management for this account. This property is read-only. @@ -338,44 +322,44 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public Boolean legacyPcManangementEnabled; /** - * The Unlicensed Adminstrators Enabled. - * When enabled, users assigned as administrators via Role Assignment Memberships do not require an assigned Intune license. Prior to this, only Intune licensed users were granted permissions with an Intune role unless they were assigned a role via Azure Active Directory. You are limited to 350 unlicensed direct members for each AAD security group in a role assignment, but you can assign multiple AAD security groups to a role if you need to support more than 350 unlicensed administrators. Licensed administrators are unaffected, do not have to be direct members, nor does the 350 member limit apply. This property is read-only. + * The Maximum Dep Tokens. + * Maximum number of dep tokens allowed per-tenant. */ - @SerializedName("unlicensedAdminstratorsEnabled") + @SerializedName("maximumDepTokens") @Expose - public Boolean unlicensedAdminstratorsEnabled; + public Integer maximumDepTokens; /** - * The Intune Brand. - * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. + * The Settings. + * Account level settings. */ - @SerializedName("intuneBrand") + @SerializedName("settings") @Expose - public IntuneBrand intuneBrand; + public DeviceManagementSettings settings; /** - * The Subscription State. - * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. + * The Unlicensed Adminstrators Enabled. + * When enabled, users assigned as administrators via Role Assignment Memberships do not require an assigned Intune license. Prior to this, only Intune licensed users were granted permissions with an Intune role unless they were assigned a role via Azure Active Directory. You are limited to 350 unlicensed direct members for each AAD security group in a role assignment, but you can assign multiple AAD security groups to a role if you need to support more than 350 unlicensed administrators. Licensed administrators are unaffected, do not have to be direct members, nor does the 350 member limit apply. This property is read-only. */ - @SerializedName("subscriptionState") + @SerializedName("unlicensedAdminstratorsEnabled") @Expose - public DeviceManagementSubscriptionState subscriptionState; + public Boolean unlicensedAdminstratorsEnabled; /** - * The Subscriptions. - * Tenant's Subscription. + * The Intune Brand. + * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. */ - @SerializedName("subscriptions") + @SerializedName("intuneBrand") @Expose - public EnumSet subscriptions; + public IntuneBrand intuneBrand; /** - * The Managed Device Cleanup Settings. - * Device cleanup rule + * The Account Move Completion Date Time. + * The date & time when tenant data moved between scaleunits. */ - @SerializedName("managedDeviceCleanupSettings") + @SerializedName("accountMoveCompletionDateTime") @Expose - public ManagedDeviceCleanupSettings managedDeviceCleanupSettings; + public java.util.Calendar accountMoveCompletionDateTime; /** * The Admin Consent. @@ -394,20 +378,28 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public DeviceProtectionOverview deviceProtectionOverview; /** - * The Windows Malware Overview. - * Malware overview for windows devices. + * The Managed Device Cleanup Settings. + * Device cleanup rule */ - @SerializedName("windowsMalwareOverview") + @SerializedName("managedDeviceCleanupSettings") @Expose - public WindowsMalwareOverview windowsMalwareOverview; + public ManagedDeviceCleanupSettings managedDeviceCleanupSettings; /** - * The Account Move Completion Date Time. - * The date & time when tenant data moved between scaleunits. + * The Subscriptions. + * Tenant's Subscription. */ - @SerializedName("accountMoveCompletionDateTime") + @SerializedName("subscriptions") @Expose - public java.util.Calendar accountMoveCompletionDateTime; + public EnumSet subscriptions; + + /** + * The Subscription State. + * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. + */ + @SerializedName("subscriptionState") + @Expose + public DeviceManagementSubscriptionState subscriptionState; /** * The User Experience Analytics Settings. @@ -417,6 +409,14 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { @Expose public UserExperienceAnalyticsSettings userExperienceAnalyticsSettings; + /** + * The Windows Malware Overview. + * Malware overview for windows devices. + */ + @SerializedName("windowsMalwareOverview") + @Expose + public WindowsMalwareOverview windowsMalwareOverview; + /** * The Audit Events. * The Audit Events @@ -424,12 +424,10 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public AuditEventCollectionPage auditEvents; /** - * The Android For Work Settings. - * The singleton Android for Work settings entity. + * The Android Device Owner Enrollment Profiles. + * Android device owner enrollment profile entities. */ - @SerializedName("androidForWorkSettings") - @Expose - public AndroidForWorkSettings androidForWorkSettings; + public AndroidDeviceOwnerEnrollmentProfileCollectionPage androidDeviceOwnerEnrollmentProfiles; /** * The Android For Work App Configuration Schemas. @@ -443,6 +441,14 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public AndroidForWorkEnrollmentProfileCollectionPage androidForWorkEnrollmentProfiles; + /** + * The Android For Work Settings. + * The singleton Android for Work settings entity. + */ + @SerializedName("androidForWorkSettings") + @Expose + public AndroidForWorkSettings androidForWorkSettings; + /** * The Android Managed Store Account Enterprise Settings. * The singleton Android managed store account enterprise settings entity. @@ -457,12 +463,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public AndroidManagedStoreAppConfigurationSchemaCollectionPage androidManagedStoreAppConfigurationSchemas; - /** - * The Android Device Owner Enrollment Profiles. - * Android device owner enrollment profile entities. - */ - public AndroidDeviceOwnerEnrollmentProfileCollectionPage androidDeviceOwnerEnrollmentProfiles; - /** * The Assignment Filters. * The list of assignment filters @@ -476,24 +476,24 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public TermsAndConditionsCollectionPage termsAndConditions; /** - * The Device Configurations. - * The device configurations. + * The Advanced Threat Protection Onboarding State Summary. + * The summary state of ATP onboarding state for this account. */ - public DeviceConfigurationCollectionPage deviceConfigurations; + @SerializedName("advancedThreatProtectionOnboardingStateSummary") + @Expose + public AdvancedThreatProtectionOnboardingStateSummary advancedThreatProtectionOnboardingStateSummary; /** - * The Device Compliance Policies. - * The device compliance policies. + * The Cart To Class Associations. + * The Cart To Class Associations. */ - public DeviceCompliancePolicyCollectionPage deviceCompliancePolicies; + public CartToClassAssociationCollectionPage cartToClassAssociations; /** - * The Software Update Status Summary. - * The software update status summary. + * The Device Compliance Policies. + * The device compliance policies. */ - @SerializedName("softwareUpdateStatusSummary") - @Expose - public SoftwareUpdateStatusSummary softwareUpdateStatusSummary; + public DeviceCompliancePolicyCollectionPage deviceCompliancePolicies; /** * The Device Compliance Policy Device State Summary. @@ -510,12 +510,10 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public DeviceCompliancePolicySettingStateSummaryCollectionPage deviceCompliancePolicySettingStateSummaries; /** - * The Advanced Threat Protection Onboarding State Summary. - * The summary state of ATP onboarding state for this account. + * The Device Configuration Conflict Summary. + * Summary of policies in conflict state for this account. */ - @SerializedName("advancedThreatProtectionOnboardingStateSummary") - @Expose - public AdvancedThreatProtectionOnboardingStateSummary advancedThreatProtectionOnboardingStateSummary; + public DeviceConfigurationConflictSummaryCollectionPage deviceConfigurationConflictSummary; /** * The Device Configuration Device State Summaries. @@ -525,6 +523,24 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { @Expose public DeviceConfigurationDeviceStateSummary deviceConfigurationDeviceStateSummaries; + /** + * The Device Configuration Restricted Apps Violations. + * Restricted apps violations for this account. + */ + public RestrictedAppsViolationCollectionPage deviceConfigurationRestrictedAppsViolations; + + /** + * The Device Configurations. + * The device configurations. + */ + public DeviceConfigurationCollectionPage deviceConfigurations; + + /** + * The Device Configurations All Managed Device Certificate States. + * Summary of all certificates for all devices. + */ + public ManagedAllDeviceCertificateStateCollectionPage deviceConfigurationsAllManagedDeviceCertificateStates; + /** * The Device Configuration User State Summaries. * The device configuration user state summary for this account. @@ -533,12 +549,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { @Expose public DeviceConfigurationUserStateSummary deviceConfigurationUserStateSummaries; - /** - * The Cart To Class Associations. - * The Cart To Class Associations. - */ - public CartToClassAssociationCollectionPage cartToClassAssociations; - /** * The Ios Update Statuses. * The IOS software update installation statuses for this account. @@ -546,34 +556,38 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public IosUpdateDeviceStatusCollectionPage iosUpdateStatuses; /** - * The Ndes Connectors. - * The collection of Ndes connectors for this account. + * The Managed Device Encryption States. + * Encryption report for devices in this account */ - public NdesConnectorCollectionPage ndesConnectors; + public ManagedDeviceEncryptionStateCollectionPage managedDeviceEncryptionStates; /** - * The Device Configuration Restricted Apps Violations. - * Restricted apps violations for this account. + * The Ndes Connectors. + * The collection of Ndes connectors for this account. */ - public RestrictedAppsViolationCollectionPage deviceConfigurationRestrictedAppsViolations; + public NdesConnectorCollectionPage ndesConnectors; /** - * The Managed Device Encryption States. - * Encryption report for devices in this account + * The Software Update Status Summary. + * The software update status summary. */ - public ManagedDeviceEncryptionStateCollectionPage managedDeviceEncryptionStates; + @SerializedName("softwareUpdateStatusSummary") + @Expose + public SoftwareUpdateStatusSummary softwareUpdateStatusSummary; /** - * The Device Configuration Conflict Summary. - * Summary of policies in conflict state for this account. + * The Compliance Management Partners. + * The list of Compliance Management Partners configured by the tenant. */ - public DeviceConfigurationConflictSummaryCollectionPage deviceConfigurationConflictSummary; + public ComplianceManagementPartnerCollectionPage complianceManagementPartners; /** - * The Device Configurations All Managed Device Certificate States. - * Summary of all certificates for all devices. + * The Conditional Access Settings. + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access */ - public ManagedAllDeviceCertificateStateCollectionPage deviceConfigurationsAllManagedDeviceCertificateStates; + @SerializedName("conditionalAccessSettings") + @Expose + public OnPremisesConditionalAccessSettings conditionalAccessSettings; /** * The Device Categories. @@ -581,12 +595,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public DeviceCategoryCollectionPage deviceCategories; - /** - * The Exchange Connectors. - * The list of Exchange Connectors configured by the tenant. - */ - public DeviceManagementExchangeConnectorCollectionPage exchangeConnectors; - /** * The Device Enrollment Configurations. * The list of device enrollment configurations @@ -594,12 +602,16 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public DeviceEnrollmentConfigurationCollectionPage deviceEnrollmentConfigurations; /** - * The Exchange On Premises Policy. - * The policy which controls mobile device access to Exchange On Premises + * The Device Management Partners. + * The list of Device Management Partners configured by the tenant. + */ + public DeviceManagementPartnerCollectionPage deviceManagementPartners; + + /** + * The Exchange Connectors. + * The list of Exchange Connectors configured by the tenant. */ - @SerializedName("exchangeOnPremisesPolicy") - @Expose - public DeviceManagementExchangeOnPremisesPolicy exchangeOnPremisesPolicy; + public DeviceManagementExchangeConnectorCollectionPage exchangeConnectors; /** * The Exchange On Premises Policies. @@ -608,12 +620,12 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public DeviceManagementExchangeOnPremisesPolicyCollectionPage exchangeOnPremisesPolicies; /** - * The Conditional Access Settings. - * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + * The Exchange On Premises Policy. + * The policy which controls mobile device access to Exchange On Premises */ - @SerializedName("conditionalAccessSettings") + @SerializedName("exchangeOnPremisesPolicy") @Expose - public OnPremisesConditionalAccessSettings conditionalAccessSettings; + public DeviceManagementExchangeOnPremisesPolicy exchangeOnPremisesPolicy; /** * The Mobile Threat Defense Connectors. @@ -622,16 +634,10 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public MobileThreatDefenseConnectorCollectionPage mobileThreatDefenseConnectors; /** - * The Device Management Partners. - * The list of Device Management Partners configured by the tenant. - */ - public DeviceManagementPartnerCollectionPage deviceManagementPartners; - - /** - * The Compliance Management Partners. - * The list of Compliance Management Partners configured by the tenant. + * The Categories. + * The available categories */ - public ComplianceManagementPartnerCollectionPage complianceManagementPartners; + public DeviceManagementSettingCategoryCollectionPage categories; /** * The Intents. @@ -651,18 +657,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public DeviceManagementTemplateCollectionPage templates; - /** - * The Categories. - * The available categories - */ - public DeviceManagementSettingCategoryCollectionPage categories; - - /** - * The Remote Action Audits. - * The list of device remote action audits with the tenant. - */ - public RemoteActionAuditCollectionPage remoteActionAudits; - /** * The Apple Push Notification Certificate. * Apple push notification certificate. @@ -672,22 +666,28 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public ApplePushNotificationCertificate applePushNotificationCertificate; /** - * The Device Management Scripts. - * The list of device management scripts associated with the tenant. + * The Comanaged Devices. + * The list of co-managed devices report */ - public DeviceManagementScriptCollectionPage deviceManagementScripts; + public ManagedDeviceCollectionPage comanagedDevices; /** - * The Device Shell Scripts. - * The list of device shell scripts associated with the tenant. + * The Comanagement Eligible Devices. + * The list of co-management eligible devices report */ - public DeviceShellScriptCollectionPage deviceShellScripts; + public ComanagementEligibleDeviceCollectionPage comanagementEligibleDevices; /** - * The Device Health Scripts. - * The list of device health scripts associated with the tenant. + * The Data Sharing Consents. + * Data sharing consents. */ - public DeviceHealthScriptCollectionPage deviceHealthScripts; + public DataSharingConsentCollectionPage dataSharingConsents; + + /** + * The Detected Apps. + * The list of detected apps associated with a device. + */ + public DetectedAppCollectionPage detectedApps; /** * The Device Compliance Scripts. @@ -696,36 +696,36 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public DeviceComplianceScriptCollectionPage deviceComplianceScripts; /** - * The Managed Device Overview. - * Device overview + * The Device Health Scripts. + * The list of device health scripts associated with the tenant. */ - @SerializedName("managedDeviceOverview") - @Expose - public ManagedDeviceOverview managedDeviceOverview; + public DeviceHealthScriptCollectionPage deviceHealthScripts; /** - * The Detected Apps. - * The list of detected apps associated with a device. + * The Device Management Scripts. + * The list of device management scripts associated with the tenant. */ - public DetectedAppCollectionPage detectedApps; + public DeviceManagementScriptCollectionPage deviceManagementScripts; /** - * The Managed Devices. - * The list of managed devices. + * The Device Shell Scripts. + * The list of device shell scripts associated with the tenant. */ - public ManagedDeviceCollectionPage managedDevices; + public DeviceShellScriptCollectionPage deviceShellScripts; /** - * The Windows Malware Information. - * The list of affected malware in the tenant. + * The Managed Device Overview. + * Device overview */ - public WindowsMalwareInformationCollectionPage windowsMalwareInformation; + @SerializedName("managedDeviceOverview") + @Expose + public ManagedDeviceOverview managedDeviceOverview; /** - * The Data Sharing Consents. - * Data sharing consents. + * The Managed Devices. + * The list of managed devices. */ - public DataSharingConsentCollectionPage dataSharingConsents; + public ManagedDeviceCollectionPage managedDevices; /** * The Mobile App Troubleshooting Events. @@ -734,12 +734,16 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public MobileAppTroubleshootingEventCollectionPage mobileAppTroubleshootingEvents; /** - * The User Experience Analytics Overview. - * User experience analytics overview + * The Remote Action Audits. + * The list of device remote action audits with the tenant. */ - @SerializedName("userExperienceAnalyticsOverview") - @Expose - public UserExperienceAnalyticsOverview userExperienceAnalyticsOverview; + public RemoteActionAuditCollectionPage remoteActionAudits; + + /** + * The User Experience Analytics App Health Application Performance. + * User experience analytics appHealth Application Performance + */ + public UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage userExperienceAnalyticsAppHealthApplicationPerformance; /** * The User Experience Analytics Baselines. @@ -759,14 +763,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public UserExperienceAnalyticsDevicePerformanceCollectionPage userExperienceAnalyticsDevicePerformance; - /** - * The User Experience Analytics Regression Summary. - * User experience analytics regression summary - */ - @SerializedName("userExperienceAnalyticsRegressionSummary") - @Expose - public UserExperienceAnalyticsRegressionSummary userExperienceAnalyticsRegressionSummary; - /** * The User Experience Analytics Device Startup History. * User experience analytics device Startup History @@ -785,12 +781,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionPage userExperienceAnalyticsDeviceStartupProcessPerformance; - /** - * The User Experience Analytics Score History. - * User experience analytics device Startup Score History - */ - public UserExperienceAnalyticsScoreHistoryCollectionPage userExperienceAnalyticsScoreHistory; - /** * The User Experience Analytics Metric History. * User experience analytics metric history @@ -798,48 +788,50 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public UserExperienceAnalyticsMetricHistoryCollectionPage userExperienceAnalyticsMetricHistory; /** - * The User Experience Analytics App Health Application Performance. - * User experience analytics appHealth Application Performance + * The User Experience Analytics Overview. + * User experience analytics overview */ - public UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage userExperienceAnalyticsAppHealthApplicationPerformance; + @SerializedName("userExperienceAnalyticsOverview") + @Expose + public UserExperienceAnalyticsOverview userExperienceAnalyticsOverview; /** - * The Comanaged Devices. - * The list of co-managed devices report + * The User Experience Analytics Regression Summary. + * User experience analytics regression summary */ - public ManagedDeviceCollectionPage comanagedDevices; + @SerializedName("userExperienceAnalyticsRegressionSummary") + @Expose + public UserExperienceAnalyticsRegressionSummary userExperienceAnalyticsRegressionSummary; /** - * The Comanagement Eligible Devices. - * The list of co-management eligible devices report + * The User Experience Analytics Score History. + * User experience analytics device Startup Score History */ - public ComanagementEligibleDeviceCollectionPage comanagementEligibleDevices; + public UserExperienceAnalyticsScoreHistoryCollectionPage userExperienceAnalyticsScoreHistory; /** - * The Derived Credentials. - * Collection of Derived credential settings associated with account. + * The Windows Malware Information. + * The list of affected malware in the tenant. */ - public DeviceManagementDerivedCredentialSettingsCollectionPage derivedCredentials; + public WindowsMalwareInformationCollectionPage windowsMalwareInformation; /** - * The Windows Autopilot Settings. - * The Windows autopilot account settings. + * The Derived Credentials. + * Collection of Derived credential settings associated with account. */ - @SerializedName("windowsAutopilotSettings") - @Expose - public WindowsAutopilotSettings windowsAutopilotSettings; + public DeviceManagementDerivedCredentialSettingsCollectionPage derivedCredentials; /** - * The Windows Autopilot Device Identities. - * The Windows autopilot device identities contained collection. + * The Apple User Initiated Enrollment Profiles. + * Apple user initiated enrollment profiles */ - public WindowsAutopilotDeviceIdentityCollectionPage windowsAutopilotDeviceIdentities; + public AppleUserInitiatedEnrollmentProfileCollectionPage appleUserInitiatedEnrollmentProfiles; /** - * The Windows Autopilot Deployment Profiles. - * Windows auto pilot deployment profiles + * The Dep Onboarding Settings. + * This collections of multiple DEP tokens per-tenant. */ - public WindowsAutopilotDeploymentProfileCollectionPage windowsAutopilotDeploymentProfiles; + public DepOnboardingSettingCollectionPage depOnboardingSettings; /** * The Imported Device Identities. @@ -847,12 +839,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public ImportedDeviceIdentityCollectionPage importedDeviceIdentities; - /** - * The Dep Onboarding Settings. - * This collections of multiple DEP tokens per-tenant. - */ - public DepOnboardingSettingCollectionPage depOnboardingSettings; - /** * The Imported Windows Autopilot Device Identities. * Collection of imported Windows autopilot devices. @@ -860,10 +846,24 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public ImportedWindowsAutopilotDeviceIdentityCollectionPage importedWindowsAutopilotDeviceIdentities; /** - * The Apple User Initiated Enrollment Profiles. - * Apple user initiated enrollment profiles + * The Windows Autopilot Deployment Profiles. + * Windows auto pilot deployment profiles */ - public AppleUserInitiatedEnrollmentProfileCollectionPage appleUserInitiatedEnrollmentProfiles; + public WindowsAutopilotDeploymentProfileCollectionPage windowsAutopilotDeploymentProfiles; + + /** + * The Windows Autopilot Device Identities. + * The Windows autopilot device identities contained collection. + */ + public WindowsAutopilotDeviceIdentityCollectionPage windowsAutopilotDeviceIdentities; + + /** + * The Windows Autopilot Settings. + * The Windows autopilot account settings. + */ + @SerializedName("windowsAutopilotSettings") + @Expose + public WindowsAutopilotSettings windowsAutopilotSettings; /** * The Management Conditions. @@ -877,12 +877,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public ManagementConditionStatementCollectionPage managementConditionStatements; - /** - * The Group Policy Object Files. - * A list of Group Policy Object files uploaded. - */ - public GroupPolicyObjectFileCollectionPage groupPolicyObjectFiles; - /** * The Group Policy Migration Reports. * A list of Group Policy migration reports. @@ -890,10 +884,10 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public GroupPolicyMigrationReportCollectionPage groupPolicyMigrationReports; /** - * The Group Policy Configurations. - * The group policy configurations created by this account. + * The Group Policy Object Files. + * A list of Group Policy Object files uploaded. */ - public GroupPolicyConfigurationCollectionPage groupPolicyConfigurations; + public GroupPolicyObjectFileCollectionPage groupPolicyObjectFiles; /** * The Group Policy Categories. @@ -902,10 +896,10 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public GroupPolicyCategoryCollectionPage groupPolicyCategories; /** - * The Group Policy Definitions. - * The available group policy definitions for this account. + * The Group Policy Configurations. + * The group policy configurations created by this account. */ - public GroupPolicyDefinitionCollectionPage groupPolicyDefinitions; + public GroupPolicyConfigurationCollectionPage groupPolicyConfigurations; /** * The Group Policy Definition Files. @@ -913,6 +907,12 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public GroupPolicyDefinitionFileCollectionPage groupPolicyDefinitionFiles; + /** + * The Group Policy Definitions. + * The available group policy definitions for this account. + */ + public GroupPolicyDefinitionCollectionPage groupPolicyDefinitions; + /** * The Group Policy Uploaded Definition Files. * The available group policy uploaded definition files for this account. @@ -932,10 +932,10 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public DeviceManagementDomainJoinConnectorCollectionPage domainJoinConnectors; /** - * The Role Definitions. - * The Role Definitions. + * The Resource Operations. + * The Resource Operations. */ - public RoleDefinitionCollectionPage roleDefinitions; + public ResourceOperationCollectionPage resourceOperations; /** * The Role Assignments. @@ -944,16 +944,16 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public DeviceAndAppManagementRoleAssignmentCollectionPage roleAssignments; /** - * The Role Scope Tags. - * The Role Scope Tags. + * The Role Definitions. + * The Role Definitions. */ - public RoleScopeTagCollectionPage roleScopeTags; + public RoleDefinitionCollectionPage roleDefinitions; /** - * The Resource Operations. - * The Resource Operations. + * The Role Scope Tags. + * The Role Scope Tags. */ - public ResourceOperationCollectionPage resourceOperations; + public RoleScopeTagCollectionPage roleScopeTags; /** * The Remote Assistance Partners. @@ -969,12 +969,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { @Expose public DeviceManagementReports reports; - /** - * The Telecom Expense Management Partners. - * The telecom expense management partners. - */ - public TelecomExpenseManagementPartnerCollectionPage telecomExpenseManagementPartners; - /** * The Embedded SIMActivation Code Pools. * The embedded SIM activation code pools created by this account. @@ -982,16 +976,22 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { public EmbeddedSIMActivationCodePoolCollectionPage embeddedSIMActivationCodePools; /** - * The Troubleshooting Events. - * The list of troubleshooting events for the tenant. + * The Telecom Expense Management Partners. + * The telecom expense management partners. */ - public DeviceManagementTroubleshootingEventCollectionPage troubleshootingEvents; + public TelecomExpenseManagementPartnerCollectionPage telecomExpenseManagementPartners; /** * The Autopilot Events. * The list of autopilot events for the tenant. */ - public DeviceManagementAutopilotEventCollectionPage autopilotEvents; + public DeviceManagementAutopilotEventCollectionPage autopilotEvents; + + /** + * The Troubleshooting Events. + * The list of troubleshooting events for the tenant. + */ + public DeviceManagementTroubleshootingEventCollectionPage troubleshootingEvents; /** * The Windows Feature Update Profiles. @@ -999,6 +999,12 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public WindowsFeatureUpdateProfileCollectionPage windowsFeatureUpdateProfiles; + /** + * The Intune Branding Profiles. + * Intune branding profiles targeted to AAD groups + */ + public IntuneBrandingProfileCollectionPage intuneBrandingProfiles; + /** * The Windows Information Protection App Learning Summaries. * The windows information protection app learning summaries. @@ -1011,12 +1017,6 @@ public class DeviceManagement extends Entity implements IJsonBackedObject { */ public WindowsInformationProtectionNetworkLearningSummaryCollectionPage windowsInformationProtectionNetworkLearningSummaries; - /** - * The Intune Branding Profiles. - * Intune branding profiles targeted to AAD groups - */ - public IntuneBrandingProfileCollectionPage intuneBrandingProfiles; - /** * The User Pfx Certificates. * Collection of PFX certificates associated with a user. @@ -1079,6 +1079,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { auditEvents = new AuditEventCollectionPage(response, null); } + if (json.has("androidDeviceOwnerEnrollmentProfiles")) { + final AndroidDeviceOwnerEnrollmentProfileCollectionResponse response = new AndroidDeviceOwnerEnrollmentProfileCollectionResponse(); + if (json.has("androidDeviceOwnerEnrollmentProfiles@odata.nextLink")) { + response.nextLink = json.get("androidDeviceOwnerEnrollmentProfiles@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("androidDeviceOwnerEnrollmentProfiles").toString(), JsonObject[].class); + final AndroidDeviceOwnerEnrollmentProfile[] array = new AndroidDeviceOwnerEnrollmentProfile[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AndroidDeviceOwnerEnrollmentProfile.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + androidDeviceOwnerEnrollmentProfiles = new AndroidDeviceOwnerEnrollmentProfileCollectionPage(response, null); + } + if (json.has("androidForWorkAppConfigurationSchemas")) { final AndroidForWorkAppConfigurationSchemaCollectionResponse response = new AndroidForWorkAppConfigurationSchemaCollectionResponse(); if (json.has("androidForWorkAppConfigurationSchemas@odata.nextLink")) { @@ -1127,22 +1143,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { androidManagedStoreAppConfigurationSchemas = new AndroidManagedStoreAppConfigurationSchemaCollectionPage(response, null); } - if (json.has("androidDeviceOwnerEnrollmentProfiles")) { - final AndroidDeviceOwnerEnrollmentProfileCollectionResponse response = new AndroidDeviceOwnerEnrollmentProfileCollectionResponse(); - if (json.has("androidDeviceOwnerEnrollmentProfiles@odata.nextLink")) { - response.nextLink = json.get("androidDeviceOwnerEnrollmentProfiles@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("androidDeviceOwnerEnrollmentProfiles").toString(), JsonObject[].class); - final AndroidDeviceOwnerEnrollmentProfile[] array = new AndroidDeviceOwnerEnrollmentProfile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AndroidDeviceOwnerEnrollmentProfile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - androidDeviceOwnerEnrollmentProfiles = new AndroidDeviceOwnerEnrollmentProfileCollectionPage(response, null); - } - if (json.has("assignmentFilters")) { final DeviceAndAppManagementAssignmentFilterCollectionResponse response = new DeviceAndAppManagementAssignmentFilterCollectionResponse(); if (json.has("assignmentFilters@odata.nextLink")) { @@ -1175,20 +1175,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { termsAndConditions = new TermsAndConditionsCollectionPage(response, null); } - if (json.has("deviceConfigurations")) { - final DeviceConfigurationCollectionResponse response = new DeviceConfigurationCollectionResponse(); - if (json.has("deviceConfigurations@odata.nextLink")) { - response.nextLink = json.get("deviceConfigurations@odata.nextLink").getAsString(); + if (json.has("cartToClassAssociations")) { + final CartToClassAssociationCollectionResponse response = new CartToClassAssociationCollectionResponse(); + if (json.has("cartToClassAssociations@odata.nextLink")) { + response.nextLink = json.get("cartToClassAssociations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurations").toString(), JsonObject[].class); - final DeviceConfiguration[] array = new DeviceConfiguration[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("cartToClassAssociations").toString(), JsonObject[].class); + final CartToClassAssociation[] array = new CartToClassAssociation[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfiguration.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), CartToClassAssociation.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceConfigurations = new DeviceConfigurationCollectionPage(response, null); + cartToClassAssociations = new CartToClassAssociationCollectionPage(response, null); } if (json.has("deviceCompliancePolicies")) { @@ -1223,68 +1223,84 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceCompliancePolicySettingStateSummaries = new DeviceCompliancePolicySettingStateSummaryCollectionPage(response, null); } - if (json.has("cartToClassAssociations")) { - final CartToClassAssociationCollectionResponse response = new CartToClassAssociationCollectionResponse(); - if (json.has("cartToClassAssociations@odata.nextLink")) { - response.nextLink = json.get("cartToClassAssociations@odata.nextLink").getAsString(); + if (json.has("deviceConfigurationConflictSummary")) { + final DeviceConfigurationConflictSummaryCollectionResponse response = new DeviceConfigurationConflictSummaryCollectionResponse(); + if (json.has("deviceConfigurationConflictSummary@odata.nextLink")) { + response.nextLink = json.get("deviceConfigurationConflictSummary@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("cartToClassAssociations").toString(), JsonObject[].class); - final CartToClassAssociation[] array = new CartToClassAssociation[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationConflictSummary").toString(), JsonObject[].class); + final DeviceConfigurationConflictSummary[] array = new DeviceConfigurationConflictSummary[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), CartToClassAssociation.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationConflictSummary.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - cartToClassAssociations = new CartToClassAssociationCollectionPage(response, null); + deviceConfigurationConflictSummary = new DeviceConfigurationConflictSummaryCollectionPage(response, null); } - if (json.has("iosUpdateStatuses")) { - final IosUpdateDeviceStatusCollectionResponse response = new IosUpdateDeviceStatusCollectionResponse(); - if (json.has("iosUpdateStatuses@odata.nextLink")) { - response.nextLink = json.get("iosUpdateStatuses@odata.nextLink").getAsString(); + if (json.has("deviceConfigurationRestrictedAppsViolations")) { + final RestrictedAppsViolationCollectionResponse response = new RestrictedAppsViolationCollectionResponse(); + if (json.has("deviceConfigurationRestrictedAppsViolations@odata.nextLink")) { + response.nextLink = json.get("deviceConfigurationRestrictedAppsViolations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosUpdateStatuses").toString(), JsonObject[].class); - final IosUpdateDeviceStatus[] array = new IosUpdateDeviceStatus[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationRestrictedAppsViolations").toString(), JsonObject[].class); + final RestrictedAppsViolation[] array = new RestrictedAppsViolation[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosUpdateDeviceStatus.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RestrictedAppsViolation.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - iosUpdateStatuses = new IosUpdateDeviceStatusCollectionPage(response, null); + deviceConfigurationRestrictedAppsViolations = new RestrictedAppsViolationCollectionPage(response, null); } - if (json.has("ndesConnectors")) { - final NdesConnectorCollectionResponse response = new NdesConnectorCollectionResponse(); - if (json.has("ndesConnectors@odata.nextLink")) { - response.nextLink = json.get("ndesConnectors@odata.nextLink").getAsString(); + if (json.has("deviceConfigurations")) { + final DeviceConfigurationCollectionResponse response = new DeviceConfigurationCollectionResponse(); + if (json.has("deviceConfigurations@odata.nextLink")) { + response.nextLink = json.get("deviceConfigurations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("ndesConnectors").toString(), JsonObject[].class); - final NdesConnector[] array = new NdesConnector[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurations").toString(), JsonObject[].class); + final DeviceConfiguration[] array = new DeviceConfiguration[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), NdesConnector.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfiguration.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - ndesConnectors = new NdesConnectorCollectionPage(response, null); + deviceConfigurations = new DeviceConfigurationCollectionPage(response, null); } - if (json.has("deviceConfigurationRestrictedAppsViolations")) { - final RestrictedAppsViolationCollectionResponse response = new RestrictedAppsViolationCollectionResponse(); - if (json.has("deviceConfigurationRestrictedAppsViolations@odata.nextLink")) { - response.nextLink = json.get("deviceConfigurationRestrictedAppsViolations@odata.nextLink").getAsString(); + if (json.has("deviceConfigurationsAllManagedDeviceCertificateStates")) { + final ManagedAllDeviceCertificateStateCollectionResponse response = new ManagedAllDeviceCertificateStateCollectionResponse(); + if (json.has("deviceConfigurationsAllManagedDeviceCertificateStates@odata.nextLink")) { + response.nextLink = json.get("deviceConfigurationsAllManagedDeviceCertificateStates@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationRestrictedAppsViolations").toString(), JsonObject[].class); - final RestrictedAppsViolation[] array = new RestrictedAppsViolation[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationsAllManagedDeviceCertificateStates").toString(), JsonObject[].class); + final ManagedAllDeviceCertificateState[] array = new ManagedAllDeviceCertificateState[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RestrictedAppsViolation.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAllDeviceCertificateState.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceConfigurationRestrictedAppsViolations = new RestrictedAppsViolationCollectionPage(response, null); + deviceConfigurationsAllManagedDeviceCertificateStates = new ManagedAllDeviceCertificateStateCollectionPage(response, null); + } + + if (json.has("iosUpdateStatuses")) { + final IosUpdateDeviceStatusCollectionResponse response = new IosUpdateDeviceStatusCollectionResponse(); + if (json.has("iosUpdateStatuses@odata.nextLink")) { + response.nextLink = json.get("iosUpdateStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("iosUpdateStatuses").toString(), JsonObject[].class); + final IosUpdateDeviceStatus[] array = new IosUpdateDeviceStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), IosUpdateDeviceStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + iosUpdateStatuses = new IosUpdateDeviceStatusCollectionPage(response, null); } if (json.has("managedDeviceEncryptionStates")) { @@ -1303,36 +1319,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { managedDeviceEncryptionStates = new ManagedDeviceEncryptionStateCollectionPage(response, null); } - if (json.has("deviceConfigurationConflictSummary")) { - final DeviceConfigurationConflictSummaryCollectionResponse response = new DeviceConfigurationConflictSummaryCollectionResponse(); - if (json.has("deviceConfigurationConflictSummary@odata.nextLink")) { - response.nextLink = json.get("deviceConfigurationConflictSummary@odata.nextLink").getAsString(); + if (json.has("ndesConnectors")) { + final NdesConnectorCollectionResponse response = new NdesConnectorCollectionResponse(); + if (json.has("ndesConnectors@odata.nextLink")) { + response.nextLink = json.get("ndesConnectors@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationConflictSummary").toString(), JsonObject[].class); - final DeviceConfigurationConflictSummary[] array = new DeviceConfigurationConflictSummary[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("ndesConnectors").toString(), JsonObject[].class); + final NdesConnector[] array = new NdesConnector[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationConflictSummary.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), NdesConnector.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceConfigurationConflictSummary = new DeviceConfigurationConflictSummaryCollectionPage(response, null); + ndesConnectors = new NdesConnectorCollectionPage(response, null); } - if (json.has("deviceConfigurationsAllManagedDeviceCertificateStates")) { - final ManagedAllDeviceCertificateStateCollectionResponse response = new ManagedAllDeviceCertificateStateCollectionResponse(); - if (json.has("deviceConfigurationsAllManagedDeviceCertificateStates@odata.nextLink")) { - response.nextLink = json.get("deviceConfigurationsAllManagedDeviceCertificateStates@odata.nextLink").getAsString(); + if (json.has("complianceManagementPartners")) { + final ComplianceManagementPartnerCollectionResponse response = new ComplianceManagementPartnerCollectionResponse(); + if (json.has("complianceManagementPartners@odata.nextLink")) { + response.nextLink = json.get("complianceManagementPartners@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationsAllManagedDeviceCertificateStates").toString(), JsonObject[].class); - final ManagedAllDeviceCertificateState[] array = new ManagedAllDeviceCertificateState[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("complianceManagementPartners").toString(), JsonObject[].class); + final ComplianceManagementPartner[] array = new ComplianceManagementPartner[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedAllDeviceCertificateState.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ComplianceManagementPartner.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceConfigurationsAllManagedDeviceCertificateStates = new ManagedAllDeviceCertificateStateCollectionPage(response, null); + complianceManagementPartners = new ComplianceManagementPartnerCollectionPage(response, null); } if (json.has("deviceCategories")) { @@ -1351,22 +1367,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceCategories = new DeviceCategoryCollectionPage(response, null); } - if (json.has("exchangeConnectors")) { - final DeviceManagementExchangeConnectorCollectionResponse response = new DeviceManagementExchangeConnectorCollectionResponse(); - if (json.has("exchangeConnectors@odata.nextLink")) { - response.nextLink = json.get("exchangeConnectors@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exchangeConnectors").toString(), JsonObject[].class); - final DeviceManagementExchangeConnector[] array = new DeviceManagementExchangeConnector[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementExchangeConnector.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - exchangeConnectors = new DeviceManagementExchangeConnectorCollectionPage(response, null); - } - if (json.has("deviceEnrollmentConfigurations")) { final DeviceEnrollmentConfigurationCollectionResponse response = new DeviceEnrollmentConfigurationCollectionResponse(); if (json.has("deviceEnrollmentConfigurations@odata.nextLink")) { @@ -1383,6 +1383,38 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceEnrollmentConfigurations = new DeviceEnrollmentConfigurationCollectionPage(response, null); } + if (json.has("deviceManagementPartners")) { + final DeviceManagementPartnerCollectionResponse response = new DeviceManagementPartnerCollectionResponse(); + if (json.has("deviceManagementPartners@odata.nextLink")) { + response.nextLink = json.get("deviceManagementPartners@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementPartners").toString(), JsonObject[].class); + final DeviceManagementPartner[] array = new DeviceManagementPartner[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementPartner.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceManagementPartners = new DeviceManagementPartnerCollectionPage(response, null); + } + + if (json.has("exchangeConnectors")) { + final DeviceManagementExchangeConnectorCollectionResponse response = new DeviceManagementExchangeConnectorCollectionResponse(); + if (json.has("exchangeConnectors@odata.nextLink")) { + response.nextLink = json.get("exchangeConnectors@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exchangeConnectors").toString(), JsonObject[].class); + final DeviceManagementExchangeConnector[] array = new DeviceManagementExchangeConnector[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementExchangeConnector.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + exchangeConnectors = new DeviceManagementExchangeConnectorCollectionPage(response, null); + } + if (json.has("exchangeOnPremisesPolicies")) { final DeviceManagementExchangeOnPremisesPolicyCollectionResponse response = new DeviceManagementExchangeOnPremisesPolicyCollectionResponse(); if (json.has("exchangeOnPremisesPolicies@odata.nextLink")) { @@ -1415,36 +1447,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { mobileThreatDefenseConnectors = new MobileThreatDefenseConnectorCollectionPage(response, null); } - if (json.has("deviceManagementPartners")) { - final DeviceManagementPartnerCollectionResponse response = new DeviceManagementPartnerCollectionResponse(); - if (json.has("deviceManagementPartners@odata.nextLink")) { - response.nextLink = json.get("deviceManagementPartners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementPartners").toString(), JsonObject[].class); - final DeviceManagementPartner[] array = new DeviceManagementPartner[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementPartner.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceManagementPartners = new DeviceManagementPartnerCollectionPage(response, null); - } - - if (json.has("complianceManagementPartners")) { - final ComplianceManagementPartnerCollectionResponse response = new ComplianceManagementPartnerCollectionResponse(); - if (json.has("complianceManagementPartners@odata.nextLink")) { - response.nextLink = json.get("complianceManagementPartners@odata.nextLink").getAsString(); + if (json.has("categories")) { + final DeviceManagementSettingCategoryCollectionResponse response = new DeviceManagementSettingCategoryCollectionResponse(); + if (json.has("categories@odata.nextLink")) { + response.nextLink = json.get("categories@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("complianceManagementPartners").toString(), JsonObject[].class); - final ComplianceManagementPartner[] array = new ComplianceManagementPartner[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); + final DeviceManagementSettingCategory[] array = new DeviceManagementSettingCategory[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ComplianceManagementPartner.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementSettingCategory.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - complianceManagementPartners = new ComplianceManagementPartnerCollectionPage(response, null); + categories = new DeviceManagementSettingCategoryCollectionPage(response, null); } if (json.has("intents")) { @@ -1495,68 +1511,84 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { templates = new DeviceManagementTemplateCollectionPage(response, null); } - if (json.has("categories")) { - final DeviceManagementSettingCategoryCollectionResponse response = new DeviceManagementSettingCategoryCollectionResponse(); - if (json.has("categories@odata.nextLink")) { - response.nextLink = json.get("categories@odata.nextLink").getAsString(); + if (json.has("comanagedDevices")) { + final ManagedDeviceCollectionResponse response = new ManagedDeviceCollectionResponse(); + if (json.has("comanagedDevices@odata.nextLink")) { + response.nextLink = json.get("comanagedDevices@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); - final DeviceManagementSettingCategory[] array = new DeviceManagementSettingCategory[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("comanagedDevices").toString(), JsonObject[].class); + final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementSettingCategory.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - categories = new DeviceManagementSettingCategoryCollectionPage(response, null); + comanagedDevices = new ManagedDeviceCollectionPage(response, null); } - if (json.has("remoteActionAudits")) { - final RemoteActionAuditCollectionResponse response = new RemoteActionAuditCollectionResponse(); - if (json.has("remoteActionAudits@odata.nextLink")) { - response.nextLink = json.get("remoteActionAudits@odata.nextLink").getAsString(); + if (json.has("comanagementEligibleDevices")) { + final ComanagementEligibleDeviceCollectionResponse response = new ComanagementEligibleDeviceCollectionResponse(); + if (json.has("comanagementEligibleDevices@odata.nextLink")) { + response.nextLink = json.get("comanagementEligibleDevices@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("remoteActionAudits").toString(), JsonObject[].class); - final RemoteActionAudit[] array = new RemoteActionAudit[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("comanagementEligibleDevices").toString(), JsonObject[].class); + final ComanagementEligibleDevice[] array = new ComanagementEligibleDevice[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RemoteActionAudit.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ComanagementEligibleDevice.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - remoteActionAudits = new RemoteActionAuditCollectionPage(response, null); + comanagementEligibleDevices = new ComanagementEligibleDeviceCollectionPage(response, null); } - if (json.has("deviceManagementScripts")) { - final DeviceManagementScriptCollectionResponse response = new DeviceManagementScriptCollectionResponse(); - if (json.has("deviceManagementScripts@odata.nextLink")) { - response.nextLink = json.get("deviceManagementScripts@odata.nextLink").getAsString(); + if (json.has("dataSharingConsents")) { + final DataSharingConsentCollectionResponse response = new DataSharingConsentCollectionResponse(); + if (json.has("dataSharingConsents@odata.nextLink")) { + response.nextLink = json.get("dataSharingConsents@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementScripts").toString(), JsonObject[].class); - final DeviceManagementScript[] array = new DeviceManagementScript[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("dataSharingConsents").toString(), JsonObject[].class); + final DataSharingConsent[] array = new DataSharingConsent[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementScript.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DataSharingConsent.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceManagementScripts = new DeviceManagementScriptCollectionPage(response, null); + dataSharingConsents = new DataSharingConsentCollectionPage(response, null); } - if (json.has("deviceShellScripts")) { - final DeviceShellScriptCollectionResponse response = new DeviceShellScriptCollectionResponse(); - if (json.has("deviceShellScripts@odata.nextLink")) { - response.nextLink = json.get("deviceShellScripts@odata.nextLink").getAsString(); + if (json.has("detectedApps")) { + final DetectedAppCollectionResponse response = new DetectedAppCollectionResponse(); + if (json.has("detectedApps@odata.nextLink")) { + response.nextLink = json.get("detectedApps@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceShellScripts").toString(), JsonObject[].class); - final DeviceShellScript[] array = new DeviceShellScript[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("detectedApps").toString(), JsonObject[].class); + final DetectedApp[] array = new DetectedApp[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceShellScript.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DetectedApp.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceShellScripts = new DeviceShellScriptCollectionPage(response, null); + detectedApps = new DetectedAppCollectionPage(response, null); + } + + if (json.has("deviceComplianceScripts")) { + final DeviceComplianceScriptCollectionResponse response = new DeviceComplianceScriptCollectionResponse(); + if (json.has("deviceComplianceScripts@odata.nextLink")) { + response.nextLink = json.get("deviceComplianceScripts@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceComplianceScripts").toString(), JsonObject[].class); + final DeviceComplianceScript[] array = new DeviceComplianceScript[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceScript.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceComplianceScripts = new DeviceComplianceScriptCollectionPage(response, null); } if (json.has("deviceHealthScripts")) { @@ -1575,36 +1607,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceHealthScripts = new DeviceHealthScriptCollectionPage(response, null); } - if (json.has("deviceComplianceScripts")) { - final DeviceComplianceScriptCollectionResponse response = new DeviceComplianceScriptCollectionResponse(); - if (json.has("deviceComplianceScripts@odata.nextLink")) { - response.nextLink = json.get("deviceComplianceScripts@odata.nextLink").getAsString(); + if (json.has("deviceManagementScripts")) { + final DeviceManagementScriptCollectionResponse response = new DeviceManagementScriptCollectionResponse(); + if (json.has("deviceManagementScripts@odata.nextLink")) { + response.nextLink = json.get("deviceManagementScripts@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceComplianceScripts").toString(), JsonObject[].class); - final DeviceComplianceScript[] array = new DeviceComplianceScript[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceManagementScripts").toString(), JsonObject[].class); + final DeviceManagementScript[] array = new DeviceManagementScript[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceComplianceScript.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementScript.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceComplianceScripts = new DeviceComplianceScriptCollectionPage(response, null); + deviceManagementScripts = new DeviceManagementScriptCollectionPage(response, null); } - if (json.has("detectedApps")) { - final DetectedAppCollectionResponse response = new DetectedAppCollectionResponse(); - if (json.has("detectedApps@odata.nextLink")) { - response.nextLink = json.get("detectedApps@odata.nextLink").getAsString(); + if (json.has("deviceShellScripts")) { + final DeviceShellScriptCollectionResponse response = new DeviceShellScriptCollectionResponse(); + if (json.has("deviceShellScripts@odata.nextLink")) { + response.nextLink = json.get("deviceShellScripts@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("detectedApps").toString(), JsonObject[].class); - final DetectedApp[] array = new DetectedApp[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceShellScripts").toString(), JsonObject[].class); + final DeviceShellScript[] array = new DeviceShellScript[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DetectedApp.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceShellScript.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - detectedApps = new DetectedAppCollectionPage(response, null); + deviceShellScripts = new DeviceShellScriptCollectionPage(response, null); } if (json.has("managedDevices")) { @@ -1623,52 +1655,52 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { managedDevices = new ManagedDeviceCollectionPage(response, null); } - if (json.has("windowsMalwareInformation")) { - final WindowsMalwareInformationCollectionResponse response = new WindowsMalwareInformationCollectionResponse(); - if (json.has("windowsMalwareInformation@odata.nextLink")) { - response.nextLink = json.get("windowsMalwareInformation@odata.nextLink").getAsString(); + if (json.has("mobileAppTroubleshootingEvents")) { + final MobileAppTroubleshootingEventCollectionResponse response = new MobileAppTroubleshootingEventCollectionResponse(); + if (json.has("mobileAppTroubleshootingEvents@odata.nextLink")) { + response.nextLink = json.get("mobileAppTroubleshootingEvents@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsMalwareInformation").toString(), JsonObject[].class); - final WindowsMalwareInformation[] array = new WindowsMalwareInformation[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppTroubleshootingEvents").toString(), JsonObject[].class); + final MobileAppTroubleshootingEvent[] array = new MobileAppTroubleshootingEvent[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsMalwareInformation.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppTroubleshootingEvent.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - windowsMalwareInformation = new WindowsMalwareInformationCollectionPage(response, null); + mobileAppTroubleshootingEvents = new MobileAppTroubleshootingEventCollectionPage(response, null); } - if (json.has("dataSharingConsents")) { - final DataSharingConsentCollectionResponse response = new DataSharingConsentCollectionResponse(); - if (json.has("dataSharingConsents@odata.nextLink")) { - response.nextLink = json.get("dataSharingConsents@odata.nextLink").getAsString(); + if (json.has("remoteActionAudits")) { + final RemoteActionAuditCollectionResponse response = new RemoteActionAuditCollectionResponse(); + if (json.has("remoteActionAudits@odata.nextLink")) { + response.nextLink = json.get("remoteActionAudits@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("dataSharingConsents").toString(), JsonObject[].class); - final DataSharingConsent[] array = new DataSharingConsent[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("remoteActionAudits").toString(), JsonObject[].class); + final RemoteActionAudit[] array = new RemoteActionAudit[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DataSharingConsent.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RemoteActionAudit.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - dataSharingConsents = new DataSharingConsentCollectionPage(response, null); + remoteActionAudits = new RemoteActionAuditCollectionPage(response, null); } - if (json.has("mobileAppTroubleshootingEvents")) { - final MobileAppTroubleshootingEventCollectionResponse response = new MobileAppTroubleshootingEventCollectionResponse(); - if (json.has("mobileAppTroubleshootingEvents@odata.nextLink")) { - response.nextLink = json.get("mobileAppTroubleshootingEvents@odata.nextLink").getAsString(); + if (json.has("userExperienceAnalyticsAppHealthApplicationPerformance")) { + final UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse response = new UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse(); + if (json.has("userExperienceAnalyticsAppHealthApplicationPerformance@odata.nextLink")) { + response.nextLink = json.get("userExperienceAnalyticsAppHealthApplicationPerformance@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("mobileAppTroubleshootingEvents").toString(), JsonObject[].class); - final MobileAppTroubleshootingEvent[] array = new MobileAppTroubleshootingEvent[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthApplicationPerformance").toString(), JsonObject[].class); + final UserExperienceAnalyticsAppHealthApplicationPerformance[] array = new UserExperienceAnalyticsAppHealthApplicationPerformance[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppTroubleshootingEvent.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserExperienceAnalyticsAppHealthApplicationPerformance.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - mobileAppTroubleshootingEvents = new MobileAppTroubleshootingEventCollectionPage(response, null); + userExperienceAnalyticsAppHealthApplicationPerformance = new UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage(response, null); } if (json.has("userExperienceAnalyticsBaselines")) { @@ -1767,22 +1799,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { userExperienceAnalyticsDeviceStartupProcessPerformance = new UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionPage(response, null); } - if (json.has("userExperienceAnalyticsScoreHistory")) { - final UserExperienceAnalyticsScoreHistoryCollectionResponse response = new UserExperienceAnalyticsScoreHistoryCollectionResponse(); - if (json.has("userExperienceAnalyticsScoreHistory@odata.nextLink")) { - response.nextLink = json.get("userExperienceAnalyticsScoreHistory@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userExperienceAnalyticsScoreHistory").toString(), JsonObject[].class); - final UserExperienceAnalyticsScoreHistory[] array = new UserExperienceAnalyticsScoreHistory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserExperienceAnalyticsScoreHistory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - userExperienceAnalyticsScoreHistory = new UserExperienceAnalyticsScoreHistoryCollectionPage(response, null); - } - if (json.has("userExperienceAnalyticsMetricHistory")) { final UserExperienceAnalyticsMetricHistoryCollectionResponse response = new UserExperienceAnalyticsMetricHistoryCollectionResponse(); if (json.has("userExperienceAnalyticsMetricHistory@odata.nextLink")) { @@ -1799,52 +1815,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { userExperienceAnalyticsMetricHistory = new UserExperienceAnalyticsMetricHistoryCollectionPage(response, null); } - if (json.has("userExperienceAnalyticsAppHealthApplicationPerformance")) { - final UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse response = new UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse(); - if (json.has("userExperienceAnalyticsAppHealthApplicationPerformance@odata.nextLink")) { - response.nextLink = json.get("userExperienceAnalyticsAppHealthApplicationPerformance@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userExperienceAnalyticsAppHealthApplicationPerformance").toString(), JsonObject[].class); - final UserExperienceAnalyticsAppHealthApplicationPerformance[] array = new UserExperienceAnalyticsAppHealthApplicationPerformance[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserExperienceAnalyticsAppHealthApplicationPerformance.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - userExperienceAnalyticsAppHealthApplicationPerformance = new UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionPage(response, null); - } - - if (json.has("comanagedDevices")) { - final ManagedDeviceCollectionResponse response = new ManagedDeviceCollectionResponse(); - if (json.has("comanagedDevices@odata.nextLink")) { - response.nextLink = json.get("comanagedDevices@odata.nextLink").getAsString(); + if (json.has("userExperienceAnalyticsScoreHistory")) { + final UserExperienceAnalyticsScoreHistoryCollectionResponse response = new UserExperienceAnalyticsScoreHistoryCollectionResponse(); + if (json.has("userExperienceAnalyticsScoreHistory@odata.nextLink")) { + response.nextLink = json.get("userExperienceAnalyticsScoreHistory@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("comanagedDevices").toString(), JsonObject[].class); - final ManagedDevice[] array = new ManagedDevice[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userExperienceAnalyticsScoreHistory").toString(), JsonObject[].class); + final UserExperienceAnalyticsScoreHistory[] array = new UserExperienceAnalyticsScoreHistory[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedDevice.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserExperienceAnalyticsScoreHistory.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - comanagedDevices = new ManagedDeviceCollectionPage(response, null); + userExperienceAnalyticsScoreHistory = new UserExperienceAnalyticsScoreHistoryCollectionPage(response, null); } - if (json.has("comanagementEligibleDevices")) { - final ComanagementEligibleDeviceCollectionResponse response = new ComanagementEligibleDeviceCollectionResponse(); - if (json.has("comanagementEligibleDevices@odata.nextLink")) { - response.nextLink = json.get("comanagementEligibleDevices@odata.nextLink").getAsString(); + if (json.has("windowsMalwareInformation")) { + final WindowsMalwareInformationCollectionResponse response = new WindowsMalwareInformationCollectionResponse(); + if (json.has("windowsMalwareInformation@odata.nextLink")) { + response.nextLink = json.get("windowsMalwareInformation@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("comanagementEligibleDevices").toString(), JsonObject[].class); - final ComanagementEligibleDevice[] array = new ComanagementEligibleDevice[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsMalwareInformation").toString(), JsonObject[].class); + final WindowsMalwareInformation[] array = new WindowsMalwareInformation[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ComanagementEligibleDevice.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsMalwareInformation.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - comanagementEligibleDevices = new ComanagementEligibleDeviceCollectionPage(response, null); + windowsMalwareInformation = new WindowsMalwareInformationCollectionPage(response, null); } if (json.has("derivedCredentials")) { @@ -1863,52 +1863,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { derivedCredentials = new DeviceManagementDerivedCredentialSettingsCollectionPage(response, null); } - if (json.has("windowsAutopilotDeviceIdentities")) { - final WindowsAutopilotDeviceIdentityCollectionResponse response = new WindowsAutopilotDeviceIdentityCollectionResponse(); - if (json.has("windowsAutopilotDeviceIdentities@odata.nextLink")) { - response.nextLink = json.get("windowsAutopilotDeviceIdentities@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsAutopilotDeviceIdentities").toString(), JsonObject[].class); - final WindowsAutopilotDeviceIdentity[] array = new WindowsAutopilotDeviceIdentity[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsAutopilotDeviceIdentity.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - windowsAutopilotDeviceIdentities = new WindowsAutopilotDeviceIdentityCollectionPage(response, null); - } - - if (json.has("windowsAutopilotDeploymentProfiles")) { - final WindowsAutopilotDeploymentProfileCollectionResponse response = new WindowsAutopilotDeploymentProfileCollectionResponse(); - if (json.has("windowsAutopilotDeploymentProfiles@odata.nextLink")) { - response.nextLink = json.get("windowsAutopilotDeploymentProfiles@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsAutopilotDeploymentProfiles").toString(), JsonObject[].class); - final WindowsAutopilotDeploymentProfile[] array = new WindowsAutopilotDeploymentProfile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsAutopilotDeploymentProfile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - windowsAutopilotDeploymentProfiles = new WindowsAutopilotDeploymentProfileCollectionPage(response, null); - } - - if (json.has("importedDeviceIdentities")) { - final ImportedDeviceIdentityCollectionResponse response = new ImportedDeviceIdentityCollectionResponse(); - if (json.has("importedDeviceIdentities@odata.nextLink")) { - response.nextLink = json.get("importedDeviceIdentities@odata.nextLink").getAsString(); + if (json.has("appleUserInitiatedEnrollmentProfiles")) { + final AppleUserInitiatedEnrollmentProfileCollectionResponse response = new AppleUserInitiatedEnrollmentProfileCollectionResponse(); + if (json.has("appleUserInitiatedEnrollmentProfiles@odata.nextLink")) { + response.nextLink = json.get("appleUserInitiatedEnrollmentProfiles@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("importedDeviceIdentities").toString(), JsonObject[].class); - final ImportedDeviceIdentity[] array = new ImportedDeviceIdentity[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("appleUserInitiatedEnrollmentProfiles").toString(), JsonObject[].class); + final AppleUserInitiatedEnrollmentProfile[] array = new AppleUserInitiatedEnrollmentProfile[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ImportedDeviceIdentity.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AppleUserInitiatedEnrollmentProfile.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - importedDeviceIdentities = new ImportedDeviceIdentityCollectionPage(response, null); + appleUserInitiatedEnrollmentProfiles = new AppleUserInitiatedEnrollmentProfileCollectionPage(response, null); } if (json.has("depOnboardingSettings")) { @@ -1927,6 +1895,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { depOnboardingSettings = new DepOnboardingSettingCollectionPage(response, null); } + if (json.has("importedDeviceIdentities")) { + final ImportedDeviceIdentityCollectionResponse response = new ImportedDeviceIdentityCollectionResponse(); + if (json.has("importedDeviceIdentities@odata.nextLink")) { + response.nextLink = json.get("importedDeviceIdentities@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("importedDeviceIdentities").toString(), JsonObject[].class); + final ImportedDeviceIdentity[] array = new ImportedDeviceIdentity[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ImportedDeviceIdentity.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + importedDeviceIdentities = new ImportedDeviceIdentityCollectionPage(response, null); + } + if (json.has("importedWindowsAutopilotDeviceIdentities")) { final ImportedWindowsAutopilotDeviceIdentityCollectionResponse response = new ImportedWindowsAutopilotDeviceIdentityCollectionResponse(); if (json.has("importedWindowsAutopilotDeviceIdentities@odata.nextLink")) { @@ -1943,20 +1927,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { importedWindowsAutopilotDeviceIdentities = new ImportedWindowsAutopilotDeviceIdentityCollectionPage(response, null); } - if (json.has("appleUserInitiatedEnrollmentProfiles")) { - final AppleUserInitiatedEnrollmentProfileCollectionResponse response = new AppleUserInitiatedEnrollmentProfileCollectionResponse(); - if (json.has("appleUserInitiatedEnrollmentProfiles@odata.nextLink")) { - response.nextLink = json.get("appleUserInitiatedEnrollmentProfiles@odata.nextLink").getAsString(); + if (json.has("windowsAutopilotDeploymentProfiles")) { + final WindowsAutopilotDeploymentProfileCollectionResponse response = new WindowsAutopilotDeploymentProfileCollectionResponse(); + if (json.has("windowsAutopilotDeploymentProfiles@odata.nextLink")) { + response.nextLink = json.get("windowsAutopilotDeploymentProfiles@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("appleUserInitiatedEnrollmentProfiles").toString(), JsonObject[].class); - final AppleUserInitiatedEnrollmentProfile[] array = new AppleUserInitiatedEnrollmentProfile[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsAutopilotDeploymentProfiles").toString(), JsonObject[].class); + final WindowsAutopilotDeploymentProfile[] array = new WindowsAutopilotDeploymentProfile[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AppleUserInitiatedEnrollmentProfile.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsAutopilotDeploymentProfile.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - appleUserInitiatedEnrollmentProfiles = new AppleUserInitiatedEnrollmentProfileCollectionPage(response, null); + windowsAutopilotDeploymentProfiles = new WindowsAutopilotDeploymentProfileCollectionPage(response, null); + } + + if (json.has("windowsAutopilotDeviceIdentities")) { + final WindowsAutopilotDeviceIdentityCollectionResponse response = new WindowsAutopilotDeviceIdentityCollectionResponse(); + if (json.has("windowsAutopilotDeviceIdentities@odata.nextLink")) { + response.nextLink = json.get("windowsAutopilotDeviceIdentities@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("windowsAutopilotDeviceIdentities").toString(), JsonObject[].class); + final WindowsAutopilotDeviceIdentity[] array = new WindowsAutopilotDeviceIdentity[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), WindowsAutopilotDeviceIdentity.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + windowsAutopilotDeviceIdentities = new WindowsAutopilotDeviceIdentityCollectionPage(response, null); } if (json.has("managementConditions")) { @@ -1991,22 +1991,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { managementConditionStatements = new ManagementConditionStatementCollectionPage(response, null); } - if (json.has("groupPolicyObjectFiles")) { - final GroupPolicyObjectFileCollectionResponse response = new GroupPolicyObjectFileCollectionResponse(); - if (json.has("groupPolicyObjectFiles@odata.nextLink")) { - response.nextLink = json.get("groupPolicyObjectFiles@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupPolicyObjectFiles").toString(), JsonObject[].class); - final GroupPolicyObjectFile[] array = new GroupPolicyObjectFile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyObjectFile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - groupPolicyObjectFiles = new GroupPolicyObjectFileCollectionPage(response, null); - } - if (json.has("groupPolicyMigrationReports")) { final GroupPolicyMigrationReportCollectionResponse response = new GroupPolicyMigrationReportCollectionResponse(); if (json.has("groupPolicyMigrationReports@odata.nextLink")) { @@ -2023,20 +2007,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { groupPolicyMigrationReports = new GroupPolicyMigrationReportCollectionPage(response, null); } - if (json.has("groupPolicyConfigurations")) { - final GroupPolicyConfigurationCollectionResponse response = new GroupPolicyConfigurationCollectionResponse(); - if (json.has("groupPolicyConfigurations@odata.nextLink")) { - response.nextLink = json.get("groupPolicyConfigurations@odata.nextLink").getAsString(); + if (json.has("groupPolicyObjectFiles")) { + final GroupPolicyObjectFileCollectionResponse response = new GroupPolicyObjectFileCollectionResponse(); + if (json.has("groupPolicyObjectFiles@odata.nextLink")) { + response.nextLink = json.get("groupPolicyObjectFiles@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupPolicyConfigurations").toString(), JsonObject[].class); - final GroupPolicyConfiguration[] array = new GroupPolicyConfiguration[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupPolicyObjectFiles").toString(), JsonObject[].class); + final GroupPolicyObjectFile[] array = new GroupPolicyObjectFile[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyConfiguration.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyObjectFile.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - groupPolicyConfigurations = new GroupPolicyConfigurationCollectionPage(response, null); + groupPolicyObjectFiles = new GroupPolicyObjectFileCollectionPage(response, null); } if (json.has("groupPolicyCategories")) { @@ -2055,20 +2039,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { groupPolicyCategories = new GroupPolicyCategoryCollectionPage(response, null); } - if (json.has("groupPolicyDefinitions")) { - final GroupPolicyDefinitionCollectionResponse response = new GroupPolicyDefinitionCollectionResponse(); - if (json.has("groupPolicyDefinitions@odata.nextLink")) { - response.nextLink = json.get("groupPolicyDefinitions@odata.nextLink").getAsString(); + if (json.has("groupPolicyConfigurations")) { + final GroupPolicyConfigurationCollectionResponse response = new GroupPolicyConfigurationCollectionResponse(); + if (json.has("groupPolicyConfigurations@odata.nextLink")) { + response.nextLink = json.get("groupPolicyConfigurations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupPolicyDefinitions").toString(), JsonObject[].class); - final GroupPolicyDefinition[] array = new GroupPolicyDefinition[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupPolicyConfigurations").toString(), JsonObject[].class); + final GroupPolicyConfiguration[] array = new GroupPolicyConfiguration[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyDefinition.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyConfiguration.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - groupPolicyDefinitions = new GroupPolicyDefinitionCollectionPage(response, null); + groupPolicyConfigurations = new GroupPolicyConfigurationCollectionPage(response, null); } if (json.has("groupPolicyDefinitionFiles")) { @@ -2087,6 +2071,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { groupPolicyDefinitionFiles = new GroupPolicyDefinitionFileCollectionPage(response, null); } + if (json.has("groupPolicyDefinitions")) { + final GroupPolicyDefinitionCollectionResponse response = new GroupPolicyDefinitionCollectionResponse(); + if (json.has("groupPolicyDefinitions@odata.nextLink")) { + response.nextLink = json.get("groupPolicyDefinitions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupPolicyDefinitions").toString(), JsonObject[].class); + final GroupPolicyDefinition[] array = new GroupPolicyDefinition[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyDefinition.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + groupPolicyDefinitions = new GroupPolicyDefinitionCollectionPage(response, null); + } + if (json.has("groupPolicyUploadedDefinitionFiles")) { final GroupPolicyUploadedDefinitionFileCollectionResponse response = new GroupPolicyUploadedDefinitionFileCollectionResponse(); if (json.has("groupPolicyUploadedDefinitionFiles@odata.nextLink")) { @@ -2135,20 +2135,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { domainJoinConnectors = new DeviceManagementDomainJoinConnectorCollectionPage(response, null); } - if (json.has("roleDefinitions")) { - final RoleDefinitionCollectionResponse response = new RoleDefinitionCollectionResponse(); - if (json.has("roleDefinitions@odata.nextLink")) { - response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); + if (json.has("resourceOperations")) { + final ResourceOperationCollectionResponse response = new ResourceOperationCollectionResponse(); + if (json.has("resourceOperations@odata.nextLink")) { + response.nextLink = json.get("resourceOperations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); - final RoleDefinition[] array = new RoleDefinition[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("resourceOperations").toString(), JsonObject[].class); + final ResourceOperation[] array = new ResourceOperation[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleDefinition.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ResourceOperation.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - roleDefinitions = new RoleDefinitionCollectionPage(response, null); + resourceOperations = new ResourceOperationCollectionPage(response, null); } if (json.has("roleAssignments")) { @@ -2167,36 +2167,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { roleAssignments = new DeviceAndAppManagementRoleAssignmentCollectionPage(response, null); } - if (json.has("roleScopeTags")) { - final RoleScopeTagCollectionResponse response = new RoleScopeTagCollectionResponse(); - if (json.has("roleScopeTags@odata.nextLink")) { - response.nextLink = json.get("roleScopeTags@odata.nextLink").getAsString(); + if (json.has("roleDefinitions")) { + final RoleDefinitionCollectionResponse response = new RoleDefinitionCollectionResponse(); + if (json.has("roleDefinitions@odata.nextLink")) { + response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleScopeTags").toString(), JsonObject[].class); - final RoleScopeTag[] array = new RoleScopeTag[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); + final RoleDefinition[] array = new RoleDefinition[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleScopeTag.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleDefinition.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - roleScopeTags = new RoleScopeTagCollectionPage(response, null); + roleDefinitions = new RoleDefinitionCollectionPage(response, null); } - if (json.has("resourceOperations")) { - final ResourceOperationCollectionResponse response = new ResourceOperationCollectionResponse(); - if (json.has("resourceOperations@odata.nextLink")) { - response.nextLink = json.get("resourceOperations@odata.nextLink").getAsString(); + if (json.has("roleScopeTags")) { + final RoleScopeTagCollectionResponse response = new RoleScopeTagCollectionResponse(); + if (json.has("roleScopeTags@odata.nextLink")) { + response.nextLink = json.get("roleScopeTags@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("resourceOperations").toString(), JsonObject[].class); - final ResourceOperation[] array = new ResourceOperation[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleScopeTags").toString(), JsonObject[].class); + final RoleScopeTag[] array = new RoleScopeTag[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ResourceOperation.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), RoleScopeTag.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - resourceOperations = new ResourceOperationCollectionPage(response, null); + roleScopeTags = new RoleScopeTagCollectionPage(response, null); } if (json.has("remoteAssistancePartners")) { @@ -2215,22 +2215,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { remoteAssistancePartners = new RemoteAssistancePartnerCollectionPage(response, null); } - if (json.has("telecomExpenseManagementPartners")) { - final TelecomExpenseManagementPartnerCollectionResponse response = new TelecomExpenseManagementPartnerCollectionResponse(); - if (json.has("telecomExpenseManagementPartners@odata.nextLink")) { - response.nextLink = json.get("telecomExpenseManagementPartners@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("telecomExpenseManagementPartners").toString(), JsonObject[].class); - final TelecomExpenseManagementPartner[] array = new TelecomExpenseManagementPartner[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), TelecomExpenseManagementPartner.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - telecomExpenseManagementPartners = new TelecomExpenseManagementPartnerCollectionPage(response, null); - } - if (json.has("embeddedSIMActivationCodePools")) { final EmbeddedSIMActivationCodePoolCollectionResponse response = new EmbeddedSIMActivationCodePoolCollectionResponse(); if (json.has("embeddedSIMActivationCodePools@odata.nextLink")) { @@ -2247,20 +2231,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { embeddedSIMActivationCodePools = new EmbeddedSIMActivationCodePoolCollectionPage(response, null); } - if (json.has("troubleshootingEvents")) { - final DeviceManagementTroubleshootingEventCollectionResponse response = new DeviceManagementTroubleshootingEventCollectionResponse(); - if (json.has("troubleshootingEvents@odata.nextLink")) { - response.nextLink = json.get("troubleshootingEvents@odata.nextLink").getAsString(); + if (json.has("telecomExpenseManagementPartners")) { + final TelecomExpenseManagementPartnerCollectionResponse response = new TelecomExpenseManagementPartnerCollectionResponse(); + if (json.has("telecomExpenseManagementPartners@odata.nextLink")) { + response.nextLink = json.get("telecomExpenseManagementPartners@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("troubleshootingEvents").toString(), JsonObject[].class); - final DeviceManagementTroubleshootingEvent[] array = new DeviceManagementTroubleshootingEvent[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("telecomExpenseManagementPartners").toString(), JsonObject[].class); + final TelecomExpenseManagementPartner[] array = new TelecomExpenseManagementPartner[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementTroubleshootingEvent.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), TelecomExpenseManagementPartner.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - troubleshootingEvents = new DeviceManagementTroubleshootingEventCollectionPage(response, null); + telecomExpenseManagementPartners = new TelecomExpenseManagementPartnerCollectionPage(response, null); } if (json.has("autopilotEvents")) { @@ -2279,6 +2263,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { autopilotEvents = new DeviceManagementAutopilotEventCollectionPage(response, null); } + if (json.has("troubleshootingEvents")) { + final DeviceManagementTroubleshootingEventCollectionResponse response = new DeviceManagementTroubleshootingEventCollectionResponse(); + if (json.has("troubleshootingEvents@odata.nextLink")) { + response.nextLink = json.get("troubleshootingEvents@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("troubleshootingEvents").toString(), JsonObject[].class); + final DeviceManagementTroubleshootingEvent[] array = new DeviceManagementTroubleshootingEvent[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementTroubleshootingEvent.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + troubleshootingEvents = new DeviceManagementTroubleshootingEventCollectionPage(response, null); + } + if (json.has("windowsFeatureUpdateProfiles")) { final WindowsFeatureUpdateProfileCollectionResponse response = new WindowsFeatureUpdateProfileCollectionResponse(); if (json.has("windowsFeatureUpdateProfiles@odata.nextLink")) { @@ -2295,6 +2295,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { windowsFeatureUpdateProfiles = new WindowsFeatureUpdateProfileCollectionPage(response, null); } + if (json.has("intuneBrandingProfiles")) { + final IntuneBrandingProfileCollectionResponse response = new IntuneBrandingProfileCollectionResponse(); + if (json.has("intuneBrandingProfiles@odata.nextLink")) { + response.nextLink = json.get("intuneBrandingProfiles@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("intuneBrandingProfiles").toString(), JsonObject[].class); + final IntuneBrandingProfile[] array = new IntuneBrandingProfile[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), IntuneBrandingProfile.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + intuneBrandingProfiles = new IntuneBrandingProfileCollectionPage(response, null); + } + if (json.has("windowsInformationProtectionAppLearningSummaries")) { final WindowsInformationProtectionAppLearningSummaryCollectionResponse response = new WindowsInformationProtectionAppLearningSummaryCollectionResponse(); if (json.has("windowsInformationProtectionAppLearningSummaries@odata.nextLink")) { @@ -2327,22 +2343,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { windowsInformationProtectionNetworkLearningSummaries = new WindowsInformationProtectionNetworkLearningSummaryCollectionPage(response, null); } - if (json.has("intuneBrandingProfiles")) { - final IntuneBrandingProfileCollectionResponse response = new IntuneBrandingProfileCollectionResponse(); - if (json.has("intuneBrandingProfiles@odata.nextLink")) { - response.nextLink = json.get("intuneBrandingProfiles@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("intuneBrandingProfiles").toString(), JsonObject[].class); - final IntuneBrandingProfile[] array = new IntuneBrandingProfile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), IntuneBrandingProfile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - intuneBrandingProfiles = new IntuneBrandingProfileCollectionPage(response, null); - } - if (json.has("userPfxCertificates")) { final UserPFXCertificateCollectionResponse response = new UserPFXCertificateCollectionResponse(); if (json.has("userPfxCertificates@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsEdition.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsEdition.java index 1d30d8867a7..3139c80578f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsEdition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsEdition.java @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Os Edition Types. - * Applicability rule OS edition type. - */ - @SerializedName("osEditionTypes") - @Expose - public java.util.List osEditionTypes; - /** * The Name. * Name for object. @@ -53,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String name; + /** + * The Os Edition Types. + * Applicability rule OS edition type. + */ + @SerializedName("osEditionTypes") + @Expose + public java.util.List osEditionTypes; + /** * The Rule Type. * Applicability Rule type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsVersion.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsVersion.java index 69d9bfda703..dd20357eb22 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsVersion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementApplicabilityRuleOsVersion.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Min OSVersion. - * Min OS version for Applicability Rule. - */ - @SerializedName("minOSVersion") - @Expose - public String minOSVersion; - /** * The Max OSVersion. * Max OS version for Applicability Rule. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String maxOSVersion; + /** + * The Min OSVersion. + * Min OS version for Applicability Rule. + */ + @SerializedName("minOSVersion") + @Expose + public String minOSVersion; + /** * The Name. * Name for object. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotEvent.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotEvent.java index 0161cf4feab..ffe13b8c7c8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotEvent.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsAutopilotEnrollmentType; -import com.microsoft.graph.models.generated.EnrollmentState; import com.microsoft.graph.models.generated.WindowsAutopilotDeploymentState; +import com.microsoft.graph.models.generated.EnrollmentState; +import com.microsoft.graph.models.generated.WindowsAutopilotEnrollmentType; import com.microsoft.graph.models.extensions.DeviceManagementAutopilotPolicyStatusDetail; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.DeviceManagementAutopilotPolicyStatusDetailCollectionResponse; @@ -33,164 +33,148 @@ public class DeviceManagementAutopilotEvent extends Entity implements IJsonBacke /** - * The Device Id. - * Device id associated with the object - */ - @SerializedName("deviceId") - @Expose - public String deviceId; - - /** - * The Event Date Time. - * Time when the event occurred . - */ - @SerializedName("eventDateTime") - @Expose - public java.util.Calendar eventDateTime; - - /** - * The Device Registered Date Time. - * Device registration date. + * The Account Setup Duration. + * Time spent in user ESP. */ - @SerializedName("deviceRegisteredDateTime") + @SerializedName("accountSetupDuration") @Expose - public java.util.Calendar deviceRegisteredDateTime; + public javax.xml.datatype.Duration accountSetupDuration; /** - * The Enrollment Start Date Time. - * Device enrollment start date. + * The Deployment Duration. + * Autopilot deployment duration including enrollment. */ - @SerializedName("enrollmentStartDateTime") + @SerializedName("deploymentDuration") @Expose - public java.util.Calendar enrollmentStartDateTime; + public javax.xml.datatype.Duration deploymentDuration; /** - * The Enrollment Type. - * Enrollment type. + * The Deployment End Date Time. + * Deployment end time. */ - @SerializedName("enrollmentType") + @SerializedName("deploymentEndDateTime") @Expose - public WindowsAutopilotEnrollmentType enrollmentType; + public java.util.Calendar deploymentEndDateTime; /** - * The Device Serial Number. - * Device serial number. + * The Deployment Start Date Time. + * Deployment start time. */ - @SerializedName("deviceSerialNumber") + @SerializedName("deploymentStartDateTime") @Expose - public String deviceSerialNumber; + public java.util.Calendar deploymentStartDateTime; /** - * The Managed Device Name. - * Managed device name. + * The Deployment State. + * Deployment state like Success, Failure, InProgress, SuccessWithTimeout. */ - @SerializedName("managedDeviceName") + @SerializedName("deploymentState") @Expose - public String managedDeviceName; + public WindowsAutopilotDeploymentState deploymentState; /** - * The User Principal Name. - * User principal name used to enroll the device. + * The Deployment Total Duration. + * Total deployment duration from enrollment to Desktop screen. */ - @SerializedName("userPrincipalName") + @SerializedName("deploymentTotalDuration") @Expose - public String userPrincipalName; + public javax.xml.datatype.Duration deploymentTotalDuration; /** - * The Windows Autopilot Deployment Profile Display Name. - * Autopilot profile name. + * The Device Id. + * Device id associated with the object */ - @SerializedName("windowsAutopilotDeploymentProfileDisplayName") + @SerializedName("deviceId") @Expose - public String windowsAutopilotDeploymentProfileDisplayName; + public String deviceId; /** - * The Enrollment State. - * Enrollment state like Enrolled, Failed. + * The Device Preparation Duration. + * Time spent in device enrollment. */ - @SerializedName("enrollmentState") + @SerializedName("devicePreparationDuration") @Expose - public EnrollmentState enrollmentState; + public javax.xml.datatype.Duration devicePreparationDuration; /** - * The Windows10Enrollment Completion Page Configuration Display Name. - * Enrollment Status Page profile name + * The Device Registered Date Time. + * Device registration date. */ - @SerializedName("windows10EnrollmentCompletionPageConfigurationDisplayName") + @SerializedName("deviceRegisteredDateTime") @Expose - public String windows10EnrollmentCompletionPageConfigurationDisplayName; + public java.util.Calendar deviceRegisteredDateTime; /** - * The Deployment State. - * Deployment state like Success, Failure, InProgress, SuccessWithTimeout. + * The Device Serial Number. + * Device serial number. */ - @SerializedName("deploymentState") + @SerializedName("deviceSerialNumber") @Expose - public WindowsAutopilotDeploymentState deploymentState; + public String deviceSerialNumber; /** - * The Os Version. - * Device operating system version. + * The Device Setup Duration. + * Time spent in device ESP. */ - @SerializedName("osVersion") + @SerializedName("deviceSetupDuration") @Expose - public String osVersion; + public javax.xml.datatype.Duration deviceSetupDuration; /** - * The Deployment Duration. - * Autopilot deployment duration including enrollment. + * The Enrollment Failure Details. + * Enrollment failure details. */ - @SerializedName("deploymentDuration") + @SerializedName("enrollmentFailureDetails") @Expose - public javax.xml.datatype.Duration deploymentDuration; + public String enrollmentFailureDetails; /** - * The Deployment Total Duration. - * Total deployment duration from enrollment to Desktop screen. + * The Enrollment Start Date Time. + * Device enrollment start date. */ - @SerializedName("deploymentTotalDuration") + @SerializedName("enrollmentStartDateTime") @Expose - public javax.xml.datatype.Duration deploymentTotalDuration; + public java.util.Calendar enrollmentStartDateTime; /** - * The Device Preparation Duration. - * Time spent in device enrollment. + * The Enrollment State. + * Enrollment state like Enrolled, Failed. */ - @SerializedName("devicePreparationDuration") + @SerializedName("enrollmentState") @Expose - public javax.xml.datatype.Duration devicePreparationDuration; + public EnrollmentState enrollmentState; /** - * The Device Setup Duration. - * Time spent in device ESP. + * The Enrollment Type. + * Enrollment type. */ - @SerializedName("deviceSetupDuration") + @SerializedName("enrollmentType") @Expose - public javax.xml.datatype.Duration deviceSetupDuration; + public WindowsAutopilotEnrollmentType enrollmentType; /** - * The Account Setup Duration. - * Time spent in user ESP. + * The Event Date Time. + * Time when the event occurred . */ - @SerializedName("accountSetupDuration") + @SerializedName("eventDateTime") @Expose - public javax.xml.datatype.Duration accountSetupDuration; + public java.util.Calendar eventDateTime; /** - * The Deployment Start Date Time. - * Deployment start time. + * The Managed Device Name. + * Managed device name. */ - @SerializedName("deploymentStartDateTime") + @SerializedName("managedDeviceName") @Expose - public java.util.Calendar deploymentStartDateTime; + public String managedDeviceName; /** - * The Deployment End Date Time. - * Deployment end time. + * The Os Version. + * Device operating system version. */ - @SerializedName("deploymentEndDateTime") + @SerializedName("osVersion") @Expose - public java.util.Calendar deploymentEndDateTime; + public String osVersion; /** * The Targeted App Count. @@ -209,12 +193,28 @@ public class DeviceManagementAutopilotEvent extends Entity implements IJsonBacke public Integer targetedPolicyCount; /** - * The Enrollment Failure Details. - * Enrollment failure details. + * The User Principal Name. + * User principal name used to enroll the device. */ - @SerializedName("enrollmentFailureDetails") + @SerializedName("userPrincipalName") @Expose - public String enrollmentFailureDetails; + public String userPrincipalName; + + /** + * The Windows10Enrollment Completion Page Configuration Display Name. + * Enrollment Status Page profile name + */ + @SerializedName("windows10EnrollmentCompletionPageConfigurationDisplayName") + @Expose + public String windows10EnrollmentCompletionPageConfigurationDisplayName; + + /** + * The Windows Autopilot Deployment Profile Display Name. + * Autopilot profile name. + */ + @SerializedName("windowsAutopilotDeploymentProfileDisplayName") + @Expose + public String windowsAutopilotDeploymentProfileDisplayName; /** * The Policy Status Details. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotPolicyStatusDetail.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotPolicyStatusDetail.java index 6a4b5dbb504..7d8abd691a5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotPolicyStatusDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementAutopilotPolicyStatusDetail.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementAutopilotPolicyType; import com.microsoft.graph.models.generated.DeviceManagementAutopilotPolicyComplianceStatus; +import com.microsoft.graph.models.generated.DeviceManagementAutopilotPolicyType; import com.microsoft.graph.models.extensions.Entity; @@ -28,6 +28,14 @@ public class DeviceManagementAutopilotPolicyStatusDetail extends Entity implements IJsonBackedObject { + /** + * The Compliance Status. + * The policy compliance status. + */ + @SerializedName("complianceStatus") + @Expose + public DeviceManagementAutopilotPolicyComplianceStatus complianceStatus; + /** * The Display Name. * The friendly name of the policy. @@ -37,20 +45,20 @@ public class DeviceManagementAutopilotPolicyStatusDetail extends Entity implemen public String displayName; /** - * The Policy Type. - * The type of policy. + * The Last Reported Date Time. + * Timestamp of the reported policy status */ - @SerializedName("policyType") + @SerializedName("lastReportedDateTime") @Expose - public DeviceManagementAutopilotPolicyType policyType; + public java.util.Calendar lastReportedDateTime; /** - * The Compliance Status. - * The policy compliance status. + * The Policy Type. + * The type of policy. */ - @SerializedName("complianceStatus") + @SerializedName("policyType") @Expose - public DeviceManagementAutopilotPolicyComplianceStatus complianceStatus; + public DeviceManagementAutopilotPolicyType policyType; /** * The Tracked On Enrollment Status. @@ -60,14 +68,6 @@ public class DeviceManagementAutopilotPolicyStatusDetail extends Entity implemen @Expose public Boolean trackedOnEnrollmentStatus; - /** - * The Last Reported Date Time. - * Timestamp of the reported policy status - */ - @SerializedName("lastReportedDateTime") - @Expose - public java.util.Calendar lastReportedDateTime; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementCachedReportConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementCachedReportConfiguration.java index f1f5e3319be..a76997b0bcb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementCachedReportConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementCachedReportConfiguration.java @@ -28,12 +28,12 @@ public class DeviceManagementCachedReportConfiguration extends Entity implements /** - * The Report Name. - * Name of the report + * The Expiration Date Time. + * Time that the cached report expires */ - @SerializedName("reportName") + @SerializedName("expirationDateTime") @Expose - public String reportName; + public java.util.Calendar expirationDateTime; /** * The Filter. @@ -44,20 +44,12 @@ public class DeviceManagementCachedReportConfiguration extends Entity implements public String filter; /** - * The Select. - * Columns selected from the report - */ - @SerializedName("select") - @Expose - public java.util.List select; - - /** - * The Order By. - * Ordering of columns in the report + * The Last Refresh Date Time. + * Time that the cached report was last refreshed */ - @SerializedName("orderBy") + @SerializedName("lastRefreshDateTime") @Expose - public java.util.List orderBy; + public java.util.Calendar lastRefreshDateTime; /** * The Metadata. @@ -68,28 +60,36 @@ public class DeviceManagementCachedReportConfiguration extends Entity implements public String metadata; /** - * The Status. - * Status of the cached report + * The Order By. + * Ordering of columns in the report */ - @SerializedName("status") + @SerializedName("orderBy") @Expose - public DeviceManagementReportStatus status; + public java.util.List orderBy; /** - * The Last Refresh Date Time. - * Time that the cached report was last refreshed + * The Report Name. + * Name of the report */ - @SerializedName("lastRefreshDateTime") + @SerializedName("reportName") @Expose - public java.util.Calendar lastRefreshDateTime; + public String reportName; /** - * The Expiration Date Time. - * Time that the cached report expires + * The Select. + * Columns selected from the report */ - @SerializedName("expirationDateTime") + @SerializedName("select") @Expose - public java.util.Calendar expirationDateTime; + public java.util.List select; + + /** + * The Status. + * Status of the cached report + */ + @SerializedName("status") + @Expose + public DeviceManagementReportStatus status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementDerivedCredentialSettings.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementDerivedCredentialSettings.java index 455b2329a21..216bef9e114 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementDerivedCredentialSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementDerivedCredentialSettings.java @@ -28,14 +28,6 @@ public class DeviceManagementDerivedCredentialSettings extends Entity implements IJsonBackedObject { - /** - * The Help Url. - * The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal. - */ - @SerializedName("helpUrl") - @Expose - public String helpUrl; - /** * The Display Name. * The display name for the profile. @@ -44,6 +36,14 @@ public class DeviceManagementDerivedCredentialSettings extends Entity implements @Expose public String displayName; + /** + * The Help Url. + * The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal. + */ + @SerializedName("helpUrl") + @Expose + public String helpUrl; + /** * The Issuer. * The derived credential provider to use. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementEnumValue.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementEnumValue.java index 31626bfb062..60f2e76a9f7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementEnumValue.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementEnumValue.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Value. - * The raw enum value text - */ - @SerializedName("value") - @Expose - public String value; - /** * The Display Name. * Display name for this enum value @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; + /** + * The Value. + * The raw enum value text + */ + @SerializedName("value") + @Expose + public String value; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeAccessRule.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeAccessRule.java index 5310ccb9afe..afc2f99acf4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeAccessRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeAccessRule.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceManagementExchangeDeviceClass; import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessLevel; +import com.microsoft.graph.models.extensions.DeviceManagementExchangeDeviceClass; import com.google.gson.JsonObject; @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Device Class. - * Device Class which will be impacted by this rule. - */ - @SerializedName("deviceClass") - @Expose - public DeviceManagementExchangeDeviceClass deviceClass; - /** * The Access Level. * Access Level for Exchange granted by this rule. @@ -53,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public DeviceManagementExchangeAccessLevel accessLevel; + /** + * The Device Class. + * Device Class which will be impacted by this rule. + */ + @SerializedName("deviceClass") + @Expose + public DeviceManagementExchangeDeviceClass deviceClass; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java index e2d2331f5fd..ec52efafd1e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeConnector.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorStatus; import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorType; +import com.microsoft.graph.models.generated.DeviceManagementExchangeConnectorStatus; import com.microsoft.graph.models.extensions.Entity; @@ -29,76 +29,76 @@ public class DeviceManagementExchangeConnector extends Entity implements IJsonBa /** - * The Last Sync Date Time. - * Last sync time for the Exchange Connector + * The Connector Server Name. + * The name of the server hosting the Exchange Connector. */ - @SerializedName("lastSyncDateTime") + @SerializedName("connectorServerName") @Expose - public java.util.Calendar lastSyncDateTime; + public String connectorServerName; /** - * The Status. - * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. + * The Exchange Alias. + * An alias assigned to the Exchange server */ - @SerializedName("status") + @SerializedName("exchangeAlias") @Expose - public DeviceManagementExchangeConnectorStatus status; + public String exchangeAlias; /** - * The Primary Smtp Address. - * Email address used to configure the Service To Service Exchange Connector. + * The Exchange Connector Type. + * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. */ - @SerializedName("primarySmtpAddress") + @SerializedName("exchangeConnectorType") @Expose - public String primarySmtpAddress; + public DeviceManagementExchangeConnectorType exchangeConnectorType; /** - * The Server Name. - * The name of the Exchange server. + * The Exchange Organization. + * Exchange Organization to the Exchange server */ - @SerializedName("serverName") + @SerializedName("exchangeOrganization") @Expose - public String serverName; + public String exchangeOrganization; /** - * The Connector Server Name. - * The name of the server hosting the Exchange Connector. + * The Last Sync Date Time. + * Last sync time for the Exchange Connector */ - @SerializedName("connectorServerName") + @SerializedName("lastSyncDateTime") @Expose - public String connectorServerName; + public java.util.Calendar lastSyncDateTime; /** - * The Exchange Connector Type. - * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. + * The Primary Smtp Address. + * Email address used to configure the Service To Service Exchange Connector. */ - @SerializedName("exchangeConnectorType") + @SerializedName("primarySmtpAddress") @Expose - public DeviceManagementExchangeConnectorType exchangeConnectorType; + public String primarySmtpAddress; /** - * The Version. - * The version of the ExchangeConnectorAgent + * The Server Name. + * The name of the Exchange server. */ - @SerializedName("version") + @SerializedName("serverName") @Expose - public String version; + public String serverName; /** - * The Exchange Alias. - * An alias assigned to the Exchange server + * The Status. + * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. */ - @SerializedName("exchangeAlias") + @SerializedName("status") @Expose - public String exchangeAlias; + public DeviceManagementExchangeConnectorStatus status; /** - * The Exchange Organization. - * Exchange Organization to the Exchange server + * The Version. + * The version of the ExchangeConnectorAgent */ - @SerializedName("exchangeOrganization") + @SerializedName("version") @Expose - public String exchangeOrganization; + public String version; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeOnPremisesPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeOnPremisesPolicy.java index 50b06b44fb2..22fe814fb7b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeOnPremisesPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExchangeOnPremisesPolicy.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessLevel; import com.microsoft.graph.models.extensions.DeviceManagementExchangeAccessRule; +import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessLevel; import com.microsoft.graph.models.extensions.DeviceManagementExchangeDeviceClass; import com.microsoft.graph.models.extensions.OnPremisesConditionalAccessSettings; import com.microsoft.graph.models.extensions.Entity; @@ -31,12 +31,12 @@ public class DeviceManagementExchangeOnPremisesPolicy extends Entity implements /** - * The Notification Content. - * Notification text that will be sent to users quarantined by this policy. This is UTF8 encoded byte array HTML. + * The Access Rules. + * The list of device access rules in Exchange. The access rules apply globally to the entire Exchange organization */ - @SerializedName("notificationContent") + @SerializedName("accessRules") @Expose - public byte[] notificationContent; + public java.util.List accessRules; /** * The Default Access Level. @@ -46,14 +46,6 @@ public class DeviceManagementExchangeOnPremisesPolicy extends Entity implements @Expose public DeviceManagementExchangeAccessLevel defaultAccessLevel; - /** - * The Access Rules. - * The list of device access rules in Exchange. The access rules apply globally to the entire Exchange organization - */ - @SerializedName("accessRules") - @Expose - public java.util.List accessRules; - /** * The Known Device Classes. * The list of device classes known to Exchange @@ -62,6 +54,14 @@ public class DeviceManagementExchangeOnPremisesPolicy extends Entity implements @Expose public java.util.List knownDeviceClasses; + /** + * The Notification Content. + * Notification text that will be sent to users quarantined by this policy. This is UTF8 encoded byte array HTML. + */ + @SerializedName("notificationContent") + @Expose + public byte[] notificationContent; + /** * The Conditional Access Settings. * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExportJob.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExportJob.java index 78d3213c0ac..cd995f24779 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExportJob.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementExportJob.java @@ -29,12 +29,12 @@ public class DeviceManagementExportJob extends Entity implements IJsonBackedObje /** - * The Report Name. - * Name of the report + * The Expiration Date Time. + * Time that the exported report expires */ - @SerializedName("reportName") + @SerializedName("expirationDateTime") @Expose - public String reportName; + public java.util.Calendar expirationDateTime; /** * The Filter. @@ -44,14 +44,6 @@ public class DeviceManagementExportJob extends Entity implements IJsonBackedObje @Expose public String filter; - /** - * The Select. - * Columns selected from the report - */ - @SerializedName("select") - @Expose - public java.util.List select; - /** * The Format. * Format of the exported report @@ -60,6 +52,30 @@ public class DeviceManagementExportJob extends Entity implements IJsonBackedObje @Expose public DeviceManagementReportFileFormat format; + /** + * The Report Name. + * Name of the report + */ + @SerializedName("reportName") + @Expose + public String reportName; + + /** + * The Request Date Time. + * Time that the exported report was requested + */ + @SerializedName("requestDateTime") + @Expose + public java.util.Calendar requestDateTime; + + /** + * The Select. + * Columns selected from the report + */ + @SerializedName("select") + @Expose + public java.util.List select; + /** * The Snapshot Id. * A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. @@ -84,22 +100,6 @@ public class DeviceManagementExportJob extends Entity implements IJsonBackedObje @Expose public String url; - /** - * The Request Date Time. - * Time that the exported report was requested - */ - @SerializedName("requestDateTime") - @Expose - public java.util.Calendar requestDateTime; - - /** - * The Expiration Date Time. - * Time that the exported report expires - */ - @SerializedName("expirationDateTime") - @Expose - public java.util.Calendar expirationDateTime; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntent.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntent.java index ba73e6d4171..02935289505 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntent.java @@ -8,25 +8,25 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceManagementSettingInstance; -import com.microsoft.graph.models.extensions.DeviceManagementIntentSettingCategory; import com.microsoft.graph.models.extensions.DeviceManagementIntentAssignment; +import com.microsoft.graph.models.extensions.DeviceManagementIntentSettingCategory; import com.microsoft.graph.models.extensions.DeviceManagementIntentDeviceSettingStateSummary; import com.microsoft.graph.models.extensions.DeviceManagementIntentDeviceState; -import com.microsoft.graph.models.extensions.DeviceManagementIntentUserState; import com.microsoft.graph.models.extensions.DeviceManagementIntentDeviceStateSummary; +import com.microsoft.graph.models.extensions.DeviceManagementSettingInstance; +import com.microsoft.graph.models.extensions.DeviceManagementIntentUserState; import com.microsoft.graph.models.extensions.DeviceManagementIntentUserStateSummary; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceManagementIntentSettingCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementIntentSettingCategoryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementIntentAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementIntentAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementIntentSettingCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementIntentSettingCategoryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementIntentDeviceSettingStateSummaryCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementIntentDeviceSettingStateSummaryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementIntentDeviceStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementIntentDeviceStateCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementIntentUserStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementIntentUserStateCollectionPage; @@ -46,14 +46,6 @@ public class DeviceManagementIntent extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * The user given display name - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * The user given description @@ -62,6 +54,14 @@ public class DeviceManagementIntent extends Entity implements IJsonBackedObject @Expose public String description; + /** + * The Display Name. + * The user given display name + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Is Assigned. * Signifies whether or not the intent is assigned to users @@ -78,14 +78,6 @@ public class DeviceManagementIntent extends Entity implements IJsonBackedObject @Expose public java.util.Calendar lastModifiedDateTime; - /** - * The Template Id. - * The ID of the template this intent was created from (if any) - */ - @SerializedName("templateId") - @Expose - public String templateId; - /** * The Role Scope Tag Ids. * List of Scope Tags for this Entity instance. @@ -95,16 +87,12 @@ public class DeviceManagementIntent extends Entity implements IJsonBackedObject public java.util.List roleScopeTagIds; /** - * The Settings. - * Collection of all settings to be applied - */ - public DeviceManagementSettingInstanceCollectionPage settings; - - /** - * The Categories. - * Collection of setting categories within the intent + * The Template Id. + * The ID of the template this intent was created from (if any) */ - public DeviceManagementIntentSettingCategoryCollectionPage categories; + @SerializedName("templateId") + @Expose + public String templateId; /** * The Assignments. @@ -112,6 +100,12 @@ public class DeviceManagementIntent extends Entity implements IJsonBackedObject */ public DeviceManagementIntentAssignmentCollectionPage assignments; + /** + * The Categories. + * Collection of setting categories within the intent + */ + public DeviceManagementIntentSettingCategoryCollectionPage categories; + /** * The Device Setting State Summaries. * Collection of settings and their states and counts of devices that belong to corresponding state for all settings within the intent @@ -124,12 +118,6 @@ public class DeviceManagementIntent extends Entity implements IJsonBackedObject */ public DeviceManagementIntentDeviceStateCollectionPage deviceStates; - /** - * The User States. - * Collection of states of all users that the intent is applied to - */ - public DeviceManagementIntentUserStateCollectionPage userStates; - /** * The Device State Summary. * A summary of device states and counts of devices that belong to corresponding state for all devices that the intent is applied to @@ -138,6 +126,18 @@ public class DeviceManagementIntent extends Entity implements IJsonBackedObject @Expose public DeviceManagementIntentDeviceStateSummary deviceStateSummary; + /** + * The Settings. + * Collection of all settings to be applied + */ + public DeviceManagementSettingInstanceCollectionPage settings; + + /** + * The User States. + * Collection of states of all users that the intent is applied to + */ + public DeviceManagementIntentUserStateCollectionPage userStates; + /** * The User State Summary. * A summary of user states and counts of users that belong to corresponding state for all users that the intent is applied to @@ -186,20 +186,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("settings")) { - final DeviceManagementSettingInstanceCollectionResponse response = new DeviceManagementSettingInstanceCollectionResponse(); - if (json.has("settings@odata.nextLink")) { - response.nextLink = json.get("settings@odata.nextLink").getAsString(); + if (json.has("assignments")) { + final DeviceManagementIntentAssignmentCollectionResponse response = new DeviceManagementIntentAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("settings").toString(), JsonObject[].class); - final DeviceManagementSettingInstance[] array = new DeviceManagementSettingInstance[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final DeviceManagementIntentAssignment[] array = new DeviceManagementIntentAssignment[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementSettingInstance.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementIntentAssignment.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - settings = new DeviceManagementSettingInstanceCollectionPage(response, null); + assignments = new DeviceManagementIntentAssignmentCollectionPage(response, null); } if (json.has("categories")) { @@ -218,22 +218,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { categories = new DeviceManagementIntentSettingCategoryCollectionPage(response, null); } - if (json.has("assignments")) { - final DeviceManagementIntentAssignmentCollectionResponse response = new DeviceManagementIntentAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final DeviceManagementIntentAssignment[] array = new DeviceManagementIntentAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementIntentAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new DeviceManagementIntentAssignmentCollectionPage(response, null); - } - if (json.has("deviceSettingStateSummaries")) { final DeviceManagementIntentDeviceSettingStateSummaryCollectionResponse response = new DeviceManagementIntentDeviceSettingStateSummaryCollectionResponse(); if (json.has("deviceSettingStateSummaries@odata.nextLink")) { @@ -266,6 +250,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceStates = new DeviceManagementIntentDeviceStateCollectionPage(response, null); } + if (json.has("settings")) { + final DeviceManagementSettingInstanceCollectionResponse response = new DeviceManagementSettingInstanceCollectionResponse(); + if (json.has("settings@odata.nextLink")) { + response.nextLink = json.get("settings@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("settings").toString(), JsonObject[].class); + final DeviceManagementSettingInstance[] array = new DeviceManagementSettingInstance[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementSettingInstance.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + settings = new DeviceManagementSettingInstanceCollectionPage(response, null); + } + if (json.has("userStates")) { final DeviceManagementIntentUserStateCollectionResponse response = new DeviceManagementIntentUserStateCollectionResponse(); if (json.has("userStates@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceSettingStateSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceSettingStateSummary.java index fdd7255f251..55e22b11a6c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceSettingStateSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceSettingStateSummary.java @@ -26,14 +26,6 @@ public class DeviceManagementIntentDeviceSettingStateSummary extends Entity implements IJsonBackedObject { - /** - * The Setting Name. - * Name of a setting - */ - @SerializedName("settingName") - @Expose - public String settingName; - /** * The Compliant Count. * Number of compliant devices @@ -82,6 +74,14 @@ public class DeviceManagementIntentDeviceSettingStateSummary extends Entity impl @Expose public Integer remediatedCount; + /** + * The Setting Name. + * Name of a setting + */ + @SerializedName("settingName") + @Expose + public String settingName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceState.java index 1c2e3320267..d1df16cbae7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentDeviceState.java @@ -27,22 +27,6 @@ public class DeviceManagementIntentDeviceState extends Entity implements IJsonBackedObject { - /** - * The User Principal Name. - * The user principal name that is being reported on a device - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The User Name. - * The user name that is being reported on a device - */ - @SerializedName("userName") - @Expose - public String userName; - /** * The Device Display Name. * Device name that is being reported @@ -51,6 +35,14 @@ public class DeviceManagementIntentDeviceState extends Entity implements IJsonBa @Expose public String deviceDisplayName; + /** + * The Device Id. + * Device id that is being reported + */ + @SerializedName("deviceId") + @Expose + public String deviceId; + /** * The Last Reported Date Time. * Last modified date time of an intent report @@ -68,12 +60,20 @@ public class DeviceManagementIntentDeviceState extends Entity implements IJsonBa public ComplianceStatus state; /** - * The Device Id. - * Device id that is being reported + * The User Name. + * The user name that is being reported on a device */ - @SerializedName("deviceId") + @SerializedName("userName") @Expose - public String deviceId; + public String userName; + + /** + * The User Principal Name. + * The user principal name that is being reported on a device + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentUserState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentUserState.java index 14c678c4c80..fe9b56d7ed9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentUserState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementIntentUserState.java @@ -27,22 +27,6 @@ public class DeviceManagementIntentUserState extends Entity implements IJsonBackedObject { - /** - * The User Principal Name. - * The user principal name that is being reported on a device - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The User Name. - * The user name that is being reported on a device - */ - @SerializedName("userName") - @Expose - public String userName; - /** * The Device Count. * Count of Devices that belongs to a user for an intent @@ -67,6 +51,22 @@ public class DeviceManagementIntentUserState extends Entity implements IJsonBack @Expose public ComplianceStatus state; + /** + * The User Name. + * The user name that is being reported on a device + */ + @SerializedName("userName") + @Expose + public String userName; + + /** + * The User Principal Name. + * The user principal name that is being reported on a device + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java index 6c79b6636dc..eb8d4ef7b54 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementPartner.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementPartnerTenantState; -import com.microsoft.graph.models.generated.DeviceManagementPartnerAppType; import com.microsoft.graph.models.extensions.DeviceManagementPartnerAssignment; +import com.microsoft.graph.models.generated.DeviceManagementPartnerAppType; +import com.microsoft.graph.models.generated.DeviceManagementPartnerTenantState; import com.microsoft.graph.models.extensions.Entity; @@ -30,60 +30,60 @@ public class DeviceManagementPartner extends Entity implements IJsonBackedObject /** - * The Last Heartbeat Date Time. - * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner + * The Display Name. + * Partner display name */ - @SerializedName("lastHeartbeatDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar lastHeartbeatDateTime; + public String displayName; /** - * The Partner State. - * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * The Groups Requiring Partner Enrollment. + * User groups that specifies whether enrollment is through partner. */ - @SerializedName("partnerState") + @SerializedName("groupsRequiringPartnerEnrollment") @Expose - public DeviceManagementPartnerTenantState partnerState; + public java.util.List groupsRequiringPartnerEnrollment; /** - * The Partner App Type. - * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. + * The Is Configured. + * Whether device management partner is configured or not */ - @SerializedName("partnerAppType") + @SerializedName("isConfigured") @Expose - public DeviceManagementPartnerAppType partnerAppType; + public Boolean isConfigured; /** - * The Single Tenant App Id. - * Partner Single tenant App id + * The Last Heartbeat Date Time. + * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner */ - @SerializedName("singleTenantAppId") + @SerializedName("lastHeartbeatDateTime") @Expose - public String singleTenantAppId; + public java.util.Calendar lastHeartbeatDateTime; /** - * The Display Name. - * Partner display name + * The Partner App Type. + * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. */ - @SerializedName("displayName") + @SerializedName("partnerAppType") @Expose - public String displayName; + public DeviceManagementPartnerAppType partnerAppType; /** - * The Is Configured. - * Whether device management partner is configured or not + * The Partner State. + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. */ - @SerializedName("isConfigured") + @SerializedName("partnerState") @Expose - public Boolean isConfigured; + public DeviceManagementPartnerTenantState partnerState; /** - * The When Partner Devices Will Be Removed. - * DateTime in UTC when PartnerDevices will be removed. This will become obselete soon. + * The Single Tenant App Id. + * Partner Single tenant App id */ - @SerializedName("whenPartnerDevicesWillBeRemoved") + @SerializedName("singleTenantAppId") @Expose - public java.util.Calendar whenPartnerDevicesWillBeRemoved; + public String singleTenantAppId; /** * The When Partner Devices Will Be Marked As Non Compliant. @@ -93,14 +93,6 @@ public class DeviceManagementPartner extends Entity implements IJsonBackedObject @Expose public java.util.Calendar whenPartnerDevicesWillBeMarkedAsNonCompliant; - /** - * The When Partner Devices Will Be Removed Date Time. - * DateTime in UTC when PartnerDevices will be removed - */ - @SerializedName("whenPartnerDevicesWillBeRemovedDateTime") - @Expose - public java.util.Calendar whenPartnerDevicesWillBeRemovedDateTime; - /** * The When Partner Devices Will Be Marked As Non Compliant Date Time. * DateTime in UTC when PartnerDevices will be marked as NonCompliant @@ -110,12 +102,20 @@ public class DeviceManagementPartner extends Entity implements IJsonBackedObject public java.util.Calendar whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime; /** - * The Groups Requiring Partner Enrollment. - * User groups that specifies whether enrollment is through partner. + * The When Partner Devices Will Be Removed. + * DateTime in UTC when PartnerDevices will be removed. This will become obselete soon. */ - @SerializedName("groupsRequiringPartnerEnrollment") + @SerializedName("whenPartnerDevicesWillBeRemoved") @Expose - public java.util.List groupsRequiringPartnerEnrollment; + public java.util.Calendar whenPartnerDevicesWillBeRemoved; + + /** + * The When Partner Devices Will Be Removed Date Time. + * DateTime in UTC when PartnerDevices will be removed + */ + @SerializedName("whenPartnerDevicesWillBeRemovedDateTime") + @Expose + public java.util.Calendar whenPartnerDevicesWillBeRemovedDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementReportSchedule.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementReportSchedule.java index cf74b2704ad..1d1a9bcf119 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementReportSchedule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementReportSchedule.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementScheduledReportRecurrence; import com.microsoft.graph.models.generated.DeviceManagementReportFileFormat; +import com.microsoft.graph.models.generated.DeviceManagementScheduledReportRecurrence; import com.microsoft.graph.models.extensions.Entity; @@ -28,22 +28,6 @@ public class DeviceManagementReportSchedule extends Entity implements IJsonBackedObject { - /** - * The Report Schedule Name. - * Name of the schedule - */ - @SerializedName("reportScheduleName") - @Expose - public String reportScheduleName; - - /** - * The Subject. - * Subject of the scheduled reports that are delivered - */ - @SerializedName("subject") - @Expose - public String subject; - /** * The Emails. * Emails to which the scheduled reports are delivered @@ -53,36 +37,44 @@ public class DeviceManagementReportSchedule extends Entity implements IJsonBacke public java.util.List emails; /** - * The Recurrence. - * Frequency of scheduled report delivery + * The End Date Time. + * Time that the delivery of the scheduled reports ends */ - @SerializedName("recurrence") + @SerializedName("endDateTime") @Expose - public DeviceManagementScheduledReportRecurrence recurrence; + public java.util.Calendar endDateTime; /** - * The Start Date Time. - * Time that the delivery of the scheduled reports starts + * The Filter. + * Filters applied on the report */ - @SerializedName("startDateTime") + @SerializedName("filter") @Expose - public java.util.Calendar startDateTime; + public String filter; /** - * The End Date Time. - * Time that the delivery of the scheduled reports ends + * The Format. + * Format of the scheduled report */ - @SerializedName("endDateTime") + @SerializedName("format") @Expose - public java.util.Calendar endDateTime; + public DeviceManagementReportFileFormat format; /** - * The User Id. - * The Id of the User who created the report + * The Order By. + * Ordering of columns in the report */ - @SerializedName("userId") + @SerializedName("orderBy") @Expose - public String userId; + public java.util.List orderBy; + + /** + * The Recurrence. + * Frequency of scheduled report delivery + */ + @SerializedName("recurrence") + @Expose + public DeviceManagementScheduledReportRecurrence recurrence; /** * The Report Name. @@ -93,12 +85,12 @@ public class DeviceManagementReportSchedule extends Entity implements IJsonBacke public String reportName; /** - * The Filter. - * Filters applied on the report + * The Report Schedule Name. + * Name of the schedule */ - @SerializedName("filter") + @SerializedName("reportScheduleName") @Expose - public String filter; + public String reportScheduleName; /** * The Select. @@ -109,20 +101,28 @@ public class DeviceManagementReportSchedule extends Entity implements IJsonBacke public java.util.List select; /** - * The Order By. - * Ordering of columns in the report + * The Start Date Time. + * Time that the delivery of the scheduled reports starts */ - @SerializedName("orderBy") + @SerializedName("startDateTime") @Expose - public java.util.List orderBy; + public java.util.Calendar startDateTime; /** - * The Format. - * Format of the scheduled report + * The Subject. + * Subject of the scheduled reports that are delivered */ - @SerializedName("format") + @SerializedName("subject") @Expose - public DeviceManagementReportFileFormat format; + public String subject; + + /** + * The User Id. + * The Id of the User who created the report + */ + @SerializedName("userId") + @Expose + public String userId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScript.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScript.java index 1e09c29496b..1f3f42ed81a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScript.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScript.java @@ -9,18 +9,18 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.RunAsAccountType; -import com.microsoft.graph.models.extensions.DeviceManagementScriptGroupAssignment; import com.microsoft.graph.models.extensions.DeviceManagementScriptAssignment; -import com.microsoft.graph.models.extensions.DeviceManagementScriptRunSummary; import com.microsoft.graph.models.extensions.DeviceManagementScriptDeviceState; +import com.microsoft.graph.models.extensions.DeviceManagementScriptGroupAssignment; +import com.microsoft.graph.models.extensions.DeviceManagementScriptRunSummary; import com.microsoft.graph.models.extensions.DeviceManagementScriptUserState; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementScriptAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementScriptAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementScriptDeviceStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementScriptDeviceStateCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementScriptUserStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementScriptUserStateCollectionPage; @@ -41,20 +41,20 @@ public class DeviceManagementScript extends Entity implements IJsonBackedObject /** - * The Enforce Signature Check. - * Indicate whether the script signature needs be checked. + * The Created Date Time. + * The date and time the device management script was created. This property is read-only. */ - @SerializedName("enforceSignatureCheck") + @SerializedName("createdDateTime") @Expose - public Boolean enforceSignatureCheck; + public java.util.Calendar createdDateTime; /** - * The Run As32Bit. - * A value indicating whether the PowerShell script should run as 32-bit + * The Description. + * Optional description for the device management script. */ - @SerializedName("runAs32Bit") + @SerializedName("description") @Expose - public Boolean runAs32Bit; + public String description; /** * The Display Name. @@ -65,28 +65,20 @@ public class DeviceManagementScript extends Entity implements IJsonBackedObject public String displayName; /** - * The Description. - * Optional description for the device management script. - */ - @SerializedName("description") - @Expose - public String description; - - /** - * The Script Content. - * The script content. + * The Enforce Signature Check. + * Indicate whether the script signature needs be checked. */ - @SerializedName("scriptContent") + @SerializedName("enforceSignatureCheck") @Expose - public byte[] scriptContent; + public Boolean enforceSignatureCheck; /** - * The Created Date Time. - * The date and time the device management script was created. This property is read-only. + * The File Name. + * Script file name. */ - @SerializedName("createdDateTime") + @SerializedName("fileName") @Expose - public java.util.Calendar createdDateTime; + public String fileName; /** * The Last Modified Date Time. @@ -96,6 +88,22 @@ public class DeviceManagementScript extends Entity implements IJsonBackedObject @Expose public java.util.Calendar lastModifiedDateTime; + /** + * The Role Scope Tag Ids. + * List of Scope Tag IDs for this PowerShellScript instance. + */ + @SerializedName("roleScopeTagIds") + @Expose + public java.util.List roleScopeTagIds; + + /** + * The Run As32Bit. + * A value indicating whether the PowerShell script should run as 32-bit + */ + @SerializedName("runAs32Bit") + @Expose + public Boolean runAs32Bit; + /** * The Run As Account. * Indicates the type of execution context. @@ -105,32 +113,30 @@ public class DeviceManagementScript extends Entity implements IJsonBackedObject public RunAsAccountType runAsAccount; /** - * The File Name. - * Script file name. + * The Script Content. + * The script content. */ - @SerializedName("fileName") + @SerializedName("scriptContent") @Expose - public String fileName; + public byte[] scriptContent; /** - * The Role Scope Tag Ids. - * List of Scope Tag IDs for this PowerShellScript instance. + * The Assignments. + * The list of group assignments for the device management script. */ - @SerializedName("roleScopeTagIds") - @Expose - public java.util.List roleScopeTagIds; + public DeviceManagementScriptAssignmentCollectionPage assignments; /** - * The Group Assignments. - * The list of group assignments for the device management script. + * The Device Run States. + * List of run states for this script across all devices. */ - public DeviceManagementScriptGroupAssignmentCollectionPage groupAssignments; + public DeviceManagementScriptDeviceStateCollectionPage deviceRunStates; /** - * The Assignments. + * The Group Assignments. * The list of group assignments for the device management script. */ - public DeviceManagementScriptAssignmentCollectionPage assignments; + public DeviceManagementScriptGroupAssignmentCollectionPage groupAssignments; /** * The Run Summary. @@ -140,12 +146,6 @@ public class DeviceManagementScript extends Entity implements IJsonBackedObject @Expose public DeviceManagementScriptRunSummary runSummary; - /** - * The Device Run States. - * List of run states for this script across all devices. - */ - public DeviceManagementScriptDeviceStateCollectionPage deviceRunStates; - /** * The User Run States. * List of run states for this script across all users. @@ -192,22 +192,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("groupAssignments")) { - final DeviceManagementScriptGroupAssignmentCollectionResponse response = new DeviceManagementScriptGroupAssignmentCollectionResponse(); - if (json.has("groupAssignments@odata.nextLink")) { - response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); - final DeviceManagementScriptGroupAssignment[] array = new DeviceManagementScriptGroupAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementScriptGroupAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - groupAssignments = new DeviceManagementScriptGroupAssignmentCollectionPage(response, null); - } - if (json.has("assignments")) { final DeviceManagementScriptAssignmentCollectionResponse response = new DeviceManagementScriptAssignmentCollectionResponse(); if (json.has("assignments@odata.nextLink")) { @@ -240,6 +224,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceRunStates = new DeviceManagementScriptDeviceStateCollectionPage(response, null); } + if (json.has("groupAssignments")) { + final DeviceManagementScriptGroupAssignmentCollectionResponse response = new DeviceManagementScriptGroupAssignmentCollectionResponse(); + if (json.has("groupAssignments@odata.nextLink")) { + response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); + final DeviceManagementScriptGroupAssignment[] array = new DeviceManagementScriptGroupAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementScriptGroupAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + groupAssignments = new DeviceManagementScriptGroupAssignmentCollectionPage(response, null); + } + if (json.has("userRunStates")) { final DeviceManagementScriptUserStateCollectionResponse response = new DeviceManagementScriptUserStateCollectionResponse(); if (json.has("userRunStates@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptDeviceState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptDeviceState.java index 8468d41f294..3a3c1ba6285 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptDeviceState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptDeviceState.java @@ -29,20 +29,20 @@ public class DeviceManagementScriptDeviceState extends Entity implements IJsonBa /** - * The Run State. - * State of latest run of the device management script. + * The Error Code. + * Error code corresponding to erroneous execution of the device management script. */ - @SerializedName("runState") + @SerializedName("errorCode") @Expose - public RunState runState; + public Integer errorCode; /** - * The Result Message. - * Details of execution output. + * The Error Description. + * Error description corresponding to erroneous execution of the device management script. */ - @SerializedName("resultMessage") + @SerializedName("errorDescription") @Expose - public String resultMessage; + public String errorDescription; /** * The Last State Update Date Time. @@ -53,20 +53,20 @@ public class DeviceManagementScriptDeviceState extends Entity implements IJsonBa public java.util.Calendar lastStateUpdateDateTime; /** - * The Error Code. - * Error code corresponding to erroneous execution of the device management script. + * The Result Message. + * Details of execution output. */ - @SerializedName("errorCode") + @SerializedName("resultMessage") @Expose - public Integer errorCode; + public String resultMessage; /** - * The Error Description. - * Error description corresponding to erroneous execution of the device management script. + * The Run State. + * State of latest run of the device management script. */ - @SerializedName("errorDescription") + @SerializedName("runState") @Expose - public String errorDescription; + public RunState runState; /** * The Managed Device. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptRunSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptRunSummary.java index 6d1bb0bbce4..2fc6b5d43e4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptRunSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptRunSummary.java @@ -26,14 +26,6 @@ public class DeviceManagementScriptRunSummary extends Entity implements IJsonBackedObject { - /** - * The Success Device Count. - * Success device count. - */ - @SerializedName("successDeviceCount") - @Expose - public Integer successDeviceCount; - /** * The Error Device Count. * Error device count. @@ -42,14 +34,6 @@ public class DeviceManagementScriptRunSummary extends Entity implements IJsonBac @Expose public Integer errorDeviceCount; - /** - * The Success User Count. - * Success user count. - */ - @SerializedName("successUserCount") - @Expose - public Integer successUserCount; - /** * The Error User Count. * Error user count. @@ -58,6 +42,22 @@ public class DeviceManagementScriptRunSummary extends Entity implements IJsonBac @Expose public Integer errorUserCount; + /** + * The Success Device Count. + * Success device count. + */ + @SerializedName("successDeviceCount") + @Expose + public Integer successDeviceCount; + + /** + * The Success User Count. + * Success user count. + */ + @SerializedName("successUserCount") + @Expose + public Integer successUserCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptUserState.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptUserState.java index 150fa2eed28..dd00e176529 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptUserState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementScriptUserState.java @@ -29,14 +29,6 @@ public class DeviceManagementScriptUserState extends Entity implements IJsonBackedObject { - /** - * The Success Device Count. - * Success device count for specific user. - */ - @SerializedName("successDeviceCount") - @Expose - public Integer successDeviceCount; - /** * The Error Device Count. * Error device count for specific user. @@ -45,6 +37,14 @@ public class DeviceManagementScriptUserState extends Entity implements IJsonBack @Expose public Integer errorDeviceCount; + /** + * The Success Device Count. + * Success device count for specific user. + */ + @SerializedName("successDeviceCount") + @Expose + public Integer successDeviceCount; + /** * The User Principal Name. * User principle name of specific user. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingCollectionConstraint.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingCollectionConstraint.java index 9bae3dd7d2a..b8089c79a47 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingCollectionConstraint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingCollectionConstraint.java @@ -26,14 +26,6 @@ public class DeviceManagementSettingCollectionConstraint extends DeviceManagementConstraint implements IJsonBackedObject { - /** - * The Minimum Length. - * The minimum number of elements in the collection - */ - @SerializedName("minimumLength") - @Expose - public Integer minimumLength; - /** * The Maximum Length. * The maximum number of elements in the collection @@ -42,6 +34,14 @@ public class DeviceManagementSettingCollectionConstraint extends DeviceManagemen @Expose public Integer maximumLength; + /** + * The Minimum Length. + * The minimum number of elements in the collection + */ + @SerializedName("minimumLength") + @Expose + public Integer minimumLength; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingComparison.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingComparison.java index 8fea0fbd7c3..3720d419d95 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingComparison.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingComparison.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. - * The setting ID + * The Comparison Result. + * Setting comparison result */ - @SerializedName("id") + @SerializedName("comparisonResult") @Expose - public String id; + public DeviceManagementComparisonResult comparisonResult; /** - * The Display Name. - * The setting's display name + * The Current Value Json. + * JSON representation of current intent (or) template setting's value */ - @SerializedName("displayName") + @SerializedName("currentValueJson") @Expose - public String displayName; + public String currentValueJson; /** * The Definition Id. @@ -61,28 +61,28 @@ public final AdditionalDataManager additionalDataManager() { public String definitionId; /** - * The Current Value Json. - * JSON representation of current intent (or) template setting's value + * The Display Name. + * The setting's display name */ - @SerializedName("currentValueJson") + @SerializedName("displayName") @Expose - public String currentValueJson; + public String displayName; /** - * The New Value Json. - * JSON representation of new template setting's value + * The Id. + * The setting ID */ - @SerializedName("newValueJson") + @SerializedName("id") @Expose - public String newValueJson; + public String id; /** - * The Comparison Result. - * Setting comparison result + * The New Value Json. + * JSON representation of new template setting's value */ - @SerializedName("comparisonResult") + @SerializedName("newValueJson") @Expose - public DeviceManagementComparisonResult comparisonResult; + public String newValueJson; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDefinition.java index 8be8eed1adc..6359c847ef9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDefinition.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManangementIntentValueType; import com.microsoft.graph.models.extensions.DeviceManagementConstraint; import com.microsoft.graph.models.extensions.DeviceManagementSettingDependency; +import com.microsoft.graph.models.generated.DeviceManangementIntentValueType; import com.microsoft.graph.models.extensions.Entity; @@ -30,28 +30,20 @@ public class DeviceManagementSettingDefinition extends Entity implements IJsonBa /** - * The Value Type. - * The data type of the value - */ - @SerializedName("valueType") - @Expose - public DeviceManangementIntentValueType valueType; - - /** - * The Display Name. - * The setting's display name + * The Constraints. + * Collection of constraints for the setting value */ - @SerializedName("displayName") + @SerializedName("constraints") @Expose - public String displayName; + public java.util.List constraints; /** - * The Is Top Level. - * If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting + * The Dependencies. + * Collection of dependencies on other settings */ - @SerializedName("isTopLevel") + @SerializedName("dependencies") @Expose - public Boolean isTopLevel; + public java.util.List dependencies; /** * The Description. @@ -62,12 +54,12 @@ public class DeviceManagementSettingDefinition extends Entity implements IJsonBa public String description; /** - * The Placeholder Text. - * Placeholder text as an example of valid input + * The Display Name. + * The setting's display name */ - @SerializedName("placeholderText") + @SerializedName("displayName") @Expose - public String placeholderText; + public String displayName; /** * The Documentation Url. @@ -77,6 +69,14 @@ public class DeviceManagementSettingDefinition extends Entity implements IJsonBa @Expose public String documentationUrl; + /** + * The Is Top Level. + * If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting + */ + @SerializedName("isTopLevel") + @Expose + public Boolean isTopLevel; + /** * The Keywords. * Keywords associated with the setting @@ -86,20 +86,20 @@ public class DeviceManagementSettingDefinition extends Entity implements IJsonBa public java.util.List keywords; /** - * The Constraints. - * Collection of constraints for the setting value + * The Placeholder Text. + * Placeholder text as an example of valid input */ - @SerializedName("constraints") + @SerializedName("placeholderText") @Expose - public java.util.List constraints; + public String placeholderText; /** - * The Dependencies. - * Collection of dependencies on other settings + * The Value Type. + * The data type of the value */ - @SerializedName("dependencies") + @SerializedName("valueType") @Expose - public java.util.List dependencies; + public DeviceManangementIntentValueType valueType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDependency.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDependency.java index b82ae564204..c457314d3c7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDependency.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingDependency.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Definition Id. - * The setting definition ID of the setting depended on - */ - @SerializedName("definitionId") - @Expose - public String definitionId; - /** * The Constraints. * Collection of constraints for the dependency setting value @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List constraints; + /** + * The Definition Id. + * The setting definition ID of the setting depended on + */ + @SerializedName("definitionId") + @Expose + public String definitionId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingIntegerConstraint.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingIntegerConstraint.java index 4bc17858d2c..8211631b01d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingIntegerConstraint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingIntegerConstraint.java @@ -26,14 +26,6 @@ public class DeviceManagementSettingIntegerConstraint extends DeviceManagementConstraint implements IJsonBackedObject { - /** - * The Minimum Value. - * The minimum permitted value - */ - @SerializedName("minimumValue") - @Expose - public Integer minimumValue; - /** * The Maximum Value. * The maximum permitted value @@ -42,6 +34,14 @@ public class DeviceManagementSettingIntegerConstraint extends DeviceManagementCo @Expose public Integer maximumValue; + /** + * The Minimum Value. + * The minimum permitted value + */ + @SerializedName("minimumValue") + @Expose + public Integer minimumValue; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingStringLengthConstraint.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingStringLengthConstraint.java index fb7b82f8b28..ff1e8a1b7b9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingStringLengthConstraint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettingStringLengthConstraint.java @@ -26,14 +26,6 @@ public class DeviceManagementSettingStringLengthConstraint extends DeviceManagementConstraint implements IJsonBackedObject { - /** - * The Minimum Length. - * The minimum permitted string length - */ - @SerializedName("minimumLength") - @Expose - public Integer minimumLength; - /** * The Maximum Length. * The maximum permitted string length @@ -42,6 +34,14 @@ public class DeviceManagementSettingStringLengthConstraint extends DeviceManagem @Expose public Integer maximumLength; + /** + * The Minimum Length. + * The minimum permitted string length + */ + @SerializedName("minimumLength") + @Expose + public Integer minimumLength; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java index 0bdfc5b3613..5f4f20973ea 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementSettings.java @@ -37,36 +37,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Device Compliance Checkin Threshold Days. - * The number of days a device is allowed to go without checking in to remain compliant. Valid values 0 to 120 + * The Android Device Administrator Enrollment Enabled. + * The property to determine if Android device administrator enrollment is enabled for this account. */ - @SerializedName("deviceComplianceCheckinThresholdDays") + @SerializedName("androidDeviceAdministratorEnrollmentEnabled") @Expose - public Integer deviceComplianceCheckinThresholdDays; + public Boolean androidDeviceAdministratorEnrollmentEnabled; /** - * The Is Scheduled Action Enabled. - * Is feature enabled or not for scheduled action for rule. + * The Derived Credential Provider. + * The Derived Credential Provider to use for this account. */ - @SerializedName("isScheduledActionEnabled") + @SerializedName("derivedCredentialProvider") @Expose - public Boolean isScheduledActionEnabled; + public DerivedCredentialProviderType derivedCredentialProvider; /** - * The Secure By Default. - * Device should be noncompliant when there is no compliance policy targeted when this is true + * The Derived Credential Url. + * The Derived Credential Provider self-service URI. */ - @SerializedName("secureByDefault") + @SerializedName("derivedCredentialUrl") @Expose - public Boolean secureByDefault; + public String derivedCredentialUrl; /** - * The Enhanced Jail Break. - * Is feature enabled or not for enhanced jailbreak detection. + * The Device Compliance Checkin Threshold Days. + * The number of days a device is allowed to go without checking in to remain compliant. Valid values 0 to 120 */ - @SerializedName("enhancedJailBreak") + @SerializedName("deviceComplianceCheckinThresholdDays") @Expose - public Boolean enhancedJailBreak; + public Integer deviceComplianceCheckinThresholdDays; /** * The Device Inactivity Before Retirement In Day. @@ -77,28 +77,20 @@ public final AdditionalDataManager additionalDataManager() { public Integer deviceInactivityBeforeRetirementInDay; /** - * The Derived Credential Provider. - * The Derived Credential Provider to use for this account. - */ - @SerializedName("derivedCredentialProvider") - @Expose - public DerivedCredentialProviderType derivedCredentialProvider; - - /** - * The Derived Credential Url. - * The Derived Credential Provider self-service URI. + * The Enable Log Collection. + * Determines whether the log collection feature should be available for use. */ - @SerializedName("derivedCredentialUrl") + @SerializedName("enableLogCollection") @Expose - public String derivedCredentialUrl; + public Boolean enableLogCollection; /** - * The Android Device Administrator Enrollment Enabled. - * The property to determine if Android device administrator enrollment is enabled for this account. + * The Enhanced Jail Break. + * Is feature enabled or not for enhanced jailbreak detection. */ - @SerializedName("androidDeviceAdministratorEnrollmentEnabled") + @SerializedName("enhancedJailBreak") @Expose - public Boolean androidDeviceAdministratorEnrollmentEnabled; + public Boolean enhancedJailBreak; /** * The Ignore Devices For Unsupported Settings Enabled. @@ -109,12 +101,20 @@ public final AdditionalDataManager additionalDataManager() { public Boolean ignoreDevicesForUnsupportedSettingsEnabled; /** - * The Enable Log Collection. - * Determines whether the log collection feature should be available for use. + * The Is Scheduled Action Enabled. + * Is feature enabled or not for scheduled action for rule. */ - @SerializedName("enableLogCollection") + @SerializedName("isScheduledActionEnabled") @Expose - public Boolean enableLogCollection; + public Boolean isScheduledActionEnabled; + + /** + * The Secure By Default. + * Device should be noncompliant when there is no compliance policy targeted when this is true + */ + @SerializedName("secureByDefault") + @Expose + public Boolean secureByDefault; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTemplate.java index 49f64ed737c..d0edd0cfd2f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTemplate.java @@ -8,19 +8,19 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DeviceManagementTemplateType; import com.microsoft.graph.models.generated.PolicyPlatformType; import com.microsoft.graph.models.generated.DeviceManagementTemplateSubtype; -import com.microsoft.graph.models.extensions.DeviceManagementSettingInstance; +import com.microsoft.graph.models.generated.DeviceManagementTemplateType; import com.microsoft.graph.models.extensions.DeviceManagementTemplateSettingCategory; import com.microsoft.graph.models.extensions.DeviceManagementTemplate; +import com.microsoft.graph.models.extensions.DeviceManagementSettingInstance; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementTemplateSettingCategoryCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementTemplateSettingCategoryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementTemplateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementTemplateCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementSettingInstanceCollectionPage; import com.google.gson.JsonObject; @@ -38,14 +38,6 @@ public class DeviceManagementTemplate extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * The template's display name - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * The template's description @@ -55,20 +47,12 @@ public class DeviceManagementTemplate extends Entity implements IJsonBackedObjec public String description; /** - * The Version Info. - * The template's version information - */ - @SerializedName("versionInfo") - @Expose - public String versionInfo; - - /** - * The Is Deprecated. - * The template is deprecated or not. Intents cannot be created from a deprecated template. + * The Display Name. + * The template's display name */ - @SerializedName("isDeprecated") + @SerializedName("displayName") @Expose - public Boolean isDeprecated; + public String displayName; /** * The Intent Count. @@ -79,12 +63,12 @@ public class DeviceManagementTemplate extends Entity implements IJsonBackedObjec public Integer intentCount; /** - * The Template Type. - * The template's type. + * The Is Deprecated. + * The template is deprecated or not. Intents cannot be created from a deprecated template. */ - @SerializedName("templateType") + @SerializedName("isDeprecated") @Expose - public DeviceManagementTemplateType templateType; + public Boolean isDeprecated; /** * The Platform Type. @@ -94,6 +78,14 @@ public class DeviceManagementTemplate extends Entity implements IJsonBackedObjec @Expose public PolicyPlatformType platformType; + /** + * The Published Date Time. + * When the template was published + */ + @SerializedName("publishedDateTime") + @Expose + public java.util.Calendar publishedDateTime; + /** * The Template Subtype. * The template's subtype. @@ -103,18 +95,20 @@ public class DeviceManagementTemplate extends Entity implements IJsonBackedObjec public DeviceManagementTemplateSubtype templateSubtype; /** - * The Published Date Time. - * When the template was published + * The Template Type. + * The template's type. */ - @SerializedName("publishedDateTime") + @SerializedName("templateType") @Expose - public java.util.Calendar publishedDateTime; + public DeviceManagementTemplateType templateType; /** - * The Settings. - * Collection of all settings this template has + * The Version Info. + * The template's version information */ - public DeviceManagementSettingInstanceCollectionPage settings; + @SerializedName("versionInfo") + @Expose + public String versionInfo; /** * The Categories. @@ -128,6 +122,12 @@ public class DeviceManagementTemplate extends Entity implements IJsonBackedObjec */ public DeviceManagementTemplateCollectionPage migratableTo; + /** + * The Settings. + * Collection of all settings this template has + */ + public DeviceManagementSettingInstanceCollectionPage settings; + /** * The raw representation of this class @@ -168,22 +168,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("settings")) { - final DeviceManagementSettingInstanceCollectionResponse response = new DeviceManagementSettingInstanceCollectionResponse(); - if (json.has("settings@odata.nextLink")) { - response.nextLink = json.get("settings@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("settings").toString(), JsonObject[].class); - final DeviceManagementSettingInstance[] array = new DeviceManagementSettingInstance[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementSettingInstance.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - settings = new DeviceManagementSettingInstanceCollectionPage(response, null); - } - if (json.has("categories")) { final DeviceManagementTemplateSettingCategoryCollectionResponse response = new DeviceManagementTemplateSettingCategoryCollectionResponse(); if (json.has("categories@odata.nextLink")) { @@ -215,5 +199,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); migratableTo = new DeviceManagementTemplateCollectionPage(response, null); } + + if (json.has("settings")) { + final DeviceManagementSettingInstanceCollectionResponse response = new DeviceManagementSettingInstanceCollectionResponse(); + if (json.has("settings@odata.nextLink")) { + response.nextLink = json.get("settings@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("settings").toString(), JsonObject[].class); + final DeviceManagementSettingInstance[] array = new DeviceManagementSettingInstance[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementSettingInstance.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + settings = new DeviceManagementSettingInstanceCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingErrorResource.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingErrorResource.java index c0fec0a6b8c..5e80bb9710f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingErrorResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingErrorResource.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Text. - * - */ - @SerializedName("text") - @Expose - public String text; - /** * The Link. * The link to the web resource. Can contain any of the following formatters: {{UPN}}, {{DeviceGUID}}, {{UserGUID}} @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String link; + /** + * The Text. + * + */ + @SerializedName("text") + @Expose + public String text; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java index 2608f5e6b27..beae6413cb9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementTroubleshootingEvent.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingErrorDetails; import com.microsoft.graph.models.extensions.KeyValuePair; +import com.microsoft.graph.models.extensions.DeviceManagementTroubleshootingErrorDetails; import com.microsoft.graph.models.extensions.Entity; @@ -29,12 +29,12 @@ public class DeviceManagementTroubleshootingEvent extends Entity implements IJso /** - * The Event Date Time. - * Time when the event occurred . + * The Additional Information. + * A set of string key and string value pairs which provides additional information on the Troubleshooting event */ - @SerializedName("eventDateTime") + @SerializedName("additionalInformation") @Expose - public java.util.Calendar eventDateTime; + public java.util.List additionalInformation; /** * The Correlation Id. @@ -45,12 +45,12 @@ public class DeviceManagementTroubleshootingEvent extends Entity implements IJso public String correlationId; /** - * The Troubleshooting Error Details. - * Object containing detailed information about the error and its remediation. + * The Event Date Time. + * Time when the event occurred . */ - @SerializedName("troubleshootingErrorDetails") + @SerializedName("eventDateTime") @Expose - public DeviceManagementTroubleshootingErrorDetails troubleshootingErrorDetails; + public java.util.Calendar eventDateTime; /** * The Event Name. @@ -61,12 +61,12 @@ public class DeviceManagementTroubleshootingEvent extends Entity implements IJso public String eventName; /** - * The Additional Information. - * A set of string key and string value pairs which provides additional information on the Troubleshooting event + * The Troubleshooting Error Details. + * Object containing detailed information about the error and its remediation. */ - @SerializedName("additionalInformation") + @SerializedName("troubleshootingErrorDetails") @Expose - public java.util.List additionalInformation; + public DeviceManagementTroubleshootingErrorDetails troubleshootingErrorDetails; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsLocalUserOrGroup.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsLocalUserOrGroup.java index aec9248c4e4..4830285b58c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsLocalUserOrGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsLocalUserOrGroup.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Name. - * The name of this local user or group. - */ - @SerializedName("name") - @Expose - public String name; - /** * The Description. * Admin???s description of this local user or group. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String description; + /** + * The Name. + * The name of this local user or group. + */ + @SerializedName("name") + @Expose + public String name; + /** * The Security Identifier. * The security identifier of this local user or group (e.g. *S-1-5-32-544). diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsSetting.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsSetting.java index cc964a18bc3..9734558d28c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceManagementUserRightsSetting.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.StateManagementSetting; import com.microsoft.graph.models.extensions.DeviceManagementUserRightsLocalUserOrGroup; +import com.microsoft.graph.models.generated.StateManagementSetting; import com.google.gson.JsonObject; @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The State. - * Representing the current state of this user rights setting - */ - @SerializedName("state") - @Expose - public StateManagementSetting state; - /** * The Local Users Or Groups. * Representing a collection of local users or groups which will be set on device if the state of this setting is Allowed. This collection can contain a maximum of 500 elements. @@ -53,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List localUsersOrGroups; + /** + * The State. + * Representing the current state of this user rights setting + */ + @SerializedName("state") + @Expose + public StateManagementSetting state; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java index c251ab4431a..171d898a045 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceOperatingSystemSummary.java @@ -36,52 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Android Count. - * Number of android device count. - */ - @SerializedName("androidCount") - @Expose - public Integer androidCount; - - /** - * The Ios Count. - * Number of iOS device count. - */ - @SerializedName("iosCount") - @Expose - public Integer iosCount; - - /** - * The Mac OSCount. - * Number of Mac OS X device count. - */ - @SerializedName("macOSCount") - @Expose - public Integer macOSCount; - - /** - * The Windows Mobile Count. - * Number of Windows mobile device count. - */ - @SerializedName("windowsMobileCount") - @Expose - public Integer windowsMobileCount; - - /** - * The Windows Count. - * Number of Windows device count. + * The Android Corporate Work Profile Count. + * The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647 */ - @SerializedName("windowsCount") + @SerializedName("androidCorporateWorkProfileCount") @Expose - public Integer windowsCount; + public Integer androidCorporateWorkProfileCount; /** - * The Unknown Count. - * Number of unknown device count. + * The Android Count. + * Number of android device count. */ - @SerializedName("unknownCount") + @SerializedName("androidCount") @Expose - public Integer unknownCount; + public Integer androidCount; /** * The Android Dedicated Count. @@ -115,14 +83,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer androidWorkProfileCount; - /** - * The Android Corporate Work Profile Count. - * The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647 - */ - @SerializedName("androidCorporateWorkProfileCount") - @Expose - public Integer androidCorporateWorkProfileCount; - /** * The Config Mgr Device Count. * Number of ConfigMgr managed devices. @@ -131,6 +91,46 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer configMgrDeviceCount; + /** + * The Ios Count. + * Number of iOS device count. + */ + @SerializedName("iosCount") + @Expose + public Integer iosCount; + + /** + * The Mac OSCount. + * Number of Mac OS X device count. + */ + @SerializedName("macOSCount") + @Expose + public Integer macOSCount; + + /** + * The Unknown Count. + * Number of unknown device count. + */ + @SerializedName("unknownCount") + @Expose + public Integer unknownCount; + + /** + * The Windows Count. + * Number of Windows device count. + */ + @SerializedName("windowsCount") + @Expose + public Integer windowsCount; + + /** + * The Windows Mobile Count. + * Number of Windows mobile device count. + */ + @SerializedName("windowsMobileCount") + @Expose + public Integer windowsMobileCount; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceProtectionOverview.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceProtectionOverview.java index 222aee2cd08..3b14fd67bb4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceProtectionOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceProtectionOverview.java @@ -36,12 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Total Reported Device Count. - * Total device count. + * The Clean Device Count. + * Clean device count. */ - @SerializedName("totalReportedDeviceCount") + @SerializedName("cleanDeviceCount") @Expose - public Integer totalReportedDeviceCount; + public Integer cleanDeviceCount; + + /** + * The Critical Failures Device Count. + * Critical failures device count. + */ + @SerializedName("criticalFailuresDeviceCount") + @Expose + public Integer criticalFailuresDeviceCount; /** * The Inactive Threat Agent Device Count. @@ -52,36 +60,36 @@ public final AdditionalDataManager additionalDataManager() { public Integer inactiveThreatAgentDeviceCount; /** - * The Unknown State Threat Agent Device Count. - * Device with threat agent state as unknown count. + * The Pending Full Scan Device Count. + * Pending full scan device count. */ - @SerializedName("unknownStateThreatAgentDeviceCount") + @SerializedName("pendingFullScanDeviceCount") @Expose - public Integer unknownStateThreatAgentDeviceCount; + public Integer pendingFullScanDeviceCount; /** - * The Pending Signature Update Device Count. - * Device with old signature count. + * The Pending Manual Steps Device Count. + * Pending manual steps device count. */ - @SerializedName("pendingSignatureUpdateDeviceCount") + @SerializedName("pendingManualStepsDeviceCount") @Expose - public Integer pendingSignatureUpdateDeviceCount; + public Integer pendingManualStepsDeviceCount; /** - * The Clean Device Count. - * Clean device count. + * The Pending Offline Scan Device Count. + * Pending offline scan device count. */ - @SerializedName("cleanDeviceCount") + @SerializedName("pendingOfflineScanDeviceCount") @Expose - public Integer cleanDeviceCount; + public Integer pendingOfflineScanDeviceCount; /** - * The Pending Full Scan Device Count. - * Pending full scan device count. + * The Pending Quick Scan Device Count. + * Pending quick scan device count. Valid values -2147483648 to 2147483647 */ - @SerializedName("pendingFullScanDeviceCount") + @SerializedName("pendingQuickScanDeviceCount") @Expose - public Integer pendingFullScanDeviceCount; + public Integer pendingQuickScanDeviceCount; /** * The Pending Restart Device Count. @@ -92,36 +100,28 @@ public final AdditionalDataManager additionalDataManager() { public Integer pendingRestartDeviceCount; /** - * The Pending Manual Steps Device Count. - * Pending manual steps device count. - */ - @SerializedName("pendingManualStepsDeviceCount") - @Expose - public Integer pendingManualStepsDeviceCount; - - /** - * The Pending Offline Scan Device Count. - * Pending offline scan device count. + * The Pending Signature Update Device Count. + * Device with old signature count. */ - @SerializedName("pendingOfflineScanDeviceCount") + @SerializedName("pendingSignatureUpdateDeviceCount") @Expose - public Integer pendingOfflineScanDeviceCount; + public Integer pendingSignatureUpdateDeviceCount; /** - * The Critical Failures Device Count. - * Critical failures device count. + * The Total Reported Device Count. + * Total device count. */ - @SerializedName("criticalFailuresDeviceCount") + @SerializedName("totalReportedDeviceCount") @Expose - public Integer criticalFailuresDeviceCount; + public Integer totalReportedDeviceCount; /** - * The Pending Quick Scan Device Count. - * Pending quick scan device count. Valid values -2147483648 to 2147483647 + * The Unknown State Threat Agent Device Count. + * Device with threat agent state as unknown count. */ - @SerializedName("pendingQuickScanDeviceCount") + @SerializedName("unknownStateThreatAgentDeviceCount") @Expose - public Integer pendingQuickScanDeviceCount; + public Integer unknownStateThreatAgentDeviceCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceRestrictionAction.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceRestrictionAction.java index dece54dcc96..eb68607f550 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceRestrictionAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceRestrictionAction.java @@ -28,6 +28,14 @@ public class DeviceRestrictionAction extends DlpActionInfo implements IJsonBackedObject { + /** + * The Message. + * + */ + @SerializedName("message") + @Expose + public String message; + /** * The Restriction Action. * @@ -44,14 +52,6 @@ public class DeviceRestrictionAction extends DlpActionInfo implements IJsonBacke @Expose public java.util.List triggers; - /** - * The Message. - * - */ - @SerializedName("message") - @Expose - public String message; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceSetupConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceSetupConfiguration.java index e01dd756052..4e183c61106 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceSetupConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceSetupConfiguration.java @@ -42,14 +42,6 @@ public class DeviceSetupConfiguration extends Entity implements IJsonBackedObjec @Expose public String description; - /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - /** * The Display Name. * Admin provided name of the device configuration. @@ -58,6 +50,14 @@ public class DeviceSetupConfiguration extends Entity implements IJsonBackedObjec @Expose public String displayName; + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + /** * The Version. * Version of the device configuration. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DeviceShellScript.java b/src/main/java/com/microsoft/graph/models/extensions/DeviceShellScript.java index e5780097662..6ba66fd2c78 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DeviceShellScript.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DeviceShellScript.java @@ -9,18 +9,18 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.RunAsAccountType; -import com.microsoft.graph.models.extensions.DeviceManagementScriptGroupAssignment; import com.microsoft.graph.models.extensions.DeviceManagementScriptAssignment; -import com.microsoft.graph.models.extensions.DeviceManagementScriptRunSummary; import com.microsoft.graph.models.extensions.DeviceManagementScriptDeviceState; +import com.microsoft.graph.models.extensions.DeviceManagementScriptGroupAssignment; +import com.microsoft.graph.models.extensions.DeviceManagementScriptRunSummary; import com.microsoft.graph.models.extensions.DeviceManagementScriptUserState; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementScriptAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementScriptAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementScriptDeviceStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementScriptDeviceStateCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceManagementScriptGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.DeviceManagementScriptUserStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceManagementScriptUserStateCollectionPage; @@ -40,22 +40,6 @@ public class DeviceShellScript extends Entity implements IJsonBackedObject { - /** - * The Execution Frequency. - * The interval for script to run. If not defined the script will run once - */ - @SerializedName("executionFrequency") - @Expose - public javax.xml.datatype.Duration executionFrequency; - - /** - * The Retry Count. - * Number of times for the script to be retried if it fails - */ - @SerializedName("retryCount") - @Expose - public Integer retryCount; - /** * The Block Execution Notifications. * Does not notify the user a script is being executed @@ -65,12 +49,12 @@ public class DeviceShellScript extends Entity implements IJsonBackedObject { public Boolean blockExecutionNotifications; /** - * The Display Name. - * Name of the device management script. + * The Created Date Time. + * The date and time the device management script was created. This property is read-only. */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -81,20 +65,28 @@ public class DeviceShellScript extends Entity implements IJsonBackedObject { public String description; /** - * The Script Content. - * The script content. + * The Display Name. + * Name of the device management script. */ - @SerializedName("scriptContent") + @SerializedName("displayName") @Expose - public byte[] scriptContent; + public String displayName; /** - * The Created Date Time. - * The date and time the device management script was created. This property is read-only. + * The Execution Frequency. + * The interval for script to run. If not defined the script will run once */ - @SerializedName("createdDateTime") + @SerializedName("executionFrequency") @Expose - public java.util.Calendar createdDateTime; + public javax.xml.datatype.Duration executionFrequency; + + /** + * The File Name. + * Script file name. + */ + @SerializedName("fileName") + @Expose + public String fileName; /** * The Last Modified Date Time. @@ -104,6 +96,22 @@ public class DeviceShellScript extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastModifiedDateTime; + /** + * The Retry Count. + * Number of times for the script to be retried if it fails + */ + @SerializedName("retryCount") + @Expose + public Integer retryCount; + + /** + * The Role Scope Tag Ids. + * List of Scope Tag IDs for this PowerShellScript instance. + */ + @SerializedName("roleScopeTagIds") + @Expose + public java.util.List roleScopeTagIds; + /** * The Run As Account. * Indicates the type of execution context. @@ -113,32 +121,30 @@ public class DeviceShellScript extends Entity implements IJsonBackedObject { public RunAsAccountType runAsAccount; /** - * The File Name. - * Script file name. + * The Script Content. + * The script content. */ - @SerializedName("fileName") + @SerializedName("scriptContent") @Expose - public String fileName; + public byte[] scriptContent; /** - * The Role Scope Tag Ids. - * List of Scope Tag IDs for this PowerShellScript instance. + * The Assignments. + * The list of group assignments for the device management script. */ - @SerializedName("roleScopeTagIds") - @Expose - public java.util.List roleScopeTagIds; + public DeviceManagementScriptAssignmentCollectionPage assignments; /** - * The Group Assignments. - * The list of group assignments for the device management script. + * The Device Run States. + * List of run states for this script across all devices. */ - public DeviceManagementScriptGroupAssignmentCollectionPage groupAssignments; + public DeviceManagementScriptDeviceStateCollectionPage deviceRunStates; /** - * The Assignments. + * The Group Assignments. * The list of group assignments for the device management script. */ - public DeviceManagementScriptAssignmentCollectionPage assignments; + public DeviceManagementScriptGroupAssignmentCollectionPage groupAssignments; /** * The Run Summary. @@ -148,12 +154,6 @@ public class DeviceShellScript extends Entity implements IJsonBackedObject { @Expose public DeviceManagementScriptRunSummary runSummary; - /** - * The Device Run States. - * List of run states for this script across all devices. - */ - public DeviceManagementScriptDeviceStateCollectionPage deviceRunStates; - /** * The User Run States. * List of run states for this script across all users. @@ -200,22 +200,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("groupAssignments")) { - final DeviceManagementScriptGroupAssignmentCollectionResponse response = new DeviceManagementScriptGroupAssignmentCollectionResponse(); - if (json.has("groupAssignments@odata.nextLink")) { - response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); - final DeviceManagementScriptGroupAssignment[] array = new DeviceManagementScriptGroupAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementScriptGroupAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - groupAssignments = new DeviceManagementScriptGroupAssignmentCollectionPage(response, null); - } - if (json.has("assignments")) { final DeviceManagementScriptAssignmentCollectionResponse response = new DeviceManagementScriptAssignmentCollectionResponse(); if (json.has("assignments@odata.nextLink")) { @@ -248,6 +232,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceRunStates = new DeviceManagementScriptDeviceStateCollectionPage(response, null); } + if (json.has("groupAssignments")) { + final DeviceManagementScriptGroupAssignmentCollectionResponse response = new DeviceManagementScriptGroupAssignmentCollectionResponse(); + if (json.has("groupAssignments@odata.nextLink")) { + response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); + final DeviceManagementScriptGroupAssignment[] array = new DeviceManagementScriptGroupAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceManagementScriptGroupAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + groupAssignments = new DeviceManagementScriptGroupAssignmentCollectionPage(response, null); + } + if (json.has("userRunStates")) { final DeviceManagementScriptUserStateCollectionResponse response = new DeviceManagementScriptUserStateCollectionResponse(); if (json.has("userRunStates@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryAudit.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryAudit.java index 8c2d8362c6f..af1fd3542b5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryAudit.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryAudit.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.OperationResult; +import com.microsoft.graph.models.extensions.KeyValue; import com.microsoft.graph.models.extensions.AuditActivityInitiator; +import com.microsoft.graph.models.generated.OperationResult; import com.microsoft.graph.models.extensions.TargetResource; -import com.microsoft.graph.models.extensions.KeyValue; import com.microsoft.graph.models.extensions.Entity; @@ -31,52 +31,52 @@ public class DirectoryAudit extends Entity implements IJsonBackedObject { /** - * The Category. - * Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..) + * The Activity Date Time. + * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("category") + @SerializedName("activityDateTime") @Expose - public String category; + public java.util.Calendar activityDateTime; /** - * The Correlation Id. - * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * The Activity Display Name. + * Indicates the activity name or the operation name (examples: 'Create User' and 'Add member to group'). For full list, see Azure AD activity list. */ - @SerializedName("correlationId") + @SerializedName("activityDisplayName") @Expose - public String correlationId; + public String activityDisplayName; /** - * The Result. - * Indicates the result of the activity.Possible values are: success, failure, timeout, unknownFutureValue. + * The Additional Details. + * Indicates additional details on the activity. */ - @SerializedName("result") + @SerializedName("additionalDetails") @Expose - public OperationResult result; + public java.util.List additionalDetails; /** - * The Result Reason. - * Describes cause of 'failure' or 'timeout' results. + * The Category. + * Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..) */ - @SerializedName("resultReason") + @SerializedName("category") @Expose - public String resultReason; + public String category; /** - * The Activity Display Name. - * Indicates the activity name or the operation name (examples: 'Create User' and 'Add member to group'). For full list, see Azure AD activity list. + * The Correlation Id. + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. */ - @SerializedName("activityDisplayName") + @SerializedName("correlationId") @Expose - public String activityDisplayName; + public String correlationId; /** - * The Activity Date Time. - * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Initiated By. + * Indicates information about the user or app initiated the activity. */ - @SerializedName("activityDateTime") + @SerializedName("initiatedBy") @Expose - public java.util.Calendar activityDateTime; + public AuditActivityInitiator initiatedBy; /** * The Logged By Service. @@ -95,28 +95,28 @@ public class DirectoryAudit extends Entity implements IJsonBackedObject { public String operationType; /** - * The Initiated By. - * Indicates information about the user or app initiated the activity. + * The Result. + * Indicates the result of the activity.Possible values are: success, failure, timeout, unknownFutureValue. */ - @SerializedName("initiatedBy") + @SerializedName("result") @Expose - public AuditActivityInitiator initiatedBy; + public OperationResult result; /** - * The Target Resources. - * Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. + * The Result Reason. + * Describes cause of 'failure' or 'timeout' results. */ - @SerializedName("targetResources") + @SerializedName("resultReason") @Expose - public java.util.List targetResources; + public String resultReason; /** - * The Additional Details. - * Indicates additional details on the activity. + * The Target Resources. + * Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. */ - @SerializedName("additionalDetails") + @SerializedName("targetResources") @Expose - public java.util.List additionalDetails; + public java.util.List targetResources; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectoryDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/DirectoryDefinition.java index c0084834cf3..5b6b8370492 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectoryDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectoryDefinition.java @@ -29,20 +29,20 @@ public class DirectoryDefinition extends Entity implements IJsonBackedObject { /** - * The Discovery Date Time. + * The Discoverabilities. * */ - @SerializedName("discoveryDateTime") + @SerializedName("discoverabilities") @Expose - public java.util.Calendar discoveryDateTime; + public EnumSet discoverabilities; /** - * The Discoverabilities. + * The Discovery Date Time. * */ - @SerializedName("discoverabilities") + @SerializedName("discoveryDateTime") @Expose - public EnumSet discoverabilities; + public java.util.Calendar discoveryDateTime; /** * The Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectorySettingTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/DirectorySettingTemplate.java index 8b8bbbb2d7f..04b03aa699a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectorySettingTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectorySettingTemplate.java @@ -28,20 +28,20 @@ public class DirectorySettingTemplate extends DirectoryObject implements IJsonBa /** - * The Display Name. + * The Description. * */ - @SerializedName("displayName") + @SerializedName("description") @Expose - public String displayName; + public String description; /** - * The Description. + * The Display Name. * */ - @SerializedName("description") + @SerializedName("displayName") @Expose - public String description; + public String displayName; /** * The Values. diff --git a/src/main/java/com/microsoft/graph/models/extensions/DirectorySizeQuota.java b/src/main/java/com/microsoft/graph/models/extensions/DirectorySizeQuota.java index 71230c74080..910e817bdc1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DirectorySizeQuota.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DirectorySizeQuota.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Used. + * The Total. * */ - @SerializedName("used") + @SerializedName("total") @Expose - public Integer used; + public Integer total; /** - * The Total. + * The Used. * */ - @SerializedName("total") + @SerializedName("used") @Expose - public Integer total; + public Integer used; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DiscoveredSensitiveType.java b/src/main/java/com/microsoft/graph/models/extensions/DiscoveredSensitiveType.java index 2441c97cd72..165a423ffb9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DiscoveredSensitiveType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DiscoveredSensitiveType.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Confidence. * */ - @SerializedName("id") + @SerializedName("confidence") @Expose - public java.util.UUID id; + public Integer confidence; /** * The Count. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer count; /** - * The Confidence. + * The Id. * */ - @SerializedName("confidence") + @SerializedName("id") @Expose - public Integer confidence; + public java.util.UUID id; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DisplayNameLocalization.java b/src/main/java/com/microsoft/graph/models/extensions/DisplayNameLocalization.java index c58dffaa5c9..1d92339632f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DisplayNameLocalization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DisplayNameLocalization.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Language Tag. + * The Display Name. * */ - @SerializedName("languageTag") + @SerializedName("displayName") @Expose - public String languageTag; + public String displayName; /** - * The Display Name. + * The Language Tag. * */ - @SerializedName("displayName") + @SerializedName("languageTag") @Expose - public String displayName; + public String languageTag; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluatePoliciesRequest.java b/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluatePoliciesRequest.java index c0dfa7c789a..b148a5ec94a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluatePoliciesRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluatePoliciesRequest.java @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Target. - * - */ - @SerializedName("target") - @Expose - public String target; - /** * The Evaluation Input. * @@ -61,6 +53,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public DlpNotification notificationInfo; + /** + * The Target. + * + */ + @SerializedName("target") + @Expose + public String target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluationInput.java b/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluationInput.java index d48cca8fe47..9866e1cdfb1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluationInput.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DlpEvaluationInput.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DiscoveredSensitiveType; -import com.microsoft.graph.models.extensions.CurrentLabel; import com.microsoft.graph.models.generated.AccessScope; +import com.microsoft.graph.models.extensions.CurrentLabel; +import com.microsoft.graph.models.extensions.DiscoveredSensitiveType; import com.google.gson.JsonObject; @@ -39,12 +39,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Discovered Sensitive Types. + * The Access Scope. * */ - @SerializedName("discoveredSensitiveTypes") + @SerializedName("accessScope") @Expose - public java.util.List discoveredSensitiveTypes; + public AccessScope accessScope; /** * The Current Label. @@ -55,12 +55,12 @@ public final AdditionalDataManager additionalDataManager() { public CurrentLabel currentLabel; /** - * The Access Scope. + * The Discovered Sensitive Types. * */ - @SerializedName("accessScope") + @SerializedName("discoveredSensitiveTypes") @Expose - public AccessScope accessScope; + public java.util.List discoveredSensitiveTypes; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DlpWindowsDevicesNotification.java b/src/main/java/com/microsoft/graph/models/extensions/DlpWindowsDevicesNotification.java index b21a16e432f..41c9e73c1de 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DlpWindowsDevicesNotification.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DlpWindowsDevicesNotification.java @@ -27,20 +27,20 @@ public class DlpWindowsDevicesNotification extends DlpNotification implements IJ /** - * The Last Modfied By. + * The Content Name. * */ - @SerializedName("lastModfiedBy") + @SerializedName("contentName") @Expose - public String lastModfiedBy; + public String contentName; /** - * The Content Name. + * The Last Modfied By. * */ - @SerializedName("contentName") + @SerializedName("lastModfiedBy") @Expose - public String contentName; + public String lastModfiedBy; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Domain.java b/src/main/java/com/microsoft/graph/models/extensions/Domain.java index 1754a457faf..c2a865a783f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Domain.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Domain.java @@ -9,13 +9,13 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.DomainState; -import com.microsoft.graph.models.extensions.DomainDnsRecord; import com.microsoft.graph.models.extensions.DirectoryObject; +import com.microsoft.graph.models.extensions.DomainDnsRecord; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionResponse; -import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionPage; import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; +import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionResponse; +import com.microsoft.graph.requests.extensions.DomainDnsRecordCollectionPage; import com.google.gson.JsonObject; @@ -105,6 +105,14 @@ public class Domain extends Entity implements IJsonBackedObject { @Expose public Integer passwordValidityPeriodInDays; + /** + * The State. + * Status of asynchronous operations scheduled for the domain. + */ + @SerializedName("state") + @Expose + public DomainState state; + /** * The Supported Services. * The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable @@ -114,12 +122,10 @@ public class Domain extends Entity implements IJsonBackedObject { public java.util.List supportedServices; /** - * The State. - * Status of asynchronous operations scheduled for the domain. + * The Domain Name References. + * Read-only, Nullable */ - @SerializedName("state") - @Expose - public DomainState state; + public DirectoryObjectCollectionPage domainNameReferences; /** * The Service Configuration Records. @@ -133,12 +139,6 @@ public class Domain extends Entity implements IJsonBackedObject { */ public DomainDnsRecordCollectionPage verificationDnsRecords; - /** - * The Domain Name References. - * Read-only, Nullable - */ - public DirectoryObjectCollectionPage domainNameReferences; - /** * The raw representation of this class @@ -179,6 +179,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; + if (json.has("domainNameReferences")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("domainNameReferences@odata.nextLink")) { + response.nextLink = json.get("domainNameReferences@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("domainNameReferences").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + domainNameReferences = new DirectoryObjectCollectionPage(response, null); + } + if (json.has("serviceConfigurationRecords")) { final DomainDnsRecordCollectionResponse response = new DomainDnsRecordCollectionResponse(); if (json.has("serviceConfigurationRecords@odata.nextLink")) { @@ -210,21 +226,5 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); verificationDnsRecords = new DomainDnsRecordCollectionPage(response, null); } - - if (json.has("domainNameReferences")) { - final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("domainNameReferences@odata.nextLink")) { - response.nextLink = json.get("domainNameReferences@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("domainNameReferences").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - domainNameReferences = new DirectoryObjectCollectionPage(response, null); - } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainIdentitySource.java b/src/main/java/com/microsoft/graph/models/extensions/DomainIdentitySource.java index 214d9635f44..1901a303423 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainIdentitySource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainIdentitySource.java @@ -27,20 +27,20 @@ public class DomainIdentitySource extends IdentitySource implements IJsonBackedO /** - * The Domain Name. + * The Display Name. * */ - @SerializedName("domainName") + @SerializedName("displayName") @Expose - public String domainName; + public String displayName; /** - * The Display Name. + * The Domain Name. * */ - @SerializedName("displayName") + @SerializedName("domainName") @Expose - public String displayName; + public String domainName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DomainState.java b/src/main/java/com/microsoft/graph/models/extensions/DomainState.java index 349d3f36049..b17f8b96750 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DomainState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DomainState.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Status. - * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. + * The Last Action Date Time. + * Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes. */ - @SerializedName("status") + @SerializedName("lastActionDateTime") @Expose - public String status; + public java.util.Calendar lastActionDateTime; /** * The Operation. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public String operation; /** - * The Last Action Date Time. - * Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes. + * The Status. + * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. */ - @SerializedName("lastActionDateTime") + @SerializedName("status") @Expose - public java.util.Calendar lastActionDateTime; + public String status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DowngradeJustification.java b/src/main/java/com/microsoft/graph/models/extensions/DowngradeJustification.java index 74611a14639..7244215e1d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DowngradeJustification.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DowngradeJustification.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Justification Message. + * The Is Downgrade Justified. * */ - @SerializedName("justificationMessage") + @SerializedName("isDowngradeJustified") @Expose - public String justificationMessage; + public Boolean isDowngradeJustified; /** - * The Is Downgrade Justified. + * The Justification Message. * */ - @SerializedName("isDowngradeJustified") + @SerializedName("justificationMessage") @Expose - public Boolean isDowngradeJustified; + public String justificationMessage; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java b/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java index 62cd45bb00b..5c5cb2bdcaf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java +++ b/src/main/java/com/microsoft/graph/models/extensions/DriveItemUploadableProperties.java @@ -44,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String description; + /** + * The File Size. + * Provides an expected file size to perform a quota check prior to upload. Only on OneDrive Personal. + */ + @SerializedName("fileSize") + @Expose + public Long fileSize; + /** * The File System Info. * File system information on client. Read-write. @@ -60,14 +68,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String name; - /** - * The File Size. - * Provides an expected file size to perform a quota check prior to upload. Only on OneDrive Personal. - */ - @SerializedName("fileSize") - @Expose - public Long fileSize; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java b/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java index 53be40d1922..9787bdbe17e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EBookInstallSummary.java @@ -26,14 +26,6 @@ public class EBookInstallSummary extends Entity implements IJsonBackedObject { - /** - * The Installed Device Count. - * Number of Devices that have successfully installed this book. - */ - @SerializedName("installedDeviceCount") - @Expose - public Integer installedDeviceCount; - /** * The Failed Device Count. * Number of Devices that have failed to install this book. @@ -43,12 +35,20 @@ public class EBookInstallSummary extends Entity implements IJsonBackedObject { public Integer failedDeviceCount; /** - * The Not Installed Device Count. - * Number of Devices that does not have this book installed. + * The Failed User Count. + * Number of Users that have 1 or more device that failed to install this book. */ - @SerializedName("notInstalledDeviceCount") + @SerializedName("failedUserCount") @Expose - public Integer notInstalledDeviceCount; + public Integer failedUserCount; + + /** + * The Installed Device Count. + * Number of Devices that have successfully installed this book. + */ + @SerializedName("installedDeviceCount") + @Expose + public Integer installedDeviceCount; /** * The Installed User Count. @@ -59,12 +59,12 @@ public class EBookInstallSummary extends Entity implements IJsonBackedObject { public Integer installedUserCount; /** - * The Failed User Count. - * Number of Users that have 1 or more device that failed to install this book. + * The Not Installed Device Count. + * Number of Devices that does not have this book installed. */ - @SerializedName("failedUserCount") + @SerializedName("notInstalledDeviceCount") @Expose - public Integer failedUserCount; + public Integer notInstalledDeviceCount; /** * The Not Installed User Count. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EasEmailProfileConfigurationBase.java b/src/main/java/com/microsoft/graph/models/extensions/EasEmailProfileConfigurationBase.java index fbf7d86504b..1d407f4c5be 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EasEmailProfileConfigurationBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EasEmailProfileConfigurationBase.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.UserEmailSource; -import com.microsoft.graph.models.generated.UsernameSource; import com.microsoft.graph.models.generated.DomainNameSource; +import com.microsoft.graph.models.generated.UsernameSource; +import com.microsoft.graph.models.generated.UserEmailSource; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -30,20 +30,12 @@ public class EasEmailProfileConfigurationBase extends DeviceConfiguration implem /** - * The Username Source. - * Username attribute that is picked from AAD and injected into this profile before installing on the device. - */ - @SerializedName("usernameSource") - @Expose - public UserEmailSource usernameSource; - - /** - * The Username AADSource. - * Name of the AAD field, that will be used to retrieve UserName for email profile. + * The Custom Domain Name. + * Custom domain name value used while generating an email profile before installing on the device. */ - @SerializedName("usernameAADSource") + @SerializedName("customDomainName") @Expose - public UsernameSource usernameAADSource; + public String customDomainName; /** * The User Domain Name Source. @@ -54,12 +46,20 @@ public class EasEmailProfileConfigurationBase extends DeviceConfiguration implem public DomainNameSource userDomainNameSource; /** - * The Custom Domain Name. - * Custom domain name value used while generating an email profile before installing on the device. + * The Username AADSource. + * Name of the AAD field, that will be used to retrieve UserName for email profile. */ - @SerializedName("customDomainName") + @SerializedName("usernameAADSource") @Expose - public String customDomainName; + public UsernameSource usernameAADSource; + + /** + * The Username Source. + * Username attribute that is picked from AAD and injected into this profile before installing on the device. + */ + @SerializedName("usernameSource") + @Expose + public UserEmailSource usernameSource; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EdiscoveryCase.java b/src/main/java/com/microsoft/graph/models/extensions/EdiscoveryCase.java index 1d3bec89d0d..2e77945b336 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EdiscoveryCase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EdiscoveryCase.java @@ -31,76 +31,76 @@ public class EdiscoveryCase extends Entity implements IJsonBackedObject { /** - * The Description. + * The Closed By. * */ - @SerializedName("description") + @SerializedName("closedBy") @Expose - public String description; + public String closedBy; /** - * The Last Modified By. + * The Closed Date Time. * */ - @SerializedName("lastModifiedBy") + @SerializedName("closedDateTime") @Expose - public String lastModifiedBy; + public java.util.Calendar closedDateTime; /** - * The Last Modified Date Time. + * The Created Date Time. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("createdDateTime") @Expose - public java.util.Calendar lastModifiedDateTime; + public java.util.Calendar createdDateTime; /** - * The Status. + * The Description. * */ - @SerializedName("status") + @SerializedName("description") @Expose - public CaseStatus status; + public String description; /** - * The Closed By. + * The Display Name. * */ - @SerializedName("closedBy") + @SerializedName("displayName") @Expose - public String closedBy; + public String displayName; /** - * The Closed Date Time. + * The External Id. * */ - @SerializedName("closedDateTime") + @SerializedName("externalId") @Expose - public java.util.Calendar closedDateTime; + public String externalId; /** - * The External Id. + * The Last Modified By. * */ - @SerializedName("externalId") + @SerializedName("lastModifiedBy") @Expose - public String externalId; + public String lastModifiedBy; /** - * The Display Name. + * The Last Modified Date Time. * */ - @SerializedName("displayName") + @SerializedName("lastModifiedDateTime") @Expose - public String displayName; + public java.util.Calendar lastModifiedDateTime; /** - * The Created Date Time. + * The Status. * */ - @SerializedName("createdDateTime") + @SerializedName("status") @Expose - public java.util.Calendar createdDateTime; + public CaseStatus status; /** * The Review Sets. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java index 7e1c7b3c667..1dc4bac35b5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EditionUpgradeConfiguration.java @@ -29,22 +29,6 @@ public class EditionUpgradeConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The License Type. - * Edition Upgrade License Type. Possible values are: productKey, licenseFile. - */ - @SerializedName("licenseType") - @Expose - public EditionUpgradeLicenseType licenseType; - - /** - * The Target Edition. - * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN. - */ - @SerializedName("targetEdition") - @Expose - public Windows10EditionType targetEdition; - /** * The License. * Edition Upgrade License File Content. @@ -53,6 +37,14 @@ public class EditionUpgradeConfiguration extends DeviceConfiguration implements @Expose public String license; + /** + * The License Type. + * Edition Upgrade License Type. Possible values are: productKey, licenseFile. + */ + @SerializedName("licenseType") + @Expose + public EditionUpgradeLicenseType licenseType; + /** * The Product Key. * Edition Upgrade Product Key. @@ -61,6 +53,14 @@ public class EditionUpgradeConfiguration extends DeviceConfiguration implements @Expose public String productKey; + /** + * The Target Edition. + * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN. + */ + @SerializedName("targetEdition") + @Expose + public Windows10EditionType targetEdition; + /** * The Windows SMode. * S mode configuration. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/EducationAssignment.java index 1bae87f75d3..955e59ac51b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationAssignment.java @@ -8,22 +8,22 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EducationItemBody; -import com.microsoft.graph.models.extensions.EducationAssignmentGradeType; import com.microsoft.graph.models.extensions.EducationAssignmentRecipient; import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.EducationAssignmentGradeType; +import com.microsoft.graph.models.extensions.EducationItemBody; import com.microsoft.graph.models.generated.EducationAssignmentStatus; -import com.microsoft.graph.models.extensions.EducationAssignmentResource; -import com.microsoft.graph.models.extensions.EducationSubmission; import com.microsoft.graph.models.extensions.EducationCategory; +import com.microsoft.graph.models.extensions.EducationAssignmentResource; import com.microsoft.graph.models.extensions.EducationRubric; +import com.microsoft.graph.models.extensions.EducationSubmission; import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.EducationCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationCategoryCollectionPage; import com.microsoft.graph.requests.extensions.EducationAssignmentResourceCollectionResponse; import com.microsoft.graph.requests.extensions.EducationAssignmentResourceCollectionPage; import com.microsoft.graph.requests.extensions.EducationSubmissionCollectionResponse; import com.microsoft.graph.requests.extensions.EducationSubmissionCollectionPage; -import com.microsoft.graph.requests.extensions.EducationCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationCategoryCollectionPage; import com.google.gson.JsonObject; @@ -42,108 +42,108 @@ public class EducationAssignment extends Entity implements IJsonBackedObject { /** - * The Class Id. + * The Allow Late Submissions. * */ - @SerializedName("classId") + @SerializedName("allowLateSubmissions") @Expose - public String classId; + public Boolean allowLateSubmissions; /** - * The Display Name. + * The Allow Students To Add Resources To Submission. * */ - @SerializedName("displayName") + @SerializedName("allowStudentsToAddResourcesToSubmission") @Expose - public String displayName; + public Boolean allowStudentsToAddResourcesToSubmission; /** - * The Instructions. + * The Assign Date Time. * */ - @SerializedName("instructions") + @SerializedName("assignDateTime") @Expose - public EducationItemBody instructions; + public java.util.Calendar assignDateTime; /** - * The Close Date Time. + * The Assigned Date Time. * */ - @SerializedName("closeDateTime") + @SerializedName("assignedDateTime") @Expose - public java.util.Calendar closeDateTime; + public java.util.Calendar assignedDateTime; /** - * The Due Date Time. + * The Assign To. * */ - @SerializedName("dueDateTime") + @SerializedName("assignTo") @Expose - public java.util.Calendar dueDateTime; + public EducationAssignmentRecipient assignTo; /** - * The Assign Date Time. + * The Class Id. * */ - @SerializedName("assignDateTime") + @SerializedName("classId") @Expose - public java.util.Calendar assignDateTime; + public String classId; /** - * The Assigned Date Time. + * The Close Date Time. * */ - @SerializedName("assignedDateTime") + @SerializedName("closeDateTime") @Expose - public java.util.Calendar assignedDateTime; + public java.util.Calendar closeDateTime; /** - * The Grading. + * The Created By. * */ - @SerializedName("grading") + @SerializedName("createdBy") @Expose - public EducationAssignmentGradeType grading; + public IdentitySet createdBy; /** - * The Assign To. + * The Created Date Time. * */ - @SerializedName("assignTo") + @SerializedName("createdDateTime") @Expose - public EducationAssignmentRecipient assignTo; + public java.util.Calendar createdDateTime; /** - * The Allow Late Submissions. + * The Display Name. * */ - @SerializedName("allowLateSubmissions") + @SerializedName("displayName") @Expose - public Boolean allowLateSubmissions; + public String displayName; /** - * The Created Date Time. + * The Due Date Time. * */ - @SerializedName("createdDateTime") + @SerializedName("dueDateTime") @Expose - public java.util.Calendar createdDateTime; + public java.util.Calendar dueDateTime; /** - * The Created By. + * The Grading. * */ - @SerializedName("createdBy") + @SerializedName("grading") @Expose - public IdentitySet createdBy; + public EducationAssignmentGradeType grading; /** - * The Last Modified Date Time. + * The Instructions. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("instructions") @Expose - public java.util.Calendar lastModifiedDateTime; + public EducationItemBody instructions; /** * The Last Modified By. @@ -154,12 +154,12 @@ public class EducationAssignment extends Entity implements IJsonBackedObject { public IdentitySet lastModifiedBy; /** - * The Allow Students To Add Resources To Submission. + * The Last Modified Date Time. * */ - @SerializedName("allowStudentsToAddResourcesToSubmission") + @SerializedName("lastModifiedDateTime") @Expose - public Boolean allowStudentsToAddResourcesToSubmission; + public java.util.Calendar lastModifiedDateTime; /** * The Status. @@ -170,22 +170,16 @@ public class EducationAssignment extends Entity implements IJsonBackedObject { public EducationAssignmentStatus status; /** - * The Resources. - * - */ - public EducationAssignmentResourceCollectionPage resources; - - /** - * The Submissions. + * The Categories. * */ - public EducationSubmissionCollectionPage submissions; + public EducationCategoryCollectionPage categories; /** - * The Categories. + * The Resources. * */ - public EducationCategoryCollectionPage categories; + public EducationAssignmentResourceCollectionPage resources; /** * The Rubric. @@ -195,6 +189,12 @@ public class EducationAssignment extends Entity implements IJsonBackedObject { @Expose public EducationRubric rubric; + /** + * The Submissions. + * + */ + public EducationSubmissionCollectionPage submissions; + /** * The raw representation of this class @@ -235,6 +235,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; + if (json.has("categories")) { + final EducationCategoryCollectionResponse response = new EducationCategoryCollectionResponse(); + if (json.has("categories@odata.nextLink")) { + response.nextLink = json.get("categories@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); + final EducationCategory[] array = new EducationCategory[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationCategory.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + categories = new EducationCategoryCollectionPage(response, null); + } + if (json.has("resources")) { final EducationAssignmentResourceCollectionResponse response = new EducationAssignmentResourceCollectionResponse(); if (json.has("resources@odata.nextLink")) { @@ -266,21 +282,5 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); submissions = new EducationSubmissionCollectionPage(response, null); } - - if (json.has("categories")) { - final EducationCategoryCollectionResponse response = new EducationCategoryCollectionResponse(); - if (json.has("categories@odata.nextLink")) { - response.nextLink = json.get("categories@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); - final EducationCategory[] array = new EducationCategory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationCategory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - categories = new EducationCategoryCollectionPage(response, null); - } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java b/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java index b138f5018ec..05f61d1c778 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationClass.java @@ -8,20 +8,20 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.EducationCourse; import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.generated.EducationExternalSource; import com.microsoft.graph.models.extensions.EducationTerm; -import com.microsoft.graph.models.extensions.EducationCourse; -import com.microsoft.graph.models.extensions.EducationAssignment; import com.microsoft.graph.models.extensions.EducationCategory; +import com.microsoft.graph.models.extensions.EducationAssignment; +import com.microsoft.graph.models.extensions.Group; import com.microsoft.graph.models.extensions.EducationUser; import com.microsoft.graph.models.extensions.EducationSchool; -import com.microsoft.graph.models.extensions.Group; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.EducationAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.EducationCategoryCollectionResponse; import com.microsoft.graph.requests.extensions.EducationCategoryCollectionPage; +import com.microsoft.graph.requests.extensions.EducationAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.EducationUserCollectionResponse; import com.microsoft.graph.requests.extensions.EducationUserCollectionPage; import com.microsoft.graph.requests.extensions.EducationSchoolCollectionResponse; @@ -44,28 +44,20 @@ public class EducationClass extends Entity implements IJsonBackedObject { /** - * The Display Name. - * Name of the class. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Mail Nickname. - * Mail name for sending email to all members, if this is enabled. + * The Class Code. + * Class code used by the school to identify the class. */ - @SerializedName("mailNickname") + @SerializedName("classCode") @Expose - public String mailNickname; + public String classCode; /** - * The Description. - * Description of the class. + * The Course. + * */ - @SerializedName("description") + @SerializedName("course") @Expose - public String description; + public EducationCourse course; /** * The Created By. @@ -76,20 +68,20 @@ public class EducationClass extends Entity implements IJsonBackedObject { public IdentitySet createdBy; /** - * The Class Code. - * Class code used by the school to identify the class. + * The Description. + * Description of the class. */ - @SerializedName("classCode") + @SerializedName("description") @Expose - public String classCode; + public String description; /** - * The External Name. - * Name of the class in the syncing system. + * The Display Name. + * Name of the class. */ - @SerializedName("externalName") + @SerializedName("displayName") @Expose - public String externalName; + public String displayName; /** * The External Id. @@ -99,6 +91,14 @@ public class EducationClass extends Entity implements IJsonBackedObject { @Expose public String externalId; + /** + * The External Name. + * Name of the class in the syncing system. + */ + @SerializedName("externalName") + @Expose + public String externalName; + /** * The External Source. * How this class was created. The possible values are: sis, manual, unknownFutureValue. @@ -123,6 +123,14 @@ public class EducationClass extends Entity implements IJsonBackedObject { @Expose public String grade; + /** + * The Mail Nickname. + * Mail name for sending email to all members, if this is enabled. + */ + @SerializedName("mailNickname") + @Expose + public String mailNickname; + /** * The Term. * Term for this class. @@ -132,12 +140,10 @@ public class EducationClass extends Entity implements IJsonBackedObject { public EducationTerm term; /** - * The Course. + * The Assignment Categories. * */ - @SerializedName("course") - @Expose - public EducationCourse course; + public EducationCategoryCollectionPage assignmentCategories; /** * The Assignments. @@ -146,10 +152,12 @@ public class EducationClass extends Entity implements IJsonBackedObject { public EducationAssignmentCollectionPage assignments; /** - * The Assignment Categories. - * + * The Group. + * The directory group corresponding to this class. */ - public EducationCategoryCollectionPage assignmentCategories; + @SerializedName("group") + @Expose + public Group group; /** * The Members. @@ -157,12 +165,6 @@ public class EducationClass extends Entity implements IJsonBackedObject { */ public EducationUserCollectionPage members; - /** - * The Teachers. - * All teachers in the class. Nullable. - */ - public EducationUserCollectionPage teachers; - /** * The Schools. * All schools that this class is associated with. Nullable. @@ -170,12 +172,10 @@ public class EducationClass extends Entity implements IJsonBackedObject { public EducationSchoolCollectionPage schools; /** - * The Group. - * The directory group corresponding to this class. + * The Teachers. + * All teachers in the class. Nullable. */ - @SerializedName("group") - @Expose - public Group group; + public EducationUserCollectionPage teachers; /** @@ -217,22 +217,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("assignments")) { - final EducationAssignmentCollectionResponse response = new EducationAssignmentCollectionResponse(); - if (json.has("assignments@odata.nextLink")) { - response.nextLink = json.get("assignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); - final EducationAssignment[] array = new EducationAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - assignments = new EducationAssignmentCollectionPage(response, null); - } - if (json.has("assignmentCategories")) { final EducationCategoryCollectionResponse response = new EducationCategoryCollectionResponse(); if (json.has("assignmentCategories@odata.nextLink")) { @@ -249,36 +233,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { assignmentCategories = new EducationCategoryCollectionPage(response, null); } - if (json.has("members")) { - final EducationUserCollectionResponse response = new EducationUserCollectionResponse(); - if (json.has("members@odata.nextLink")) { - response.nextLink = json.get("members@odata.nextLink").getAsString(); + if (json.has("assignments")) { + final EducationAssignmentCollectionResponse response = new EducationAssignmentCollectionResponse(); + if (json.has("assignments@odata.nextLink")) { + response.nextLink = json.get("assignments@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); - final EducationUser[] array = new EducationUser[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("assignments").toString(), JsonObject[].class); + final EducationAssignment[] array = new EducationAssignment[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationAssignment.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - members = new EducationUserCollectionPage(response, null); + assignments = new EducationAssignmentCollectionPage(response, null); } - if (json.has("teachers")) { + if (json.has("members")) { final EducationUserCollectionResponse response = new EducationUserCollectionResponse(); - if (json.has("teachers@odata.nextLink")) { - response.nextLink = json.get("teachers@odata.nextLink").getAsString(); + if (json.has("members@odata.nextLink")) { + response.nextLink = json.get("members@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("teachers").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); final EducationUser[] array = new EducationUser[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - teachers = new EducationUserCollectionPage(response, null); + members = new EducationUserCollectionPage(response, null); } if (json.has("schools")) { @@ -296,5 +280,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); schools = new EducationSchoolCollectionPage(response, null); } + + if (json.has("teachers")) { + final EducationUserCollectionResponse response = new EducationUserCollectionResponse(); + if (json.has("teachers@odata.nextLink")) { + response.nextLink = json.get("teachers@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("teachers").toString(), JsonObject[].class); + final EducationUser[] array = new EducationUser[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationUser.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + teachers = new EducationUserCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationCourse.java b/src/main/java/com/microsoft/graph/models/extensions/EducationCourse.java index 01af196191b..8c8bb44074d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationCourse.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationCourse.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Subject. - * - */ - @SerializedName("subject") - @Expose - public String subject; - /** * The Course Number. * @@ -75,6 +67,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String externalId; + /** + * The Subject. + * + */ + @SerializedName("subject") + @Expose + public String subject; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationFeedback.java b/src/main/java/com/microsoft/graph/models/extensions/EducationFeedback.java index 623e1357c1a..62ad571f460 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationFeedback.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationFeedback.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EducationItemBody; import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.EducationItemBody; import com.google.gson.JsonObject; @@ -38,12 +38,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Text. + * The Feedback By. * */ - @SerializedName("text") + @SerializedName("feedbackBy") @Expose - public EducationItemBody text; + public IdentitySet feedbackBy; /** * The Feedback Date Time. @@ -54,12 +54,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar feedbackDateTime; /** - * The Feedback By. + * The Text. * */ - @SerializedName("feedbackBy") + @SerializedName("text") @Expose - public IdentitySet feedbackBy; + public EducationItemBody text; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationFileSynchronizationVerificationMessage.java b/src/main/java/com/microsoft/graph/models/extensions/EducationFileSynchronizationVerificationMessage.java index 1259a61fb75..179881ce7d3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationFileSynchronizationVerificationMessage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationFileSynchronizationVerificationMessage.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Type. + * The Description. * */ - @SerializedName("type") + @SerializedName("description") @Expose - public String type; + public String description; /** * The File Name. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public String fileName; /** - * The Description. + * The Type. * */ - @SerializedName("description") + @SerializedName("type") @Expose - public String description; + public String type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationFormResource.java b/src/main/java/com/microsoft/graph/models/extensions/EducationFormResource.java index 00d4a6e6414..d080164128a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationFormResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationFormResource.java @@ -27,12 +27,12 @@ public class EducationFormResource extends EducationResource implements IJsonBac /** - * The Original Form Id. + * The Edit Url. * */ - @SerializedName("originalFormId") + @SerializedName("editUrl") @Expose - public String originalFormId; + public String editUrl; /** * The Form Id. @@ -51,20 +51,20 @@ public class EducationFormResource extends EducationResource implements IJsonBac public Boolean isGroupForm; /** - * The View Url. + * The Original Form Id. * */ - @SerializedName("viewUrl") + @SerializedName("originalFormId") @Expose - public String viewUrl; + public String originalFormId; /** - * The Edit Url. + * The View Url. * */ - @SerializedName("editUrl") + @SerializedName("viewUrl") @Expose - public String editUrl; + public String viewUrl; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationIdentityMatchingOptions.java b/src/main/java/com/microsoft/graph/models/extensions/EducationIdentityMatchingOptions.java index 7bc2cc821f4..53c15c640ec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationIdentityMatchingOptions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationIdentityMatchingOptions.java @@ -53,20 +53,20 @@ public final AdditionalDataManager additionalDataManager() { public String sourcePropertyName; /** - * The Target Property Name. + * The Target Domain. * */ - @SerializedName("targetPropertyName") + @SerializedName("targetDomain") @Expose - public String targetPropertyName; + public String targetDomain; /** - * The Target Domain. + * The Target Property Name. * */ - @SerializedName("targetDomain") + @SerializedName("targetPropertyName") @Expose - public String targetDomain; + public String targetPropertyName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationItemBody.java b/src/main/java/com/microsoft/graph/models/extensions/EducationItemBody.java index e003e6f3291..6fc8dd69f5d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationItemBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationItemBody.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Content Type. + * The Content. * */ - @SerializedName("contentType") + @SerializedName("content") @Expose - public BodyType contentType; + public String content; /** - * The Content. + * The Content Type. * */ - @SerializedName("content") + @SerializedName("contentType") @Expose - public String content; + public BodyType contentType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationOneNoteResource.java b/src/main/java/com/microsoft/graph/models/extensions/EducationOneNoteResource.java index 151f1fe499b..834319a1ea9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationOneNoteResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationOneNoteResource.java @@ -27,20 +27,20 @@ public class EducationOneNoteResource extends EducationResource implements IJson /** - * The Section Name. + * The Page Url. * */ - @SerializedName("sectionName") + @SerializedName("pageUrl") @Expose - public String sectionName; + public String pageUrl; /** - * The Page Url. + * The Section Name. * */ - @SerializedName("pageUrl") + @SerializedName("sectionName") @Expose - public String pageUrl; + public String sectionName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationOneRosterApiDataProvider.java b/src/main/java/com/microsoft/graph/models/extensions/EducationOneRosterApiDataProvider.java index eca439264cb..bf97126b548 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationOneRosterApiDataProvider.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationOneRosterApiDataProvider.java @@ -28,14 +28,6 @@ public class EducationOneRosterApiDataProvider extends EducationSynchronizationDataProvider implements IJsonBackedObject { - /** - * The Connection Url. - * - */ - @SerializedName("connectionUrl") - @Expose - public String connectionUrl; - /** * The Connection Settings. * @@ -45,20 +37,20 @@ public class EducationOneRosterApiDataProvider extends EducationSynchronizationD public EducationSynchronizationConnectionSettings connectionSettings; /** - * The Schools Ids. + * The Connection Url. * */ - @SerializedName("schoolsIds") + @SerializedName("connectionUrl") @Expose - public java.util.List schoolsIds; + public String connectionUrl; /** - * The Term Ids. + * The Customizations. * */ - @SerializedName("termIds") + @SerializedName("customizations") @Expose - public java.util.List termIds; + public EducationSynchronizationCustomizations customizations; /** * The Provider Name. @@ -69,12 +61,20 @@ public class EducationOneRosterApiDataProvider extends EducationSynchronizationD public String providerName; /** - * The Customizations. + * The Schools Ids. * */ - @SerializedName("customizations") + @SerializedName("schoolsIds") @Expose - public EducationSynchronizationCustomizations customizations; + public java.util.List schoolsIds; + + /** + * The Term Ids. + * + */ + @SerializedName("termIds") + @Expose + public java.util.List termIds; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java b/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java index c14f6d2d2b2..b56d4c610f5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationOrganization.java @@ -27,14 +27,6 @@ public class EducationOrganization extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * Organization display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * Organization description. @@ -43,6 +35,14 @@ public class EducationOrganization extends Entity implements IJsonBackedObject { @Expose public String description; + /** + * The Display Name. + * Organization display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The External Source. * Source where this organization was created from. The possible values are: sis, manual, unknownFutureValue. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationPowerSchoolDataProvider.java b/src/main/java/com/microsoft/graph/models/extensions/EducationPowerSchoolDataProvider.java index 0d7febeaeeb..d0ff362f628 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationPowerSchoolDataProvider.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationPowerSchoolDataProvider.java @@ -28,12 +28,12 @@ public class EducationPowerSchoolDataProvider extends EducationSynchronizationDa /** - * The Connection Url. + * The Allow Teachers In Multiple Schools. * */ - @SerializedName("connectionUrl") + @SerializedName("allowTeachersInMultipleSchools") @Expose - public String connectionUrl; + public Boolean allowTeachersInMultipleSchools; /** * The Client Id. @@ -52,36 +52,36 @@ public class EducationPowerSchoolDataProvider extends EducationSynchronizationDa public String clientSecret; /** - * The Schools Ids. + * The Connection Url. * */ - @SerializedName("schoolsIds") + @SerializedName("connectionUrl") @Expose - public java.util.List schoolsIds; + public String connectionUrl; /** - * The School Year. + * The Customizations. * */ - @SerializedName("schoolYear") + @SerializedName("customizations") @Expose - public String schoolYear; + public EducationSynchronizationCustomizations customizations; /** - * The Allow Teachers In Multiple Schools. + * The Schools Ids. * */ - @SerializedName("allowTeachersInMultipleSchools") + @SerializedName("schoolsIds") @Expose - public Boolean allowTeachersInMultipleSchools; + public java.util.List schoolsIds; /** - * The Customizations. + * The School Year. * */ - @SerializedName("customizations") + @SerializedName("schoolYear") @Expose - public EducationSynchronizationCustomizations customizations; + public String schoolYear; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationResource.java b/src/main/java/com/microsoft/graph/models/extensions/EducationResource.java index 1ce85c1bb6d..5d3ce1581a6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationResource.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Display Name. + * The Created By. * */ - @SerializedName("displayName") + @SerializedName("createdBy") @Expose - public String displayName; + public IdentitySet createdBy; /** * The Created Date Time. @@ -53,28 +53,28 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar createdDateTime; /** - * The Created By. + * The Display Name. * */ - @SerializedName("createdBy") + @SerializedName("displayName") @Expose - public IdentitySet createdBy; + public String displayName; /** - * The Last Modified Date Time. + * The Last Modified By. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("lastModifiedBy") @Expose - public java.util.Calendar lastModifiedDateTime; + public IdentitySet lastModifiedBy; /** - * The Last Modified By. + * The Last Modified Date Time. * */ - @SerializedName("lastModifiedBy") + @SerializedName("lastModifiedDateTime") @Expose - public IdentitySet lastModifiedBy; + public java.util.Calendar lastModifiedDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java b/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java index befe83b58f6..bcc590112dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationRoot.java @@ -10,8 +10,8 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.EducationSynchronizationProfile; import com.microsoft.graph.models.extensions.EducationClass; -import com.microsoft.graph.models.extensions.EducationSchool; import com.microsoft.graph.models.extensions.EducationUser; +import com.microsoft.graph.models.extensions.EducationSchool; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.EducationSynchronizationProfileCollectionResponse; import com.microsoft.graph.requests.extensions.EducationSynchronizationProfileCollectionPage; @@ -51,24 +51,24 @@ public class EducationRoot extends Entity implements IJsonBackedObject { public EducationClassCollectionPage classes; /** - * The Schools. + * The Me. * Read-only. Nullable. */ - public EducationSchoolCollectionPage schools; + @SerializedName("me") + @Expose + public EducationUser me; /** - * The Users. + * The Schools. * Read-only. Nullable. */ - public EducationUserCollectionPage users; + public EducationSchoolCollectionPage schools; /** - * The Me. + * The Users. * Read-only. Nullable. */ - @SerializedName("me") - @Expose - public EducationUser me; + public EducationUserCollectionPage users; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationRubric.java b/src/main/java/com/microsoft/graph/models/extensions/EducationRubric.java index ef07290012e..01c50a947d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationRubric.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationRubric.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.extensions.EducationItemBody; -import com.microsoft.graph.models.extensions.RubricQuality; -import com.microsoft.graph.models.extensions.RubricLevel; import com.microsoft.graph.models.extensions.EducationAssignmentGradeType; -import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.RubricLevel; +import com.microsoft.graph.models.extensions.RubricQuality; import com.microsoft.graph.models.extensions.Entity; @@ -32,36 +32,36 @@ public class EducationRubric extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Created By. * */ - @SerializedName("displayName") + @SerializedName("createdBy") @Expose - public String displayName; + public IdentitySet createdBy; /** - * The Description. + * The Created Date Time. * */ - @SerializedName("description") + @SerializedName("createdDateTime") @Expose - public EducationItemBody description; + public java.util.Calendar createdDateTime; /** - * The Qualities. + * The Description. * */ - @SerializedName("qualities") + @SerializedName("description") @Expose - public java.util.List qualities; + public EducationItemBody description; /** - * The Levels. + * The Display Name. * */ - @SerializedName("levels") + @SerializedName("displayName") @Expose - public java.util.List levels; + public String displayName; /** * The Grading. @@ -72,36 +72,36 @@ public class EducationRubric extends Entity implements IJsonBackedObject { public EducationAssignmentGradeType grading; /** - * The Created Date Time. + * The Last Modified By. * */ - @SerializedName("createdDateTime") + @SerializedName("lastModifiedBy") @Expose - public java.util.Calendar createdDateTime; + public IdentitySet lastModifiedBy; /** - * The Created By. + * The Last Modified Date Time. * */ - @SerializedName("createdBy") + @SerializedName("lastModifiedDateTime") @Expose - public IdentitySet createdBy; + public java.util.Calendar lastModifiedDateTime; /** - * The Last Modified Date Time. + * The Levels. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("levels") @Expose - public java.util.Calendar lastModifiedDateTime; + public java.util.List levels; /** - * The Last Modified By. + * The Qualities. * */ - @SerializedName("lastModifiedBy") + @SerializedName("qualities") @Expose - public IdentitySet lastModifiedBy; + public java.util.List qualities; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationRubricOutcome.java b/src/main/java/com/microsoft/graph/models/extensions/EducationRubricOutcome.java index 94864763d48..993d7e9a850 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationRubricOutcome.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationRubricOutcome.java @@ -29,36 +29,36 @@ public class EducationRubricOutcome extends EducationOutcome implements IJsonBac /** - * The Rubric Quality Feedback. + * The Published Rubric Quality Feedback. * */ - @SerializedName("rubricQualityFeedback") + @SerializedName("publishedRubricQualityFeedback") @Expose - public java.util.List rubricQualityFeedback; + public java.util.List publishedRubricQualityFeedback; /** - * The Rubric Quality Selected Levels. + * The Published Rubric Quality Selected Levels. * */ - @SerializedName("rubricQualitySelectedLevels") + @SerializedName("publishedRubricQualitySelectedLevels") @Expose - public java.util.List rubricQualitySelectedLevels; + public java.util.List publishedRubricQualitySelectedLevels; /** - * The Published Rubric Quality Feedback. + * The Rubric Quality Feedback. * */ - @SerializedName("publishedRubricQualityFeedback") + @SerializedName("rubricQualityFeedback") @Expose - public java.util.List publishedRubricQualityFeedback; + public java.util.List rubricQualityFeedback; /** - * The Published Rubric Quality Selected Levels. + * The Rubric Quality Selected Levels. * */ - @SerializedName("publishedRubricQualitySelectedLevels") + @SerializedName("rubricQualitySelectedLevels") @Expose - public java.util.List publishedRubricQualitySelectedLevels; + public java.util.List rubricQualitySelectedLevels; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java index db7c6bd2490..16b318ba8ae 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSchool.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.extensions.PhysicalAddress; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.AdministrativeUnit; import com.microsoft.graph.models.extensions.EducationClass; import com.microsoft.graph.models.extensions.EducationUser; -import com.microsoft.graph.models.extensions.AdministrativeUnit; import com.microsoft.graph.models.extensions.EducationOrganization; import com.microsoft.graph.requests.extensions.EducationClassCollectionResponse; import com.microsoft.graph.requests.extensions.EducationClassCollectionPage; @@ -36,20 +36,28 @@ public class EducationSchool extends EducationOrganization implements IJsonBacke /** - * The Principal Email. - * Email address of the principal. + * The Address. + * Address of the school. */ - @SerializedName("principalEmail") + @SerializedName("address") @Expose - public String principalEmail; + public PhysicalAddress address; /** - * The Principal Name. - * Name of the principal. + * The Created By. + * Entity who created the school. */ - @SerializedName("principalName") + @SerializedName("createdBy") @Expose - public String principalName; + public IdentitySet createdBy; + + /** + * The External Id. + * ID of school in syncing system. + */ + @SerializedName("externalId") + @Expose + public String externalId; /** * The External Principal Id. @@ -60,12 +68,12 @@ public class EducationSchool extends EducationOrganization implements IJsonBacke public String externalPrincipalId; /** - * The Lowest Grade. - * Lowest grade taught. + * The Fax. + * */ - @SerializedName("lowestGrade") + @SerializedName("fax") @Expose - public String lowestGrade; + public String fax; /** * The Highest Grade. @@ -76,20 +84,12 @@ public class EducationSchool extends EducationOrganization implements IJsonBacke public String highestGrade; /** - * The School Number. - * School Number. - */ - @SerializedName("schoolNumber") - @Expose - public String schoolNumber; - - /** - * The External Id. - * ID of school in syncing system. + * The Lowest Grade. + * Lowest grade taught. */ - @SerializedName("externalId") + @SerializedName("lowestGrade") @Expose - public String externalId; + public String lowestGrade; /** * The Phone. @@ -100,28 +100,36 @@ public class EducationSchool extends EducationOrganization implements IJsonBacke public String phone; /** - * The Fax. - * + * The Principal Email. + * Email address of the principal. */ - @SerializedName("fax") + @SerializedName("principalEmail") @Expose - public String fax; + public String principalEmail; /** - * The Created By. - * Entity who created the school. + * The Principal Name. + * Name of the principal. */ - @SerializedName("createdBy") + @SerializedName("principalName") @Expose - public IdentitySet createdBy; + public String principalName; /** - * The Address. - * Address of the school. + * The School Number. + * School Number. */ - @SerializedName("address") + @SerializedName("schoolNumber") @Expose - public PhysicalAddress address; + public String schoolNumber; + + /** + * The Administrative Unit. + * + */ + @SerializedName("administrativeUnit") + @Expose + public AdministrativeUnit administrativeUnit; /** * The Classes. @@ -135,14 +143,6 @@ public class EducationSchool extends EducationOrganization implements IJsonBacke */ public EducationUserCollectionPage users; - /** - * The Administrative Unit. - * - */ - @SerializedName("administrativeUnit") - @Expose - public AdministrativeUnit administrativeUnit; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java b/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java index ba62a378ce2..f054d514e52 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationStudent.java @@ -36,22 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Graduation Year. - * Year the student is graduating from the school. - */ - @SerializedName("graduationYear") - @Expose - public String graduationYear; - - /** - * The Grade. - * Current grade level of the student. - */ - @SerializedName("grade") - @Expose - public String grade; - /** * The Birth Date. * Birth date of the student. @@ -60,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public com.microsoft.graph.models.extensions.DateOnly birthDate; + /** + * The External Id. + * ID of the student in the source system. + */ + @SerializedName("externalId") + @Expose + public String externalId; + /** * The Gender. * The possible values are: female, male, other, unknownFutureValue. @@ -69,20 +61,28 @@ public final AdditionalDataManager additionalDataManager() { public EducationGender gender; /** - * The Student Number. - * Student Number. + * The Grade. + * Current grade level of the student. */ - @SerializedName("studentNumber") + @SerializedName("grade") @Expose - public String studentNumber; + public String grade; /** - * The External Id. - * ID of the student in the source system. + * The Graduation Year. + * Year the student is graduating from the school. */ - @SerializedName("externalId") + @SerializedName("graduationYear") @Expose - public String externalId; + public String graduationYear; + + /** + * The Student Number. + * Student Number. + */ + @SerializedName("studentNumber") + @Expose + public String studentNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSubmission.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSubmission.java index 47387f3b116..be4d6055295 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSubmission.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSubmission.java @@ -9,15 +9,15 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.EducationSubmissionRecipient; -import com.microsoft.graph.models.generated.EducationSubmissionStatus; import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.extensions.EducationSubmissionResource; +import com.microsoft.graph.models.generated.EducationSubmissionStatus; import com.microsoft.graph.models.extensions.EducationOutcome; +import com.microsoft.graph.models.extensions.EducationSubmissionResource; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.EducationSubmissionResourceCollectionResponse; -import com.microsoft.graph.requests.extensions.EducationSubmissionResourceCollectionPage; import com.microsoft.graph.requests.extensions.EducationOutcomeCollectionResponse; import com.microsoft.graph.requests.extensions.EducationOutcomeCollectionPage; +import com.microsoft.graph.requests.extensions.EducationSubmissionResourceCollectionResponse; +import com.microsoft.graph.requests.extensions.EducationSubmissionResourceCollectionPage; import com.google.gson.JsonObject; @@ -44,102 +44,102 @@ public class EducationSubmission extends Entity implements IJsonBackedObject { public EducationSubmissionRecipient recipient; /** - * The Status. + * The Released By. * */ - @SerializedName("status") + @SerializedName("releasedBy") @Expose - public EducationSubmissionStatus status; + public IdentitySet releasedBy; /** - * The Submitted By. + * The Released Date Time. * */ - @SerializedName("submittedBy") + @SerializedName("releasedDateTime") @Expose - public IdentitySet submittedBy; + public java.util.Calendar releasedDateTime; /** - * The Submitted Date Time. + * The Resources Folder Url. * */ - @SerializedName("submittedDateTime") + @SerializedName("resourcesFolderUrl") @Expose - public java.util.Calendar submittedDateTime; + public String resourcesFolderUrl; /** - * The Unsubmitted By. + * The Returned By. * */ - @SerializedName("unsubmittedBy") + @SerializedName("returnedBy") @Expose - public IdentitySet unsubmittedBy; + public IdentitySet returnedBy; /** - * The Unsubmitted Date Time. + * The Returned Date Time. * */ - @SerializedName("unsubmittedDateTime") + @SerializedName("returnedDateTime") @Expose - public java.util.Calendar unsubmittedDateTime; + public java.util.Calendar returnedDateTime; /** - * The Released By. + * The Status. * */ - @SerializedName("releasedBy") + @SerializedName("status") @Expose - public IdentitySet releasedBy; + public EducationSubmissionStatus status; /** - * The Released Date Time. + * The Submitted By. * */ - @SerializedName("releasedDateTime") + @SerializedName("submittedBy") @Expose - public java.util.Calendar releasedDateTime; + public IdentitySet submittedBy; /** - * The Returned By. + * The Submitted Date Time. * */ - @SerializedName("returnedBy") + @SerializedName("submittedDateTime") @Expose - public IdentitySet returnedBy; + public java.util.Calendar submittedDateTime; /** - * The Returned Date Time. + * The Unsubmitted By. * */ - @SerializedName("returnedDateTime") + @SerializedName("unsubmittedBy") @Expose - public java.util.Calendar returnedDateTime; + public IdentitySet unsubmittedBy; /** - * The Resources Folder Url. + * The Unsubmitted Date Time. * */ - @SerializedName("resourcesFolderUrl") + @SerializedName("unsubmittedDateTime") @Expose - public String resourcesFolderUrl; + public java.util.Calendar unsubmittedDateTime; /** - * The Resources. + * The Outcomes. * */ - public EducationSubmissionResourceCollectionPage resources; + public EducationOutcomeCollectionPage outcomes; /** - * The Submitted Resources. + * The Resources. * */ - public EducationSubmissionResourceCollectionPage submittedResources; + public EducationSubmissionResourceCollectionPage resources; /** - * The Outcomes. + * The Submitted Resources. * */ - public EducationOutcomeCollectionPage outcomes; + public EducationSubmissionResourceCollectionPage submittedResources; /** @@ -181,6 +181,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; + if (json.has("outcomes")) { + final EducationOutcomeCollectionResponse response = new EducationOutcomeCollectionResponse(); + if (json.has("outcomes@odata.nextLink")) { + response.nextLink = json.get("outcomes@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("outcomes").toString(), JsonObject[].class); + final EducationOutcome[] array = new EducationOutcome[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationOutcome.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + outcomes = new EducationOutcomeCollectionPage(response, null); + } + if (json.has("resources")) { final EducationSubmissionResourceCollectionResponse response = new EducationSubmissionResourceCollectionResponse(); if (json.has("resources@odata.nextLink")) { @@ -212,21 +228,5 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); submittedResources = new EducationSubmissionResourceCollectionPage(response, null); } - - if (json.has("outcomes")) { - final EducationOutcomeCollectionResponse response = new EducationOutcomeCollectionResponse(); - if (json.has("outcomes@odata.nextLink")) { - response.nextLink = json.get("outcomes@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("outcomes").toString(), JsonObject[].class); - final EducationOutcome[] array = new EducationOutcome[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationOutcome.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - outcomes = new EducationOutcomeCollectionPage(response, null); - } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSubmissionResource.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSubmissionResource.java index 12a00417cbc..da16465ad8e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSubmissionResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSubmissionResource.java @@ -28,20 +28,20 @@ public class EducationSubmissionResource extends Entity implements IJsonBackedOb /** - * The Resource. + * The Assignment Resource Url. * */ - @SerializedName("resource") + @SerializedName("assignmentResourceUrl") @Expose - public EducationResource resource; + public String assignmentResourceUrl; /** - * The Assignment Resource Url. + * The Resource. * */ - @SerializedName("assignmentResourceUrl") + @SerializedName("resource") @Expose - public String assignmentResourceUrl; + public EducationResource resource; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomization.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomization.java index bbfa1d3ecd5..975d5314bf4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomization.java @@ -36,36 +36,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Optional Properties To Sync. + * The Allow Display Name Update. * */ - @SerializedName("optionalPropertiesToSync") + @SerializedName("allowDisplayNameUpdate") @Expose - public java.util.List optionalPropertiesToSync; + public Boolean allowDisplayNameUpdate; /** - * The Synchronization Start Date. + * The Is Sync Deferred. * */ - @SerializedName("synchronizationStartDate") + @SerializedName("isSyncDeferred") @Expose - public java.util.Calendar synchronizationStartDate; + public Boolean isSyncDeferred; /** - * The Is Sync Deferred. + * The Optional Properties To Sync. * */ - @SerializedName("isSyncDeferred") + @SerializedName("optionalPropertiesToSync") @Expose - public Boolean isSyncDeferred; + public java.util.List optionalPropertiesToSync; /** - * The Allow Display Name Update. + * The Synchronization Start Date. * */ - @SerializedName("allowDisplayNameUpdate") + @SerializedName("synchronizationStartDate") @Expose - public Boolean allowDisplayNameUpdate; + public java.util.Calendar synchronizationStartDate; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomizations.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomizations.java index f8b87f0b4ec..8f354067648 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomizations.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationCustomizations.java @@ -52,20 +52,20 @@ public class EducationSynchronizationCustomizations extends EducationSynchroniza public EducationSynchronizationCustomization student; /** - * The Teacher. + * The Student Enrollment. * */ - @SerializedName("teacher") + @SerializedName("studentEnrollment") @Expose - public EducationSynchronizationCustomization teacher; + public EducationSynchronizationCustomization studentEnrollment; /** - * The Student Enrollment. + * The Teacher. * */ - @SerializedName("studentEnrollment") + @SerializedName("teacher") @Expose - public EducationSynchronizationCustomization studentEnrollment; + public EducationSynchronizationCustomization teacher; /** * The Teacher Roster. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationOAuth2ClientCredentialsConnectionSettings.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationOAuth2ClientCredentialsConnectionSettings.java index ec88f7f3b59..adc3a650292 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationOAuth2ClientCredentialsConnectionSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationOAuth2ClientCredentialsConnectionSettings.java @@ -27,20 +27,20 @@ public class EducationSynchronizationOAuth2ClientCredentialsConnectionSettings e /** - * The Token Url. + * The Scope. * */ - @SerializedName("tokenUrl") + @SerializedName("scope") @Expose - public String tokenUrl; + public String scope; /** - * The Scope. + * The Token Url. * */ - @SerializedName("scope") + @SerializedName("tokenUrl") @Expose - public String scope; + public String tokenUrl; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfile.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfile.java index ad8475a44a0..5ce2e3f160b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfile.java @@ -34,6 +34,14 @@ public class EducationSynchronizationProfile extends Entity implements IJsonBackedObject { + /** + * The Data Provider. + * + */ + @SerializedName("dataProvider") + @Expose + public EducationSynchronizationDataProvider dataProvider; + /** * The Display Name. * @@ -51,12 +59,12 @@ public class EducationSynchronizationProfile extends Entity implements IJsonBack public com.microsoft.graph.models.extensions.DateOnly expirationDate; /** - * The Data Provider. + * The Handle Special Character Constraint. * */ - @SerializedName("dataProvider") + @SerializedName("handleSpecialCharacterConstraint") @Expose - public EducationSynchronizationDataProvider dataProvider; + public Boolean handleSpecialCharacterConstraint; /** * The Identity Synchronization Configuration. @@ -82,14 +90,6 @@ public class EducationSynchronizationProfile extends Entity implements IJsonBack @Expose public EducationSynchronizationProfileState state; - /** - * The Handle Special Character Constraint. - * - */ - @SerializedName("handleSpecialCharacterConstraint") - @Expose - public Boolean handleSpecialCharacterConstraint; - /** * The Errors. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfileStatus.java b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfileStatus.java index 764fb6745c2..cea0d740a87 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfileStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationSynchronizationProfileStatus.java @@ -28,20 +28,20 @@ public class EducationSynchronizationProfileStatus extends Entity implements IJs /** - * The Status. + * The Last Synchronization Date Time. * */ - @SerializedName("status") + @SerializedName("lastSynchronizationDateTime") @Expose - public EducationSynchronizationStatus status; + public java.util.Calendar lastSynchronizationDateTime; /** - * The Last Synchronization Date Time. + * The Status. * */ - @SerializedName("lastSynchronizationDateTime") + @SerializedName("status") @Expose - public java.util.Calendar lastSynchronizationDateTime; + public EducationSynchronizationStatus status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java b/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java index 2b96d743cba..51120394fc5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationTeacher.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Teacher Number. - * Teacher number. - */ - @SerializedName("teacherNumber") - @Expose - public String teacherNumber; - /** * The External Id. * ID of the teacher in the source system. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String externalId; + /** + * The Teacher Number. + * Teacher number. + */ + @SerializedName("teacherNumber") + @Expose + public String teacherNumber; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java b/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java index e64efd6b3f2..8e58230c562 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationTerm.java @@ -36,20 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The External Id. - * ID of term in the syncing system. - */ - @SerializedName("externalId") - @Expose - public String externalId; - - /** - * The Start Date. - * Start of the term. + * The Display Name. + * Display name of the term. */ - @SerializedName("startDate") + @SerializedName("displayName") @Expose - public com.microsoft.graph.models.extensions.DateOnly startDate; + public String displayName; /** * The End Date. @@ -60,12 +52,20 @@ public final AdditionalDataManager additionalDataManager() { public com.microsoft.graph.models.extensions.DateOnly endDate; /** - * The Display Name. - * Display name of the term. + * The External Id. + * ID of term in the syncing system. */ - @SerializedName("displayName") + @SerializedName("externalId") @Expose - public String displayName; + public String externalId; + + /** + * The Start Date. + * Start of the term. + */ + @SerializedName("startDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly startDate; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java b/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java index 95cb3bc4dcb..fd7642b9d2c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EducationUser.java @@ -9,17 +9,17 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.RelatedContact; -import com.microsoft.graph.models.generated.EducationUserRole; -import com.microsoft.graph.models.generated.EducationExternalSource; -import com.microsoft.graph.models.extensions.PhysicalAddress; -import com.microsoft.graph.models.extensions.EducationStudent; -import com.microsoft.graph.models.extensions.EducationTeacher; -import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.extensions.AssignedLicense; import com.microsoft.graph.models.extensions.AssignedPlan; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.generated.EducationExternalSource; +import com.microsoft.graph.models.extensions.PhysicalAddress; +import com.microsoft.graph.models.extensions.EducationOnPremisesInfo; import com.microsoft.graph.models.extensions.PasswordProfile; +import com.microsoft.graph.models.generated.EducationUserRole; import com.microsoft.graph.models.extensions.ProvisionedPlan; -import com.microsoft.graph.models.extensions.EducationOnPremisesInfo; +import com.microsoft.graph.models.extensions.EducationStudent; +import com.microsoft.graph.models.extensions.EducationTeacher; import com.microsoft.graph.models.extensions.EducationAssignment; import com.microsoft.graph.models.extensions.EducationRubric; import com.microsoft.graph.models.extensions.EducationClass; @@ -59,78 +59,6 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public java.util.List relatedContacts; - /** - * The Primary Role. - * Default role for a user. The user's role might be different in an individual class. The possible values are: student, teacher. Supports $filter. - */ - @SerializedName("primaryRole") - @Expose - public EducationUserRole primaryRole; - - /** - * The Middle Name. - * The middle name of user. - */ - @SerializedName("middleName") - @Expose - public String middleName; - - /** - * The External Source. - * Where this user was created from. The possible values are: sis, manual. - */ - @SerializedName("externalSource") - @Expose - public EducationExternalSource externalSource; - - /** - * The External Source Detail. - * - */ - @SerializedName("externalSourceDetail") - @Expose - public String externalSourceDetail; - - /** - * The Residence Address. - * Address where user lives. - */ - @SerializedName("residenceAddress") - @Expose - public PhysicalAddress residenceAddress; - - /** - * The Mailing Address. - * Mail address of user. - */ - @SerializedName("mailingAddress") - @Expose - public PhysicalAddress mailingAddress; - - /** - * The Student. - * If the primary role is student, this block will contain student specific data. - */ - @SerializedName("student") - @Expose - public EducationStudent student; - - /** - * The Teacher. - * If the primary role is teacher, this block will contain teacher specific data. - */ - @SerializedName("teacher") - @Expose - public EducationTeacher teacher; - - /** - * The Created By. - * Entity who created the user. - */ - @SerializedName("createdBy") - @Expose - public IdentitySet createdBy; - /** * The Account Enabled. * True if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter. @@ -163,6 +91,14 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public java.util.List businessPhones; + /** + * The Created By. + * Entity who created the user. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; + /** * The Department. * The name for the department in which the user works. Supports $filter. @@ -179,6 +115,22 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public String displayName; + /** + * The External Source. + * Where this user was created from. The possible values are: sis, manual. + */ + @SerializedName("externalSource") + @Expose + public EducationExternalSource externalSource; + + /** + * The External Source Detail. + * + */ + @SerializedName("externalSourceDetail") + @Expose + public String externalSourceDetail; + /** * The Given Name. * The given name (first name) of the user. Supports $filter. @@ -195,6 +147,14 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public String mail; + /** + * The Mailing Address. + * Mail address of user. + */ + @SerializedName("mailingAddress") + @Expose + public PhysicalAddress mailingAddress; + /** * The Mail Nickname. * The mail alias for the user. This property must be specified when a user is created. Supports $filter. @@ -203,6 +163,14 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public String mailNickname; + /** + * The Middle Name. + * The middle name of user. + */ + @SerializedName("middleName") + @Expose + public String middleName; + /** * The Mobile Phone. * The primary cellular telephone number for the user. @@ -211,6 +179,22 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public String mobilePhone; + /** + * The Office Location. + * + */ + @SerializedName("officeLocation") + @Expose + public String officeLocation; + + /** + * The On Premises Info. + * + */ + @SerializedName("onPremisesInfo") + @Expose + public EducationOnPremisesInfo onPremisesInfo; + /** * The Password Policies. * Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two can be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'. @@ -227,14 +211,6 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public PasswordProfile passwordProfile; - /** - * The Office Location. - * - */ - @SerializedName("officeLocation") - @Expose - public String officeLocation; - /** * The Preferred Language. * The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'. @@ -243,6 +219,14 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public String preferredLanguage; + /** + * The Primary Role. + * Default role for a user. The user's role might be different in an individual class. The possible values are: student, teacher. Supports $filter. + */ + @SerializedName("primaryRole") + @Expose + public EducationUserRole primaryRole; + /** * The Provisioned Plans. * The plans that are provisioned for the user. Read-only. Not nullable. @@ -259,6 +243,14 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar refreshTokensValidFromDateTime; + /** + * The Residence Address. + * Address where user lives. + */ + @SerializedName("residenceAddress") + @Expose + public PhysicalAddress residenceAddress; + /** * The Show In Address List. * @@ -267,6 +259,14 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public Boolean showInAddressList; + /** + * The Student. + * If the primary role is student, this block will contain student specific data. + */ + @SerializedName("student") + @Expose + public EducationStudent student; + /** * The Surname. * The user's surname (family name or last name). Supports $filter. @@ -275,6 +275,14 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public String surname; + /** + * The Teacher. + * If the primary role is teacher, this block will contain teacher specific data. + */ + @SerializedName("teacher") + @Expose + public EducationTeacher teacher; + /** * The Usage Location. * A two-letter country code (ISO standard 3166). Required for users who will be assigned licenses due to a legal requirement to check for availability of services in countries or regions. Examples include: 'US', 'JP', and 'GB'. Not nullable. Supports $filter. @@ -299,14 +307,6 @@ public class EducationUser extends Entity implements IJsonBackedObject { @Expose public String userType; - /** - * The On Premises Info. - * - */ - @SerializedName("onPremisesInfo") - @Expose - public EducationOnPremisesInfo onPremisesInfo; - /** * The Assignments. * List of assignments for the user. Nullable. @@ -325,18 +325,18 @@ public class EducationUser extends Entity implements IJsonBackedObject { */ public EducationClassCollectionPage classes; - /** - * The Taught Classes. - * - */ - public EducationClassCollectionPage taughtClasses; - /** * The Schools. * Schools to which the user belongs. Nullable. */ public EducationSchoolCollectionPage schools; + /** + * The Taught Classes. + * + */ + public EducationClassCollectionPage taughtClasses; + /** * The User. * The directory user corresponding to this user. @@ -433,22 +433,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { classes = new EducationClassCollectionPage(response, null); } - if (json.has("taughtClasses")) { - final EducationClassCollectionResponse response = new EducationClassCollectionResponse(); - if (json.has("taughtClasses@odata.nextLink")) { - response.nextLink = json.get("taughtClasses@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taughtClasses").toString(), JsonObject[].class); - final EducationClass[] array = new EducationClass[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - taughtClasses = new EducationClassCollectionPage(response, null); - } - if (json.has("schools")) { final EducationSchoolCollectionResponse response = new EducationSchoolCollectionResponse(); if (json.has("schools@odata.nextLink")) { @@ -464,5 +448,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); schools = new EducationSchoolCollectionPage(response, null); } + + if (json.has("taughtClasses")) { + final EducationClassCollectionResponse response = new EducationClassCollectionResponse(); + if (json.has("taughtClasses@odata.nextLink")) { + response.nextLink = json.get("taughtClasses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taughtClasses").toString(), JsonObject[].class); + final EducationClass[] array = new EducationClass[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), EducationClass.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + taughtClasses = new EducationClassCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailActivitySummary.java b/src/main/java/com/microsoft/graph/models/extensions/EmailActivitySummary.java index aac1c0e24f0..d30247d4540 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailActivitySummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailActivitySummary.java @@ -27,52 +27,52 @@ public class EmailActivitySummary extends Entity implements IJsonBackedObject { /** - * The Report Refresh Date. + * The Read. * */ - @SerializedName("reportRefreshDate") + @SerializedName("read") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long read; /** - * The Send. + * The Receive. * */ - @SerializedName("send") + @SerializedName("receive") @Expose - public Long send; + public Long receive; /** - * The Receive. + * The Report Date. * */ - @SerializedName("receive") + @SerializedName("reportDate") @Expose - public Long receive; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Read. + * The Report Period. * */ - @SerializedName("read") + @SerializedName("reportPeriod") @Expose - public Long read; + public String reportPeriod; /** - * The Report Date. + * The Report Refresh Date. * */ - @SerializedName("reportDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Send. * */ - @SerializedName("reportPeriod") + @SerializedName("send") @Expose - public String reportPeriod; + public Long send; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailActivityUserDetail.java b/src/main/java/com/microsoft/graph/models/extensions/EmailActivityUserDetail.java index 188cd98961e..256446eb7a8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailActivityUserDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailActivityUserDetail.java @@ -27,20 +27,20 @@ public class EmailActivityUserDetail extends Entity implements IJsonBackedObject /** - * The Report Refresh Date. + * The Assigned Products. * */ - @SerializedName("reportRefreshDate") + @SerializedName("assignedProducts") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public java.util.List assignedProducts; /** - * The User Principal Name. + * The Deleted Date. * */ - @SerializedName("userPrincipalName") + @SerializedName("deletedDate") @Expose - public String userPrincipalName; + public com.microsoft.graph.models.extensions.DateOnly deletedDate; /** * The Display Name. @@ -58,14 +58,6 @@ public class EmailActivityUserDetail extends Entity implements IJsonBackedObject @Expose public Boolean isDeleted; - /** - * The Deleted Date. - * - */ - @SerializedName("deletedDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly deletedDate; - /** * The Last Activity Date. * @@ -75,12 +67,12 @@ public class EmailActivityUserDetail extends Entity implements IJsonBackedObject public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; /** - * The Send Count. + * The Read Count. * */ - @SerializedName("sendCount") + @SerializedName("readCount") @Expose - public Long sendCount; + public Long readCount; /** * The Receive Count. @@ -91,28 +83,36 @@ public class EmailActivityUserDetail extends Entity implements IJsonBackedObject public Long receiveCount; /** - * The Read Count. + * The Report Period. * */ - @SerializedName("readCount") + @SerializedName("reportPeriod") @Expose - public Long readCount; + public String reportPeriod; /** - * The Assigned Products. + * The Report Refresh Date. * */ - @SerializedName("assignedProducts") + @SerializedName("reportRefreshDate") @Expose - public java.util.List assignedProducts; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Send Count. * */ - @SerializedName("reportPeriod") + @SerializedName("sendCount") @Expose - public String reportPeriod; + public Long sendCount; + + /** + * The User Principal Name. + * + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java b/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java index a456b76c832..0eb1392805a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailAddress.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Name. - * The display name of the person or entity. - */ - @SerializedName("name") - @Expose - public String name; - /** * The Address. * The email address of the person or entity. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String address; + /** + * The Name. + * The display name of the person or entity. + */ + @SerializedName("name") + @Expose + public String name; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageAppsUserCounts.java b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageAppsUserCounts.java index 446178dd893..e0976e15fb1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageAppsUserCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageAppsUserCounts.java @@ -27,12 +27,12 @@ public class EmailAppUsageAppsUserCounts extends Entity implements IJsonBackedOb /** - * The Report Refresh Date. + * The Imap4App. * */ - @SerializedName("reportRefreshDate") + @SerializedName("imap4App") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long imap4App; /** * The Mail For Mac. @@ -43,20 +43,20 @@ public class EmailAppUsageAppsUserCounts extends Entity implements IJsonBackedOb public Long mailForMac; /** - * The Outlook For Mac. + * The Other For Mobile. * */ - @SerializedName("outlookForMac") + @SerializedName("otherForMobile") @Expose - public Long outlookForMac; + public Long otherForMobile; /** - * The Outlook For Windows. + * The Outlook For Mac. * */ - @SerializedName("outlookForWindows") + @SerializedName("outlookForMac") @Expose - public Long outlookForWindows; + public Long outlookForMac; /** * The Outlook For Mobile. @@ -67,20 +67,20 @@ public class EmailAppUsageAppsUserCounts extends Entity implements IJsonBackedOb public Long outlookForMobile; /** - * The Other For Mobile. + * The Outlook For Web. * */ - @SerializedName("otherForMobile") + @SerializedName("outlookForWeb") @Expose - public Long otherForMobile; + public Long outlookForWeb; /** - * The Outlook For Web. + * The Outlook For Windows. * */ - @SerializedName("outlookForWeb") + @SerializedName("outlookForWindows") @Expose - public Long outlookForWeb; + public Long outlookForWindows; /** * The Pop3App. @@ -91,28 +91,28 @@ public class EmailAppUsageAppsUserCounts extends Entity implements IJsonBackedOb public Long pop3App; /** - * The Imap4App. + * The Report Period. * */ - @SerializedName("imap4App") + @SerializedName("reportPeriod") @Expose - public Long imap4App; + public String reportPeriod; /** - * The Smtp App. + * The Report Refresh Date. * */ - @SerializedName("smtpApp") + @SerializedName("reportRefreshDate") @Expose - public Long smtpApp; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Smtp App. * */ - @SerializedName("reportPeriod") + @SerializedName("smtpApp") @Expose - public String reportPeriod; + public Long smtpApp; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserCounts.java b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserCounts.java index 356820169ef..551f4cf1c6b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserCounts.java @@ -27,12 +27,12 @@ public class EmailAppUsageUserCounts extends Entity implements IJsonBackedObject /** - * The Report Refresh Date. + * The Imap4App. * */ - @SerializedName("reportRefreshDate") + @SerializedName("imap4App") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long imap4App; /** * The Mail For Mac. @@ -43,20 +43,20 @@ public class EmailAppUsageUserCounts extends Entity implements IJsonBackedObject public Long mailForMac; /** - * The Outlook For Mac. + * The Other For Mobile. * */ - @SerializedName("outlookForMac") + @SerializedName("otherForMobile") @Expose - public Long outlookForMac; + public Long otherForMobile; /** - * The Outlook For Windows. + * The Outlook For Mac. * */ - @SerializedName("outlookForWindows") + @SerializedName("outlookForMac") @Expose - public Long outlookForWindows; + public Long outlookForMac; /** * The Outlook For Mobile. @@ -67,20 +67,20 @@ public class EmailAppUsageUserCounts extends Entity implements IJsonBackedObject public Long outlookForMobile; /** - * The Other For Mobile. + * The Outlook For Web. * */ - @SerializedName("otherForMobile") + @SerializedName("outlookForWeb") @Expose - public Long otherForMobile; + public Long outlookForWeb; /** - * The Outlook For Web. + * The Outlook For Windows. * */ - @SerializedName("outlookForWeb") + @SerializedName("outlookForWindows") @Expose - public Long outlookForWeb; + public Long outlookForWindows; /** * The Pop3App. @@ -91,36 +91,36 @@ public class EmailAppUsageUserCounts extends Entity implements IJsonBackedObject public Long pop3App; /** - * The Imap4App. + * The Report Date. * */ - @SerializedName("imap4App") + @SerializedName("reportDate") @Expose - public Long imap4App; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Smtp App. + * The Report Period. * */ - @SerializedName("smtpApp") + @SerializedName("reportPeriod") @Expose - public Long smtpApp; + public String reportPeriod; /** - * The Report Date. + * The Report Refresh Date. * */ - @SerializedName("reportDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Smtp App. * */ - @SerializedName("reportPeriod") + @SerializedName("smtpApp") @Expose - public String reportPeriod; + public Long smtpApp; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserDetail.java b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserDetail.java index b8ac01c57c2..fa4c1ed1007 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageUserDetail.java @@ -27,20 +27,12 @@ public class EmailAppUsageUserDetail extends Entity implements IJsonBackedObject /** - * The Report Refresh Date. - * - */ - @SerializedName("reportRefreshDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; - - /** - * The User Principal Name. + * The Deleted Date. * */ - @SerializedName("userPrincipalName") + @SerializedName("deletedDate") @Expose - public String userPrincipalName; + public com.microsoft.graph.models.extensions.DateOnly deletedDate; /** * The Display Name. @@ -51,20 +43,20 @@ public class EmailAppUsageUserDetail extends Entity implements IJsonBackedObject public String displayName; /** - * The Is Deleted. + * The Imap4App. * */ - @SerializedName("isDeleted") + @SerializedName("imap4App") @Expose - public Boolean isDeleted; + public java.util.List imap4App; /** - * The Deleted Date. + * The Is Deleted. * */ - @SerializedName("deletedDate") + @SerializedName("isDeleted") @Expose - public com.microsoft.graph.models.extensions.DateOnly deletedDate; + public Boolean isDeleted; /** * The Last Activity Date. @@ -83,20 +75,20 @@ public class EmailAppUsageUserDetail extends Entity implements IJsonBackedObject public java.util.List mailForMac; /** - * The Outlook For Mac. + * The Other For Mobile. * */ - @SerializedName("outlookForMac") + @SerializedName("otherForMobile") @Expose - public java.util.List outlookForMac; + public java.util.List otherForMobile; /** - * The Outlook For Windows. + * The Outlook For Mac. * */ - @SerializedName("outlookForWindows") + @SerializedName("outlookForMac") @Expose - public java.util.List outlookForWindows; + public java.util.List outlookForMac; /** * The Outlook For Mobile. @@ -107,20 +99,20 @@ public class EmailAppUsageUserDetail extends Entity implements IJsonBackedObject public java.util.List outlookForMobile; /** - * The Other For Mobile. + * The Outlook For Web. * */ - @SerializedName("otherForMobile") + @SerializedName("outlookForWeb") @Expose - public java.util.List otherForMobile; + public java.util.List outlookForWeb; /** - * The Outlook For Web. + * The Outlook For Windows. * */ - @SerializedName("outlookForWeb") + @SerializedName("outlookForWindows") @Expose - public java.util.List outlookForWeb; + public java.util.List outlookForWindows; /** * The Pop3App. @@ -131,12 +123,20 @@ public class EmailAppUsageUserDetail extends Entity implements IJsonBackedObject public java.util.List pop3App; /** - * The Imap4App. + * The Report Period. * */ - @SerializedName("imap4App") + @SerializedName("reportPeriod") @Expose - public java.util.List imap4App; + public String reportPeriod; + + /** + * The Report Refresh Date. + * + */ + @SerializedName("reportRefreshDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** * The Smtp App. @@ -147,12 +147,12 @@ public class EmailAppUsageUserDetail extends Entity implements IJsonBackedObject public java.util.List smtpApp; /** - * The Report Period. + * The User Principal Name. * */ - @SerializedName("reportPeriod") + @SerializedName("userPrincipalName") @Expose - public String reportPeriod; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageVersionsUserCounts.java b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageVersionsUserCounts.java index 56c6e48364f..3f26af9281f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageVersionsUserCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailAppUsageVersionsUserCounts.java @@ -27,20 +27,20 @@ public class EmailAppUsageVersionsUserCounts extends Entity implements IJsonBack /** - * The Report Refresh Date. + * The Outlook2007. * */ - @SerializedName("reportRefreshDate") + @SerializedName("outlook2007") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long outlook2007; /** - * The Outlook2016. + * The Outlook2010. * */ - @SerializedName("outlook2016") + @SerializedName("outlook2010") @Expose - public Long outlook2016; + public Long outlook2010; /** * The Outlook2013. @@ -51,36 +51,36 @@ public class EmailAppUsageVersionsUserCounts extends Entity implements IJsonBack public Long outlook2013; /** - * The Outlook2010. + * The Outlook2016. * */ - @SerializedName("outlook2010") + @SerializedName("outlook2016") @Expose - public Long outlook2010; + public Long outlook2016; /** - * The Outlook2007. + * The Report Period. * */ - @SerializedName("outlook2007") + @SerializedName("reportPeriod") @Expose - public Long outlook2007; + public String reportPeriod; /** - * The Undetermined. + * The Report Refresh Date. * */ - @SerializedName("undetermined") + @SerializedName("reportRefreshDate") @Expose - public Long undetermined; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Undetermined. * */ - @SerializedName("reportPeriod") + @SerializedName("undetermined") @Expose - public String reportPeriod; + public Long undetermined; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmailFileAssessmentRequest.java b/src/main/java/com/microsoft/graph/models/extensions/EmailFileAssessmentRequest.java index 8aa34d0f096..dc1f0cf16dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmailFileAssessmentRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmailFileAssessmentRequest.java @@ -28,12 +28,12 @@ public class EmailFileAssessmentRequest extends ThreatAssessmentRequest implemen /** - * The Recipient Email. - * The mail recipient whose policies are used to assess the mail. + * The Content Data. + * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. */ - @SerializedName("recipientEmail") + @SerializedName("contentData") @Expose - public String recipientEmail; + public String contentData; /** * The Destination Routing Reason. @@ -44,12 +44,12 @@ public class EmailFileAssessmentRequest extends ThreatAssessmentRequest implemen public MailDestinationRoutingReason destinationRoutingReason; /** - * The Content Data. - * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. + * The Recipient Email. + * The mail recipient whose policies are used to assess the mail. */ - @SerializedName("contentData") + @SerializedName("recipientEmail") @Expose - public String contentData; + public String recipientEmail; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMActivationCodePool.java b/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMActivationCodePool.java index bdd11fce5f6..2db8d4d723b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMActivationCodePool.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMActivationCodePool.java @@ -34,44 +34,44 @@ public class EmbeddedSIMActivationCodePool extends Entity implements IJsonBacked /** - * The Display Name. - * The admin defined name of the embedded SIM activation code pool. + * The Activation Code Count. + * The total count of activation codes which belong to this pool. */ - @SerializedName("displayName") + @SerializedName("activationCodeCount") @Expose - public String displayName; + public Integer activationCodeCount; /** - * The Created Date Time. - * The time the embedded SIM activation code pool was created. Generated service side. + * The Activation Codes. + * The activation codes which belong to this pool. This navigation property is used to post activation codes to Intune but cannot be used to read activation codes from Intune. */ - @SerializedName("createdDateTime") + @SerializedName("activationCodes") @Expose - public java.util.Calendar createdDateTime; + public java.util.List activationCodes; /** - * The Modified Date Time. - * The time the embedded SIM activation code pool was last modified. Updated service side. + * The Created Date Time. + * The time the embedded SIM activation code pool was created. Generated service side. */ - @SerializedName("modifiedDateTime") + @SerializedName("createdDateTime") @Expose - public java.util.Calendar modifiedDateTime; + public java.util.Calendar createdDateTime; /** - * The Activation Codes. - * The activation codes which belong to this pool. This navigation property is used to post activation codes to Intune but cannot be used to read activation codes from Intune. + * The Display Name. + * The admin defined name of the embedded SIM activation code pool. */ - @SerializedName("activationCodes") + @SerializedName("displayName") @Expose - public java.util.List activationCodes; + public String displayName; /** - * The Activation Code Count. - * The total count of activation codes which belong to this pool. + * The Modified Date Time. + * The time the embedded SIM activation code pool was last modified. Updated service side. */ - @SerializedName("activationCodeCount") + @SerializedName("modifiedDateTime") @Expose - public Integer activationCodeCount; + public java.util.Calendar modifiedDateTime; /** * The Assignments. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMDeviceState.java b/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMDeviceState.java index 95165d9ac8b..1b6984ac303 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMDeviceState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EmbeddedSIMDeviceState.java @@ -36,12 +36,12 @@ public class EmbeddedSIMDeviceState extends Entity implements IJsonBackedObject public java.util.Calendar createdDateTime; /** - * The Modified Date Time. - * The time the embedded SIM device status was last modified. Updated service side. + * The Device Name. + * Device name to which the subscription was provisioned e.g. DESKTOP-JOE */ - @SerializedName("modifiedDateTime") + @SerializedName("deviceName") @Expose - public java.util.Calendar modifiedDateTime; + public String deviceName; /** * The Last Sync Date Time. @@ -52,28 +52,12 @@ public class EmbeddedSIMDeviceState extends Entity implements IJsonBackedObject public java.util.Calendar lastSyncDateTime; /** - * The Universal Integrated Circuit Card Identifier. - * The Universal Integrated Circuit Card Identifier (UICCID) identifying the hardware onto which a profile is to be deployed. - */ - @SerializedName("universalIntegratedCircuitCardIdentifier") - @Expose - public String universalIntegratedCircuitCardIdentifier; - - /** - * The Device Name. - * Device name to which the subscription was provisioned e.g. DESKTOP-JOE - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - - /** - * The User Name. - * Username which the subscription was provisioned to e.g. joe@contoso.com + * The Modified Date Time. + * The time the embedded SIM device status was last modified. Updated service side. */ - @SerializedName("userName") + @SerializedName("modifiedDateTime") @Expose - public String userName; + public java.util.Calendar modifiedDateTime; /** * The State. @@ -91,6 +75,22 @@ public class EmbeddedSIMDeviceState extends Entity implements IJsonBackedObject @Expose public String stateDetails; + /** + * The Universal Integrated Circuit Card Identifier. + * The Universal Integrated Circuit Card Identifier (UICCID) identifying the hardware onto which a profile is to be deployed. + */ + @SerializedName("universalIntegratedCircuitCardIdentifier") + @Expose + public String universalIntegratedCircuitCardIdentifier; + + /** + * The User Name. + * Username which the subscription was provisioned to e.g. joe@contoso.com + */ + @SerializedName("userName") + @Expose + public String userName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Employee.java b/src/main/java/com/microsoft/graph/models/extensions/Employee.java index 57981cf09f6..12ad61fc9ca 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Employee.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Employee.java @@ -31,12 +31,20 @@ public class Employee extends Entity implements IJsonBackedObject { /** - * The Number. + * The Address. * */ - @SerializedName("number") + @SerializedName("address") @Expose - public String number; + public PostalAddressType address; + + /** + * The Birth Date. + * + */ + @SerializedName("birthDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly birthDate; /** * The Display Name. @@ -47,28 +55,28 @@ public class Employee extends Entity implements IJsonBackedObject { public String displayName; /** - * The Given Name. + * The Email. * */ - @SerializedName("givenName") + @SerializedName("email") @Expose - public String givenName; + public String email; /** - * The Middle Name. + * The Employment Date. * */ - @SerializedName("middleName") + @SerializedName("employmentDate") @Expose - public String middleName; + public com.microsoft.graph.models.extensions.DateOnly employmentDate; /** - * The Surname. + * The Given Name. * */ - @SerializedName("surname") + @SerializedName("givenName") @Expose - public String surname; + public String givenName; /** * The Job Title. @@ -79,20 +87,20 @@ public class Employee extends Entity implements IJsonBackedObject { public String jobTitle; /** - * The Address. + * The Last Modified Date Time. * */ - @SerializedName("address") + @SerializedName("lastModifiedDateTime") @Expose - public PostalAddressType address; + public java.util.Calendar lastModifiedDateTime; /** - * The Phone Number. + * The Middle Name. * */ - @SerializedName("phoneNumber") + @SerializedName("middleName") @Expose - public String phoneNumber; + public String middleName; /** * The Mobile Phone. @@ -103,12 +111,12 @@ public class Employee extends Entity implements IJsonBackedObject { public String mobilePhone; /** - * The Email. + * The Number. * */ - @SerializedName("email") + @SerializedName("number") @Expose - public String email; + public String number; /** * The Personal Email. @@ -119,20 +127,20 @@ public class Employee extends Entity implements IJsonBackedObject { public String personalEmail; /** - * The Employment Date. + * The Phone Number. * */ - @SerializedName("employmentDate") + @SerializedName("phoneNumber") @Expose - public com.microsoft.graph.models.extensions.DateOnly employmentDate; + public String phoneNumber; /** - * The Termination Date. + * The Statistics Group Code. * */ - @SerializedName("terminationDate") + @SerializedName("statisticsGroupCode") @Expose - public com.microsoft.graph.models.extensions.DateOnly terminationDate; + public String statisticsGroupCode; /** * The Status. @@ -143,28 +151,20 @@ public class Employee extends Entity implements IJsonBackedObject { public String status; /** - * The Birth Date. - * - */ - @SerializedName("birthDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly birthDate; - - /** - * The Statistics Group Code. + * The Surname. * */ - @SerializedName("statisticsGroupCode") + @SerializedName("surname") @Expose - public String statisticsGroupCode; + public String surname; /** - * The Last Modified Date Time. + * The Termination Date. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("terminationDate") @Expose - public java.util.Calendar lastModifiedDateTime; + public com.microsoft.graph.models.extensions.DateOnly terminationDate; /** * The Picture. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EncryptWithTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/EncryptWithTemplate.java index a8a32dc1bbe..b08b40ed4f3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EncryptWithTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EncryptWithTemplate.java @@ -27,20 +27,20 @@ public class EncryptWithTemplate extends EncryptContent implements IJsonBackedOb /** - * The Template Id. + * The Available For Encryption. * */ - @SerializedName("templateId") + @SerializedName("availableForEncryption") @Expose - public String templateId; + public Boolean availableForEncryption; /** - * The Available For Encryption. + * The Template Id. * */ - @SerializedName("availableForEncryption") + @SerializedName("templateId") @Expose - public Boolean availableForEncryption; + public String templateId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EncryptWithUserDefinedRights.java b/src/main/java/com/microsoft/graph/models/extensions/EncryptWithUserDefinedRights.java index 48335a390c8..487b23350fd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EncryptWithUserDefinedRights.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EncryptWithUserDefinedRights.java @@ -27,12 +27,12 @@ public class EncryptWithUserDefinedRights extends EncryptContent implements IJso /** - * The Decryption Rights Management Template Id. + * The Allow Ad Hoc Permissions. * */ - @SerializedName("decryptionRightsManagementTemplateId") + @SerializedName("allowAdHocPermissions") @Expose - public String decryptionRightsManagementTemplateId; + public Boolean allowAdHocPermissions; /** * The Allow Mail Forwarding. @@ -43,12 +43,12 @@ public class EncryptWithUserDefinedRights extends EncryptContent implements IJso public Boolean allowMailForwarding; /** - * The Allow Ad Hoc Permissions. + * The Decryption Rights Management Template Id. * */ - @SerializedName("allowAdHocPermissions") + @SerializedName("decryptionRightsManagementTemplateId") @Expose - public Boolean allowAdHocPermissions; + public String decryptionRightsManagementTemplateId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Endpoint.java b/src/main/java/com/microsoft/graph/models/extensions/Endpoint.java index 00defc11772..e4e0b8aace7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Endpoint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Endpoint.java @@ -50,14 +50,6 @@ public class Endpoint extends DirectoryObject implements IJsonBackedObject { @Expose public String providerName; - /** - * The Uri. - * URL of the published resource. Not nullable. Read-only. - */ - @SerializedName("uri") - @Expose - public String uri; - /** * The Provider Resource Id. * For Microsoft 365 groups, this is set to a well-known name for the resource (e.g. Yammer.FeedURL etc.). Not nullable. Read-only. @@ -66,6 +58,14 @@ public class Endpoint extends DirectoryObject implements IJsonBackedObject { @Expose public String providerResourceId; + /** + * The Uri. + * URL of the published resource. Not nullable. Read-only. + */ + @SerializedName("uri") + @Expose + public String uri; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java index 822fb2b66ae..9e6594f062b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentConfigurationAssignment.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.generated.DeviceAndAppManagementAssignmentSource; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.Entity; @@ -28,14 +28,6 @@ public class EnrollmentConfigurationAssignment extends Entity implements IJsonBackedObject { - /** - * The Target. - * Not yet documented - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - /** * The Source. * Type of resource used for deployment to a group, direct or policySet @@ -52,6 +44,14 @@ public class EnrollmentConfigurationAssignment extends Entity implements IJsonBa @Expose public String sourceId; + /** + * The Target. + * Not yet documented + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentProfile.java b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentProfile.java index e0c8fb2666e..ee563280173 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentProfile.java @@ -27,12 +27,12 @@ public class EnrollmentProfile extends Entity implements IJsonBackedObject { /** - * The Display Name. - * Name of the profile + * The Configuration Endpoint Url. + * Configuration endpoint url to use for Enrollment */ - @SerializedName("displayName") + @SerializedName("configurationEndpointUrl") @Expose - public String displayName; + public String configurationEndpointUrl; /** * The Description. @@ -43,20 +43,12 @@ public class EnrollmentProfile extends Entity implements IJsonBackedObject { public String description; /** - * The Requires User Authentication. - * Indicates if the profile requires user authentication - */ - @SerializedName("requiresUserAuthentication") - @Expose - public Boolean requiresUserAuthentication; - - /** - * The Configuration Endpoint Url. - * Configuration endpoint url to use for Enrollment + * The Display Name. + * Name of the profile */ - @SerializedName("configurationEndpointUrl") + @SerializedName("displayName") @Expose - public String configurationEndpointUrl; + public String displayName; /** * The Enable Authentication Via Company Portal. @@ -74,6 +66,14 @@ public class EnrollmentProfile extends Entity implements IJsonBackedObject { @Expose public Boolean requireCompanyPortalOnSetupAssistantEnrolledDevices; + /** + * The Requires User Authentication. + * Indicates if the profile requires user authentication + */ + @SerializedName("requiresUserAuthentication") + @Expose + public Boolean requiresUserAuthentication; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentRestrictionsConfigurationPolicySetItem.java b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentRestrictionsConfigurationPolicySetItem.java index 31f2680be4d..80caffc6c20 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentRestrictionsConfigurationPolicySetItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentRestrictionsConfigurationPolicySetItem.java @@ -26,14 +26,6 @@ public class EnrollmentRestrictionsConfigurationPolicySetItem extends PolicySetItem implements IJsonBackedObject { - /** - * The Priority. - * Priority of the EnrollmentRestrictionsConfigurationPolicySetItem. - */ - @SerializedName("priority") - @Expose - public Integer priority; - /** * The Limit. * Limit of the EnrollmentRestrictionsConfigurationPolicySetItem. @@ -42,6 +34,14 @@ public class EnrollmentRestrictionsConfigurationPolicySetItem extends PolicySetI @Expose public Integer limit; + /** + * The Priority. + * Priority of the EnrollmentRestrictionsConfigurationPolicySetItem. + */ + @SerializedName("priority") + @Expose + public Integer priority; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java index 30e37acaf0e..51cfcf571f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EnrollmentTroubleshootingEvent.java @@ -28,38 +28,6 @@ public class EnrollmentTroubleshootingEvent extends DeviceManagementTroubleshootingEvent implements IJsonBackedObject { - /** - * The Managed Device Identifier. - * Device identifier created or collected by Intune. - */ - @SerializedName("managedDeviceIdentifier") - @Expose - public String managedDeviceIdentifier; - - /** - * The Operating System. - * Operating System. - */ - @SerializedName("operatingSystem") - @Expose - public String operatingSystem; - - /** - * The Os Version. - * OS Version. - */ - @SerializedName("osVersion") - @Expose - public String osVersion; - - /** - * The User Id. - * Identifier for the user that tried to enroll the device. - */ - @SerializedName("userId") - @Expose - public String userId; - /** * The Device Id. * Azure AD device identifier. @@ -92,6 +60,38 @@ public class EnrollmentTroubleshootingEvent extends DeviceManagementTroubleshoot @Expose public String failureReason; + /** + * The Managed Device Identifier. + * Device identifier created or collected by Intune. + */ + @SerializedName("managedDeviceIdentifier") + @Expose + public String managedDeviceIdentifier; + + /** + * The Operating System. + * Operating System. + */ + @SerializedName("operatingSystem") + @Expose + public String operatingSystem; + + /** + * The Os Version. + * OS Version. + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + + /** + * The User Id. + * Identifier for the user that tried to enroll the device. + */ + @SerializedName("userId") + @Expose + public String userId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EnterpriseCodeSigningCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/EnterpriseCodeSigningCertificate.java index 1d1bf26a1c5..2c34f476f15 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EnterpriseCodeSigningCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EnterpriseCodeSigningCertificate.java @@ -36,28 +36,20 @@ public class EnterpriseCodeSigningCertificate extends Entity implements IJsonBac public byte[] content; /** - * The Status. - * The Certificate Status Provisioned or not Provisioned. - */ - @SerializedName("status") - @Expose - public CertificateStatus status; - - /** - * The Subject Name. - * The Subject Name for the cert. + * The Expiration Date Time. + * The Cert Expiration Date. */ - @SerializedName("subjectName") + @SerializedName("expirationDateTime") @Expose - public String subjectName; + public java.util.Calendar expirationDateTime; /** - * The Subject. - * The Subject Value for the cert. + * The Issuer. + * The Issuer value for the cert. */ - @SerializedName("subject") + @SerializedName("issuer") @Expose - public String subject; + public String issuer; /** * The Issuer Name. @@ -68,20 +60,28 @@ public class EnterpriseCodeSigningCertificate extends Entity implements IJsonBac public String issuerName; /** - * The Issuer. - * The Issuer value for the cert. + * The Status. + * The Certificate Status Provisioned or not Provisioned. */ - @SerializedName("issuer") + @SerializedName("status") @Expose - public String issuer; + public CertificateStatus status; /** - * The Expiration Date Time. - * The Cert Expiration Date. + * The Subject. + * The Subject Value for the cert. */ - @SerializedName("expirationDateTime") + @SerializedName("subject") @Expose - public java.util.Calendar expirationDateTime; + public String subject; + + /** + * The Subject Name. + * The Subject Name for the cert. + */ + @SerializedName("subjectName") + @Expose + public String subjectName; /** * The Upload Date Time. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagement.java b/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagement.java index b42a482b56d..fe5f73542f2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagement.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagement.java @@ -8,36 +8,36 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AccessPackageAssignmentPolicy; +import com.microsoft.graph.models.extensions.AccessPackageAssignmentRequest; +import com.microsoft.graph.models.extensions.AccessPackageAssignmentResourceRole; +import com.microsoft.graph.models.extensions.AccessPackageAssignment; import com.microsoft.graph.models.extensions.AccessPackageCatalog; -import com.microsoft.graph.models.extensions.AccessPackageResource; import com.microsoft.graph.models.extensions.AccessPackageResourceRequest; import com.microsoft.graph.models.extensions.AccessPackageResourceRoleScope; +import com.microsoft.graph.models.extensions.AccessPackageResource; import com.microsoft.graph.models.extensions.AccessPackage; -import com.microsoft.graph.models.extensions.AccessPackageAssignmentPolicy; -import com.microsoft.graph.models.extensions.AccessPackageAssignment; -import com.microsoft.graph.models.extensions.AccessPackageAssignmentRequest; -import com.microsoft.graph.models.extensions.AccessPackageAssignmentResourceRole; -import com.microsoft.graph.models.extensions.EntitlementManagementSettings; import com.microsoft.graph.models.extensions.ConnectedOrganization; +import com.microsoft.graph.models.extensions.EntitlementManagementSettings; import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentPolicyCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentRequestCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentRequestCollectionPage; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentResourceRoleCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentResourceRoleCollectionPage; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageCatalogCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageCatalogCollectionPage; -import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageResourceRequestCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageResourceRequestCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleScopeCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageResourceRoleScopeCollectionPage; +import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionResponse; +import com.microsoft.graph.requests.extensions.AccessPackageResourceCollectionPage; import com.microsoft.graph.requests.extensions.AccessPackageCollectionResponse; import com.microsoft.graph.requests.extensions.AccessPackageCollectionPage; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentPolicyCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentPolicyCollectionPage; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentCollectionPage; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentRequestCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentRequestCollectionPage; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentResourceRoleCollectionResponse; -import com.microsoft.graph.requests.extensions.AccessPackageAssignmentResourceRoleCollectionPage; import com.microsoft.graph.requests.extensions.ConnectedOrganizationCollectionResponse; import com.microsoft.graph.requests.extensions.ConnectedOrganizationCollectionPage; @@ -58,72 +58,72 @@ public class EntitlementManagement extends Entity implements IJsonBackedObject { /** - * The Access Package Catalogs. + * The Access Package Assignment Policies. * */ - public AccessPackageCatalogCollectionPage accessPackageCatalogs; + public AccessPackageAssignmentPolicyCollectionPage accessPackageAssignmentPolicies; /** - * The Access Package Resources. + * The Access Package Assignment Requests. * */ - public AccessPackageResourceCollectionPage accessPackageResources; + public AccessPackageAssignmentRequestCollectionPage accessPackageAssignmentRequests; /** - * The Access Package Resource Requests. + * The Access Package Assignment Resource Roles. * */ - public AccessPackageResourceRequestCollectionPage accessPackageResourceRequests; + public AccessPackageAssignmentResourceRoleCollectionPage accessPackageAssignmentResourceRoles; /** - * The Access Package Resource Role Scopes. + * The Access Package Assignments. * */ - public AccessPackageResourceRoleScopeCollectionPage accessPackageResourceRoleScopes; + public AccessPackageAssignmentCollectionPage accessPackageAssignments; /** - * The Access Packages. + * The Access Package Catalogs. * */ - public AccessPackageCollectionPage accessPackages; + public AccessPackageCatalogCollectionPage accessPackageCatalogs; /** - * The Access Package Assignment Policies. + * The Access Package Resource Requests. * */ - public AccessPackageAssignmentPolicyCollectionPage accessPackageAssignmentPolicies; + public AccessPackageResourceRequestCollectionPage accessPackageResourceRequests; /** - * The Access Package Assignments. + * The Access Package Resource Role Scopes. * */ - public AccessPackageAssignmentCollectionPage accessPackageAssignments; + public AccessPackageResourceRoleScopeCollectionPage accessPackageResourceRoleScopes; /** - * The Access Package Assignment Requests. + * The Access Package Resources. * */ - public AccessPackageAssignmentRequestCollectionPage accessPackageAssignmentRequests; + public AccessPackageResourceCollectionPage accessPackageResources; /** - * The Access Package Assignment Resource Roles. + * The Access Packages. * */ - public AccessPackageAssignmentResourceRoleCollectionPage accessPackageAssignmentResourceRoles; + public AccessPackageCollectionPage accessPackages; /** - * The Settings. + * The Connected Organizations. * */ - @SerializedName("settings") - @Expose - public EntitlementManagementSettings settings; + public ConnectedOrganizationCollectionPage connectedOrganizations; /** - * The Connected Organizations. + * The Settings. * */ - public ConnectedOrganizationCollectionPage connectedOrganizations; + @SerializedName("settings") + @Expose + public EntitlementManagementSettings settings; /** @@ -165,148 +165,148 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("accessPackageCatalogs")) { - final AccessPackageCatalogCollectionResponse response = new AccessPackageCatalogCollectionResponse(); - if (json.has("accessPackageCatalogs@odata.nextLink")) { - response.nextLink = json.get("accessPackageCatalogs@odata.nextLink").getAsString(); + if (json.has("accessPackageAssignmentPolicies")) { + final AccessPackageAssignmentPolicyCollectionResponse response = new AccessPackageAssignmentPolicyCollectionResponse(); + if (json.has("accessPackageAssignmentPolicies@odata.nextLink")) { + response.nextLink = json.get("accessPackageAssignmentPolicies@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageCatalogs").toString(), JsonObject[].class); - final AccessPackageCatalog[] array = new AccessPackageCatalog[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignmentPolicies").toString(), JsonObject[].class); + final AccessPackageAssignmentPolicy[] array = new AccessPackageAssignmentPolicy[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageCatalog.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignmentPolicy.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageCatalogs = new AccessPackageCatalogCollectionPage(response, null); + accessPackageAssignmentPolicies = new AccessPackageAssignmentPolicyCollectionPage(response, null); } - if (json.has("accessPackageResources")) { - final AccessPackageResourceCollectionResponse response = new AccessPackageResourceCollectionResponse(); - if (json.has("accessPackageResources@odata.nextLink")) { - response.nextLink = json.get("accessPackageResources@odata.nextLink").getAsString(); + if (json.has("accessPackageAssignmentRequests")) { + final AccessPackageAssignmentRequestCollectionResponse response = new AccessPackageAssignmentRequestCollectionResponse(); + if (json.has("accessPackageAssignmentRequests@odata.nextLink")) { + response.nextLink = json.get("accessPackageAssignmentRequests@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResources").toString(), JsonObject[].class); - final AccessPackageResource[] array = new AccessPackageResource[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignmentRequests").toString(), JsonObject[].class); + final AccessPackageAssignmentRequest[] array = new AccessPackageAssignmentRequest[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResource.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignmentRequest.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageResources = new AccessPackageResourceCollectionPage(response, null); + accessPackageAssignmentRequests = new AccessPackageAssignmentRequestCollectionPage(response, null); } - if (json.has("accessPackageResourceRequests")) { - final AccessPackageResourceRequestCollectionResponse response = new AccessPackageResourceRequestCollectionResponse(); - if (json.has("accessPackageResourceRequests@odata.nextLink")) { - response.nextLink = json.get("accessPackageResourceRequests@odata.nextLink").getAsString(); + if (json.has("accessPackageAssignmentResourceRoles")) { + final AccessPackageAssignmentResourceRoleCollectionResponse response = new AccessPackageAssignmentResourceRoleCollectionResponse(); + if (json.has("accessPackageAssignmentResourceRoles@odata.nextLink")) { + response.nextLink = json.get("accessPackageAssignmentResourceRoles@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceRequests").toString(), JsonObject[].class); - final AccessPackageResourceRequest[] array = new AccessPackageResourceRequest[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignmentResourceRoles").toString(), JsonObject[].class); + final AccessPackageAssignmentResourceRole[] array = new AccessPackageAssignmentResourceRole[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceRequest.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignmentResourceRole.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageResourceRequests = new AccessPackageResourceRequestCollectionPage(response, null); + accessPackageAssignmentResourceRoles = new AccessPackageAssignmentResourceRoleCollectionPage(response, null); } - if (json.has("accessPackageResourceRoleScopes")) { - final AccessPackageResourceRoleScopeCollectionResponse response = new AccessPackageResourceRoleScopeCollectionResponse(); - if (json.has("accessPackageResourceRoleScopes@odata.nextLink")) { - response.nextLink = json.get("accessPackageResourceRoleScopes@odata.nextLink").getAsString(); + if (json.has("accessPackageAssignments")) { + final AccessPackageAssignmentCollectionResponse response = new AccessPackageAssignmentCollectionResponse(); + if (json.has("accessPackageAssignments@odata.nextLink")) { + response.nextLink = json.get("accessPackageAssignments@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceRoleScopes").toString(), JsonObject[].class); - final AccessPackageResourceRoleScope[] array = new AccessPackageResourceRoleScope[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignments").toString(), JsonObject[].class); + final AccessPackageAssignment[] array = new AccessPackageAssignment[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceRoleScope.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignment.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageResourceRoleScopes = new AccessPackageResourceRoleScopeCollectionPage(response, null); + accessPackageAssignments = new AccessPackageAssignmentCollectionPage(response, null); } - if (json.has("accessPackages")) { - final AccessPackageCollectionResponse response = new AccessPackageCollectionResponse(); - if (json.has("accessPackages@odata.nextLink")) { - response.nextLink = json.get("accessPackages@odata.nextLink").getAsString(); + if (json.has("accessPackageCatalogs")) { + final AccessPackageCatalogCollectionResponse response = new AccessPackageCatalogCollectionResponse(); + if (json.has("accessPackageCatalogs@odata.nextLink")) { + response.nextLink = json.get("accessPackageCatalogs@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackages").toString(), JsonObject[].class); - final AccessPackage[] array = new AccessPackage[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageCatalogs").toString(), JsonObject[].class); + final AccessPackageCatalog[] array = new AccessPackageCatalog[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackage.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageCatalog.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackages = new AccessPackageCollectionPage(response, null); + accessPackageCatalogs = new AccessPackageCatalogCollectionPage(response, null); } - if (json.has("accessPackageAssignmentPolicies")) { - final AccessPackageAssignmentPolicyCollectionResponse response = new AccessPackageAssignmentPolicyCollectionResponse(); - if (json.has("accessPackageAssignmentPolicies@odata.nextLink")) { - response.nextLink = json.get("accessPackageAssignmentPolicies@odata.nextLink").getAsString(); + if (json.has("accessPackageResourceRequests")) { + final AccessPackageResourceRequestCollectionResponse response = new AccessPackageResourceRequestCollectionResponse(); + if (json.has("accessPackageResourceRequests@odata.nextLink")) { + response.nextLink = json.get("accessPackageResourceRequests@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignmentPolicies").toString(), JsonObject[].class); - final AccessPackageAssignmentPolicy[] array = new AccessPackageAssignmentPolicy[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceRequests").toString(), JsonObject[].class); + final AccessPackageResourceRequest[] array = new AccessPackageResourceRequest[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignmentPolicy.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceRequest.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageAssignmentPolicies = new AccessPackageAssignmentPolicyCollectionPage(response, null); + accessPackageResourceRequests = new AccessPackageResourceRequestCollectionPage(response, null); } - if (json.has("accessPackageAssignments")) { - final AccessPackageAssignmentCollectionResponse response = new AccessPackageAssignmentCollectionResponse(); - if (json.has("accessPackageAssignments@odata.nextLink")) { - response.nextLink = json.get("accessPackageAssignments@odata.nextLink").getAsString(); + if (json.has("accessPackageResourceRoleScopes")) { + final AccessPackageResourceRoleScopeCollectionResponse response = new AccessPackageResourceRoleScopeCollectionResponse(); + if (json.has("accessPackageResourceRoleScopes@odata.nextLink")) { + response.nextLink = json.get("accessPackageResourceRoleScopes@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignments").toString(), JsonObject[].class); - final AccessPackageAssignment[] array = new AccessPackageAssignment[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResourceRoleScopes").toString(), JsonObject[].class); + final AccessPackageResourceRoleScope[] array = new AccessPackageResourceRoleScope[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignment.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResourceRoleScope.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageAssignments = new AccessPackageAssignmentCollectionPage(response, null); + accessPackageResourceRoleScopes = new AccessPackageResourceRoleScopeCollectionPage(response, null); } - if (json.has("accessPackageAssignmentRequests")) { - final AccessPackageAssignmentRequestCollectionResponse response = new AccessPackageAssignmentRequestCollectionResponse(); - if (json.has("accessPackageAssignmentRequests@odata.nextLink")) { - response.nextLink = json.get("accessPackageAssignmentRequests@odata.nextLink").getAsString(); + if (json.has("accessPackageResources")) { + final AccessPackageResourceCollectionResponse response = new AccessPackageResourceCollectionResponse(); + if (json.has("accessPackageResources@odata.nextLink")) { + response.nextLink = json.get("accessPackageResources@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignmentRequests").toString(), JsonObject[].class); - final AccessPackageAssignmentRequest[] array = new AccessPackageAssignmentRequest[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageResources").toString(), JsonObject[].class); + final AccessPackageResource[] array = new AccessPackageResource[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignmentRequest.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageResource.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageAssignmentRequests = new AccessPackageAssignmentRequestCollectionPage(response, null); + accessPackageResources = new AccessPackageResourceCollectionPage(response, null); } - if (json.has("accessPackageAssignmentResourceRoles")) { - final AccessPackageAssignmentResourceRoleCollectionResponse response = new AccessPackageAssignmentResourceRoleCollectionResponse(); - if (json.has("accessPackageAssignmentResourceRoles@odata.nextLink")) { - response.nextLink = json.get("accessPackageAssignmentResourceRoles@odata.nextLink").getAsString(); + if (json.has("accessPackages")) { + final AccessPackageCollectionResponse response = new AccessPackageCollectionResponse(); + if (json.has("accessPackages@odata.nextLink")) { + response.nextLink = json.get("accessPackages@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackageAssignmentResourceRoles").toString(), JsonObject[].class); - final AccessPackageAssignmentResourceRole[] array = new AccessPackageAssignmentResourceRole[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("accessPackages").toString(), JsonObject[].class); + final AccessPackage[] array = new AccessPackage[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackageAssignmentResourceRole.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), AccessPackage.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - accessPackageAssignmentResourceRoles = new AccessPackageAssignmentResourceRoleCollectionPage(response, null); + accessPackages = new AccessPackageCollectionPage(response, null); } if (json.has("connectedOrganizations")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagementSettings.java b/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagementSettings.java index 2ca952d0637..88055b69f94 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagementSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EntitlementManagementSettings.java @@ -27,20 +27,20 @@ public class EntitlementManagementSettings extends Entity implements IJsonBacked /** - * The External User Lifecycle Action. + * The Days Until External User Deleted After Blocked. * */ - @SerializedName("externalUserLifecycleAction") + @SerializedName("daysUntilExternalUserDeletedAfterBlocked") @Expose - public String externalUserLifecycleAction; + public Integer daysUntilExternalUserDeletedAfterBlocked; /** - * The Days Until External User Deleted After Blocked. + * The External User Lifecycle Action. * */ - @SerializedName("daysUntilExternalUserDeletedAfterBlocked") + @SerializedName("externalUserLifecycleAction") @Expose - public Integer daysUntilExternalUserDeletedAfterBlocked; + public String externalUserLifecycleAction; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ErrorDetail.java b/src/main/java/com/microsoft/graph/models/extensions/ErrorDetail.java index 808a813c068..e5cfadbff43 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ErrorDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ErrorDetail.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Details. + * + */ + @SerializedName("details") + @Expose + public java.util.List details; + /** * The Error Code. * @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String message; - /** - * The Details. - * - */ - @SerializedName("details") - @Expose - public java.util.List details; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/EvaluateDynamicMembershipResult.java b/src/main/java/com/microsoft/graph/models/extensions/EvaluateDynamicMembershipResult.java index 75c134995a4..4c487859072 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EvaluateDynamicMembershipResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EvaluateDynamicMembershipResult.java @@ -45,20 +45,20 @@ public final AdditionalDataManager additionalDataManager() { public String membershipRule; /** - * The Membership Rule Evaluation Result. + * The Membership Rule Evaluation Details. * */ - @SerializedName("membershipRuleEvaluationResult") + @SerializedName("membershipRuleEvaluationDetails") @Expose - public Boolean membershipRuleEvaluationResult; + public ExpressionEvaluationDetails membershipRuleEvaluationDetails; /** - * The Membership Rule Evaluation Details. + * The Membership Rule Evaluation Result. * */ - @SerializedName("membershipRuleEvaluationDetails") + @SerializedName("membershipRuleEvaluationResult") @Expose - public ExpressionEvaluationDetails membershipRuleEvaluationDetails; + public Boolean membershipRuleEvaluationResult; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelJobResult.java b/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelJobResult.java index 53a1daca1d7..c051c20343f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelJobResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelJobResult.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MatchingLabel; -import com.microsoft.graph.models.extensions.ResponsibleSensitiveType; import com.microsoft.graph.models.extensions.ResponsiblePolicy; +import com.microsoft.graph.models.extensions.ResponsibleSensitiveType; +import com.microsoft.graph.models.extensions.MatchingLabel; import com.google.gson.JsonObject; @@ -39,12 +39,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Sensitivity Label. + * The Responsible Policy. * */ - @SerializedName("sensitivityLabel") + @SerializedName("responsiblePolicy") @Expose - public MatchingLabel sensitivityLabel; + public ResponsiblePolicy responsiblePolicy; /** * The Responsible Sensitive Types. @@ -55,12 +55,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List responsibleSensitiveTypes; /** - * The Responsible Policy. + * The Sensitivity Label. * */ - @SerializedName("responsiblePolicy") + @SerializedName("sensitivityLabel") @Expose - public ResponsiblePolicy responsiblePolicy; + public MatchingLabel sensitivityLabel; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelsAndPoliciesResult.java b/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelsAndPoliciesResult.java index c2d1f6d3efb..38b6b359fef 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelsAndPoliciesResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EvaluateLabelsAndPoliciesResult.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EvaluateLabelJobResultGroup; -import com.microsoft.graph.models.extensions.DlpPoliciesJobResult; import com.microsoft.graph.models.extensions.DetectedSensitiveContentWrapper; +import com.microsoft.graph.models.extensions.DlpPoliciesJobResult; +import com.microsoft.graph.models.extensions.EvaluateLabelJobResultGroup; import com.google.gson.JsonObject; @@ -39,12 +39,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Sensitivity Labels Result. + * The Classification Result. * */ - @SerializedName("sensitivityLabelsResult") + @SerializedName("classificationResult") @Expose - public EvaluateLabelJobResultGroup sensitivityLabelsResult; + public DetectedSensitiveContentWrapper classificationResult; /** * The Data Loss Prevention Policies Result. @@ -55,12 +55,12 @@ public final AdditionalDataManager additionalDataManager() { public DlpPoliciesJobResult dataLossPreventionPoliciesResult; /** - * The Classification Result. + * The Sensitivity Labels Result. * */ - @SerializedName("classificationResult") + @SerializedName("sensitivityLabelsResult") @Expose - public DetectedSensitiveContentWrapper classificationResult; + public EvaluateLabelJobResultGroup sensitivityLabelsResult; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/EvaluateSensitivityLabelsRequest.java b/src/main/java/com/microsoft/graph/models/extensions/EvaluateSensitivityLabelsRequest.java index 5b7fbd8bcdb..5c7ed34f423 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EvaluateSensitivityLabelsRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EvaluateSensitivityLabelsRequest.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DiscoveredSensitiveType; import com.microsoft.graph.models.extensions.CurrentLabel; +import com.microsoft.graph.models.extensions.DiscoveredSensitiveType; import com.google.gson.JsonObject; @@ -38,20 +38,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Discovered Sensitive Types. + * The Current Label. * */ - @SerializedName("discoveredSensitiveTypes") + @SerializedName("currentLabel") @Expose - public java.util.List discoveredSensitiveTypes; + public CurrentLabel currentLabel; /** - * The Current Label. + * The Discovered Sensitive Types. * */ - @SerializedName("currentLabel") + @SerializedName("discoveredSensitiveTypes") @Expose - public CurrentLabel currentLabel; + public java.util.List discoveredSensitiveTypes; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Event.java b/src/main/java/com/microsoft/graph/models/extensions/Event.java index 167411c80fe..175dbf3d4b5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Event.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Event.java @@ -8,36 +8,36 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ResponseStatus; +import com.microsoft.graph.models.extensions.Attendee; import com.microsoft.graph.models.extensions.ItemBody; -import com.microsoft.graph.models.generated.Importance; -import com.microsoft.graph.models.generated.Sensitivity; import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.models.generated.Importance; import com.microsoft.graph.models.extensions.Location; +import com.microsoft.graph.models.extensions.OnlineMeetingInfo; +import com.microsoft.graph.models.generated.OnlineMeetingProviderType; +import com.microsoft.graph.models.extensions.Recipient; import com.microsoft.graph.models.extensions.PatternedRecurrence; +import com.microsoft.graph.models.extensions.ResponseStatus; +import com.microsoft.graph.models.generated.Sensitivity; import com.microsoft.graph.models.generated.FreeBusyStatus; import com.microsoft.graph.models.generated.EventType; -import com.microsoft.graph.models.extensions.Attendee; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.generated.OnlineMeetingProviderType; -import com.microsoft.graph.models.extensions.OnlineMeetingInfo; -import com.microsoft.graph.models.extensions.Event; import com.microsoft.graph.models.extensions.Attachment; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.models.extensions.Event; import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.extensions.EventCollectionResponse; -import com.microsoft.graph.requests.extensions.EventCollectionPage; import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.EventCollectionResponse; +import com.microsoft.graph.requests.extensions.EventCollectionPage; import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.google.gson.JsonObject; @@ -56,60 +56,52 @@ public class Event extends OutlookItem implements IJsonBackedObject { /** - * The Transaction Id. - * + * The Allow New Time Proposals. + * True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true. */ - @SerializedName("transactionId") + @SerializedName("allowNewTimeProposals") @Expose - public String transactionId; + public Boolean allowNewTimeProposals; /** - * The Original Start Time Zone. - * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. + * The Attendees. + * The collection of attendees for the event. */ - @SerializedName("originalStartTimeZone") + @SerializedName("attendees") @Expose - public String originalStartTimeZone; + public java.util.List attendees; /** - * The Original End Time Zone. - * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. + * The Body. + * The body of the message associated with the event. It can be in HTML or text format. */ - @SerializedName("originalEndTimeZone") + @SerializedName("body") @Expose - public String originalEndTimeZone; + public ItemBody body; /** - * The Response Status. - * Indicates the type of response sent in response to an event message. + * The Body Preview. + * The preview of the message associated with the event. It is in text format. */ - @SerializedName("responseStatus") + @SerializedName("bodyPreview") @Expose - public ResponseStatus responseStatus; + public String bodyPreview; /** - * The Uid. + * The Cancelled Occurrences. * */ - @SerializedName("uid") - @Expose - public String uid; - - /** - * The Reminder Minutes Before Start. - * The number of minutes before the event start time that the reminder alert occurs. - */ - @SerializedName("reminderMinutesBeforeStart") + @SerializedName("cancelledOccurrences") @Expose - public Integer reminderMinutesBeforeStart; + public java.util.List cancelledOccurrences; /** - * The Is Reminder On. - * Set to true if an alert is set to remind the user of the event. + * The End. + * The date, time, and time zone that the event ends. By default, the end time is in UTC. */ - @SerializedName("isReminderOn") + @SerializedName("end") @Expose - public Boolean isReminderOn; + public DateTimeTimeZone end; /** * The Has Attachments. @@ -120,68 +112,60 @@ public class Event extends OutlookItem implements IJsonBackedObject { public Boolean hasAttachments; /** - * The Subject. - * The text of the event's subject line. - */ - @SerializedName("subject") - @Expose - public String subject; - - /** - * The Body. - * The body of the message associated with the event. It can be in HTML or text format. + * The Importance. + * The importance of the event. The possible values are: low, normal, high. */ - @SerializedName("body") + @SerializedName("importance") @Expose - public ItemBody body; + public Importance importance; /** - * The Body Preview. - * The preview of the message associated with the event. It is in text format. + * The Is All Day. + * Set to true if the event lasts all day. */ - @SerializedName("bodyPreview") + @SerializedName("isAllDay") @Expose - public String bodyPreview; + public Boolean isAllDay; /** - * The Importance. - * The importance of the event. The possible values are: low, normal, high. + * The Is Cancelled. + * Set to true if the event has been canceled. */ - @SerializedName("importance") + @SerializedName("isCancelled") @Expose - public Importance importance; + public Boolean isCancelled; /** - * The Sensitivity. - * The possible values are: normal, personal, private, confidential. + * The Is Draft. + * */ - @SerializedName("sensitivity") + @SerializedName("isDraft") @Expose - public Sensitivity sensitivity; + public Boolean isDraft; /** - * The Start. - * The date, time, and time zone that the event starts. By default, the start time is in UTC. + * The Is Online Meeting. + * True if this event has online meeting information, false otherwise. Default is false. Optional. */ - @SerializedName("start") + @SerializedName("isOnlineMeeting") @Expose - public DateTimeTimeZone start; + public Boolean isOnlineMeeting; /** - * The Original Start. - * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Is Organizer. + * Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner. */ - @SerializedName("originalStart") + @SerializedName("isOrganizer") @Expose - public java.util.Calendar originalStart; + public Boolean isOrganizer; /** - * The End. - * The date, time, and time zone that the event ends. By default, the end time is in UTC. + * The Is Reminder On. + * Set to true if an alert is set to remind the user of the event. */ - @SerializedName("end") + @SerializedName("isReminderOn") @Expose - public DateTimeTimeZone end; + public Boolean isReminderOn; /** * The Location. @@ -200,162 +184,172 @@ public class Event extends OutlookItem implements IJsonBackedObject { public java.util.List locations; /** - * The Is All Day. - * Set to true if the event lasts all day. + * The Occurrence Id. + * */ - @SerializedName("isAllDay") + @SerializedName("occurrenceId") @Expose - public Boolean isAllDay; + public String occurrenceId; /** - * The Is Cancelled. - * Set to true if the event has been canceled. + * The Online Meeting. + * Details for an attendee to join the meeting online. Read-only. */ - @SerializedName("isCancelled") + @SerializedName("onlineMeeting") @Expose - public Boolean isCancelled; + public OnlineMeetingInfo onlineMeeting; /** - * The Is Organizer. - * Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner. + * The Online Meeting Provider. + * Represents the online meeting service provider. The possible values are teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. */ - @SerializedName("isOrganizer") + @SerializedName("onlineMeetingProvider") @Expose - public Boolean isOrganizer; + public OnlineMeetingProviderType onlineMeetingProvider; /** - * The Recurrence. - * The recurrence pattern for the event. + * The Online Meeting Url. + * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. */ - @SerializedName("recurrence") + @SerializedName("onlineMeetingUrl") @Expose - public PatternedRecurrence recurrence; + public String onlineMeetingUrl; /** - * The Response Requested. - * Default is true, which represents the organizer would like an invitee to send a response to the event. + * The Organizer. + * The organizer of the event. */ - @SerializedName("responseRequested") + @SerializedName("organizer") @Expose - public Boolean responseRequested; + public Recipient organizer; /** - * The Series Master Id. - * The ID for the recurring series master item, if this event is part of a recurring series. + * The Original End Time Zone. + * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. */ - @SerializedName("seriesMasterId") + @SerializedName("originalEndTimeZone") @Expose - public String seriesMasterId; + public String originalEndTimeZone; /** - * The Show As. - * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * The Original Start. + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("showAs") + @SerializedName("originalStart") @Expose - public FreeBusyStatus showAs; + public java.util.Calendar originalStart; /** - * The Type. - * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. + * The Original Start Time Zone. + * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. */ - @SerializedName("type") + @SerializedName("originalStartTimeZone") @Expose - public EventType type; + public String originalStartTimeZone; /** - * The Attendees. - * The collection of attendees for the event. + * The Recurrence. + * The recurrence pattern for the event. */ - @SerializedName("attendees") + @SerializedName("recurrence") @Expose - public java.util.List attendees; + public PatternedRecurrence recurrence; /** - * The Organizer. - * The organizer of the event. + * The Reminder Minutes Before Start. + * The number of minutes before the event start time that the reminder alert occurs. */ - @SerializedName("organizer") + @SerializedName("reminderMinutesBeforeStart") @Expose - public Recipient organizer; + public Integer reminderMinutesBeforeStart; /** - * The Web Link. - * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL can be accessed from within an iFrame. + * The Response Requested. + * Default is true, which represents the organizer would like an invitee to send a response to the event. */ - @SerializedName("webLink") + @SerializedName("responseRequested") @Expose - public String webLink; + public Boolean responseRequested; /** - * The Online Meeting Url. - * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. + * The Response Status. + * Indicates the type of response sent in response to an event message. */ - @SerializedName("onlineMeetingUrl") + @SerializedName("responseStatus") @Expose - public String onlineMeetingUrl; + public ResponseStatus responseStatus; /** - * The Is Online Meeting. - * True if this event has online meeting information, false otherwise. Default is false. Optional. + * The Sensitivity. + * The possible values are: normal, personal, private, confidential. */ - @SerializedName("isOnlineMeeting") + @SerializedName("sensitivity") @Expose - public Boolean isOnlineMeeting; + public Sensitivity sensitivity; /** - * The Online Meeting Provider. - * Represents the online meeting service provider. The possible values are teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. + * The Series Master Id. + * The ID for the recurring series master item, if this event is part of a recurring series. */ - @SerializedName("onlineMeetingProvider") + @SerializedName("seriesMasterId") @Expose - public OnlineMeetingProviderType onlineMeetingProvider; + public String seriesMasterId; /** - * The Online Meeting. - * Details for an attendee to join the meeting online. Read-only. + * The Show As. + * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. */ - @SerializedName("onlineMeeting") + @SerializedName("showAs") @Expose - public OnlineMeetingInfo onlineMeeting; + public FreeBusyStatus showAs; /** - * The Allow New Time Proposals. - * True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true. + * The Start. + * The date, time, and time zone that the event starts. By default, the start time is in UTC. */ - @SerializedName("allowNewTimeProposals") + @SerializedName("start") @Expose - public Boolean allowNewTimeProposals; + public DateTimeTimeZone start; /** - * The Cancelled Occurrences. - * + * The Subject. + * The text of the event's subject line. */ - @SerializedName("cancelledOccurrences") + @SerializedName("subject") @Expose - public java.util.List cancelledOccurrences; + public String subject; /** - * The Occurrence Id. + * The Transaction Id. * */ - @SerializedName("occurrenceId") + @SerializedName("transactionId") @Expose - public String occurrenceId; + public String transactionId; /** - * The Is Draft. - * + * The Type. + * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. */ - @SerializedName("isDraft") + @SerializedName("type") @Expose - public Boolean isDraft; + public EventType type; /** - * The Exception Occurrences. + * The Uid. * */ - public EventCollectionPage exceptionOccurrences; + @SerializedName("uid") + @Expose + public String uid; + + /** + * The Web Link. + * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL can be accessed from within an iFrame. + */ + @SerializedName("webLink") + @Expose + public String webLink; /** * The Attachments. @@ -364,24 +358,24 @@ public class Event extends OutlookItem implements IJsonBackedObject { public AttachmentCollectionPage attachments; /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the event. Read-only. Nullable. + * The Calendar. + * The calendar that contains the event. Navigation property. Read-only. */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + @SerializedName("calendar") + @Expose + public Calendar calendar; /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + * The Exception Occurrences. + * */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + public EventCollectionPage exceptionOccurrences; /** - * The Calendar. - * The calendar that contains the event. Navigation property. Read-only. + * The Extensions. + * The collection of open extensions defined for the event. Read-only. Nullable. */ - @SerializedName("calendar") - @Expose - public Calendar calendar; + public ExtensionCollectionPage extensions; /** * The Instances. @@ -390,10 +384,16 @@ public class Event extends OutlookItem implements IJsonBackedObject { public EventCollectionPage instances; /** - * The Extensions. - * The collection of open extensions defined for the event. Read-only. Nullable. + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. */ - public ExtensionCollectionPage extensions; + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the event. Read-only. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** @@ -435,22 +435,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("exceptionOccurrences")) { - final EventCollectionResponse response = new EventCollectionResponse(); - if (json.has("exceptionOccurrences@odata.nextLink")) { - response.nextLink = json.get("exceptionOccurrences@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exceptionOccurrences").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - exceptionOccurrences = new EventCollectionPage(response, null); - } - if (json.has("attachments")) { final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); if (json.has("attachments@odata.nextLink")) { @@ -467,36 +451,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { attachments = new AttachmentCollectionPage(response, null); } - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("exceptionOccurrences")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("exceptionOccurrences@odata.nextLink")) { + response.nextLink = json.get("exceptionOccurrences@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("exceptionOccurrences").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + exceptionOccurrences = new EventCollectionPage(response, null); } - if (json.has("multiValueExtendedProperties")) { - final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + extensions = new ExtensionCollectionPage(response, null); } if (json.has("instances")) { @@ -515,20 +499,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { instances = new EventCollectionPage(response, null); } - if (json.has("extensions")) { - final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); - if (json.has("extensions@odata.nextLink")) { - response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); - final Extension[] array = new Extension[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - extensions = new ExtensionCollectionPage(response, null); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java b/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java index a5233533dae..f0e592817fe 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EventMessage.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.MeetingMessageType; import com.microsoft.graph.models.extensions.DateTimeTimeZone; import com.microsoft.graph.models.extensions.Location; -import com.microsoft.graph.models.generated.EventType; +import com.microsoft.graph.models.generated.MeetingMessageType; import com.microsoft.graph.models.extensions.PatternedRecurrence; +import com.microsoft.graph.models.generated.EventType; import com.microsoft.graph.models.extensions.Event; import com.microsoft.graph.models.extensions.Message; @@ -33,28 +33,36 @@ public class EventMessage extends Message implements IJsonBackedObject { /** - * The Meeting Message Type. - * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. + * The End Date Time. + * */ - @SerializedName("meetingMessageType") + @SerializedName("endDateTime") @Expose - public MeetingMessageType meetingMessageType; + public DateTimeTimeZone endDateTime; /** - * The Start Date Time. + * The Is All Day. * */ - @SerializedName("startDateTime") + @SerializedName("isAllDay") @Expose - public DateTimeTimeZone startDateTime; + public Boolean isAllDay; /** - * The End Date Time. + * The Is Delegated. + * True if this meeting request is accessible to a delegate, false otherwise. Default is false. + */ + @SerializedName("isDelegated") + @Expose + public Boolean isDelegated; + + /** + * The Is Out Of Date. * */ - @SerializedName("endDateTime") + @SerializedName("isOutOfDate") @Expose - public DateTimeTimeZone endDateTime; + public Boolean isOutOfDate; /** * The Location. @@ -65,12 +73,12 @@ public class EventMessage extends Message implements IJsonBackedObject { public Location location; /** - * The Type. - * + * The Meeting Message Type. + * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. */ - @SerializedName("type") + @SerializedName("meetingMessageType") @Expose - public EventType type; + public MeetingMessageType meetingMessageType; /** * The Recurrence. @@ -81,28 +89,20 @@ public class EventMessage extends Message implements IJsonBackedObject { public PatternedRecurrence recurrence; /** - * The Is Out Of Date. + * The Start Date Time. * */ - @SerializedName("isOutOfDate") + @SerializedName("startDateTime") @Expose - public Boolean isOutOfDate; + public DateTimeTimeZone startDateTime; /** - * The Is All Day. + * The Type. * */ - @SerializedName("isAllDay") - @Expose - public Boolean isAllDay; - - /** - * The Is Delegated. - * True if this meeting request is accessible to a delegate, false otherwise. Default is false. - */ - @SerializedName("isDelegated") + @SerializedName("type") @Expose - public Boolean isDelegated; + public EventType type; /** * The Event. diff --git a/src/main/java/com/microsoft/graph/models/extensions/EventMessageRequest.java b/src/main/java/com/microsoft/graph/models/extensions/EventMessageRequest.java index 70ae50c3494..772b408dc11 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/EventMessageRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/EventMessageRequest.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Location; import com.microsoft.graph.models.extensions.DateTimeTimeZone; +import com.microsoft.graph.models.extensions.Location; import com.microsoft.graph.models.extensions.EventMessage; @@ -28,6 +28,22 @@ public class EventMessageRequest extends EventMessage implements IJsonBackedObject { + /** + * The Allow New Time Proposals. + * True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true. + */ + @SerializedName("allowNewTimeProposals") + @Expose + public Boolean allowNewTimeProposals; + + /** + * The Previous End Date Time. + * If the meeting update changes the meeting end time, this property specifies the previous meeting end time. + */ + @SerializedName("previousEndDateTime") + @Expose + public DateTimeTimeZone previousEndDateTime; + /** * The Previous Location. * If the meeting update changes the meeting location, this property specifies the previous meeting location. @@ -44,14 +60,6 @@ public class EventMessageRequest extends EventMessage implements IJsonBackedObje @Expose public DateTimeTimeZone previousStartDateTime; - /** - * The Previous End Date Time. - * If the meeting update changes the meeting end time, this property specifies the previous meeting end time. - */ - @SerializedName("previousEndDateTime") - @Expose - public DateTimeTimeZone previousEndDateTime; - /** * The Response Requested. * Set to true if the sender would like the invitee to send a response to the requested meeting. @@ -60,14 +68,6 @@ public class EventMessageRequest extends EventMessage implements IJsonBackedObje @Expose public Boolean responseRequested; - /** - * The Allow New Time Proposals. - * True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true. - */ - @SerializedName("allowNewTimeProposals") - @Expose - public Boolean allowNewTimeProposals; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchClassificationRequest.java b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchClassificationRequest.java index c398aca7763..e5e12734674 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchClassificationRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchClassificationRequest.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Content Classifications. + * + */ + @SerializedName("contentClassifications") + @Expose + public java.util.List contentClassifications; + /** * The Sensitive Type Ids. * @@ -60,14 +68,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer timeoutInMs; - /** - * The Content Classifications. - * - */ - @SerializedName("contentClassifications") - @Expose - public java.util.List contentClassifications; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchDataStore.java b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchDataStore.java index 10d37ecdd0a..b98cbfd145d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchDataStore.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchDataStore.java @@ -30,12 +30,12 @@ public class ExactMatchDataStore extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Data Last Updated Date Time. * */ - @SerializedName("displayName") + @SerializedName("dataLastUpdatedDateTime") @Expose - public String displayName; + public java.util.Calendar dataLastUpdatedDateTime; /** * The Description. @@ -46,12 +46,12 @@ public class ExactMatchDataStore extends Entity implements IJsonBackedObject { public String description; /** - * The Data Last Updated Date Time. + * The Display Name. * */ - @SerializedName("dataLastUpdatedDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar dataLastUpdatedDateTime; + public String displayName; /** * The Sessions. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchJobBase.java b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchJobBase.java index 080b56132ec..0bda334a243 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchJobBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchJobBase.java @@ -27,6 +27,14 @@ public class ExactMatchJobBase extends Entity implements IJsonBackedObject { + /** + * The Completion Date Time. + * + */ + @SerializedName("completionDateTime") + @Expose + public java.util.Calendar completionDateTime; + /** * The Creation Date Time. * @@ -36,12 +44,12 @@ public class ExactMatchJobBase extends Entity implements IJsonBackedObject { public java.util.Calendar creationDateTime; /** - * The Start Date Time. + * The Error. * */ - @SerializedName("startDateTime") + @SerializedName("error") @Expose - public java.util.Calendar startDateTime; + public ClassificationError error; /** * The Last Updated Date Time. @@ -52,20 +60,12 @@ public class ExactMatchJobBase extends Entity implements IJsonBackedObject { public java.util.Calendar lastUpdatedDateTime; /** - * The Completion Date Time. - * - */ - @SerializedName("completionDateTime") - @Expose - public java.util.Calendar completionDateTime; - - /** - * The Error. + * The Start Date Time. * */ - @SerializedName("error") + @SerializedName("startDateTime") @Expose - public ClassificationError error; + public java.util.Calendar startDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchSession.java b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchSession.java index 4ab8d914104..ac819aa6082 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchSession.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchSession.java @@ -27,6 +27,14 @@ public class ExactMatchSession extends ExactMatchJobBase implements IJsonBackedObject { + /** + * The Checksum. + * + */ + @SerializedName("checksum") + @Expose + public String checksum; + /** * The Datastore Id. * @@ -36,12 +44,12 @@ public class ExactMatchSession extends ExactMatchJobBase implements IJsonBackedO public String datastoreId; /** - * The Upload Agent Id. + * The Data Upload URI. * */ - @SerializedName("uploadAgentId") + @SerializedName("dataUploadURI") @Expose - public String uploadAgentId; + public String dataUploadURI; /** * The Fields. @@ -60,20 +68,12 @@ public class ExactMatchSession extends ExactMatchJobBase implements IJsonBackedO public String fileName; /** - * The Checksum. - * - */ - @SerializedName("checksum") - @Expose - public String checksum; - - /** - * The Data Upload URI. + * The Processing Completion Date Time. * */ - @SerializedName("dataUploadURI") + @SerializedName("processingCompletionDateTime") @Expose - public String dataUploadURI; + public java.util.Calendar processingCompletionDateTime; /** * The Remaining Block Count. @@ -84,44 +84,44 @@ public class ExactMatchSession extends ExactMatchJobBase implements IJsonBackedO public Integer remainingBlockCount; /** - * The Total Block Count. + * The Remaining Job Count. * */ - @SerializedName("totalBlockCount") + @SerializedName("remainingJobCount") @Expose - public Integer totalBlockCount; + public Integer remainingJobCount; /** - * The State. + * The Rows Per Block. * */ - @SerializedName("state") + @SerializedName("rowsPerBlock") @Expose - public String state; + public Integer rowsPerBlock; /** - * The Upload Completion Date Time. + * The Salt. * */ - @SerializedName("uploadCompletionDateTime") + @SerializedName("salt") @Expose - public java.util.Calendar uploadCompletionDateTime; + public String salt; /** - * The Processing Completion Date Time. + * The State. * */ - @SerializedName("processingCompletionDateTime") + @SerializedName("state") @Expose - public java.util.Calendar processingCompletionDateTime; + public String state; /** - * The Rows Per Block. + * The Total Block Count. * */ - @SerializedName("rowsPerBlock") + @SerializedName("totalBlockCount") @Expose - public Integer rowsPerBlock; + public Integer totalBlockCount; /** * The Total Job Count. @@ -132,20 +132,20 @@ public class ExactMatchSession extends ExactMatchJobBase implements IJsonBackedO public Integer totalJobCount; /** - * The Remaining Job Count. + * The Upload Agent Id. * */ - @SerializedName("remainingJobCount") + @SerializedName("uploadAgentId") @Expose - public Integer remainingJobCount; + public String uploadAgentId; /** - * The Salt. + * The Upload Completion Date Time. * */ - @SerializedName("salt") + @SerializedName("uploadCompletionDateTime") @Expose - public String salt; + public java.util.Calendar uploadCompletionDateTime; /** * The Upload Agent. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchUploadAgent.java b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchUploadAgent.java index a23b36af56f..b9427c8bfe5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExactMatchUploadAgent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExactMatchUploadAgent.java @@ -27,20 +27,20 @@ public class ExactMatchUploadAgent extends Entity implements IJsonBackedObject { /** - * The Description. + * The Creation Date Time. * */ - @SerializedName("description") + @SerializedName("creationDateTime") @Expose - public String description; + public java.util.Calendar creationDateTime; /** - * The Creation Date Time. + * The Description. * */ - @SerializedName("creationDateTime") + @SerializedName("description") @Expose - public java.util.Calendar creationDateTime; + public String description; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExpirationPattern.java b/src/main/java/com/microsoft/graph/models/extensions/ExpirationPattern.java new file mode 100644 index 00000000000..f713b0db7a7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/extensions/ExpirationPattern.java @@ -0,0 +1,103 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models.extensions; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.ExpirationPatternType; + + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Expiration Pattern. + */ +public class ExpirationPattern implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Duration. + * + */ + @SerializedName("duration") + @Expose + public javax.xml.datatype.Duration duration; + + /** + * The End Date Time. + * + */ + @SerializedName("endDateTime") + @Expose + public java.util.Calendar endDateTime; + + /** + * The Type. + * + */ + @SerializedName("type") + @Expose + public ExpirationPatternType type; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExpressionEvaluationDetails.java b/src/main/java/com/microsoft/graph/models/extensions/ExpressionEvaluationDetails.java index e0db91ec200..cd18388af40 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExpressionEvaluationDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExpressionEvaluationDetails.java @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Expression Result. - * - */ - @SerializedName("expressionResult") - @Expose - public Boolean expressionResult; - /** * The Expression. * @@ -61,6 +53,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List expressionEvaluationDetails; + /** + * The Expression Result. + * + */ + @SerializedName("expressionResult") + @Expose + public Boolean expressionResult; + /** * The Property To Evaluate. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExtensionProperty.java b/src/main/java/com/microsoft/graph/models/extensions/ExtensionProperty.java index 8443778b508..fc042490261 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExtensionProperty.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExtensionProperty.java @@ -34,14 +34,6 @@ public class ExtensionProperty extends DirectoryObject implements IJsonBackedObj @Expose public String appDisplayName; - /** - * The Name. - * Name of the extension property. Not nullable. - */ - @SerializedName("name") - @Expose - public String name; - /** * The Data Type. * Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum @@ -58,6 +50,14 @@ public class ExtensionProperty extends DirectoryObject implements IJsonBackedObj @Expose public Boolean isSyncedFromOnPremises; + /** + * The Name. + * Name of the extension property. Not nullable. + */ + @SerializedName("name") + @Expose + public String name; + /** * The Target Objects. * Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExternalConnection.java b/src/main/java/com/microsoft/graph/models/extensions/ExternalConnection.java index bffb3016c64..1c53811491f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExternalConnection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExternalConnection.java @@ -9,17 +9,17 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.Configuration; -import com.microsoft.graph.models.extensions.Schema; +import com.microsoft.graph.models.extensions.ExternalGroup; import com.microsoft.graph.models.extensions.ExternalItem; import com.microsoft.graph.models.extensions.ConnectionOperation; -import com.microsoft.graph.models.extensions.ExternalGroup; +import com.microsoft.graph.models.extensions.Schema; import com.microsoft.graph.models.extensions.Entity; +import com.microsoft.graph.requests.extensions.ExternalGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.ExternalGroupCollectionPage; import com.microsoft.graph.requests.extensions.ExternalItemCollectionResponse; import com.microsoft.graph.requests.extensions.ExternalItemCollectionPage; import com.microsoft.graph.requests.extensions.ConnectionOperationCollectionResponse; import com.microsoft.graph.requests.extensions.ConnectionOperationCollectionPage; -import com.microsoft.graph.requests.extensions.ExternalGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.ExternalGroupCollectionPage; import com.google.gson.JsonObject; @@ -38,12 +38,12 @@ public class ExternalConnection extends Entity implements IJsonBackedObject { /** - * The Name. + * The Configuration. * */ - @SerializedName("name") + @SerializedName("configuration") @Expose - public String name; + public Configuration configuration; /** * The Description. @@ -54,20 +54,18 @@ public class ExternalConnection extends Entity implements IJsonBackedObject { public String description; /** - * The Configuration. + * The Name. * */ - @SerializedName("configuration") + @SerializedName("name") @Expose - public Configuration configuration; + public String name; /** - * The Schema. + * The Groups. * */ - @SerializedName("schema") - @Expose - public Schema schema; + public ExternalGroupCollectionPage groups; /** * The Items. @@ -82,10 +80,12 @@ public class ExternalConnection extends Entity implements IJsonBackedObject { public ConnectionOperationCollectionPage operations; /** - * The Groups. + * The Schema. * */ - public ExternalGroupCollectionPage groups; + @SerializedName("schema") + @Expose + public Schema schema; /** @@ -127,6 +127,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; + if (json.has("groups")) { + final ExternalGroupCollectionResponse response = new ExternalGroupCollectionResponse(); + if (json.has("groups@odata.nextLink")) { + response.nextLink = json.get("groups@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groups").toString(), JsonObject[].class); + final ExternalGroup[] array = new ExternalGroup[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ExternalGroup.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + groups = new ExternalGroupCollectionPage(response, null); + } + if (json.has("items")) { final ExternalItemCollectionResponse response = new ExternalItemCollectionResponse(); if (json.has("items@odata.nextLink")) { @@ -158,21 +174,5 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); operations = new ConnectionOperationCollectionPage(response, null); } - - if (json.has("groups")) { - final ExternalGroupCollectionResponse response = new ExternalGroupCollectionResponse(); - if (json.has("groups@odata.nextLink")) { - response.nextLink = json.get("groups@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groups").toString(), JsonObject[].class); - final ExternalGroup[] array = new ExternalGroup[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ExternalGroup.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - groups = new ExternalGroupCollectionPage(response, null); - } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExternalDomainFederation.java b/src/main/java/com/microsoft/graph/models/extensions/ExternalDomainFederation.java index d97ea9b0d23..12b937b5d76 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExternalDomainFederation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExternalDomainFederation.java @@ -27,12 +27,12 @@ public class ExternalDomainFederation extends IdentitySource implements IJsonBac /** - * The Issuer Uri. + * The Display Name. * */ - @SerializedName("issuerUri") + @SerializedName("displayName") @Expose - public String issuerUri; + public String displayName; /** * The Domain Name. @@ -43,12 +43,12 @@ public class ExternalDomainFederation extends IdentitySource implements IJsonBac public String domainName; /** - * The Display Name. + * The Issuer Uri. * */ - @SerializedName("displayName") + @SerializedName("issuerUri") @Expose - public String displayName; + public String issuerUri; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExternalGroup.java b/src/main/java/com/microsoft/graph/models/extensions/ExternalGroup.java index a15efe97d09..25e66d1e4d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExternalGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExternalGroup.java @@ -30,20 +30,20 @@ public class ExternalGroup extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Description. * */ - @SerializedName("displayName") + @SerializedName("description") @Expose - public String displayName; + public String description; /** - * The Description. + * The Display Name. * */ - @SerializedName("description") + @SerializedName("displayName") @Expose - public String description; + public String displayName; /** * The Members. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExternalGroupMember.java b/src/main/java/com/microsoft/graph/models/extensions/ExternalGroupMember.java index 299a2fced3f..01e9e3f4f0d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExternalGroupMember.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExternalGroupMember.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ExternalGroupMemberType; import com.microsoft.graph.models.generated.IdentitySourceType; +import com.microsoft.graph.models.generated.ExternalGroupMemberType; import com.microsoft.graph.models.extensions.Entity; @@ -29,20 +29,20 @@ public class ExternalGroupMember extends Entity implements IJsonBackedObject { /** - * The Type. + * The Identity Source. * */ - @SerializedName("type") + @SerializedName("identitySource") @Expose - public ExternalGroupMemberType type; + public IdentitySourceType identitySource; /** - * The Identity Source. + * The Type. * */ - @SerializedName("identitySource") + @SerializedName("type") @Expose - public IdentitySourceType identitySource; + public ExternalGroupMemberType type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExternalItem.java b/src/main/java/com/microsoft/graph/models/extensions/ExternalItem.java index db1877c0a34..0332e7c8404 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExternalItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExternalItem.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Properties; -import com.microsoft.graph.models.extensions.ExternalItemContent; import com.microsoft.graph.models.extensions.Acl; +import com.microsoft.graph.models.extensions.ExternalItemContent; +import com.microsoft.graph.models.extensions.Properties; import com.microsoft.graph.models.extensions.Entity; @@ -30,12 +30,12 @@ public class ExternalItem extends Entity implements IJsonBackedObject { /** - * The Properties. + * The Acl. * */ - @SerializedName("properties") + @SerializedName("acl") @Expose - public Properties properties; + public java.util.List acl; /** * The Content. @@ -46,12 +46,12 @@ public class ExternalItem extends Entity implements IJsonBackedObject { public ExternalItemContent content; /** - * The Acl. + * The Properties. * */ - @SerializedName("acl") + @SerializedName("properties") @Expose - public java.util.List acl; + public Properties properties; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ExternalItemContent.java b/src/main/java/com/microsoft/graph/models/extensions/ExternalItemContent.java index ac186720ca3..bd72fe8c675 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ExternalItemContent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ExternalItemContent.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Value. + * The Type. * */ - @SerializedName("value") + @SerializedName("type") @Expose - public String value; + public ExternalItemContentType type; /** - * The Type. + * The Value. * */ - @SerializedName("type") + @SerializedName("value") @Expose - public ExternalItemContentType type; + public String value; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/FeatureRolloutPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/FeatureRolloutPolicy.java index 63ccac7d982..97fa3e0264b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FeatureRolloutPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FeatureRolloutPolicy.java @@ -31,20 +31,20 @@ public class FeatureRolloutPolicy extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Description. * */ - @SerializedName("displayName") + @SerializedName("description") @Expose - public String displayName; + public String description; /** - * The Description. + * The Display Name. * */ - @SerializedName("description") + @SerializedName("displayName") @Expose - public String description; + public String displayName; /** * The Feature. @@ -55,20 +55,20 @@ public class FeatureRolloutPolicy extends Entity implements IJsonBackedObject { public StagedFeatureName feature; /** - * The Is Enabled. + * The Is Applied To Organization. * */ - @SerializedName("isEnabled") + @SerializedName("isAppliedToOrganization") @Expose - public Boolean isEnabled; + public Boolean isAppliedToOrganization; /** - * The Is Applied To Organization. + * The Is Enabled. * */ - @SerializedName("isAppliedToOrganization") + @SerializedName("isEnabled") @Expose - public Boolean isAppliedToOrganization; + public Boolean isEnabled; /** * The Applies To. diff --git a/src/main/java/com/microsoft/graph/models/extensions/FeatureUsageDetail.java b/src/main/java/com/microsoft/graph/models/extensions/FeatureUsageDetail.java index 237dba64b36..5e7b95d08c3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FeatureUsageDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FeatureUsageDetail.java @@ -45,36 +45,36 @@ public final AdditionalDataManager additionalDataManager() { public String featureName; /** - * The License Required. + * The Last Configured Date Time. * */ - @SerializedName("licenseRequired") + @SerializedName("lastConfiguredDateTime") @Expose - public AzureADLicenseType licenseRequired; + public java.util.Calendar lastConfiguredDateTime; /** - * The License Assigned. + * The Last Used Date Time. * */ - @SerializedName("licenseAssigned") + @SerializedName("lastUsedDateTime") @Expose - public AzureADLicenseType licenseAssigned; + public java.util.Calendar lastUsedDateTime; /** - * The Last Used Date Time. + * The License Assigned. * */ - @SerializedName("lastUsedDateTime") + @SerializedName("licenseAssigned") @Expose - public java.util.Calendar lastUsedDateTime; + public AzureADLicenseType licenseAssigned; /** - * The Last Configured Date Time. + * The License Required. * */ - @SerializedName("lastConfiguredDateTime") + @SerializedName("licenseRequired") @Expose - public java.util.Calendar lastConfiguredDateTime; + public AzureADLicenseType licenseRequired; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Fido2KeyRestrictions.java b/src/main/java/com/microsoft/graph/models/extensions/Fido2KeyRestrictions.java index 5d23c3dea1a..644a2e0be59 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Fido2KeyRestrictions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Fido2KeyRestrictions.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Is Enforced. + * The Aa Guids. * */ - @SerializedName("isEnforced") + @SerializedName("aaGuids") @Expose - public Boolean isEnforced; + public java.util.List aaGuids; /** * The Enforcement Type. @@ -53,12 +53,12 @@ public final AdditionalDataManager additionalDataManager() { public Fido2RestrictionEnforcementType enforcementType; /** - * The Aa Guids. + * The Is Enforced. * */ - @SerializedName("aaGuids") + @SerializedName("isEnforced") @Expose - public java.util.List aaGuids; + public Boolean isEnforced; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileAssessmentRequest.java b/src/main/java/com/microsoft/graph/models/extensions/FileAssessmentRequest.java index 42a44802883..d0fcb12ea11 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileAssessmentRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileAssessmentRequest.java @@ -26,14 +26,6 @@ public class FileAssessmentRequest extends ThreatAssessmentRequest implements IJsonBackedObject { - /** - * The File Name. - * The file name. - */ - @SerializedName("fileName") - @Expose - public String fileName; - /** * The Content Data. * Base64 encoded file content. The file content cannot fetch back because it isn't stored. @@ -42,6 +34,14 @@ public class FileAssessmentRequest extends ThreatAssessmentRequest implements IJ @Expose public String contentData; + /** + * The File Name. + * The file name. + */ + @SerializedName("fileName") + @Expose + public String fileName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java b/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java index a1fe202e0da..938d8b07057 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileAttachment.java @@ -26,6 +26,14 @@ public class FileAttachment extends Attachment implements IJsonBackedObject { + /** + * The Content Bytes. + * The base64-encoded contents of the file. + */ + @SerializedName("contentBytes") + @Expose + public byte[] contentBytes; + /** * The Content Id. * The ID of the attachment in the Exchange store. @@ -42,14 +50,6 @@ public class FileAttachment extends Attachment implements IJsonBackedObject { @Expose public String contentLocation; - /** - * The Content Bytes. - * The base64-encoded contents of the file. - */ - @SerializedName("contentBytes") - @Expose - public byte[] contentBytes; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java b/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java index 6fbd59db8a1..92bfd6a4e8a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FileEncryptionInfo.java @@ -43,6 +43,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public byte[] encryptionKey; + /** + * The File Digest. + * The file digest prior to encryption. + */ + @SerializedName("fileDigest") + @Expose + public byte[] fileDigest; + + /** + * The File Digest Algorithm. + * The file digest algorithm. + */ + @SerializedName("fileDigestAlgorithm") + @Expose + public String fileDigestAlgorithm; + /** * The Initialization Vector. * The initialization vector used for the encryption algorithm. @@ -75,22 +91,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String profileIdentifier; - /** - * The File Digest. - * The file digest prior to encryption. - */ - @SerializedName("fileDigest") - @Expose - public byte[] fileDigest; - - /** - * The File Digest Algorithm. - * The file digest algorithm. - */ - @SerializedName("fileDigestAlgorithm") - @Expose - public String fileDigestAlgorithm; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Filter.java b/src/main/java/com/microsoft/graph/models/extensions/Filter.java index 4bcb15bf10e..3c6ca23d339 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Filter.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Filter.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Category Filter Groups. + * + */ + @SerializedName("categoryFilterGroups") + @Expose + public java.util.List categoryFilterGroups; + /** * The Groups. * @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List inputFilterGroups; - /** - * The Category Filter Groups. - * - */ - @SerializedName("categoryFilterGroups") - @Expose - public java.util.List categoryFilterGroups; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java b/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java index 7d3a83f1aff..43f1df38d3a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java +++ b/src/main/java/com/microsoft/graph/models/extensions/FollowupFlag.java @@ -53,14 +53,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public DateTimeTimeZone dueDateTime; - /** - * The Start Date Time. - * The date and time that the follow-up is to begin. - */ - @SerializedName("startDateTime") - @Expose - public DateTimeTimeZone startDateTime; - /** * The Flag Status. * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. @@ -69,6 +61,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public FollowupFlagStatus flagStatus; + /** + * The Start Date Time. + * The date and time that the follow-up is to begin. + */ + @SerializedName("startDateTime") + @Expose + public DateTimeTimeZone startDateTime; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GeneralLedgerEntry.java b/src/main/java/com/microsoft/graph/models/extensions/GeneralLedgerEntry.java index 1e6356595d2..d0d4f2c1f54 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GeneralLedgerEntry.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GeneralLedgerEntry.java @@ -28,44 +28,36 @@ public class GeneralLedgerEntry extends Entity implements IJsonBackedObject { /** - * The Posting Date. - * - */ - @SerializedName("postingDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly postingDate; - - /** - * The Document Number. + * The Account Id. * */ - @SerializedName("documentNumber") + @SerializedName("accountId") @Expose - public String documentNumber; + public java.util.UUID accountId; /** - * The Document Type. + * The Account Number. * */ - @SerializedName("documentType") + @SerializedName("accountNumber") @Expose - public String documentType; + public String accountNumber; /** - * The Account Id. + * The Credit Amount. * */ - @SerializedName("accountId") + @SerializedName("creditAmount") @Expose - public java.util.UUID accountId; + public java.math.BigDecimal creditAmount; /** - * The Account Number. + * The Debit Amount. * */ - @SerializedName("accountNumber") + @SerializedName("debitAmount") @Expose - public String accountNumber; + public java.math.BigDecimal debitAmount; /** * The Description. @@ -76,20 +68,20 @@ public class GeneralLedgerEntry extends Entity implements IJsonBackedObject { public String description; /** - * The Debit Amount. + * The Document Number. * */ - @SerializedName("debitAmount") + @SerializedName("documentNumber") @Expose - public java.math.BigDecimal debitAmount; + public String documentNumber; /** - * The Credit Amount. + * The Document Type. * */ - @SerializedName("creditAmount") + @SerializedName("documentType") @Expose - public java.math.BigDecimal creditAmount; + public String documentType; /** * The Last Modified Date Time. @@ -99,6 +91,14 @@ public class GeneralLedgerEntry extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastModifiedDateTime; + /** + * The Posting Date. + * + */ + @SerializedName("postingDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly postingDate; + /** * The Account. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/GenericError.java b/src/main/java/com/microsoft/graph/models/extensions/GenericError.java index be8c5fd6a3e..45a7812120c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GenericError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GenericError.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Message. - * The error message. - */ - @SerializedName("message") - @Expose - public String message; - /** * The Code. * The error code. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String code; + /** + * The Message. + * The error message. + */ + @SerializedName("message") + @Expose + public String message; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationPolicy.java index b566a8a581d..ae36d9355db 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationPolicy.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Notification Templates. + * The Enabled Template Types. * */ - @SerializedName("notificationTemplates") + @SerializedName("enabledTemplateTypes") @Expose - public java.util.List notificationTemplates; + public java.util.List enabledTemplateTypes; /** - * The Enabled Template Types. + * The Notification Templates. * */ - @SerializedName("enabledTemplateTypes") + @SerializedName("notificationTemplates") @Expose - public java.util.List enabledTemplateTypes; + public java.util.List notificationTemplates; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationTemplate.java index ed72df9118d..738e7d07191 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceNotificationTemplate.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Culture. * */ - @SerializedName("id") + @SerializedName("culture") @Expose - public String id; + public String culture; /** - * The Type. + * The Id. * */ - @SerializedName("type") + @SerializedName("id") @Expose - public String type; + public String id; /** * The Source. @@ -60,20 +60,20 @@ public final AdditionalDataManager additionalDataManager() { public String source; /** - * The Version. + * The Type. * */ - @SerializedName("version") + @SerializedName("type") @Expose - public String version; + public String type; /** - * The Culture. + * The Version. * */ - @SerializedName("culture") + @SerializedName("version") @Expose - public String culture; + public String version; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceResource.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceResource.java index a03b552541a..ad460b4f38f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceResource.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceResource.java @@ -9,17 +9,17 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.GovernanceResource; -import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; -import com.microsoft.graph.models.extensions.GovernanceRoleAssignment; import com.microsoft.graph.models.extensions.GovernanceRoleAssignmentRequest; +import com.microsoft.graph.models.extensions.GovernanceRoleAssignment; +import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; import com.microsoft.graph.models.extensions.GovernanceRoleSetting; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionPage; -import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentRequestCollectionResponse; import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentRequestCollectionPage; +import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionPage; import com.microsoft.graph.requests.extensions.GovernanceRoleSettingCollectionResponse; import com.microsoft.graph.requests.extensions.GovernanceRoleSettingCollectionPage; @@ -39,6 +39,14 @@ public class GovernanceResource extends Entity implements IJsonBackedObject { + /** + * The Display Name. + * + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The External Id. * @@ -48,20 +56,20 @@ public class GovernanceResource extends Entity implements IJsonBackedObject { public String externalId; /** - * The Type. + * The Registered Date Time. * */ - @SerializedName("type") + @SerializedName("registeredDateTime") @Expose - public String type; + public java.util.Calendar registeredDateTime; /** - * The Display Name. + * The Registered Root. * */ - @SerializedName("displayName") + @SerializedName("registeredRoot") @Expose - public String displayName; + public String registeredRoot; /** * The Status. @@ -72,20 +80,12 @@ public class GovernanceResource extends Entity implements IJsonBackedObject { public String status; /** - * The Registered Date Time. - * - */ - @SerializedName("registeredDateTime") - @Expose - public java.util.Calendar registeredDateTime; - - /** - * The Registered Root. + * The Type. * */ - @SerializedName("registeredRoot") + @SerializedName("type") @Expose - public String registeredRoot; + public String type; /** * The Parent. @@ -96,10 +96,10 @@ public class GovernanceResource extends Entity implements IJsonBackedObject { public GovernanceResource parent; /** - * The Role Definitions. + * The Role Assignment Requests. * */ - public GovernanceRoleDefinitionCollectionPage roleDefinitions; + public GovernanceRoleAssignmentRequestCollectionPage roleAssignmentRequests; /** * The Role Assignments. @@ -108,10 +108,10 @@ public class GovernanceResource extends Entity implements IJsonBackedObject { public GovernanceRoleAssignmentCollectionPage roleAssignments; /** - * The Role Assignment Requests. + * The Role Definitions. * */ - public GovernanceRoleAssignmentRequestCollectionPage roleAssignmentRequests; + public GovernanceRoleDefinitionCollectionPage roleDefinitions; /** * The Role Settings. @@ -159,20 +159,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("roleDefinitions")) { - final GovernanceRoleDefinitionCollectionResponse response = new GovernanceRoleDefinitionCollectionResponse(); - if (json.has("roleDefinitions@odata.nextLink")) { - response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); + if (json.has("roleAssignmentRequests")) { + final GovernanceRoleAssignmentRequestCollectionResponse response = new GovernanceRoleAssignmentRequestCollectionResponse(); + if (json.has("roleAssignmentRequests@odata.nextLink")) { + response.nextLink = json.get("roleAssignmentRequests@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); - final GovernanceRoleDefinition[] array = new GovernanceRoleDefinition[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignmentRequests").toString(), JsonObject[].class); + final GovernanceRoleAssignmentRequest[] array = new GovernanceRoleAssignmentRequest[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleDefinition.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleAssignmentRequest.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - roleDefinitions = new GovernanceRoleDefinitionCollectionPage(response, null); + roleAssignmentRequests = new GovernanceRoleAssignmentRequestCollectionPage(response, null); } if (json.has("roleAssignments")) { @@ -191,20 +191,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { roleAssignments = new GovernanceRoleAssignmentCollectionPage(response, null); } - if (json.has("roleAssignmentRequests")) { - final GovernanceRoleAssignmentRequestCollectionResponse response = new GovernanceRoleAssignmentRequestCollectionResponse(); - if (json.has("roleAssignmentRequests@odata.nextLink")) { - response.nextLink = json.get("roleAssignmentRequests@odata.nextLink").getAsString(); + if (json.has("roleDefinitions")) { + final GovernanceRoleDefinitionCollectionResponse response = new GovernanceRoleDefinitionCollectionResponse(); + if (json.has("roleDefinitions@odata.nextLink")) { + response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignmentRequests").toString(), JsonObject[].class); - final GovernanceRoleAssignmentRequest[] array = new GovernanceRoleAssignmentRequest[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); + final GovernanceRoleDefinition[] array = new GovernanceRoleDefinition[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleAssignmentRequest.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleDefinition.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - roleAssignmentRequests = new GovernanceRoleAssignmentRequestCollectionPage(response, null); + roleDefinitions = new GovernanceRoleDefinitionCollectionPage(response, null); } if (json.has("roleSettings")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignment.java index 521be171a63..7f2eb7c2620 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignment.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.GovernanceRoleAssignment; import com.microsoft.graph.models.extensions.GovernanceResource; import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; import com.microsoft.graph.models.extensions.GovernanceSubject; -import com.microsoft.graph.models.extensions.GovernanceRoleAssignment; import com.microsoft.graph.models.extensions.Entity; @@ -31,28 +31,28 @@ public class GovernanceRoleAssignment extends Entity implements IJsonBackedObjec /** - * The Resource Id. + * The Assignment State. * */ - @SerializedName("resourceId") + @SerializedName("assignmentState") @Expose - public String resourceId; + public String assignmentState; /** - * The Role Definition Id. + * The End Date Time. * */ - @SerializedName("roleDefinitionId") + @SerializedName("endDateTime") @Expose - public String roleDefinitionId; + public java.util.Calendar endDateTime; /** - * The Subject Id. + * The External Id. * */ - @SerializedName("subjectId") + @SerializedName("externalId") @Expose - public String subjectId; + public String externalId; /** * The Linked Eligible Role Assignment Id. @@ -63,52 +63,60 @@ public class GovernanceRoleAssignment extends Entity implements IJsonBackedObjec public String linkedEligibleRoleAssignmentId; /** - * The External Id. + * The Member Type. * */ - @SerializedName("externalId") + @SerializedName("memberType") @Expose - public String externalId; + public String memberType; /** - * The Start Date Time. + * The Resource Id. * */ - @SerializedName("startDateTime") + @SerializedName("resourceId") @Expose - public java.util.Calendar startDateTime; + public String resourceId; /** - * The End Date Time. + * The Role Definition Id. * */ - @SerializedName("endDateTime") + @SerializedName("roleDefinitionId") @Expose - public java.util.Calendar endDateTime; + public String roleDefinitionId; /** - * The Member Type. + * The Start Date Time. * */ - @SerializedName("memberType") + @SerializedName("startDateTime") @Expose - public String memberType; + public java.util.Calendar startDateTime; /** - * The Assignment State. + * The Status. * */ - @SerializedName("assignmentState") + @SerializedName("status") @Expose - public String assignmentState; + public String status; /** - * The Status. + * The Subject Id. * */ - @SerializedName("status") + @SerializedName("subjectId") @Expose - public String status; + public String subjectId; + + /** + * The Linked Eligible Role Assignment. + * + */ + @SerializedName("linkedEligibleRoleAssignment") + @Expose + public GovernanceRoleAssignment linkedEligibleRoleAssignment; /** * The Resource. @@ -134,14 +142,6 @@ public class GovernanceRoleAssignment extends Entity implements IJsonBackedObjec @Expose public GovernanceSubject subject; - /** - * The Linked Eligible Role Assignment. - * - */ - @SerializedName("linkedEligibleRoleAssignment") - @Expose - public GovernanceRoleAssignment linkedEligibleRoleAssignment; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequest.java index f0841714396..5c7c76ecdc0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequest.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.GovernanceRoleAssignmentRequestStatus; import com.microsoft.graph.models.extensions.GovernanceSchedule; +import com.microsoft.graph.models.extensions.GovernanceRoleAssignmentRequestStatus; import com.microsoft.graph.models.extensions.GovernanceResource; import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; import com.microsoft.graph.models.extensions.GovernanceSubject; @@ -32,84 +32,84 @@ public class GovernanceRoleAssignmentRequest extends Entity implements IJsonBack /** - * The Resource Id. + * The Assignment State. * */ - @SerializedName("resourceId") + @SerializedName("assignmentState") @Expose - public String resourceId; + public String assignmentState; /** - * The Role Definition Id. + * The Linked Eligible Role Assignment Id. * */ - @SerializedName("roleDefinitionId") + @SerializedName("linkedEligibleRoleAssignmentId") @Expose - public String roleDefinitionId; + public String linkedEligibleRoleAssignmentId; /** - * The Subject Id. + * The Reason. * */ - @SerializedName("subjectId") + @SerializedName("reason") @Expose - public String subjectId; + public String reason; /** - * The Linked Eligible Role Assignment Id. + * The Requested Date Time. * */ - @SerializedName("linkedEligibleRoleAssignmentId") + @SerializedName("requestedDateTime") @Expose - public String linkedEligibleRoleAssignmentId; + public java.util.Calendar requestedDateTime; /** - * The Type. + * The Resource Id. * */ - @SerializedName("type") + @SerializedName("resourceId") @Expose - public String type; + public String resourceId; /** - * The Assignment State. + * The Role Definition Id. * */ - @SerializedName("assignmentState") + @SerializedName("roleDefinitionId") @Expose - public String assignmentState; + public String roleDefinitionId; /** - * The Requested Date Time. + * The Schedule. * */ - @SerializedName("requestedDateTime") + @SerializedName("schedule") @Expose - public java.util.Calendar requestedDateTime; + public GovernanceSchedule schedule; /** - * The Reason. + * The Status. * */ - @SerializedName("reason") + @SerializedName("status") @Expose - public String reason; + public GovernanceRoleAssignmentRequestStatus status; /** - * The Status. + * The Subject Id. * */ - @SerializedName("status") + @SerializedName("subjectId") @Expose - public GovernanceRoleAssignmentRequestStatus status; + public String subjectId; /** - * The Schedule. + * The Type. * */ - @SerializedName("schedule") + @SerializedName("type") @Expose - public GovernanceSchedule schedule; + public String type; /** * The Resource. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequestStatus.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequestStatus.java index d13e6595d2e..ec82ce09f0d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequestStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleAssignmentRequestStatus.java @@ -45,20 +45,20 @@ public final AdditionalDataManager additionalDataManager() { public String status; /** - * The Sub Status. + * The Status Details. * */ - @SerializedName("subStatus") + @SerializedName("statusDetails") @Expose - public String subStatus; + public java.util.List statusDetails; /** - * The Status Details. + * The Sub Status. * */ - @SerializedName("statusDetails") + @SerializedName("subStatus") @Expose - public java.util.List statusDetails; + public String subStatus; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleDefinition.java index 7fff0835404..b9dacffb05e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleDefinition.java @@ -29,12 +29,12 @@ public class GovernanceRoleDefinition extends Entity implements IJsonBackedObjec /** - * The Resource Id. + * The Display Name. * */ - @SerializedName("resourceId") + @SerializedName("displayName") @Expose - public String resourceId; + public String displayName; /** * The External Id. @@ -45,20 +45,20 @@ public class GovernanceRoleDefinition extends Entity implements IJsonBackedObjec public String externalId; /** - * The Template Id. + * The Resource Id. * */ - @SerializedName("templateId") + @SerializedName("resourceId") @Expose - public String templateId; + public String resourceId; /** - * The Display Name. + * The Template Id. * */ - @SerializedName("displayName") + @SerializedName("templateId") @Expose - public String displayName; + public String templateId; /** * The Resource. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleSetting.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleSetting.java index d73f431928f..596b85f6840 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceRoleSetting.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.GovernanceRuleSetting; -import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; import com.microsoft.graph.models.extensions.GovernanceResource; +import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; import com.microsoft.graph.models.extensions.Entity; @@ -30,20 +30,20 @@ public class GovernanceRoleSetting extends Entity implements IJsonBackedObject { /** - * The Resource Id. + * The Admin Eligible Settings. * */ - @SerializedName("resourceId") + @SerializedName("adminEligibleSettings") @Expose - public String resourceId; + public java.util.List adminEligibleSettings; /** - * The Role Definition Id. + * The Admin Member Settings. * */ - @SerializedName("roleDefinitionId") + @SerializedName("adminMemberSettings") @Expose - public String roleDefinitionId; + public java.util.List adminMemberSettings; /** * The Is Default. @@ -54,36 +54,36 @@ public class GovernanceRoleSetting extends Entity implements IJsonBackedObject { public Boolean isDefault; /** - * The Last Updated Date Time. + * The Last Updated By. * */ - @SerializedName("lastUpdatedDateTime") + @SerializedName("lastUpdatedBy") @Expose - public java.util.Calendar lastUpdatedDateTime; + public String lastUpdatedBy; /** - * The Last Updated By. + * The Last Updated Date Time. * */ - @SerializedName("lastUpdatedBy") + @SerializedName("lastUpdatedDateTime") @Expose - public String lastUpdatedBy; + public java.util.Calendar lastUpdatedDateTime; /** - * The Admin Eligible Settings. + * The Resource Id. * */ - @SerializedName("adminEligibleSettings") + @SerializedName("resourceId") @Expose - public java.util.List adminEligibleSettings; + public String resourceId; /** - * The Admin Member Settings. + * The Role Definition Id. * */ - @SerializedName("adminMemberSettings") + @SerializedName("roleDefinitionId") @Expose - public java.util.List adminMemberSettings; + public String roleDefinitionId; /** * The User Eligible Settings. @@ -102,20 +102,20 @@ public class GovernanceRoleSetting extends Entity implements IJsonBackedObject { public java.util.List userMemberSettings; /** - * The Role Definition. + * The Resource. * */ - @SerializedName("roleDefinition") + @SerializedName("resource") @Expose - public GovernanceRoleDefinition roleDefinition; + public GovernanceResource resource; /** - * The Resource. + * The Role Definition. * */ - @SerializedName("resource") + @SerializedName("roleDefinition") @Expose - public GovernanceResource resource; + public GovernanceRoleDefinition roleDefinition; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceSchedule.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceSchedule.java index c096fb48fa7..27c5883822c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceSchedule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceSchedule.java @@ -36,36 +36,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Type. + * The Duration. * */ - @SerializedName("type") + @SerializedName("duration") @Expose - public String type; + public javax.xml.datatype.Duration duration; /** - * The Start Date Time. + * The End Date Time. * */ - @SerializedName("startDateTime") + @SerializedName("endDateTime") @Expose - public java.util.Calendar startDateTime; + public java.util.Calendar endDateTime; /** - * The End Date Time. + * The Start Date Time. * */ - @SerializedName("endDateTime") + @SerializedName("startDateTime") @Expose - public java.util.Calendar endDateTime; + public java.util.Calendar startDateTime; /** - * The Duration. + * The Type. * */ - @SerializedName("duration") + @SerializedName("type") @Expose - public javax.xml.datatype.Duration duration; + public String type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GovernanceSubject.java b/src/main/java/com/microsoft/graph/models/extensions/GovernanceSubject.java index 85215520fd0..7aeba498a02 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GovernanceSubject.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GovernanceSubject.java @@ -27,20 +27,20 @@ public class GovernanceSubject extends Entity implements IJsonBackedObject { /** - * The Type. + * The Display Name. * */ - @SerializedName("type") + @SerializedName("displayName") @Expose - public String type; + public String displayName; /** - * The Display Name. + * The Email. * */ - @SerializedName("displayName") + @SerializedName("email") @Expose - public String displayName; + public String email; /** * The Principal Name. @@ -51,12 +51,12 @@ public class GovernanceSubject extends Entity implements IJsonBackedObject { public String principalName; /** - * The Email. + * The Type. * */ - @SerializedName("email") + @SerializedName("type") @Expose - public String email; + public String type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Group.java b/src/main/java/com/microsoft/graph/models/extensions/Group.java index 3ceaed8fd30..d136bc685a5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Group.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Group.java @@ -15,14 +15,14 @@ import com.microsoft.graph.models.generated.GroupAccessType; import com.microsoft.graph.models.extensions.AppRoleAssignment; import com.microsoft.graph.models.extensions.DirectoryObject; -import com.microsoft.graph.models.extensions.DirectorySetting; import com.microsoft.graph.models.extensions.Endpoint; import com.microsoft.graph.models.extensions.ResourceSpecificPermissionGrant; +import com.microsoft.graph.models.extensions.DirectorySetting; +import com.microsoft.graph.models.extensions.Calendar; +import com.microsoft.graph.models.extensions.Event; import com.microsoft.graph.models.extensions.Conversation; import com.microsoft.graph.models.extensions.ProfilePhoto; import com.microsoft.graph.models.extensions.ConversationThread; -import com.microsoft.graph.models.extensions.Calendar; -import com.microsoft.graph.models.extensions.Event; import com.microsoft.graph.models.extensions.Drive; import com.microsoft.graph.models.extensions.Site; import com.microsoft.graph.models.extensions.Extension; @@ -32,22 +32,22 @@ import com.microsoft.graph.models.extensions.Team; import com.microsoft.graph.requests.extensions.AppRoleAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.AppRoleAssignmentCollectionPage; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; -import com.microsoft.graph.requests.extensions.DirectorySettingCollectionResponse; -import com.microsoft.graph.requests.extensions.DirectorySettingCollectionPage; import com.microsoft.graph.requests.extensions.EndpointCollectionResponse; import com.microsoft.graph.requests.extensions.EndpointCollectionPage; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage; import com.microsoft.graph.requests.extensions.ResourceSpecificPermissionGrantCollectionResponse; import com.microsoft.graph.requests.extensions.ResourceSpecificPermissionGrantCollectionPage; +import com.microsoft.graph.requests.extensions.DirectorySettingCollectionResponse; +import com.microsoft.graph.requests.extensions.DirectorySettingCollectionPage; +import com.microsoft.graph.requests.extensions.EventCollectionResponse; +import com.microsoft.graph.requests.extensions.EventCollectionPage; import com.microsoft.graph.requests.extensions.ConversationCollectionResponse; import com.microsoft.graph.requests.extensions.ConversationCollectionPage; import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionResponse; import com.microsoft.graph.requests.extensions.ProfilePhotoCollectionPage; import com.microsoft.graph.requests.extensions.ConversationThreadCollectionResponse; import com.microsoft.graph.requests.extensions.ConversationThreadCollectionPage; -import com.microsoft.graph.requests.extensions.EventCollectionResponse; -import com.microsoft.graph.requests.extensions.EventCollectionPage; import com.microsoft.graph.requests.extensions.DriveCollectionResponse; import com.microsoft.graph.requests.extensions.DriveCollectionPage; import com.microsoft.graph.requests.extensions.SiteCollectionResponse; @@ -385,6 +385,22 @@ public class Group extends DirectoryObject implements IJsonBackedObject { @Expose public Boolean autoSubscribeNewMembers; + /** + * The Hide From Address Lists. + * True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select. + */ + @SerializedName("hideFromAddressLists") + @Expose + public Boolean hideFromAddressLists; + + /** + * The Hide From Outlook Clients. + * True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select. + */ + @SerializedName("hideFromOutlookClients") + @Expose + public Boolean hideFromOutlookClients; + /** * The Is Favorite. * @@ -401,14 +417,6 @@ public class Group extends DirectoryObject implements IJsonBackedObject { @Expose public Boolean isSubscribedByMail; - /** - * The Unseen Count. - * Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select. - */ - @SerializedName("unseenCount") - @Expose - public Integer unseenCount; - /** * The Unseen Conversations Count. * @@ -418,28 +426,20 @@ public class Group extends DirectoryObject implements IJsonBackedObject { public Integer unseenConversationsCount; /** - * The Unseen Messages Count. - * - */ - @SerializedName("unseenMessagesCount") - @Expose - public Integer unseenMessagesCount; - - /** - * The Hide From Outlook Clients. - * True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select. + * The Unseen Count. + * Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select. */ - @SerializedName("hideFromOutlookClients") + @SerializedName("unseenCount") @Expose - public Boolean hideFromOutlookClients; + public Integer unseenCount; /** - * The Hide From Address Lists. - * True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select. + * The Unseen Messages Count. + * */ - @SerializedName("hideFromAddressLists") + @SerializedName("unseenMessagesCount") @Expose - public Boolean hideFromAddressLists; + public Integer unseenMessagesCount; /** * The Is Archived. @@ -456,16 +456,18 @@ public class Group extends DirectoryObject implements IJsonBackedObject { public AppRoleAssignmentCollectionPage appRoleAssignments; /** - * The Members. - * Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups) Nullable. + * The Created On Behalf Of. + * The user (or application) that created the group. NOTE: This is not set if the user is an administrator. Read-only. */ - public DirectoryObjectCollectionPage members; + @SerializedName("createdOnBehalfOf") + @Expose + public DirectoryObject createdOnBehalfOf; /** - * The Members With License Errors. - * A list of group members with license errors from this group-based license assignment. Read-only. + * The Endpoints. + * */ - public DirectoryObjectCollectionPage membersWithLicenseErrors; + public EndpointCollectionPage endpoints; /** * The Member Of. @@ -474,24 +476,16 @@ public class Group extends DirectoryObject implements IJsonBackedObject { public DirectoryObjectCollectionPage memberOf; /** - * The Transitive Members. - * - */ - public DirectoryObjectCollectionPage transitiveMembers; - - /** - * The Transitive Member Of. - * + * The Members. + * Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups) Nullable. */ - public DirectoryObjectCollectionPage transitiveMemberOf; + public DirectoryObjectCollectionPage members; /** - * The Created On Behalf Of. - * The user (or application) that created the group. NOTE: This is not set if the user is an administrator. Read-only. + * The Members With License Errors. + * A list of group members with license errors from this group-based license assignment. Read-only. */ - @SerializedName("createdOnBehalfOf") - @Expose - public DirectoryObject createdOnBehalfOf; + public DirectoryObjectCollectionPage membersWithLicenseErrors; /** * The Owners. @@ -499,6 +493,12 @@ public class Group extends DirectoryObject implements IJsonBackedObject { */ public DirectoryObjectCollectionPage owners; + /** + * The Permission Grants. + * + */ + public ResourceSpecificPermissionGrantCollectionPage permissionGrants; + /** * The Settings. * Read-only. Nullable. @@ -506,28 +506,16 @@ public class Group extends DirectoryObject implements IJsonBackedObject { public DirectorySettingCollectionPage settings; /** - * The Endpoints. + * The Transitive Member Of. * */ - public EndpointCollectionPage endpoints; + public DirectoryObjectCollectionPage transitiveMemberOf; /** - * The Permission Grants. + * The Transitive Members. * */ - public ResourceSpecificPermissionGrantCollectionPage permissionGrants; - - /** - * The Conversations. - * The group's conversations. - */ - public ConversationCollectionPage conversations; - - /** - * The Photos. - * The profile photos owned by the group. Read-only. Nullable. - */ - public ProfilePhotoCollectionPage photos; + public DirectoryObjectCollectionPage transitiveMembers; /** * The Accepted Senders. @@ -535,18 +523,6 @@ public class Group extends DirectoryObject implements IJsonBackedObject { */ public DirectoryObjectCollectionPage acceptedSenders; - /** - * The Rejected Senders. - * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable - */ - public DirectoryObjectCollectionPage rejectedSenders; - - /** - * The Threads. - * The group's conversation threads. Nullable. - */ - public ConversationThreadCollectionPage threads; - /** * The Calendar. * The group's calendar. Read-only. @@ -561,6 +537,12 @@ public class Group extends DirectoryObject implements IJsonBackedObject { */ public EventCollectionPage calendarView; + /** + * The Conversations. + * The group's conversations. + */ + public ConversationCollectionPage conversations; + /** * The Events. * The group's calendar events. @@ -575,6 +557,24 @@ public class Group extends DirectoryObject implements IJsonBackedObject { @Expose public ProfilePhoto photo; + /** + * The Photos. + * The profile photos owned by the group. Read-only. Nullable. + */ + public ProfilePhotoCollectionPage photos; + + /** + * The Rejected Senders. + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + */ + public DirectoryObjectCollectionPage rejectedSenders; + + /** + * The Threads. + * The group's conversation threads. Nullable. + */ + public ConversationThreadCollectionPage threads; + /** * The Drive. * The group's default drive. Read-only. @@ -687,36 +687,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { appRoleAssignments = new AppRoleAssignmentCollectionPage(response, null); } - if (json.has("members")) { - final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("members@odata.nextLink")) { - response.nextLink = json.get("members@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - members = new DirectoryObjectCollectionPage(response, null); - } - - if (json.has("membersWithLicenseErrors")) { - final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("membersWithLicenseErrors@odata.nextLink")) { - response.nextLink = json.get("membersWithLicenseErrors@odata.nextLink").getAsString(); + if (json.has("endpoints")) { + final EndpointCollectionResponse response = new EndpointCollectionResponse(); + if (json.has("endpoints@odata.nextLink")) { + response.nextLink = json.get("endpoints@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("membersWithLicenseErrors").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("endpoints").toString(), JsonObject[].class); + final Endpoint[] array = new Endpoint[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Endpoint.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - membersWithLicenseErrors = new DirectoryObjectCollectionPage(response, null); + endpoints = new EndpointCollectionPage(response, null); } if (json.has("memberOf")) { @@ -735,36 +719,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { memberOf = new DirectoryObjectCollectionPage(response, null); } - if (json.has("transitiveMembers")) { + if (json.has("members")) { final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("transitiveMembers@odata.nextLink")) { - response.nextLink = json.get("transitiveMembers@odata.nextLink").getAsString(); + if (json.has("members@odata.nextLink")) { + response.nextLink = json.get("members@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMembers").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class); final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - transitiveMembers = new DirectoryObjectCollectionPage(response, null); + members = new DirectoryObjectCollectionPage(response, null); } - if (json.has("transitiveMemberOf")) { + if (json.has("membersWithLicenseErrors")) { final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("transitiveMemberOf@odata.nextLink")) { - response.nextLink = json.get("transitiveMemberOf@odata.nextLink").getAsString(); + if (json.has("membersWithLicenseErrors@odata.nextLink")) { + response.nextLink = json.get("membersWithLicenseErrors@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMemberOf").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("membersWithLicenseErrors").toString(), JsonObject[].class); final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - transitiveMemberOf = new DirectoryObjectCollectionPage(response, null); + membersWithLicenseErrors = new DirectoryObjectCollectionPage(response, null); } if (json.has("owners")) { @@ -783,6 +767,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { owners = new DirectoryObjectCollectionPage(response, null); } + if (json.has("permissionGrants")) { + final ResourceSpecificPermissionGrantCollectionResponse response = new ResourceSpecificPermissionGrantCollectionResponse(); + if (json.has("permissionGrants@odata.nextLink")) { + response.nextLink = json.get("permissionGrants@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("permissionGrants").toString(), JsonObject[].class); + final ResourceSpecificPermissionGrant[] array = new ResourceSpecificPermissionGrant[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ResourceSpecificPermissionGrant.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + permissionGrants = new ResourceSpecificPermissionGrantCollectionPage(response, null); + } + if (json.has("settings")) { final DirectorySettingCollectionResponse response = new DirectorySettingCollectionResponse(); if (json.has("settings@odata.nextLink")) { @@ -799,36 +799,68 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { settings = new DirectorySettingCollectionPage(response, null); } - if (json.has("endpoints")) { - final EndpointCollectionResponse response = new EndpointCollectionResponse(); - if (json.has("endpoints@odata.nextLink")) { - response.nextLink = json.get("endpoints@odata.nextLink").getAsString(); + if (json.has("transitiveMemberOf")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("transitiveMemberOf@odata.nextLink")) { + response.nextLink = json.get("transitiveMemberOf@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("endpoints").toString(), JsonObject[].class); - final Endpoint[] array = new Endpoint[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMemberOf").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Endpoint.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - endpoints = new EndpointCollectionPage(response, null); + transitiveMemberOf = new DirectoryObjectCollectionPage(response, null); } - if (json.has("permissionGrants")) { - final ResourceSpecificPermissionGrantCollectionResponse response = new ResourceSpecificPermissionGrantCollectionResponse(); - if (json.has("permissionGrants@odata.nextLink")) { - response.nextLink = json.get("permissionGrants@odata.nextLink").getAsString(); + if (json.has("transitiveMembers")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("transitiveMembers@odata.nextLink")) { + response.nextLink = json.get("transitiveMembers@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("permissionGrants").toString(), JsonObject[].class); - final ResourceSpecificPermissionGrant[] array = new ResourceSpecificPermissionGrant[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("transitiveMembers").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ResourceSpecificPermissionGrant.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - permissionGrants = new ResourceSpecificPermissionGrantCollectionPage(response, null); + transitiveMembers = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("acceptedSenders")) { + final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); + if (json.has("acceptedSenders@odata.nextLink")) { + response.nextLink = json.get("acceptedSenders@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("acceptedSenders").toString(), JsonObject[].class); + final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + acceptedSenders = new DirectoryObjectCollectionPage(response, null); + } + + if (json.has("calendarView")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("calendarView@odata.nextLink")) { + response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + calendarView = new EventCollectionPage(response, null); } if (json.has("conversations")) { @@ -847,36 +879,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { conversations = new ConversationCollectionPage(response, null); } - if (json.has("photos")) { - final ProfilePhotoCollectionResponse response = new ProfilePhotoCollectionResponse(); - if (json.has("photos@odata.nextLink")) { - response.nextLink = json.get("photos@odata.nextLink").getAsString(); + if (json.has("events")) { + final EventCollectionResponse response = new EventCollectionResponse(); + if (json.has("events@odata.nextLink")) { + response.nextLink = json.get("events@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("photos").toString(), JsonObject[].class); - final ProfilePhoto[] array = new ProfilePhoto[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); + final Event[] array = new Event[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ProfilePhoto.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - photos = new ProfilePhotoCollectionPage(response, null); + events = new EventCollectionPage(response, null); } - if (json.has("acceptedSenders")) { - final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse(); - if (json.has("acceptedSenders@odata.nextLink")) { - response.nextLink = json.get("acceptedSenders@odata.nextLink").getAsString(); + if (json.has("photos")) { + final ProfilePhotoCollectionResponse response = new ProfilePhotoCollectionResponse(); + if (json.has("photos@odata.nextLink")) { + response.nextLink = json.get("photos@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("acceptedSenders").toString(), JsonObject[].class); - final DirectoryObject[] array = new DirectoryObject[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("photos").toString(), JsonObject[].class); + final ProfilePhoto[] array = new ProfilePhoto[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ProfilePhoto.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - acceptedSenders = new DirectoryObjectCollectionPage(response, null); + photos = new ProfilePhotoCollectionPage(response, null); } if (json.has("rejectedSenders")) { @@ -911,38 +943,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { threads = new ConversationThreadCollectionPage(response, null); } - if (json.has("calendarView")) { - final EventCollectionResponse response = new EventCollectionResponse(); - if (json.has("calendarView@odata.nextLink")) { - response.nextLink = json.get("calendarView@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("calendarView").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - calendarView = new EventCollectionPage(response, null); - } - - if (json.has("events")) { - final EventCollectionResponse response = new EventCollectionResponse(); - if (json.has("events@odata.nextLink")) { - response.nextLink = json.get("events@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("events").toString(), JsonObject[].class); - final Event[] array = new Event[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Event.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - events = new EventCollectionPage(response, null); - } - if (json.has("drives")) { final DriveCollectionResponse response = new DriveCollectionResponse(); if (json.has("drives@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupEvaluateDynamicMembershipBody.java b/src/main/java/com/microsoft/graph/models/extensions/GroupEvaluateDynamicMembershipBody.java index 3ccf741bfd4..267904cd0e0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupEvaluateDynamicMembershipBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupEvaluateDynamicMembershipBody.java @@ -26,14 +26,6 @@ public class GroupEvaluateDynamicMembershipBody { @Expose public String memberId; - /** - * The membership Rule. - * - */ - @SerializedName("membershipRule") - @Expose - public String membershipRule; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java index 7fdc72026d7..72b69efbe49 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupLifecyclePolicy.java @@ -26,6 +26,14 @@ public class GroupLifecyclePolicy extends Entity implements IJsonBackedObject { + /** + * The Alternate Notification Emails. + * List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. + */ + @SerializedName("alternateNotificationEmails") + @Expose + public String alternateNotificationEmails; + /** * The Group Lifetime In Days. * Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. @@ -42,14 +50,6 @@ public class GroupLifecyclePolicy extends Entity implements IJsonBackedObject { @Expose public String managedGroupTypes; - /** - * The Alternate Notification Emails. - * List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. - */ - @SerializedName("alternateNotificationEmails") - @Expose - public String alternateNotificationEmails; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupMembers.java b/src/main/java/com/microsoft/graph/models/extensions/GroupMembers.java index e25ce10f050..2d965536c47 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupMembers.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupMembers.java @@ -27,20 +27,20 @@ public class GroupMembers extends UserSet implements IJsonBackedObject { /** - * The Id. + * The Description. * */ - @SerializedName("id") + @SerializedName("description") @Expose - public String id; + public String description; /** - * The Description. + * The Id. * */ - @SerializedName("description") + @SerializedName("id") @Expose - public String description; + public String id; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyCategory.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyCategory.java index ee710603e9a..72e0f65982f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyCategory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyCategory.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.GroupPolicyCategory; -import com.microsoft.graph.models.extensions.GroupPolicyDefinition; import com.microsoft.graph.models.extensions.GroupPolicyDefinitionFile; +import com.microsoft.graph.models.extensions.GroupPolicyDefinition; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.GroupPolicyCategoryCollectionResponse; import com.microsoft.graph.requests.extensions.GroupPolicyCategoryCollectionPage; @@ -57,20 +57,20 @@ public class GroupPolicyCategory extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastModifiedDateTime; - /** - * The Parent. - * The parent category - */ - @SerializedName("parent") - @Expose - public GroupPolicyCategory parent; - /** * The Children. * The children categories */ public GroupPolicyCategoryCollectionPage children; + /** + * The Definition File. + * The id of the definition file the category came from + */ + @SerializedName("definitionFile") + @Expose + public GroupPolicyDefinitionFile definitionFile; + /** * The Definitions. * The immediate GroupPolicyDefinition children of the category @@ -78,12 +78,12 @@ public class GroupPolicyCategory extends Entity implements IJsonBackedObject { public GroupPolicyDefinitionCollectionPage definitions; /** - * The Definition File. - * The id of the definition file the category came from + * The Parent. + * The parent category */ - @SerializedName("definitionFile") + @SerializedName("parent") @Expose - public GroupPolicyDefinitionFile definitionFile; + public GroupPolicyCategory parent; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyConfiguration.java index 5d6c950c293..bebc55ed1f3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyConfiguration.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.GroupPolicyDefinitionValue; import com.microsoft.graph.models.extensions.GroupPolicyConfigurationAssignment; +import com.microsoft.graph.models.extensions.GroupPolicyDefinitionValue; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionValueCollectionResponse; -import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionValueCollectionPage; import com.microsoft.graph.requests.extensions.GroupPolicyConfigurationAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.GroupPolicyConfigurationAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionValueCollectionResponse; +import com.microsoft.graph.requests.extensions.GroupPolicyDefinitionValueCollectionPage; import com.google.gson.JsonObject; @@ -40,14 +40,6 @@ public class GroupPolicyConfiguration extends Entity implements IJsonBackedObjec @Expose public java.util.Calendar createdDateTime; - /** - * The Display Name. - * User provided name for the resource object. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * User provided description for the resource object. @@ -57,12 +49,12 @@ public class GroupPolicyConfiguration extends Entity implements IJsonBackedObjec public String description; /** - * The Role Scope Tag Ids. - * The list of scope tags for the configuration. + * The Display Name. + * User provided name for the resource object. */ - @SerializedName("roleScopeTagIds") + @SerializedName("displayName") @Expose - public java.util.List roleScopeTagIds; + public String displayName; /** * The Last Modified Date Time. @@ -73,10 +65,12 @@ public class GroupPolicyConfiguration extends Entity implements IJsonBackedObjec public java.util.Calendar lastModifiedDateTime; /** - * The Definition Values. - * The list of enabled or disabled group policy definition values for the configuration. + * The Role Scope Tag Ids. + * The list of scope tags for the configuration. */ - public GroupPolicyDefinitionValueCollectionPage definitionValues; + @SerializedName("roleScopeTagIds") + @Expose + public java.util.List roleScopeTagIds; /** * The Assignments. @@ -84,6 +78,12 @@ public class GroupPolicyConfiguration extends Entity implements IJsonBackedObjec */ public GroupPolicyConfigurationAssignmentCollectionPage assignments; + /** + * The Definition Values. + * The list of enabled or disabled group policy definition values for the configuration. + */ + public GroupPolicyDefinitionValueCollectionPage definitionValues; + /** * The raw representation of this class @@ -124,22 +124,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("definitionValues")) { - final GroupPolicyDefinitionValueCollectionResponse response = new GroupPolicyDefinitionValueCollectionResponse(); - if (json.has("definitionValues@odata.nextLink")) { - response.nextLink = json.get("definitionValues@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("definitionValues").toString(), JsonObject[].class); - final GroupPolicyDefinitionValue[] array = new GroupPolicyDefinitionValue[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyDefinitionValue.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - definitionValues = new GroupPolicyDefinitionValueCollectionPage(response, null); - } - if (json.has("assignments")) { final GroupPolicyConfigurationAssignmentCollectionResponse response = new GroupPolicyConfigurationAssignmentCollectionResponse(); if (json.has("assignments@odata.nextLink")) { @@ -155,5 +139,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); assignments = new GroupPolicyConfigurationAssignmentCollectionPage(response, null); } + + if (json.has("definitionValues")) { + final GroupPolicyDefinitionValueCollectionResponse response = new GroupPolicyDefinitionValueCollectionResponse(); + if (json.has("definitionValues@odata.nextLink")) { + response.nextLink = json.get("definitionValues@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("definitionValues").toString(), JsonObject[].class); + final GroupPolicyDefinitionValue[] array = new GroupPolicyDefinitionValue[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GroupPolicyDefinitionValue.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + definitionValues = new GroupPolicyDefinitionValueCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinition.java index 981a3b71492..ade515273e7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinition.java @@ -10,8 +10,8 @@ import java.util.EnumSet; import com.microsoft.graph.models.generated.GroupPolicyDefinitionClassType; import com.microsoft.graph.models.generated.GroupPolicyType; -import com.microsoft.graph.models.extensions.GroupPolicyDefinitionFile; import com.microsoft.graph.models.extensions.GroupPolicyCategory; +import com.microsoft.graph.models.extensions.GroupPolicyDefinitionFile; import com.microsoft.graph.models.extensions.GroupPolicyPresentation; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.GroupPolicyPresentationCollectionResponse; @@ -33,6 +33,14 @@ public class GroupPolicyDefinition extends Entity implements IJsonBackedObject { + /** + * The Category Path. + * The localized full category path for the policy. + */ + @SerializedName("categoryPath") + @Expose + public String categoryPath; + /** * The Class Type. * Identifies the type of groups the policy can be applied to. @@ -58,20 +66,20 @@ public class GroupPolicyDefinition extends Entity implements IJsonBackedObject { public String explainText; /** - * The Category Path. - * The localized full category path for the policy. + * The Group Policy Category Id. + * The category id of the parent category */ - @SerializedName("categoryPath") + @SerializedName("groupPolicyCategoryId") @Expose - public String categoryPath; + public java.util.UUID groupPolicyCategoryId; /** - * The Supported On. - * Localized string used to specify what operating system or application version is affected by the policy. + * The Last Modified Date Time. + * The date and time the entity was last modified. */ - @SerializedName("supportedOn") + @SerializedName("lastModifiedDateTime") @Expose - public String supportedOn; + public java.util.Calendar lastModifiedDateTime; /** * The Policy Type. @@ -82,20 +90,20 @@ public class GroupPolicyDefinition extends Entity implements IJsonBackedObject { public GroupPolicyType policyType; /** - * The Group Policy Category Id. - * The category id of the parent category + * The Supported On. + * Localized string used to specify what operating system or application version is affected by the policy. */ - @SerializedName("groupPolicyCategoryId") + @SerializedName("supportedOn") @Expose - public java.util.UUID groupPolicyCategoryId; + public String supportedOn; /** - * The Last Modified Date Time. - * The date and time the entity was last modified. + * The Category. + * The group policy category associated with the definition. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("category") @Expose - public java.util.Calendar lastModifiedDateTime; + public GroupPolicyCategory category; /** * The Definition File. @@ -105,14 +113,6 @@ public class GroupPolicyDefinition extends Entity implements IJsonBackedObject { @Expose public GroupPolicyDefinitionFile definitionFile; - /** - * The Category. - * The group policy category associated with the definition. - */ - @SerializedName("category") - @Expose - public GroupPolicyCategory category; - /** * The Presentations. * The group policy presentations associated with the definition. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionFile.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionFile.java index 71b98d2783d..52d2d8fecf3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionFile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionFile.java @@ -30,14 +30,6 @@ public class GroupPolicyDefinitionFile extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * The localized friendly name of the ADMX file. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * The localized description of the policy settings in the ADMX file. The default value is empty. @@ -47,28 +39,28 @@ public class GroupPolicyDefinitionFile extends Entity implements IJsonBackedObje public String description; /** - * The Language Codes. - * The supported language codes for the ADMX file. + * The Display Name. + * The localized friendly name of the ADMX file. */ - @SerializedName("languageCodes") + @SerializedName("displayName") @Expose - public java.util.List languageCodes; + public String displayName; /** - * The Target Prefix. - * Specifies the logical name that refers to the namespace within the ADMX file. + * The Language Codes. + * The supported language codes for the ADMX file. */ - @SerializedName("targetPrefix") + @SerializedName("languageCodes") @Expose - public String targetPrefix; + public java.util.List languageCodes; /** - * The Target Namespace. - * Specifies the URI used to identify the namespace within the ADMX file. + * The Last Modified Date Time. + * The date and time the entity was last modified. */ - @SerializedName("targetNamespace") + @SerializedName("lastModifiedDateTime") @Expose - public String targetNamespace; + public java.util.Calendar lastModifiedDateTime; /** * The Policy Type. @@ -87,12 +79,20 @@ public class GroupPolicyDefinitionFile extends Entity implements IJsonBackedObje public String revision; /** - * The Last Modified Date Time. - * The date and time the entity was last modified. + * The Target Namespace. + * Specifies the URI used to identify the namespace within the ADMX file. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("targetNamespace") @Expose - public java.util.Calendar lastModifiedDateTime; + public String targetNamespace; + + /** + * The Target Prefix. + * Specifies the logical name that refers to the namespace within the ADMX file. + */ + @SerializedName("targetPrefix") + @Expose + public String targetPrefix; /** * The Definitions. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionValue.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionValue.java index 1b9a905cdd2..8b77eac453a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionValue.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyDefinitionValue.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.GroupPolicyConfigurationType; -import com.microsoft.graph.models.extensions.GroupPolicyPresentationValue; import com.microsoft.graph.models.extensions.GroupPolicyDefinition; +import com.microsoft.graph.models.extensions.GroupPolicyPresentationValue; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.GroupPolicyPresentationValueCollectionResponse; import com.microsoft.graph.requests.extensions.GroupPolicyPresentationValueCollectionPage; @@ -31,6 +31,14 @@ public class GroupPolicyDefinitionValue extends Entity implements IJsonBackedObject { + /** + * The Configuration Type. + * Specifies how the value should be configured. This can be either as a Policy or as a Preference. + */ + @SerializedName("configurationType") + @Expose + public GroupPolicyConfigurationType configurationType; + /** * The Created Date Time. * The date and time the object was created. @@ -47,14 +55,6 @@ public class GroupPolicyDefinitionValue extends Entity implements IJsonBackedObj @Expose public Boolean enabled; - /** - * The Configuration Type. - * Specifies how the value should be configured. This can be either as a Policy or as a Preference. - */ - @SerializedName("configurationType") - @Expose - public GroupPolicyConfigurationType configurationType; - /** * The Last Modified Date Time. * The date and time the entity was last modified. @@ -63,12 +63,6 @@ public class GroupPolicyDefinitionValue extends Entity implements IJsonBackedObj @Expose public java.util.Calendar lastModifiedDateTime; - /** - * The Presentation Values. - * The associated group policy presentation values with the definition value. - */ - public GroupPolicyPresentationValueCollectionPage presentationValues; - /** * The Definition. * The associated group policy definition with the value. @@ -77,6 +71,12 @@ public class GroupPolicyDefinitionValue extends Entity implements IJsonBackedObj @Expose public GroupPolicyDefinition definition; + /** + * The Presentation Values. + * The associated group policy presentation values with the definition value. + */ + public GroupPolicyPresentationValueCollectionPage presentationValues; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyMigrationReport.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyMigrationReport.java index 4ed5a00388c..3e028b3980e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyMigrationReport.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyMigrationReport.java @@ -34,12 +34,12 @@ public class GroupPolicyMigrationReport extends Entity implements IJsonBackedObj /** - * The Group Policy Object Id. - * The Group Policy Object GUID from GPO Xml content + * The Created Date Time. + * The date and time at which the GroupPolicyMigrationReport was created. */ - @SerializedName("groupPolicyObjectId") + @SerializedName("createdDateTime") @Expose - public java.util.UUID groupPolicyObjectId; + public java.util.Calendar createdDateTime; /** * The Display Name. @@ -50,44 +50,36 @@ public class GroupPolicyMigrationReport extends Entity implements IJsonBackedObj public String displayName; /** - * The Ou Distinguished Name. - * The distinguished name of the OU. - */ - @SerializedName("ouDistinguishedName") - @Expose - public String ouDistinguishedName; - - /** - * The Created Date Time. + * The Group Policy Created Date Time. * The date and time at which the GroupPolicyMigrationReport was created. */ - @SerializedName("createdDateTime") + @SerializedName("groupPolicyCreatedDateTime") @Expose - public java.util.Calendar createdDateTime; + public java.util.Calendar groupPolicyCreatedDateTime; /** - * The Last Modified Date Time. + * The Group Policy Last Modified Date Time. * The date and time at which the GroupPolicyMigrationReport was last modified. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("groupPolicyLastModifiedDateTime") @Expose - public java.util.Calendar lastModifiedDateTime; + public java.util.Calendar groupPolicyLastModifiedDateTime; /** - * The Group Policy Created Date Time. - * The date and time at which the GroupPolicyMigrationReport was created. + * The Group Policy Object Id. + * The Group Policy Object GUID from GPO Xml content */ - @SerializedName("groupPolicyCreatedDateTime") + @SerializedName("groupPolicyObjectId") @Expose - public java.util.Calendar groupPolicyCreatedDateTime; + public java.util.UUID groupPolicyObjectId; /** - * The Group Policy Last Modified Date Time. + * The Last Modified Date Time. * The date and time at which the GroupPolicyMigrationReport was last modified. */ - @SerializedName("groupPolicyLastModifiedDateTime") + @SerializedName("lastModifiedDateTime") @Expose - public java.util.Calendar groupPolicyLastModifiedDateTime; + public java.util.Calendar lastModifiedDateTime; /** * The Migration Readiness. @@ -98,20 +90,12 @@ public class GroupPolicyMigrationReport extends Entity implements IJsonBackedObj public GroupPolicyMigrationReadiness migrationReadiness; /** - * The Targeted In Active Directory. - * The Targeted in AD property from GPO Xml Content - */ - @SerializedName("targetedInActiveDirectory") - @Expose - public Boolean targetedInActiveDirectory; - - /** - * The Total Settings Count. - * The total number of Group Policy Settings from GPO file. + * The Ou Distinguished Name. + * The distinguished name of the OU. */ - @SerializedName("totalSettingsCount") + @SerializedName("ouDistinguishedName") @Expose - public Integer totalSettingsCount; + public String ouDistinguishedName; /** * The Supported Settings Count. @@ -129,6 +113,22 @@ public class GroupPolicyMigrationReport extends Entity implements IJsonBackedObj @Expose public Integer supportedSettingsPercent; + /** + * The Targeted In Active Directory. + * The Targeted in AD property from GPO Xml Content + */ + @SerializedName("targetedInActiveDirectory") + @Expose + public Boolean targetedInActiveDirectory; + + /** + * The Total Settings Count. + * The total number of Group Policy Settings from GPO file. + */ + @SerializedName("totalSettingsCount") + @Expose + public Integer totalSettingsCount; + /** * The Group Policy Setting Mappings. * A list of group policy settings to MDM/Intune mappings. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyObjectFile.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyObjectFile.java index f20f2574a1b..30318ba6f91 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyObjectFile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyObjectFile.java @@ -27,20 +27,12 @@ public class GroupPolicyObjectFile extends Entity implements IJsonBackedObject { /** - * The Group Policy Object Id. - * The Group Policy Object GUID from GPO Xml content - */ - @SerializedName("groupPolicyObjectId") - @Expose - public java.util.UUID groupPolicyObjectId; - - /** - * The Ou Distinguished Name. - * The distinguished name of the OU. + * The Content. + * The Group Policy Object file content. */ - @SerializedName("ouDistinguishedName") + @SerializedName("content") @Expose - public String ouDistinguishedName; + public String content; /** * The Created Date Time. @@ -50,6 +42,14 @@ public class GroupPolicyObjectFile extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar createdDateTime; + /** + * The Group Policy Object Id. + * The Group Policy Object GUID from GPO Xml content + */ + @SerializedName("groupPolicyObjectId") + @Expose + public java.util.UUID groupPolicyObjectId; + /** * The Last Modified Date Time. * The date and time at which the GroupPolicyObjectFile was last modified. @@ -59,12 +59,12 @@ public class GroupPolicyObjectFile extends Entity implements IJsonBackedObject { public java.util.Calendar lastModifiedDateTime; /** - * The Content. - * The Group Policy Object file content. + * The Ou Distinguished Name. + * The distinguished name of the OU. */ - @SerializedName("content") + @SerializedName("ouDistinguishedName") @Expose - public String content; + public String ouDistinguishedName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyOperation.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyOperation.java index c2730d247c8..0312e6ba321 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyOperation.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.GroupPolicyOperationType; import com.microsoft.graph.models.generated.GroupPolicyOperationStatus; +import com.microsoft.graph.models.generated.GroupPolicyOperationType; import com.microsoft.graph.models.extensions.Entity; @@ -29,12 +29,12 @@ public class GroupPolicyOperation extends Entity implements IJsonBackedObject { /** - * The Operation Type. - * The type of group policy operation. + * The Last Modified Date Time. + * The date and time the entity was last modified. */ - @SerializedName("operationType") + @SerializedName("lastModifiedDateTime") @Expose - public GroupPolicyOperationType operationType; + public java.util.Calendar lastModifiedDateTime; /** * The Operation Status. @@ -45,20 +45,20 @@ public class GroupPolicyOperation extends Entity implements IJsonBackedObject { public GroupPolicyOperationStatus operationStatus; /** - * The Status Details. - * The group policy operation status detail. + * The Operation Type. + * The type of group policy operation. */ - @SerializedName("statusDetails") + @SerializedName("operationType") @Expose - public String statusDetails; + public GroupPolicyOperationType operationType; /** - * The Last Modified Date Time. - * The date and time the entity was last modified. + * The Status Details. + * The group policy operation status detail. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("statusDetails") @Expose - public java.util.Calendar lastModifiedDateTime; + public String statusDetails; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationComboBox.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationComboBox.java index 97b3b873388..c6b76d23361 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationComboBox.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationComboBox.java @@ -35,12 +35,12 @@ public class GroupPolicyPresentationComboBox extends GroupPolicyPresentation imp public String defaultValue; /** - * The Suggestions. - * Localized strings listed in the drop-down list of the combo box. The default value is empty. + * The Max Length. + * An unsigned integer that specifies the maximum number of text characters for the parameter. The default value is 1023. */ - @SerializedName("suggestions") + @SerializedName("maxLength") @Expose - public java.util.List suggestions; + public Long maxLength; /** * The Required. @@ -51,12 +51,12 @@ public class GroupPolicyPresentationComboBox extends GroupPolicyPresentation imp public Boolean required; /** - * The Max Length. - * An unsigned integer that specifies the maximum number of text characters for the parameter. The default value is 1023. + * The Suggestions. + * Localized strings listed in the drop-down list of the combo box. The default value is empty. */ - @SerializedName("maxLength") + @SerializedName("suggestions") @Expose - public Long maxLength; + public java.util.List suggestions; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationDecimalTextBox.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationDecimalTextBox.java index 3dd35f7b078..4046b6fe47d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationDecimalTextBox.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationDecimalTextBox.java @@ -35,20 +35,20 @@ public class GroupPolicyPresentationDecimalTextBox extends GroupPolicyPresentati public Long defaultValue; /** - * The Spin. - * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. + * The Max Value. + * An unsigned integer that specifies the maximum allowed value. The default value is 9999. */ - @SerializedName("spin") + @SerializedName("maxValue") @Expose - public Boolean spin; + public Long maxValue; /** - * The Spin Step. - * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. + * The Min Value. + * An unsigned integer that specifies the minimum allowed value. The default value is 0. */ - @SerializedName("spinStep") + @SerializedName("minValue") @Expose - public Long spinStep; + public Long minValue; /** * The Required. @@ -59,20 +59,20 @@ public class GroupPolicyPresentationDecimalTextBox extends GroupPolicyPresentati public Boolean required; /** - * The Min Value. - * An unsigned integer that specifies the minimum allowed value. The default value is 0. + * The Spin. + * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. */ - @SerializedName("minValue") + @SerializedName("spin") @Expose - public Long minValue; + public Boolean spin; /** - * The Max Value. - * An unsigned integer that specifies the maximum allowed value. The default value is 9999. + * The Spin Step. + * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. */ - @SerializedName("maxValue") + @SerializedName("spinStep") @Expose - public Long maxValue; + public Long spinStep; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationLongDecimalTextBox.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationLongDecimalTextBox.java index 0d9cf559f1f..54e2c2af228 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationLongDecimalTextBox.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationLongDecimalTextBox.java @@ -35,20 +35,20 @@ public class GroupPolicyPresentationLongDecimalTextBox extends GroupPolicyPresen public Long defaultValue; /** - * The Spin. - * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. + * The Max Value. + * An unsigned long that specifies the maximum allowed value. The default value is 9999. */ - @SerializedName("spin") + @SerializedName("maxValue") @Expose - public Boolean spin; + public Long maxValue; /** - * The Spin Step. - * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. + * The Min Value. + * An unsigned long that specifies the minimum allowed value. The default value is 0. */ - @SerializedName("spinStep") + @SerializedName("minValue") @Expose - public Long spinStep; + public Long minValue; /** * The Required. @@ -59,20 +59,20 @@ public class GroupPolicyPresentationLongDecimalTextBox extends GroupPolicyPresen public Boolean required; /** - * The Min Value. - * An unsigned long that specifies the minimum allowed value. The default value is 0. + * The Spin. + * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. */ - @SerializedName("minValue") + @SerializedName("spin") @Expose - public Long minValue; + public Boolean spin; /** - * The Max Value. - * An unsigned long that specifies the maximum allowed value. The default value is 9999. + * The Spin Step. + * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. */ - @SerializedName("maxValue") + @SerializedName("spinStep") @Expose - public Long maxValue; + public Long spinStep; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationMultiTextBox.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationMultiTextBox.java index 3202f160c4e..82322501871 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationMultiTextBox.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationMultiTextBox.java @@ -26,14 +26,6 @@ public class GroupPolicyPresentationMultiTextBox extends GroupPolicyPresentation implements IJsonBackedObject { - /** - * The Required. - * Requirement to enter a value in the text box. Default value is false. - */ - @SerializedName("required") - @Expose - public Boolean required; - /** * The Max Length. * An unsigned integer that specifies the maximum number of text characters. Default value is 1023. @@ -50,6 +42,14 @@ public class GroupPolicyPresentationMultiTextBox extends GroupPolicyPresentation @Expose public Long maxStrings; + /** + * The Required. + * Requirement to enter a value in the text box. Default value is false. + */ + @SerializedName("required") + @Expose + public Boolean required; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationTextBox.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationTextBox.java index 0d3ee57a002..6d4520c15fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationTextBox.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationTextBox.java @@ -34,14 +34,6 @@ public class GroupPolicyPresentationTextBox extends GroupPolicyPresentation impl @Expose public String defaultValue; - /** - * The Required. - * Requirement to enter a value in the text box. Default value is false. - */ - @SerializedName("required") - @Expose - public Boolean required; - /** * The Max Length. * An unsigned integer that specifies the maximum number of text characters. Default value is 1023. @@ -50,6 +42,14 @@ public class GroupPolicyPresentationTextBox extends GroupPolicyPresentation impl @Expose public Long maxLength; + /** + * The Required. + * Requirement to enter a value in the text box. Default value is false. + */ + @SerializedName("required") + @Expose + public Boolean required; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationValue.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationValue.java index ce0b440eb82..47b1267d686 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationValue.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyPresentationValue.java @@ -28,14 +28,6 @@ public class GroupPolicyPresentationValue extends Entity implements IJsonBackedObject { - /** - * The Last Modified Date Time. - * The date and time the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - /** * The Created Date Time. * The date and time the object was created. @@ -44,6 +36,14 @@ public class GroupPolicyPresentationValue extends Entity implements IJsonBackedO @Expose public java.util.Calendar createdDateTime; + /** + * The Last Modified Date Time. + * The date and time the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + /** * The Definition Value. * The group policy definition value associated with the presentation value. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicySettingMapping.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicySettingMapping.java index 3deab041e77..ec30ad51df1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicySettingMapping.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicySettingMapping.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.GroupPolicySettingType; import com.microsoft.graph.models.generated.MdmSupportedState; import com.microsoft.graph.models.generated.GroupPolicySettingScope; +import com.microsoft.graph.models.generated.GroupPolicySettingType; import com.microsoft.graph.models.extensions.Entity; @@ -29,14 +29,6 @@ public class GroupPolicySettingMapping extends Entity implements IJsonBackedObject { - /** - * The Parent Id. - * Parent Id of the group policy setting. - */ - @SerializedName("parentId") - @Expose - public String parentId; - /** * The Child Id List. * List of Child Ids of the group policy setting. @@ -46,60 +38,68 @@ public class GroupPolicySettingMapping extends Entity implements IJsonBackedObje public java.util.List childIdList; /** - * The Setting Name. - * The name of this group policy setting. + * The Intune Setting Definition Id. + * The Intune Setting Definition Id */ - @SerializedName("settingName") + @SerializedName("intuneSettingDefinitionId") @Expose - public String settingName; + public String intuneSettingDefinitionId; /** - * The Setting Value. - * The value of this group policy setting. + * The Intune Setting Uri List. + * The list of Intune Setting URIs this group policy setting maps to */ - @SerializedName("settingValue") + @SerializedName("intuneSettingUriList") @Expose - public String settingValue; + public java.util.List intuneSettingUriList; /** - * The Setting Value Type. - * The value type of this group policy setting. + * The Is Mdm Supported. + * Indicates if the setting is supported by Intune or not */ - @SerializedName("settingValueType") + @SerializedName("isMdmSupported") @Expose - public String settingValueType; + public Boolean isMdmSupported; /** - * The Setting Display Name. - * The display name of this group policy setting. + * The Mdm Csp Name. + * The CSP name this group policy setting maps to. */ - @SerializedName("settingDisplayName") + @SerializedName("mdmCspName") @Expose - public String settingDisplayName; + public String mdmCspName; /** - * The Setting Display Value. - * The display value of this group policy setting. + * The Mdm Minimum OSVersion. + * The minimum OS version this mdm setting supports. */ - @SerializedName("settingDisplayValue") + @SerializedName("mdmMinimumOSVersion") @Expose - public String settingDisplayValue; + public Integer mdmMinimumOSVersion; /** - * The Setting Display Value Type. - * The display value type of this group policy setting. + * The Mdm Setting Uri. + * The MDM CSP URI this group policy setting maps to. */ - @SerializedName("settingDisplayValueType") + @SerializedName("mdmSettingUri") @Expose - public String settingDisplayValueType; + public String mdmSettingUri; /** - * The Setting Value Display Units. - * The display units of this group policy setting value + * The Mdm Supported State. + * Indicates if the setting is supported in Mdm or not */ - @SerializedName("settingValueDisplayUnits") + @SerializedName("mdmSupportedState") @Expose - public String settingValueDisplayUnits; + public MdmSupportedState mdmSupportedState; + + /** + * The Parent Id. + * Parent Id of the group policy setting. + */ + @SerializedName("parentId") + @Expose + public String parentId; /** * The Setting Category. @@ -110,76 +110,76 @@ public class GroupPolicySettingMapping extends Entity implements IJsonBackedObje public String settingCategory; /** - * The Mdm Csp Name. - * The CSP name this group policy setting maps to. + * The Setting Display Name. + * The display name of this group policy setting. */ - @SerializedName("mdmCspName") + @SerializedName("settingDisplayName") @Expose - public String mdmCspName; + public String settingDisplayName; /** - * The Mdm Setting Uri. - * The MDM CSP URI this group policy setting maps to. + * The Setting Display Value. + * The display value of this group policy setting. */ - @SerializedName("mdmSettingUri") + @SerializedName("settingDisplayValue") @Expose - public String mdmSettingUri; + public String settingDisplayValue; /** - * The Mdm Minimum OSVersion. - * The minimum OS version this mdm setting supports. + * The Setting Display Value Type. + * The display value type of this group policy setting. */ - @SerializedName("mdmMinimumOSVersion") + @SerializedName("settingDisplayValueType") @Expose - public Integer mdmMinimumOSVersion; + public String settingDisplayValueType; /** - * The Setting Type. - * The setting type (security or admx) of the Group Policy. + * The Setting Name. + * The name of this group policy setting. */ - @SerializedName("settingType") + @SerializedName("settingName") @Expose - public GroupPolicySettingType settingType; + public String settingName; /** - * The Is Mdm Supported. - * Indicates if the setting is supported by Intune or not + * The Setting Scope. + * The scope of the setting */ - @SerializedName("isMdmSupported") + @SerializedName("settingScope") @Expose - public Boolean isMdmSupported; + public GroupPolicySettingScope settingScope; /** - * The Mdm Supported State. - * Indicates if the setting is supported in Mdm or not + * The Setting Type. + * The setting type (security or admx) of the Group Policy. */ - @SerializedName("mdmSupportedState") + @SerializedName("settingType") @Expose - public MdmSupportedState mdmSupportedState; + public GroupPolicySettingType settingType; /** - * The Setting Scope. - * The scope of the setting + * The Setting Value. + * The value of this group policy setting. */ - @SerializedName("settingScope") + @SerializedName("settingValue") @Expose - public GroupPolicySettingScope settingScope; + public String settingValue; /** - * The Intune Setting Uri List. - * The list of Intune Setting URIs this group policy setting maps to + * The Setting Value Display Units. + * The display units of this group policy setting value */ - @SerializedName("intuneSettingUriList") + @SerializedName("settingValueDisplayUnits") @Expose - public java.util.List intuneSettingUriList; + public String settingValueDisplayUnits; /** - * The Intune Setting Definition Id. - * The Intune Setting Definition Id + * The Setting Value Type. + * The value type of this group policy setting. */ - @SerializedName("intuneSettingDefinitionId") + @SerializedName("settingValueType") @Expose - public String intuneSettingDefinitionId; + public String settingValueType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedDefinitionFile.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedDefinitionFile.java index 27b11dec5c4..6ff2d83031c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedDefinitionFile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedDefinitionFile.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.GroupPolicyUploadedDefinitionFileStatus; import com.microsoft.graph.models.extensions.GroupPolicyUploadedLanguageFile; +import com.microsoft.graph.models.generated.GroupPolicyUploadedDefinitionFileStatus; import com.microsoft.graph.models.extensions.GroupPolicyOperation; import com.microsoft.graph.models.extensions.GroupPolicyDefinitionFile; import com.microsoft.graph.requests.extensions.GroupPolicyOperationCollectionResponse; @@ -31,22 +31,6 @@ public class GroupPolicyUploadedDefinitionFile extends GroupPolicyDefinitionFile implements IJsonBackedObject { - /** - * The File Name. - * The file name of the uploaded ADML file. - */ - @SerializedName("fileName") - @Expose - public String fileName; - - /** - * The Status. - * The upload status of the uploaded ADMX file. - */ - @SerializedName("status") - @Expose - public GroupPolicyUploadedDefinitionFileStatus status; - /** * The Content. * The contents of the uploaded ADMX file. @@ -55,14 +39,6 @@ public class GroupPolicyUploadedDefinitionFile extends GroupPolicyDefinitionFile @Expose public byte[] content; - /** - * The Upload Date Time. - * The uploaded time of the uploaded ADMX file. - */ - @SerializedName("uploadDateTime") - @Expose - public java.util.Calendar uploadDateTime; - /** * The Default Language Code. * The default language of the uploaded ADMX file. @@ -71,6 +47,14 @@ public class GroupPolicyUploadedDefinitionFile extends GroupPolicyDefinitionFile @Expose public String defaultLanguageCode; + /** + * The File Name. + * The file name of the uploaded ADML file. + */ + @SerializedName("fileName") + @Expose + public String fileName; + /** * The Group Policy Uploaded Language Files. * The list of ADML files associated with the uploaded ADMX file. @@ -79,6 +63,22 @@ public class GroupPolicyUploadedDefinitionFile extends GroupPolicyDefinitionFile @Expose public java.util.List groupPolicyUploadedLanguageFiles; + /** + * The Status. + * The upload status of the uploaded ADMX file. + */ + @SerializedName("status") + @Expose + public GroupPolicyUploadedDefinitionFileStatus status; + + /** + * The Upload Date Time. + * The uploaded time of the uploaded ADMX file. + */ + @SerializedName("uploadDateTime") + @Expose + public java.util.Calendar uploadDateTime; + /** * The Group Policy Operations. * The list of operations on the uploaded ADMX file. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedLanguageFile.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedLanguageFile.java index efb2037e960..60b2d731d55 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedLanguageFile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPolicyUploadedLanguageFile.java @@ -35,22 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The File Name. - * The file name of the uploaded ADML file. - */ - @SerializedName("fileName") - @Expose - public String fileName; - - /** - * The Language Code. - * The language code of the uploaded ADML file. - */ - @SerializedName("languageCode") - @Expose - public String languageCode; - /** * The Content. * The contents of the uploaded ADML file. @@ -59,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public byte[] content; + /** + * The File Name. + * The file name of the uploaded ADML file. + */ + @SerializedName("fileName") + @Expose + public String fileName; + /** * The Id. * Key of the entity. @@ -67,6 +59,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String id; + /** + * The Language Code. + * The language code of the uploaded ADML file. + */ + @SerializedName("languageCode") + @Expose + public String languageCode; + /** * The Last Modified Date Time. * The date and time the entity was last modified. diff --git a/src/main/java/com/microsoft/graph/models/extensions/GroupPrintUsageSummary.java b/src/main/java/com/microsoft/graph/models/extensions/GroupPrintUsageSummary.java index 862981bbd62..50d1ac65ffb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/GroupPrintUsageSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/GroupPrintUsageSummary.java @@ -37,12 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Group Mail. + * The Completed Job Count. * */ - @SerializedName("groupMail") + @SerializedName("completedJobCount") @Expose - public String groupMail; + public Integer completedJobCount; + + /** + * The Group. + * + */ + @SerializedName("group") + @Expose + public Identity group; /** * The Group Display Name. @@ -53,12 +61,12 @@ public final AdditionalDataManager additionalDataManager() { public String groupDisplayName; /** - * The Completed Job Count. + * The Group Mail. * */ - @SerializedName("completedJobCount") + @SerializedName("groupMail") @Expose - public Integer completedJobCount; + public String groupMail; /** * The Incomplete Job Count. @@ -68,14 +76,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer incompleteJobCount; - /** - * The Group. - * - */ - @SerializedName("group") - @Expose - public Identity group; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/HardwareInformation.java b/src/main/java/com/microsoft/graph/models/extensions/HardwareInformation.java index b91e681a5fb..b1a2f4682dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/HardwareInformation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/HardwareInformation.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SharedAppleDeviceUser; +import com.microsoft.graph.models.generated.DeviceGuardLocalSystemAuthorityCredentialGuardState; import com.microsoft.graph.models.generated.DeviceGuardVirtualizationBasedSecurityHardwareRequirementState; import com.microsoft.graph.models.generated.DeviceGuardVirtualizationBasedSecurityState; -import com.microsoft.graph.models.generated.DeviceGuardLocalSystemAuthorityCredentialGuardState; +import com.microsoft.graph.models.extensions.SharedAppleDeviceUser; import com.google.gson.JsonObject; @@ -40,100 +40,100 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Serial Number. - * Serial number. + * The Battery Charge Cycles. + * The number of charge cycles the device???s current battery has gone through. Valid values 0 to 2147483647 */ - @SerializedName("serialNumber") + @SerializedName("batteryChargeCycles") @Expose - public String serialNumber; + public Integer batteryChargeCycles; /** - * The Total Storage Space. - * Total storage space of the device. + * The Battery Health Percentage. + * The device???s current battery???s health percentage. Valid values 0 to 100 */ - @SerializedName("totalStorageSpace") + @SerializedName("batteryHealthPercentage") @Expose - public Long totalStorageSpace; + public Integer batteryHealthPercentage; /** - * The Free Storage Space. - * Free storage space of the device. + * The Battery Serial Number. + * The serial number of the device???s current battery */ - @SerializedName("freeStorageSpace") + @SerializedName("batterySerialNumber") @Expose - public Long freeStorageSpace; + public String batterySerialNumber; /** - * The Imei. - * IMEI + * The Cellular Technology. + * Cellular technology of the device */ - @SerializedName("imei") + @SerializedName("cellularTechnology") @Expose - public String imei; + public String cellularTechnology; /** - * The Meid. - * MEID + * The Device Full Qualified Domain Name. + * Returns the fully qualified domain name of the device (if any). If the device is not domain-joined, it returns an empty string. */ - @SerializedName("meid") + @SerializedName("deviceFullQualifiedDomainName") @Expose - public String meid; + public String deviceFullQualifiedDomainName; /** - * The Manufacturer. - * Manufacturer of the device + * The Device Guard Local System Authority Credential Guard State. + * Local System Authority (LSA) credential guard status. */ - @SerializedName("manufacturer") + @SerializedName("deviceGuardLocalSystemAuthorityCredentialGuardState") @Expose - public String manufacturer; + public DeviceGuardLocalSystemAuthorityCredentialGuardState deviceGuardLocalSystemAuthorityCredentialGuardState; /** - * The Model. - * Model of the device + * The Device Guard Virtualization Based Security Hardware Requirement State. + * Virtualization-based security hardware requirement status. */ - @SerializedName("model") + @SerializedName("deviceGuardVirtualizationBasedSecurityHardwareRequirementState") @Expose - public String model; + public DeviceGuardVirtualizationBasedSecurityHardwareRequirementState deviceGuardVirtualizationBasedSecurityHardwareRequirementState; /** - * The Phone Number. - * Phone number of the device + * The Device Guard Virtualization Based Security State. + * Virtualization-based security status. */ - @SerializedName("phoneNumber") + @SerializedName("deviceGuardVirtualizationBasedSecurityState") @Expose - public String phoneNumber; + public DeviceGuardVirtualizationBasedSecurityState deviceGuardVirtualizationBasedSecurityState; /** - * The Subscriber Carrier. - * Subscriber carrier of the device + * The Free Storage Space. + * Free storage space of the device. */ - @SerializedName("subscriberCarrier") + @SerializedName("freeStorageSpace") @Expose - public String subscriberCarrier; + public Long freeStorageSpace; /** - * The Cellular Technology. - * Cellular technology of the device + * The Imei. + * IMEI */ - @SerializedName("cellularTechnology") + @SerializedName("imei") @Expose - public String cellularTechnology; + public String imei; /** - * The Wifi Mac. - * WiFi MAC address of the device + * The Is Encrypted. + * Encryption status of the device */ - @SerializedName("wifiMac") + @SerializedName("isEncrypted") @Expose - public String wifiMac; + public Boolean isEncrypted; /** - * The Operating System Language. - * Operating system language of the device + * The Is Shared Device. + * Shared iPad */ - @SerializedName("operatingSystemLanguage") + @SerializedName("isSharedDevice") @Expose - public String operatingSystemLanguage; + public Boolean isSharedDevice; /** * The Is Supervised. @@ -144,116 +144,116 @@ public final AdditionalDataManager additionalDataManager() { public Boolean isSupervised; /** - * The Is Encrypted. - * Encryption status of the device + * The Manufacturer. + * Manufacturer of the device */ - @SerializedName("isEncrypted") + @SerializedName("manufacturer") @Expose - public Boolean isEncrypted; + public String manufacturer; /** - * The Battery Serial Number. - * The serial number of the device???s current battery + * The Meid. + * MEID */ - @SerializedName("batterySerialNumber") + @SerializedName("meid") @Expose - public String batterySerialNumber; + public String meid; /** - * The Battery Health Percentage. - * The device???s current battery???s health percentage. Valid values 0 to 100 + * The Model. + * Model of the device */ - @SerializedName("batteryHealthPercentage") + @SerializedName("model") @Expose - public Integer batteryHealthPercentage; + public String model; /** - * The Battery Charge Cycles. - * The number of charge cycles the device???s current battery has gone through. Valid values 0 to 2147483647 + * The Operating System Edition. + * String that specifies the OS edition. */ - @SerializedName("batteryChargeCycles") + @SerializedName("operatingSystemEdition") @Expose - public Integer batteryChargeCycles; + public String operatingSystemEdition; /** - * The Is Shared Device. - * Shared iPad + * The Operating System Language. + * Operating system language of the device */ - @SerializedName("isSharedDevice") + @SerializedName("operatingSystemLanguage") @Expose - public Boolean isSharedDevice; + public String operatingSystemLanguage; /** - * The Shared Device Cached Users. - * All users on the shared Apple device + * The Operating System Product Type. + * Int that specifies the Windows Operating System ProductType. More details here https://go.microsoft.com/fwlink/?linkid=2126950. Valid values 0 to 2147483647 */ - @SerializedName("sharedDeviceCachedUsers") + @SerializedName("operatingSystemProductType") @Expose - public java.util.List sharedDeviceCachedUsers; + public Integer operatingSystemProductType; /** - * The Tpm Specification Version. - * String that specifies the specification version. + * The Os Build Number. + * Operating System Build Number on Android device */ - @SerializedName("tpmSpecificationVersion") + @SerializedName("osBuildNumber") @Expose - public String tpmSpecificationVersion; + public String osBuildNumber; /** - * The Operating System Edition. - * String that specifies the OS edition. + * The Phone Number. + * Phone number of the device */ - @SerializedName("operatingSystemEdition") + @SerializedName("phoneNumber") @Expose - public String operatingSystemEdition; + public String phoneNumber; /** - * The Device Full Qualified Domain Name. - * Returns the fully qualified domain name of the device (if any). If the device is not domain-joined, it returns an empty string. + * The Serial Number. + * Serial number. */ - @SerializedName("deviceFullQualifiedDomainName") + @SerializedName("serialNumber") @Expose - public String deviceFullQualifiedDomainName; + public String serialNumber; /** - * The Device Guard Virtualization Based Security Hardware Requirement State. - * Virtualization-based security hardware requirement status. + * The Shared Device Cached Users. + * All users on the shared Apple device */ - @SerializedName("deviceGuardVirtualizationBasedSecurityHardwareRequirementState") + @SerializedName("sharedDeviceCachedUsers") @Expose - public DeviceGuardVirtualizationBasedSecurityHardwareRequirementState deviceGuardVirtualizationBasedSecurityHardwareRequirementState; + public java.util.List sharedDeviceCachedUsers; /** - * The Device Guard Virtualization Based Security State. - * Virtualization-based security status. + * The Subscriber Carrier. + * Subscriber carrier of the device */ - @SerializedName("deviceGuardVirtualizationBasedSecurityState") + @SerializedName("subscriberCarrier") @Expose - public DeviceGuardVirtualizationBasedSecurityState deviceGuardVirtualizationBasedSecurityState; + public String subscriberCarrier; /** - * The Device Guard Local System Authority Credential Guard State. - * Local System Authority (LSA) credential guard status. + * The Total Storage Space. + * Total storage space of the device. */ - @SerializedName("deviceGuardLocalSystemAuthorityCredentialGuardState") + @SerializedName("totalStorageSpace") @Expose - public DeviceGuardLocalSystemAuthorityCredentialGuardState deviceGuardLocalSystemAuthorityCredentialGuardState; + public Long totalStorageSpace; /** - * The Os Build Number. - * Operating System Build Number on Android device + * The Tpm Specification Version. + * String that specifies the specification version. */ - @SerializedName("osBuildNumber") + @SerializedName("tpmSpecificationVersion") @Expose - public String osBuildNumber; + public String tpmSpecificationVersion; /** - * The Operating System Product Type. - * Int that specifies the Windows Operating System ProductType. More details here https://go.microsoft.com/fwlink/?linkid=2126950. Valid values 0 to 2147483647 + * The Wifi Mac. + * WiFi MAC address of the device */ - @SerializedName("operatingSystemProductType") + @SerializedName("wifiMac") @Expose - public Integer operatingSystemProductType; + public String wifiMac; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/HasPayloadLinkResultItem.java b/src/main/java/com/microsoft/graph/models/extensions/HasPayloadLinkResultItem.java index 21a75d2fe82..1fcb2399347 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/HasPayloadLinkResultItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/HasPayloadLinkResultItem.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Payload Id. - * Key of the Payload, In the format of Guid. + * The Error. + * Exception information indicates if check for this item was successful or not.Empty string for no error. */ - @SerializedName("payloadId") + @SerializedName("error") @Expose - public String payloadId; + public String error; /** * The Has Link. @@ -53,12 +53,12 @@ public final AdditionalDataManager additionalDataManager() { public Boolean hasLink; /** - * The Error. - * Exception information indicates if check for this item was successful or not.Empty string for no error. + * The Payload Id. + * Key of the Payload, In the format of Guid. */ - @SerializedName("error") + @SerializedName("payloadId") @Expose - public String error; + public String payloadId; /** * The Sources. diff --git a/src/main/java/com/microsoft/graph/models/extensions/HybridAgentUpdaterConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/HybridAgentUpdaterConfiguration.java index a91e4942513..4149f75696a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/HybridAgentUpdaterConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/HybridAgentUpdaterConfiguration.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Allow Update Configuration Override. + * + */ + @SerializedName("allowUpdateConfigurationOverride") + @Expose + public Boolean allowUpdateConfigurationOverride; + /** * The Defer Update Date Time. * @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public UpdateWindow updateWindow; - /** - * The Allow Update Configuration Override. - * - */ - @SerializedName("allowUpdateConfigurationOverride") - @Expose - public Boolean allowUpdateConfigurationOverride; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IBaseGraphServiceClient.java b/src/main/java/com/microsoft/graph/models/extensions/IBaseGraphServiceClient.java index 32c836215d2..b8e2396e60c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IBaseGraphServiceClient.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IBaseGraphServiceClient.java @@ -23,48 +23,48 @@ import com.microsoft.graph.requests.extensions.IBookingCurrencyRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityProviderCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityProviderRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IApplicationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IApplicationRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantRequestBuilder; import com.microsoft.graph.requests.extensions.IAdministrativeUnitCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequestBuilder; import com.microsoft.graph.requests.extensions.IAllowedDataLocationCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAllowedDataLocationRequestBuilder; +import com.microsoft.graph.requests.extensions.IApplicationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IApplicationRequestBuilder; import com.microsoft.graph.requests.extensions.IAppRoleAssignmentCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAppRoleAssignmentRequestBuilder; import com.microsoft.graph.requests.extensions.ICertificateBasedAuthConfigurationCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ICertificateBasedAuthConfigurationRequestBuilder; import com.microsoft.graph.requests.extensions.IOrgContactCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IOrgContactRequestBuilder; +import com.microsoft.graph.requests.extensions.IContractCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContractRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingTemplateRequestBuilder; -import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOrganizationRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; import com.microsoft.graph.requests.extensions.IOAuth2PermissionGrantCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IOAuth2PermissionGrantRequestBuilder; +import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOrganizationRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantRequestBuilder; import com.microsoft.graph.requests.extensions.IScopedRoleMembershipCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IScopedRoleMembershipRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscribedSkuCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscribedSkuRequestBuilder; -import com.microsoft.graph.requests.extensions.IContractCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContractRequestBuilder; import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; import com.microsoft.graph.requests.extensions.IPlaceCollectionRequestBuilder; @@ -77,110 +77,117 @@ import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; import com.microsoft.graph.requests.extensions.ISchemaExtensionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ISchemaExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileRequestBuilder; -import com.microsoft.graph.requests.extensions.IConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConnectorRequestBuilder; import com.microsoft.graph.requests.extensions.IConnectorGroupCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IConnectorGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileRequestBuilder; import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaRequestBuilder; import com.microsoft.graph.requests.extensions.IFilterOperatorSchemaCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IFilterOperatorSchemaRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaRequestBuilder; +import com.microsoft.graph.requests.extensions.IAccessReviewDecisionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAccessReviewDecisionRequestBuilder; import com.microsoft.graph.requests.extensions.IAccessReviewCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAccessReviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderRequestBuilder; import com.microsoft.graph.requests.extensions.IBusinessFlowTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IBusinessFlowTemplateRequestBuilder; -import com.microsoft.graph.requests.extensions.IAccessReviewDecisionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAccessReviewDecisionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProgramCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProgramRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlTypeCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderRequestBuilder; -import com.microsoft.graph.requests.extensions.IAgreementCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAgreementRequestBuilder; +import com.microsoft.graph.requests.extensions.IProgramCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IProgramRequestBuilder; import com.microsoft.graph.requests.extensions.IAgreementAcceptanceCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAgreementAcceptanceRequestBuilder; +import com.microsoft.graph.requests.extensions.IAgreementCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAgreementRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskDetectionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskDetectionRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskyUserCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskyUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedAccessCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedAccessRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceResourceCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceResourceRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceSubjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceSubjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleSettingCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleSettingRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceSubjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceSubjectRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedAccessCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedAccessRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedApprovalCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedApprovalRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestRequestBuilder; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusRequestBuilder; import com.microsoft.graph.requests.extensions.ICommandCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ICommandRequestBuilder; import com.microsoft.graph.requests.extensions.IPayloadResponseCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IPayloadResponseRequestBuilder; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscriptionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscriptionRequestBuilder; import com.microsoft.graph.requests.extensions.IExternalConnectionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IExternalConnectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; import com.microsoft.graph.requests.extensions.IChatCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IChatRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; import com.microsoft.graph.requests.extensions.ITeamsTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ITeamsTemplateRequestBuilder; +import com.microsoft.graph.requests.extensions.ILinkedResourceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ILinkedResourceRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskListCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskListRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskRequestBuilder; import com.microsoft.graph.requests.extensions.IAuditLogRootRequestBuilder; import com.microsoft.graph.requests.extensions.IReportRootRequestBuilder; import com.microsoft.graph.requests.extensions.IBitlockerRequestBuilder; +import com.microsoft.graph.requests.extensions.IComplianceRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityContainerRequestBuilder; import com.microsoft.graph.requests.extensions.ITrustFrameworkRequestBuilder; -import com.microsoft.graph.requests.extensions.IComplianceRequestBuilder; import com.microsoft.graph.requests.extensions.IDataClassificationServiceRequestBuilder; import com.microsoft.graph.requests.extensions.IInformationProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryRequestBuilder; import com.microsoft.graph.requests.extensions.IPolicyRootRequestBuilder; import com.microsoft.graph.requests.extensions.IRoleManagementRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryRequestBuilder; import com.microsoft.graph.requests.extensions.IEducationRootRequestBuilder; import com.microsoft.graph.termstore.requests.extensions.IStoreRequestBuilder; import com.microsoft.graph.requests.extensions.ICloudCommunicationsRequestBuilder; -import com.microsoft.graph.requests.extensions.IIdentityGovernanceRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityProtectionRootRequestBuilder; +import com.microsoft.graph.requests.extensions.IIdentityGovernanceRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceManagementRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequestBuilder; import com.microsoft.graph.requests.extensions.IOfficeConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.ISearchRequestBuilder; +import com.microsoft.graph.requests.extensions.ISearchEntityRequestBuilder; import com.microsoft.graph.requests.extensions.IFinancialsRequestBuilder; import com.microsoft.graph.requests.extensions.IPlannerRequestBuilder; import com.microsoft.graph.requests.extensions.IPrintRequestBuilder; import com.microsoft.graph.requests.extensions.ISecurityRequestBuilder; import com.microsoft.graph.requests.extensions.ICommsApplicationRequestBuilder; import com.microsoft.graph.requests.extensions.IExternalRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamworkRequestBuilder; import com.microsoft.graph.requests.extensions.IAppCatalogsRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamworkRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoRequestBuilder; import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.core.IBaseClient; @@ -312,51 +319,6 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ IIdentityProviderRequestBuilder identityProviders(final String id); - /** - * Gets the collection of DirectoryObjects objects - * - * @return the request builder for the collection of DirectoryObjects objects - */ - IDirectoryObjectCollectionRequestBuilder directoryObjects(); - - /** - * Gets a single DirectoryObjects - * - * @param id the id of the DirectoryObjects to retrieve - * @return the request builder for the DirectoryObjects object - */ - IDirectoryObjectRequestBuilder directoryObjects(final String id); - - /** - * Gets the collection of Applications objects - * - * @return the request builder for the collection of Applications objects - */ - IApplicationCollectionRequestBuilder applications(); - - /** - * Gets a single Applications - * - * @param id the id of the Applications to retrieve - * @return the request builder for the Applications object - */ - IApplicationRequestBuilder applications(final String id); - - /** - * Gets the collection of PermissionGrants objects - * - * @return the request builder for the collection of PermissionGrants objects - */ - IResourceSpecificPermissionGrantCollectionRequestBuilder permissionGrants(); - - /** - * Gets a single PermissionGrants - * - * @param id the id of the PermissionGrants to retrieve - * @return the request builder for the PermissionGrants object - */ - IResourceSpecificPermissionGrantRequestBuilder permissionGrants(final String id); - /** * Gets the collection of AdministrativeUnits objects * @@ -387,6 +349,21 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ IAllowedDataLocationRequestBuilder allowedDataLocations(final String id); + /** + * Gets the collection of Applications objects + * + * @return the request builder for the collection of Applications objects + */ + IApplicationCollectionRequestBuilder applications(); + + /** + * Gets a single Applications + * + * @param id the id of the Applications to retrieve + * @return the request builder for the Applications object + */ + IApplicationRequestBuilder applications(final String id); + /** * Gets the collection of AppRoleAssignments objects * @@ -433,64 +410,49 @@ public interface IBaseGraphServiceClient extends IBaseClient { IOrgContactRequestBuilder contacts(final String id); /** - * Gets the collection of Devices objects - * - * @return the request builder for the collection of Devices objects - */ - IDeviceCollectionRequestBuilder devices(); - - /** - * Gets a single Devices - * - * @param id the id of the Devices to retrieve - * @return the request builder for the Devices object - */ - IDeviceRequestBuilder devices(final String id); - - /** - * Gets the collection of Domains objects + * Gets the collection of Contracts objects * - * @return the request builder for the collection of Domains objects + * @return the request builder for the collection of Contracts objects */ - IDomainCollectionRequestBuilder domains(); + IContractCollectionRequestBuilder contracts(); /** - * Gets a single Domains + * Gets a single Contracts * - * @param id the id of the Domains to retrieve - * @return the request builder for the Domains object + * @param id the id of the Contracts to retrieve + * @return the request builder for the Contracts object */ - IDomainRequestBuilder domains(final String id); + IContractRequestBuilder contracts(final String id); /** - * Gets the collection of DomainDnsRecords objects + * Gets the collection of Devices objects * - * @return the request builder for the collection of DomainDnsRecords objects + * @return the request builder for the collection of Devices objects */ - IDomainDnsRecordCollectionRequestBuilder domainDnsRecords(); + IDeviceCollectionRequestBuilder devices(); /** - * Gets a single DomainDnsRecords + * Gets a single Devices * - * @param id the id of the DomainDnsRecords to retrieve - * @return the request builder for the DomainDnsRecords object + * @param id the id of the Devices to retrieve + * @return the request builder for the Devices object */ - IDomainDnsRecordRequestBuilder domainDnsRecords(final String id); + IDeviceRequestBuilder devices(final String id); /** - * Gets the collection of Groups objects + * Gets the collection of DirectoryObjects objects * - * @return the request builder for the collection of Groups objects + * @return the request builder for the collection of DirectoryObjects objects */ - IGroupCollectionRequestBuilder groups(); + IDirectoryObjectCollectionRequestBuilder directoryObjects(); /** - * Gets a single Groups + * Gets a single DirectoryObjects * - * @param id the id of the Groups to retrieve - * @return the request builder for the Groups object + * @param id the id of the DirectoryObjects to retrieve + * @return the request builder for the DirectoryObjects object */ - IGroupRequestBuilder groups(final String id); + IDirectoryObjectRequestBuilder directoryObjects(final String id); /** * Gets the collection of DirectoryRoles objects @@ -538,19 +500,49 @@ public interface IBaseGraphServiceClient extends IBaseClient { IDirectorySettingTemplateRequestBuilder directorySettingTemplates(final String id); /** - * Gets the collection of Organization objects + * Gets the collection of DomainDnsRecords objects * - * @return the request builder for the collection of Organization objects + * @return the request builder for the collection of DomainDnsRecords objects */ - IOrganizationCollectionRequestBuilder organization(); + IDomainDnsRecordCollectionRequestBuilder domainDnsRecords(); /** - * Gets a single Organization + * Gets a single DomainDnsRecords * - * @param id the id of the Organization to retrieve - * @return the request builder for the Organization object + * @param id the id of the DomainDnsRecords to retrieve + * @return the request builder for the DomainDnsRecords object */ - IOrganizationRequestBuilder organization(final String id); + IDomainDnsRecordRequestBuilder domainDnsRecords(final String id); + + /** + * Gets the collection of Domains objects + * + * @return the request builder for the collection of Domains objects + */ + IDomainCollectionRequestBuilder domains(); + + /** + * Gets a single Domains + * + * @param id the id of the Domains to retrieve + * @return the request builder for the Domains object + */ + IDomainRequestBuilder domains(final String id); + + /** + * Gets the collection of Groups objects + * + * @return the request builder for the collection of Groups objects + */ + IGroupCollectionRequestBuilder groups(); + + /** + * Gets a single Groups + * + * @param id the id of the Groups to retrieve + * @return the request builder for the Groups object + */ + IGroupRequestBuilder groups(final String id); /** * Gets the collection of Oauth2PermissionGrants objects @@ -567,6 +559,36 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ IOAuth2PermissionGrantRequestBuilder oauth2PermissionGrants(final String id); + /** + * Gets the collection of Organization objects + * + * @return the request builder for the collection of Organization objects + */ + IOrganizationCollectionRequestBuilder organization(); + + /** + * Gets a single Organization + * + * @param id the id of the Organization to retrieve + * @return the request builder for the Organization object + */ + IOrganizationRequestBuilder organization(final String id); + + /** + * Gets the collection of PermissionGrants objects + * + * @return the request builder for the collection of PermissionGrants objects + */ + IResourceSpecificPermissionGrantCollectionRequestBuilder permissionGrants(); + + /** + * Gets a single PermissionGrants + * + * @param id the id of the PermissionGrants to retrieve + * @return the request builder for the PermissionGrants object + */ + IResourceSpecificPermissionGrantRequestBuilder permissionGrants(final String id); + /** * Gets the collection of ScopedRoleMemberships objects * @@ -612,21 +634,6 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ ISubscribedSkuRequestBuilder subscribedSkus(final String id); - /** - * Gets the collection of Contracts objects - * - * @return the request builder for the collection of Contracts objects - */ - IContractCollectionRequestBuilder contracts(); - - /** - * Gets a single Contracts - * - * @param id the id of the Contracts to retrieve - * @return the request builder for the Contracts object - */ - IContractRequestBuilder contracts(final String id); - /** * Gets the collection of Workbooks objects * @@ -718,19 +725,19 @@ public interface IBaseGraphServiceClient extends IBaseClient { ISchemaExtensionRequestBuilder schemaExtensions(final String id); /** - * Gets the collection of OnPremisesPublishingProfiles objects + * Gets the collection of ConnectorGroups objects * - * @return the request builder for the collection of OnPremisesPublishingProfiles objects + * @return the request builder for the collection of ConnectorGroups objects */ - IOnPremisesPublishingProfileCollectionRequestBuilder onPremisesPublishingProfiles(); + IConnectorGroupCollectionRequestBuilder connectorGroups(); /** - * Gets a single OnPremisesPublishingProfiles + * Gets a single ConnectorGroups * - * @param id the id of the OnPremisesPublishingProfiles to retrieve - * @return the request builder for the OnPremisesPublishingProfiles object + * @param id the id of the ConnectorGroups to retrieve + * @return the request builder for the ConnectorGroups object */ - IOnPremisesPublishingProfileRequestBuilder onPremisesPublishingProfiles(final String id); + IConnectorGroupRequestBuilder connectorGroups(final String id); /** * Gets the collection of Connectors objects @@ -748,19 +755,19 @@ public interface IBaseGraphServiceClient extends IBaseClient { IConnectorRequestBuilder connectors(final String id); /** - * Gets the collection of ConnectorGroups objects + * Gets the collection of OnPremisesPublishingProfiles objects * - * @return the request builder for the collection of ConnectorGroups objects + * @return the request builder for the collection of OnPremisesPublishingProfiles objects */ - IConnectorGroupCollectionRequestBuilder connectorGroups(); + IOnPremisesPublishingProfileCollectionRequestBuilder onPremisesPublishingProfiles(); /** - * Gets a single ConnectorGroups + * Gets a single OnPremisesPublishingProfiles * - * @param id the id of the ConnectorGroups to retrieve - * @return the request builder for the ConnectorGroups object + * @param id the id of the OnPremisesPublishingProfiles to retrieve + * @return the request builder for the OnPremisesPublishingProfiles object */ - IConnectorGroupRequestBuilder connectorGroups(final String id); + IOnPremisesPublishingProfileRequestBuilder onPremisesPublishingProfiles(final String id); /** * Gets the collection of GroupLifecyclePolicies objects @@ -777,6 +784,21 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ IGroupLifecyclePolicyRequestBuilder groupLifecyclePolicies(final String id); + /** + * Gets the collection of FilterOperators objects + * + * @return the request builder for the collection of FilterOperators objects + */ + IFilterOperatorSchemaCollectionRequestBuilder filterOperators(); + + /** + * Gets a single FilterOperators + * + * @param id the id of the FilterOperators to retrieve + * @return the request builder for the FilterOperators object + */ + IFilterOperatorSchemaRequestBuilder filterOperators(final String id); + /** * Gets the collection of Functions objects * @@ -793,19 +815,19 @@ public interface IBaseGraphServiceClient extends IBaseClient { IAttributeMappingFunctionSchemaRequestBuilder functions(final String id); /** - * Gets the collection of FilterOperators objects + * Gets the collection of AccessReviewDecisions objects * - * @return the request builder for the collection of FilterOperators objects + * @return the request builder for the collection of AccessReviewDecisions objects */ - IFilterOperatorSchemaCollectionRequestBuilder filterOperators(); + IAccessReviewDecisionCollectionRequestBuilder accessReviewDecisions(); /** - * Gets a single FilterOperators + * Gets a single AccessReviewDecisions * - * @param id the id of the FilterOperators to retrieve - * @return the request builder for the FilterOperators object + * @param id the id of the AccessReviewDecisions to retrieve + * @return the request builder for the AccessReviewDecisions object */ - IFilterOperatorSchemaRequestBuilder filterOperators(final String id); + IAccessReviewDecisionRequestBuilder accessReviewDecisions(final String id); /** * Gets the collection of AccessReviews objects @@ -823,49 +845,34 @@ public interface IBaseGraphServiceClient extends IBaseClient { IAccessReviewRequestBuilder accessReviews(final String id); /** - * Gets the collection of BusinessFlowTemplates objects - * - * @return the request builder for the collection of BusinessFlowTemplates objects - */ - IBusinessFlowTemplateCollectionRequestBuilder businessFlowTemplates(); - - /** - * Gets a single BusinessFlowTemplates - * - * @param id the id of the BusinessFlowTemplates to retrieve - * @return the request builder for the BusinessFlowTemplates object - */ - IBusinessFlowTemplateRequestBuilder businessFlowTemplates(final String id); - - /** - * Gets the collection of AccessReviewDecisions objects + * Gets the collection of ApprovalWorkflowProviders objects * - * @return the request builder for the collection of AccessReviewDecisions objects + * @return the request builder for the collection of ApprovalWorkflowProviders objects */ - IAccessReviewDecisionCollectionRequestBuilder accessReviewDecisions(); + IApprovalWorkflowProviderCollectionRequestBuilder approvalWorkflowProviders(); /** - * Gets a single AccessReviewDecisions + * Gets a single ApprovalWorkflowProviders * - * @param id the id of the AccessReviewDecisions to retrieve - * @return the request builder for the AccessReviewDecisions object + * @param id the id of the ApprovalWorkflowProviders to retrieve + * @return the request builder for the ApprovalWorkflowProviders object */ - IAccessReviewDecisionRequestBuilder accessReviewDecisions(final String id); + IApprovalWorkflowProviderRequestBuilder approvalWorkflowProviders(final String id); /** - * Gets the collection of Programs objects + * Gets the collection of BusinessFlowTemplates objects * - * @return the request builder for the collection of Programs objects + * @return the request builder for the collection of BusinessFlowTemplates objects */ - IProgramCollectionRequestBuilder programs(); + IBusinessFlowTemplateCollectionRequestBuilder businessFlowTemplates(); /** - * Gets a single Programs + * Gets a single BusinessFlowTemplates * - * @param id the id of the Programs to retrieve - * @return the request builder for the Programs object + * @param id the id of the BusinessFlowTemplates to retrieve + * @return the request builder for the BusinessFlowTemplates object */ - IProgramRequestBuilder programs(final String id); + IBusinessFlowTemplateRequestBuilder businessFlowTemplates(final String id); /** * Gets the collection of ProgramControls objects @@ -898,49 +905,49 @@ public interface IBaseGraphServiceClient extends IBaseClient { IProgramControlTypeRequestBuilder programControlTypes(final String id); /** - * Gets the collection of ApprovalWorkflowProviders objects + * Gets the collection of Programs objects * - * @return the request builder for the collection of ApprovalWorkflowProviders objects + * @return the request builder for the collection of Programs objects */ - IApprovalWorkflowProviderCollectionRequestBuilder approvalWorkflowProviders(); + IProgramCollectionRequestBuilder programs(); /** - * Gets a single ApprovalWorkflowProviders + * Gets a single Programs * - * @param id the id of the ApprovalWorkflowProviders to retrieve - * @return the request builder for the ApprovalWorkflowProviders object + * @param id the id of the Programs to retrieve + * @return the request builder for the Programs object */ - IApprovalWorkflowProviderRequestBuilder approvalWorkflowProviders(final String id); + IProgramRequestBuilder programs(final String id); /** - * Gets the collection of Agreements objects + * Gets the collection of AgreementAcceptances objects * - * @return the request builder for the collection of Agreements objects + * @return the request builder for the collection of AgreementAcceptances objects */ - IAgreementCollectionRequestBuilder agreements(); + IAgreementAcceptanceCollectionRequestBuilder agreementAcceptances(); /** - * Gets a single Agreements + * Gets a single AgreementAcceptances * - * @param id the id of the Agreements to retrieve - * @return the request builder for the Agreements object + * @param id the id of the AgreementAcceptances to retrieve + * @return the request builder for the AgreementAcceptances object */ - IAgreementRequestBuilder agreements(final String id); + IAgreementAcceptanceRequestBuilder agreementAcceptances(final String id); /** - * Gets the collection of AgreementAcceptances objects + * Gets the collection of Agreements objects * - * @return the request builder for the collection of AgreementAcceptances objects + * @return the request builder for the collection of Agreements objects */ - IAgreementAcceptanceCollectionRequestBuilder agreementAcceptances(); + IAgreementCollectionRequestBuilder agreements(); /** - * Gets a single AgreementAcceptances + * Gets a single Agreements * - * @param id the id of the AgreementAcceptances to retrieve - * @return the request builder for the AgreementAcceptances object + * @param id the id of the Agreements to retrieve + * @return the request builder for the Agreements object */ - IAgreementAcceptanceRequestBuilder agreementAcceptances(final String id); + IAgreementRequestBuilder agreements(final String id); /** * Gets the collection of RiskDetections objects @@ -967,25 +974,10 @@ public interface IBaseGraphServiceClient extends IBaseClient { /** * Gets a single RiskyUsers * - * @param id the id of the RiskyUsers to retrieve - * @return the request builder for the RiskyUsers object - */ - IRiskyUserRequestBuilder riskyUsers(final String id); - - /** - * Gets the collection of PrivilegedAccess objects - * - * @return the request builder for the collection of PrivilegedAccess objects - */ - IPrivilegedAccessCollectionRequestBuilder privilegedAccess(); - - /** - * Gets a single PrivilegedAccess - * - * @param id the id of the PrivilegedAccess to retrieve - * @return the request builder for the PrivilegedAccess object + * @param id the id of the RiskyUsers to retrieve + * @return the request builder for the RiskyUsers object */ - IPrivilegedAccessRequestBuilder privilegedAccess(final String id); + IRiskyUserRequestBuilder riskyUsers(final String id); /** * Gets the collection of GovernanceResources objects @@ -1003,34 +995,19 @@ public interface IBaseGraphServiceClient extends IBaseClient { IGovernanceResourceRequestBuilder governanceResources(final String id); /** - * Gets the collection of GovernanceSubjects objects - * - * @return the request builder for the collection of GovernanceSubjects objects - */ - IGovernanceSubjectCollectionRequestBuilder governanceSubjects(); - - /** - * Gets a single GovernanceSubjects - * - * @param id the id of the GovernanceSubjects to retrieve - * @return the request builder for the GovernanceSubjects object - */ - IGovernanceSubjectRequestBuilder governanceSubjects(final String id); - - /** - * Gets the collection of GovernanceRoleDefinitions objects + * Gets the collection of GovernanceRoleAssignmentRequests objects * - * @return the request builder for the collection of GovernanceRoleDefinitions objects + * @return the request builder for the collection of GovernanceRoleAssignmentRequests objects */ - IGovernanceRoleDefinitionCollectionRequestBuilder governanceRoleDefinitions(); + IGovernanceRoleAssignmentRequestCollectionRequestBuilder governanceRoleAssignmentRequests(); /** - * Gets a single GovernanceRoleDefinitions + * Gets a single GovernanceRoleAssignmentRequests * - * @param id the id of the GovernanceRoleDefinitions to retrieve - * @return the request builder for the GovernanceRoleDefinitions object + * @param id the id of the GovernanceRoleAssignmentRequests to retrieve + * @return the request builder for the GovernanceRoleAssignmentRequests object */ - IGovernanceRoleDefinitionRequestBuilder governanceRoleDefinitions(final String id); + IGovernanceRoleAssignmentRequestRequestBuilder governanceRoleAssignmentRequests(final String id); /** * Gets the collection of GovernanceRoleAssignments objects @@ -1048,19 +1025,19 @@ public interface IBaseGraphServiceClient extends IBaseClient { IGovernanceRoleAssignmentRequestBuilder governanceRoleAssignments(final String id); /** - * Gets the collection of GovernanceRoleAssignmentRequests objects + * Gets the collection of GovernanceRoleDefinitions objects * - * @return the request builder for the collection of GovernanceRoleAssignmentRequests objects + * @return the request builder for the collection of GovernanceRoleDefinitions objects */ - IGovernanceRoleAssignmentRequestCollectionRequestBuilder governanceRoleAssignmentRequests(); + IGovernanceRoleDefinitionCollectionRequestBuilder governanceRoleDefinitions(); /** - * Gets a single GovernanceRoleAssignmentRequests + * Gets a single GovernanceRoleDefinitions * - * @param id the id of the GovernanceRoleAssignmentRequests to retrieve - * @return the request builder for the GovernanceRoleAssignmentRequests object + * @param id the id of the GovernanceRoleDefinitions to retrieve + * @return the request builder for the GovernanceRoleDefinitions object */ - IGovernanceRoleAssignmentRequestRequestBuilder governanceRoleAssignmentRequests(final String id); + IGovernanceRoleDefinitionRequestBuilder governanceRoleDefinitions(final String id); /** * Gets the collection of GovernanceRoleSettings objects @@ -1078,34 +1055,49 @@ public interface IBaseGraphServiceClient extends IBaseClient { IGovernanceRoleSettingRequestBuilder governanceRoleSettings(final String id); /** - * Gets the collection of PrivilegedRoles objects + * Gets the collection of GovernanceSubjects objects * - * @return the request builder for the collection of PrivilegedRoles objects + * @return the request builder for the collection of GovernanceSubjects objects */ - IPrivilegedRoleCollectionRequestBuilder privilegedRoles(); + IGovernanceSubjectCollectionRequestBuilder governanceSubjects(); /** - * Gets a single PrivilegedRoles + * Gets a single GovernanceSubjects * - * @param id the id of the PrivilegedRoles to retrieve - * @return the request builder for the PrivilegedRoles object + * @param id the id of the GovernanceSubjects to retrieve + * @return the request builder for the GovernanceSubjects object */ - IPrivilegedRoleRequestBuilder privilegedRoles(final String id); + IGovernanceSubjectRequestBuilder governanceSubjects(final String id); /** - * Gets the collection of PrivilegedRoleAssignments objects + * Gets the collection of PrivilegedAccess objects * - * @return the request builder for the collection of PrivilegedRoleAssignments objects + * @return the request builder for the collection of PrivilegedAccess objects */ - IPrivilegedRoleAssignmentCollectionRequestBuilder privilegedRoleAssignments(); + IPrivilegedAccessCollectionRequestBuilder privilegedAccess(); /** - * Gets a single PrivilegedRoleAssignments + * Gets a single PrivilegedAccess * - * @param id the id of the PrivilegedRoleAssignments to retrieve - * @return the request builder for the PrivilegedRoleAssignments object + * @param id the id of the PrivilegedAccess to retrieve + * @return the request builder for the PrivilegedAccess object */ - IPrivilegedRoleAssignmentRequestBuilder privilegedRoleAssignments(final String id); + IPrivilegedAccessRequestBuilder privilegedAccess(final String id); + + /** + * Gets the collection of PrivilegedApproval objects + * + * @return the request builder for the collection of PrivilegedApproval objects + */ + IPrivilegedApprovalCollectionRequestBuilder privilegedApproval(); + + /** + * Gets a single PrivilegedApproval + * + * @param id the id of the PrivilegedApproval to retrieve + * @return the request builder for the PrivilegedApproval object + */ + IPrivilegedApprovalRequestBuilder privilegedApproval(final String id); /** * Gets the collection of PrivilegedOperationEvents objects @@ -1123,64 +1115,64 @@ public interface IBaseGraphServiceClient extends IBaseClient { IPrivilegedOperationEventRequestBuilder privilegedOperationEvents(final String id); /** - * Gets the collection of PrivilegedSignupStatus objects + * Gets the collection of PrivilegedRoleAssignmentRequests objects * - * @return the request builder for the collection of PrivilegedSignupStatus objects + * @return the request builder for the collection of PrivilegedRoleAssignmentRequests objects */ - IPrivilegedSignupStatusCollectionRequestBuilder privilegedSignupStatus(); + IPrivilegedRoleAssignmentRequestCollectionRequestBuilder privilegedRoleAssignmentRequests(); /** - * Gets a single PrivilegedSignupStatus + * Gets a single PrivilegedRoleAssignmentRequests * - * @param id the id of the PrivilegedSignupStatus to retrieve - * @return the request builder for the PrivilegedSignupStatus object + * @param id the id of the PrivilegedRoleAssignmentRequests to retrieve + * @return the request builder for the PrivilegedRoleAssignmentRequests object */ - IPrivilegedSignupStatusRequestBuilder privilegedSignupStatus(final String id); + IPrivilegedRoleAssignmentRequestRequestBuilder privilegedRoleAssignmentRequests(final String id); /** - * Gets the collection of PrivilegedApproval objects + * Gets the collection of PrivilegedRoleAssignments objects * - * @return the request builder for the collection of PrivilegedApproval objects + * @return the request builder for the collection of PrivilegedRoleAssignments objects */ - IPrivilegedApprovalCollectionRequestBuilder privilegedApproval(); + IPrivilegedRoleAssignmentCollectionRequestBuilder privilegedRoleAssignments(); /** - * Gets a single PrivilegedApproval + * Gets a single PrivilegedRoleAssignments * - * @param id the id of the PrivilegedApproval to retrieve - * @return the request builder for the PrivilegedApproval object + * @param id the id of the PrivilegedRoleAssignments to retrieve + * @return the request builder for the PrivilegedRoleAssignments object */ - IPrivilegedApprovalRequestBuilder privilegedApproval(final String id); + IPrivilegedRoleAssignmentRequestBuilder privilegedRoleAssignments(final String id); /** - * Gets the collection of PrivilegedRoleAssignmentRequests objects + * Gets the collection of PrivilegedRoles objects * - * @return the request builder for the collection of PrivilegedRoleAssignmentRequests objects + * @return the request builder for the collection of PrivilegedRoles objects */ - IPrivilegedRoleAssignmentRequestCollectionRequestBuilder privilegedRoleAssignmentRequests(); + IPrivilegedRoleCollectionRequestBuilder privilegedRoles(); /** - * Gets a single PrivilegedRoleAssignmentRequests + * Gets a single PrivilegedRoles * - * @param id the id of the PrivilegedRoleAssignmentRequests to retrieve - * @return the request builder for the PrivilegedRoleAssignmentRequests object + * @param id the id of the PrivilegedRoles to retrieve + * @return the request builder for the PrivilegedRoles object */ - IPrivilegedRoleAssignmentRequestRequestBuilder privilegedRoleAssignmentRequests(final String id); + IPrivilegedRoleRequestBuilder privilegedRoles(final String id); /** - * Gets the collection of DataPolicyOperations objects + * Gets the collection of PrivilegedSignupStatus objects * - * @return the request builder for the collection of DataPolicyOperations objects + * @return the request builder for the collection of PrivilegedSignupStatus objects */ - IDataPolicyOperationCollectionRequestBuilder dataPolicyOperations(); + IPrivilegedSignupStatusCollectionRequestBuilder privilegedSignupStatus(); /** - * Gets a single DataPolicyOperations + * Gets a single PrivilegedSignupStatus * - * @param id the id of the DataPolicyOperations to retrieve - * @return the request builder for the DataPolicyOperations object + * @param id the id of the PrivilegedSignupStatus to retrieve + * @return the request builder for the PrivilegedSignupStatus object */ - IDataPolicyOperationRequestBuilder dataPolicyOperations(final String id); + IPrivilegedSignupStatusRequestBuilder privilegedSignupStatus(final String id); /** * Gets the collection of Commands objects @@ -1212,6 +1204,21 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ IPayloadResponseRequestBuilder payloadResponse(final String id); + /** + * Gets the collection of DataPolicyOperations objects + * + * @return the request builder for the collection of DataPolicyOperations objects + */ + IDataPolicyOperationCollectionRequestBuilder dataPolicyOperations(); + + /** + * Gets a single DataPolicyOperations + * + * @param id the id of the DataPolicyOperations to retrieve + * @return the request builder for the DataPolicyOperations object + */ + IDataPolicyOperationRequestBuilder dataPolicyOperations(final String id); + /** * Gets the collection of Subscriptions objects * @@ -1243,34 +1250,34 @@ public interface IBaseGraphServiceClient extends IBaseClient { IExternalConnectionRequestBuilder connections(final String id); /** - * Gets the collection of Teams objects + * Gets the collection of Chats objects * - * @return the request builder for the collection of Teams objects + * @return the request builder for the collection of Chats objects */ - ITeamCollectionRequestBuilder teams(); + IChatCollectionRequestBuilder chats(); /** - * Gets a single Teams + * Gets a single Chats * - * @param id the id of the Teams to retrieve - * @return the request builder for the Teams object + * @param id the id of the Chats to retrieve + * @return the request builder for the Chats object */ - ITeamRequestBuilder teams(final String id); + IChatRequestBuilder chats(final String id); /** - * Gets the collection of Chats objects + * Gets the collection of Teams objects * - * @return the request builder for the collection of Chats objects + * @return the request builder for the collection of Teams objects */ - IChatCollectionRequestBuilder chats(); + ITeamCollectionRequestBuilder teams(); /** - * Gets a single Chats + * Gets a single Teams * - * @param id the id of the Chats to retrieve - * @return the request builder for the Chats object + * @param id the id of the Teams to retrieve + * @return the request builder for the Teams object */ - IChatRequestBuilder chats(final String id); + ITeamRequestBuilder teams(final String id); /** * Gets the collection of TeamsTemplates objects @@ -1287,6 +1294,51 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ ITeamsTemplateRequestBuilder teamsTemplates(final String id); + /** + * Gets the collection of LinkedResources objects + * + * @return the request builder for the collection of LinkedResources objects + */ + ILinkedResourceCollectionRequestBuilder linkedResources(); + + /** + * Gets a single LinkedResources + * + * @param id the id of the LinkedResources to retrieve + * @return the request builder for the LinkedResources object + */ + ILinkedResourceRequestBuilder linkedResources(final String id); + + /** + * Gets the collection of Lists objects + * + * @return the request builder for the collection of Lists objects + */ + ITodoTaskListCollectionRequestBuilder lists(); + + /** + * Gets a single Lists + * + * @param id the id of the Lists to retrieve + * @return the request builder for the Lists object + */ + ITodoTaskListRequestBuilder lists(final String id); + + /** + * Gets the collection of Tasks objects + * + * @return the request builder for the collection of Tasks objects + */ + ITodoTaskCollectionRequestBuilder tasks(); + + /** + * Gets a single Tasks + * + * @param id the id of the Tasks to retrieve + * @return the request builder for the Tasks object + */ + ITodoTaskRequestBuilder tasks(final String id); + /** * Gets the GraphServiceRequestBuilder * @@ -1311,23 +1363,23 @@ public interface IBaseGraphServiceClient extends IBaseClient { /** * Gets the GraphServiceRequestBuilder * - * @return the IdentityContainer + * @return the Compliance */ - IIdentityContainerRequestBuilder identity(); + IComplianceRequestBuilder compliance(); /** * Gets the GraphServiceRequestBuilder * - * @return the TrustFramework + * @return the IdentityContainer */ - ITrustFrameworkRequestBuilder trustFramework(); + IIdentityContainerRequestBuilder identity(); /** * Gets the GraphServiceRequestBuilder * - * @return the Compliance + * @return the TrustFramework */ - IComplianceRequestBuilder compliance(); + ITrustFrameworkRequestBuilder trustFramework(); /** * Gets the GraphServiceRequestBuilder @@ -1346,9 +1398,9 @@ public interface IBaseGraphServiceClient extends IBaseClient { /** * Gets the GraphServiceRequestBuilder * - * @return the PolicyRoot + * @return the Directory */ - IPolicyRootRequestBuilder policies(); + IDirectoryRequestBuilder directory(); /** * Gets the GraphServiceRequestBuilder @@ -1360,16 +1412,16 @@ public interface IBaseGraphServiceClient extends IBaseClient { /** * Gets the GraphServiceRequestBuilder * - * @return the RoleManagement + * @return the PolicyRoot */ - IRoleManagementRequestBuilder roleManagement(); + IPolicyRootRequestBuilder policies(); /** * Gets the GraphServiceRequestBuilder * - * @return the Directory + * @return the RoleManagement */ - IDirectoryRequestBuilder directory(); + IRoleManagementRequestBuilder roleManagement(); /** * Gets the GraphServiceRequestBuilder @@ -1402,16 +1454,16 @@ public interface IBaseGraphServiceClient extends IBaseClient { /** * Gets the GraphServiceRequestBuilder * - * @return the IdentityGovernance + * @return the IdentityProtectionRoot */ - IIdentityGovernanceRequestBuilder identityGovernance(); + IIdentityProtectionRootRequestBuilder identityProtection(); /** * Gets the GraphServiceRequestBuilder * - * @return the IdentityProtectionRoot + * @return the IdentityGovernance */ - IIdentityProtectionRootRequestBuilder identityProtection(); + IIdentityGovernanceRequestBuilder identityGovernance(); /** * Gets the GraphServiceRequestBuilder @@ -1437,9 +1489,9 @@ public interface IBaseGraphServiceClient extends IBaseClient { /** * Gets the GraphServiceRequestBuilder * - * @return the Search + * @return the SearchEntity */ - ISearchRequestBuilder search(); + ISearchEntityRequestBuilder search(); /** * Gets the GraphServiceRequestBuilder @@ -1483,6 +1535,13 @@ public interface IBaseGraphServiceClient extends IBaseClient { */ IExternalRequestBuilder external(); + /** + * Gets the GraphServiceRequestBuilder + * + * @return the AppCatalogs + */ + IAppCatalogsRequestBuilder appCatalogs(); + /** * Gets the GraphServiceRequestBuilder * @@ -1493,8 +1552,8 @@ public interface IBaseGraphServiceClient extends IBaseClient { /** * Gets the GraphServiceRequestBuilder * - * @return the AppCatalogs + * @return the Todo */ - IAppCatalogsRequestBuilder appCatalogs(); + ITodoRequestBuilder todo(); } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java b/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java index 10fe5d358ab..9e0dfa8b643 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IGraphServiceClient.java @@ -23,48 +23,48 @@ import com.microsoft.graph.requests.extensions.IBookingCurrencyRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityProviderCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityProviderRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IApplicationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IApplicationRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantRequestBuilder; import com.microsoft.graph.requests.extensions.IAdministrativeUnitCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAdministrativeUnitRequestBuilder; import com.microsoft.graph.requests.extensions.IAllowedDataLocationCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAllowedDataLocationRequestBuilder; +import com.microsoft.graph.requests.extensions.IApplicationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IApplicationRequestBuilder; import com.microsoft.graph.requests.extensions.IAppRoleAssignmentCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAppRoleAssignmentRequestBuilder; import com.microsoft.graph.requests.extensions.ICertificateBasedAuthConfigurationCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ICertificateBasedAuthConfigurationRequestBuilder; import com.microsoft.graph.requests.extensions.IOrgContactCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IOrgContactRequestBuilder; +import com.microsoft.graph.requests.extensions.IContractCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IContractRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryObjectRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectoryRoleTemplateRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingTemplateRequestBuilder; -import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOrganizationRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainDnsRecordRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDomainRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGroupRequestBuilder; import com.microsoft.graph.requests.extensions.IOAuth2PermissionGrantCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IOAuth2PermissionGrantRequestBuilder; +import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOrganizationRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantRequestBuilder; import com.microsoft.graph.requests.extensions.IScopedRoleMembershipCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IScopedRoleMembershipRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDirectorySettingRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscribedSkuCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscribedSkuRequestBuilder; -import com.microsoft.graph.requests.extensions.IContractCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IContractRequestBuilder; import com.microsoft.graph.requests.extensions.IDriveItemCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IDriveItemRequestBuilder; import com.microsoft.graph.requests.extensions.IPlaceCollectionRequestBuilder; @@ -77,110 +77,117 @@ import com.microsoft.graph.requests.extensions.ISiteRequestBuilder; import com.microsoft.graph.requests.extensions.ISchemaExtensionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ISchemaExtensionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileRequestBuilder; -import com.microsoft.graph.requests.extensions.IConnectorCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IConnectorRequestBuilder; import com.microsoft.graph.requests.extensions.IConnectorGroupCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IConnectorGroupRequestBuilder; +import com.microsoft.graph.requests.extensions.IConnectorCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IConnectorRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IOnPremisesPublishingProfileRequestBuilder; import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGroupLifecyclePolicyRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaRequestBuilder; import com.microsoft.graph.requests.extensions.IFilterOperatorSchemaCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IFilterOperatorSchemaRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAttributeMappingFunctionSchemaRequestBuilder; +import com.microsoft.graph.requests.extensions.IAccessReviewDecisionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAccessReviewDecisionRequestBuilder; import com.microsoft.graph.requests.extensions.IAccessReviewCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAccessReviewRequestBuilder; +import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderRequestBuilder; import com.microsoft.graph.requests.extensions.IBusinessFlowTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IBusinessFlowTemplateRequestBuilder; -import com.microsoft.graph.requests.extensions.IAccessReviewDecisionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAccessReviewDecisionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProgramCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IProgramRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlTypeCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IProgramControlTypeRequestBuilder; -import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IApprovalWorkflowProviderRequestBuilder; -import com.microsoft.graph.requests.extensions.IAgreementCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IAgreementRequestBuilder; +import com.microsoft.graph.requests.extensions.IProgramCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IProgramRequestBuilder; import com.microsoft.graph.requests.extensions.IAgreementAcceptanceCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IAgreementAcceptanceRequestBuilder; +import com.microsoft.graph.requests.extensions.IAgreementCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IAgreementRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskDetectionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskDetectionRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskyUserCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IRiskyUserRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedAccessCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedAccessRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceResourceCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceResourceRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceSubjectCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceSubjectRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceRoleDefinitionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleSettingCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IGovernanceRoleSettingRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceSubjectCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IGovernanceSubjectRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedAccessCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedAccessRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedApprovalCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedApprovalRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedOperationEventRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestRequestBuilder; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleAssignmentRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedRoleRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IPrivilegedSignupStatusRequestBuilder; import com.microsoft.graph.requests.extensions.ICommandCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ICommandRequestBuilder; import com.microsoft.graph.requests.extensions.IPayloadResponseCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IPayloadResponseRequestBuilder; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDataPolicyOperationRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscriptionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ISubscriptionRequestBuilder; import com.microsoft.graph.requests.extensions.IExternalConnectionCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IExternalConnectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamCollectionRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; import com.microsoft.graph.requests.extensions.IChatCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.IChatRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamRequestBuilder; import com.microsoft.graph.requests.extensions.ITeamsTemplateCollectionRequestBuilder; import com.microsoft.graph.requests.extensions.ITeamsTemplateRequestBuilder; +import com.microsoft.graph.requests.extensions.ILinkedResourceCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ILinkedResourceRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskListCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskListRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskCollectionRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoTaskRequestBuilder; import com.microsoft.graph.requests.extensions.IAuditLogRootRequestBuilder; import com.microsoft.graph.requests.extensions.IReportRootRequestBuilder; import com.microsoft.graph.requests.extensions.IBitlockerRequestBuilder; +import com.microsoft.graph.requests.extensions.IComplianceRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityContainerRequestBuilder; import com.microsoft.graph.requests.extensions.ITrustFrameworkRequestBuilder; -import com.microsoft.graph.requests.extensions.IComplianceRequestBuilder; import com.microsoft.graph.requests.extensions.IDataClassificationServiceRequestBuilder; import com.microsoft.graph.requests.extensions.IInformationProtectionRequestBuilder; +import com.microsoft.graph.requests.extensions.IDirectoryRequestBuilder; import com.microsoft.graph.requests.extensions.IPolicyRootRequestBuilder; import com.microsoft.graph.requests.extensions.IRoleManagementRequestBuilder; -import com.microsoft.graph.requests.extensions.IDirectoryRequestBuilder; import com.microsoft.graph.requests.extensions.IEducationRootRequestBuilder; import com.microsoft.graph.termstore.requests.extensions.IStoreRequestBuilder; import com.microsoft.graph.requests.extensions.ICloudCommunicationsRequestBuilder; -import com.microsoft.graph.requests.extensions.IIdentityGovernanceRequestBuilder; import com.microsoft.graph.requests.extensions.IIdentityProtectionRootRequestBuilder; +import com.microsoft.graph.requests.extensions.IIdentityGovernanceRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceManagementRequestBuilder; import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequestBuilder; import com.microsoft.graph.requests.extensions.IOfficeConfigurationRequestBuilder; -import com.microsoft.graph.requests.extensions.ISearchRequestBuilder; +import com.microsoft.graph.requests.extensions.ISearchEntityRequestBuilder; import com.microsoft.graph.requests.extensions.IFinancialsRequestBuilder; import com.microsoft.graph.requests.extensions.IPlannerRequestBuilder; import com.microsoft.graph.requests.extensions.IPrintRequestBuilder; import com.microsoft.graph.requests.extensions.ISecurityRequestBuilder; import com.microsoft.graph.requests.extensions.ICommsApplicationRequestBuilder; import com.microsoft.graph.requests.extensions.IExternalRequestBuilder; -import com.microsoft.graph.requests.extensions.ITeamworkRequestBuilder; import com.microsoft.graph.requests.extensions.IAppCatalogsRequestBuilder; +import com.microsoft.graph.requests.extensions.ITeamworkRequestBuilder; +import com.microsoft.graph.requests.extensions.ITodoRequestBuilder; import java.util.Arrays; import java.util.EnumSet; import com.google.gson.JsonObject; diff --git a/src/main/java/com/microsoft/graph/models/extensions/Identity.java b/src/main/java/com/microsoft/graph/models/extensions/Identity.java index dcb724b06f7..4e143150293 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Identity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Identity.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Id. - * Unique identifier for the identity. - */ - @SerializedName("id") - @Expose - public String id; - /** * The Display Name. * The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; + /** + * The Id. + * Unique identifier for the identity. + */ + @SerializedName("id") + @Expose + public String id; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IdentityContainer.java b/src/main/java/com/microsoft/graph/models/extensions/IdentityContainer.java index c22f3f522d4..93a2baa4c70 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IdentityContainer.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IdentityContainer.java @@ -9,16 +9,17 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.ConditionalAccessRoot; -import com.microsoft.graph.models.extensions.IdentityUserFlow; import com.microsoft.graph.models.extensions.B2cIdentityUserFlow; import com.microsoft.graph.models.extensions.B2xIdentityUserFlow; +import com.microsoft.graph.models.extensions.IdentityUserFlow; +import com.microsoft.graph.models.extensions.ContinuousAccessEvaluationPolicy; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.IdentityUserFlowCollectionResponse; -import com.microsoft.graph.requests.extensions.IdentityUserFlowCollectionPage; import com.microsoft.graph.requests.extensions.B2cIdentityUserFlowCollectionResponse; import com.microsoft.graph.requests.extensions.B2cIdentityUserFlowCollectionPage; import com.microsoft.graph.requests.extensions.B2xIdentityUserFlowCollectionResponse; import com.microsoft.graph.requests.extensions.B2xIdentityUserFlowCollectionPage; +import com.microsoft.graph.requests.extensions.IdentityUserFlowCollectionResponse; +import com.microsoft.graph.requests.extensions.IdentityUserFlowCollectionPage; import com.google.gson.JsonObject; @@ -44,12 +45,6 @@ public class IdentityContainer extends Entity implements IJsonBackedObject { @Expose public ConditionalAccessRoot conditionalAccess; - /** - * The User Flows. - * - */ - public IdentityUserFlowCollectionPage userFlows; - /** * The B2c User Flows. * @@ -62,6 +57,20 @@ public class IdentityContainer extends Entity implements IJsonBackedObject { */ public B2xIdentityUserFlowCollectionPage b2xUserFlows; + /** + * The User Flows. + * + */ + public IdentityUserFlowCollectionPage userFlows; + + /** + * The Continuous Access Evaluation Policy. + * + */ + @SerializedName("continuousAccessEvaluationPolicy") + @Expose + public ContinuousAccessEvaluationPolicy continuousAccessEvaluationPolicy; + /** * The raw representation of this class @@ -102,22 +111,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("userFlows")) { - final IdentityUserFlowCollectionResponse response = new IdentityUserFlowCollectionResponse(); - if (json.has("userFlows@odata.nextLink")) { - response.nextLink = json.get("userFlows@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userFlows").toString(), JsonObject[].class); - final IdentityUserFlow[] array = new IdentityUserFlow[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), IdentityUserFlow.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - userFlows = new IdentityUserFlowCollectionPage(response, null); - } - if (json.has("b2cUserFlows")) { final B2cIdentityUserFlowCollectionResponse response = new B2cIdentityUserFlowCollectionResponse(); if (json.has("b2cUserFlows@odata.nextLink")) { @@ -149,5 +142,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); b2xUserFlows = new B2xIdentityUserFlowCollectionPage(response, null); } + + if (json.has("userFlows")) { + final IdentityUserFlowCollectionResponse response = new IdentityUserFlowCollectionResponse(); + if (json.has("userFlows@odata.nextLink")) { + response.nextLink = json.get("userFlows@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userFlows").toString(), JsonObject[].class); + final IdentityUserFlow[] array = new IdentityUserFlow[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), IdentityUserFlow.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + userFlows = new IdentityUserFlowCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/IdentityGovernance.java b/src/main/java/com/microsoft/graph/models/extensions/IdentityGovernance.java index 84c2f0f1ebc..0028a2b11b4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IdentityGovernance.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IdentityGovernance.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EntitlementManagement; import com.microsoft.graph.models.extensions.AccessReviewSet; import com.microsoft.graph.models.extensions.TermsOfUseContainer; +import com.microsoft.graph.models.extensions.EntitlementManagement; import com.microsoft.graph.models.extensions.Entity; @@ -29,14 +29,6 @@ public class IdentityGovernance extends Entity implements IJsonBackedObject { - /** - * The Entitlement Management. - * - */ - @SerializedName("entitlementManagement") - @Expose - public EntitlementManagement entitlementManagement; - /** * The Access Reviews. * @@ -53,6 +45,14 @@ public class IdentityGovernance extends Entity implements IJsonBackedObject { @Expose public TermsOfUseContainer termsOfUse; + /** + * The Entitlement Management. + * + */ + @SerializedName("entitlementManagement") + @Expose + public EntitlementManagement entitlementManagement; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IdentityProvider.java b/src/main/java/com/microsoft/graph/models/extensions/IdentityProvider.java index facda35ee70..b4e4b200e50 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IdentityProvider.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IdentityProvider.java @@ -27,36 +27,36 @@ public class IdentityProvider extends Entity implements IJsonBackedObject { /** - * The Type. + * The Client Id. * */ - @SerializedName("type") + @SerializedName("clientId") @Expose - public String type; + public String clientId; /** - * The Name. + * The Client Secret. * */ - @SerializedName("name") + @SerializedName("clientSecret") @Expose - public String name; + public String clientSecret; /** - * The Client Id. + * The Name. * */ - @SerializedName("clientId") + @SerializedName("name") @Expose - public String clientId; + public String name; /** - * The Client Secret. + * The Type. * */ - @SerializedName("clientSecret") + @SerializedName("type") @Expose - public String clientSecret; + public String type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java index 33902770c1f..2085db3522f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ImageInfo.java @@ -36,20 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Icon Url. - * Optional; URI that points to an icon which represents the application used to generate the activity - */ - @SerializedName("iconUrl") - @Expose - public String iconUrl; - - /** - * The Alternative Text. - * + * The Add Image Query. + * Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example – a high contrast image */ - @SerializedName("alternativeText") + @SerializedName("addImageQuery") @Expose - public String alternativeText; + public Boolean addImageQuery; /** * The Alternate Text. @@ -60,12 +52,20 @@ public final AdditionalDataManager additionalDataManager() { public String alternateText; /** - * The Add Image Query. - * Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example – a high contrast image + * The Alternative Text. + * */ - @SerializedName("addImageQuery") + @SerializedName("alternativeText") @Expose - public Boolean addImageQuery; + public String alternativeText; + + /** + * The Icon Url. + * Optional; URI that points to an icon which represents the application used to generate the activity + */ + @SerializedName("iconUrl") + @Expose + public String iconUrl; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ImplicitGrantSettings.java b/src/main/java/com/microsoft/graph/models/extensions/ImplicitGrantSettings.java index 651acba198f..acd26b3b44d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ImplicitGrantSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ImplicitGrantSettings.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Enable Id Token Issuance. - * Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow. - */ - @SerializedName("enableIdTokenIssuance") - @Expose - public Boolean enableIdTokenIssuance; - /** * The Enable Access Token Issuance. * Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean enableAccessTokenIssuance; + /** + * The Enable Id Token Issuance. + * Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow. + */ + @SerializedName("enableIdTokenIssuance") + @Expose + public Boolean enableIdTokenIssuance; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ImportedAppleDeviceIdentity.java b/src/main/java/com/microsoft/graph/models/extensions/ImportedAppleDeviceIdentity.java index 50b0c41d68e..e74fead1721 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ImportedAppleDeviceIdentity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ImportedAppleDeviceIdentity.java @@ -30,36 +30,20 @@ public class ImportedAppleDeviceIdentity extends Entity implements IJsonBackedOb /** - * The Serial Number. - * Device serial number - */ - @SerializedName("serialNumber") - @Expose - public String serialNumber; - - /** - * The Requested Enrollment Profile Id. - * Enrollment profile Id admin intends to apply to the device during next enrollment - */ - @SerializedName("requestedEnrollmentProfileId") - @Expose - public String requestedEnrollmentProfileId; - - /** - * The Requested Enrollment Profile Assignment Date Time. - * The time enrollment profile was assigned to the device + * The Created Date Time. + * Created Date Time of the device */ - @SerializedName("requestedEnrollmentProfileAssignmentDateTime") + @SerializedName("createdDateTime") @Expose - public java.util.Calendar requestedEnrollmentProfileAssignmentDateTime; + public java.util.Calendar createdDateTime; /** - * The Is Supervised. - * Indicates if the Apple device is supervised. More information is at: https://support.apple.com/en-us/HT202837 + * The Description. + * The description of the device */ - @SerializedName("isSupervised") + @SerializedName("description") @Expose - public Boolean isSupervised; + public String description; /** * The Discovery Source. @@ -69,6 +53,14 @@ public class ImportedAppleDeviceIdentity extends Entity implements IJsonBackedOb @Expose public DiscoverySource discoverySource; + /** + * The Enrollment State. + * The state of the device in Intune + */ + @SerializedName("enrollmentState") + @Expose + public EnrollmentState enrollmentState; + /** * The Is Deleted. * Indicates if the device is deleted from Apple Business Manager @@ -78,12 +70,12 @@ public class ImportedAppleDeviceIdentity extends Entity implements IJsonBackedOb public Boolean isDeleted; /** - * The Created Date Time. - * Created Date Time of the device + * The Is Supervised. + * Indicates if the Apple device is supervised. More information is at: https://support.apple.com/en-us/HT202837 */ - @SerializedName("createdDateTime") + @SerializedName("isSupervised") @Expose - public java.util.Calendar createdDateTime; + public Boolean isSupervised; /** * The Last Contacted Date Time. @@ -94,28 +86,36 @@ public class ImportedAppleDeviceIdentity extends Entity implements IJsonBackedOb public java.util.Calendar lastContactedDateTime; /** - * The Description. - * The description of the device + * The Platform. + * The platform of the Device. */ - @SerializedName("description") + @SerializedName("platform") @Expose - public String description; + public Platform platform; /** - * The Enrollment State. - * The state of the device in Intune + * The Requested Enrollment Profile Assignment Date Time. + * The time enrollment profile was assigned to the device */ - @SerializedName("enrollmentState") + @SerializedName("requestedEnrollmentProfileAssignmentDateTime") @Expose - public EnrollmentState enrollmentState; + public java.util.Calendar requestedEnrollmentProfileAssignmentDateTime; /** - * The Platform. - * The platform of the Device. + * The Requested Enrollment Profile Id. + * Enrollment profile Id admin intends to apply to the device during next enrollment */ - @SerializedName("platform") + @SerializedName("requestedEnrollmentProfileId") @Expose - public Platform platform; + public String requestedEnrollmentProfileId; + + /** + * The Serial Number. + * Device serial number + */ + @SerializedName("serialNumber") + @Expose + public String serialNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ImportedDeviceIdentity.java b/src/main/java/com/microsoft/graph/models/extensions/ImportedDeviceIdentity.java index f8c15d6cab8..de8d8b3c04f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ImportedDeviceIdentity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ImportedDeviceIdentity.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ImportedDeviceIdentityType; import com.microsoft.graph.models.generated.EnrollmentState; +import com.microsoft.graph.models.generated.ImportedDeviceIdentityType; import com.microsoft.graph.models.generated.Platform; import com.microsoft.graph.models.extensions.Entity; @@ -30,60 +30,60 @@ public class ImportedDeviceIdentity extends Entity implements IJsonBackedObject /** - * The Imported Device Identifier. - * Imported Device Identifier + * The Created Date Time. + * Created Date Time of the device */ - @SerializedName("importedDeviceIdentifier") + @SerializedName("createdDateTime") @Expose - public String importedDeviceIdentifier; + public java.util.Calendar createdDateTime; /** - * The Imported Device Identity Type. - * Type of Imported Device Identity + * The Description. + * The description of the device */ - @SerializedName("importedDeviceIdentityType") + @SerializedName("description") @Expose - public ImportedDeviceIdentityType importedDeviceIdentityType; + public String description; /** - * The Last Modified Date Time. - * Last Modified DateTime of the description + * The Enrollment State. + * The state of the device in Intune */ - @SerializedName("lastModifiedDateTime") + @SerializedName("enrollmentState") @Expose - public java.util.Calendar lastModifiedDateTime; + public EnrollmentState enrollmentState; /** - * The Created Date Time. - * Created Date Time of the device + * The Imported Device Identifier. + * Imported Device Identifier */ - @SerializedName("createdDateTime") + @SerializedName("importedDeviceIdentifier") @Expose - public java.util.Calendar createdDateTime; + public String importedDeviceIdentifier; /** - * The Last Contacted Date Time. - * Last Contacted Date Time of the device + * The Imported Device Identity Type. + * Type of Imported Device Identity */ - @SerializedName("lastContactedDateTime") + @SerializedName("importedDeviceIdentityType") @Expose - public java.util.Calendar lastContactedDateTime; + public ImportedDeviceIdentityType importedDeviceIdentityType; /** - * The Description. - * The description of the device + * The Last Contacted Date Time. + * Last Contacted Date Time of the device */ - @SerializedName("description") + @SerializedName("lastContactedDateTime") @Expose - public String description; + public java.util.Calendar lastContactedDateTime; /** - * The Enrollment State. - * The state of the device in Intune + * The Last Modified Date Time. + * Last Modified DateTime of the description */ - @SerializedName("enrollmentState") + @SerializedName("lastModifiedDateTime") @Expose - public EnrollmentState enrollmentState; + public java.util.Calendar lastModifiedDateTime; /** * The Platform. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentity.java b/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentity.java index 865aadcb3c2..da35dac87b0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentity.java @@ -28,12 +28,12 @@ public class ImportedWindowsAutopilotDeviceIdentity extends Entity implements IJ /** - * The Order Identifier. - * Order Id of the Windows autopilot device. + * The Assigned User Principal Name. + * UPN of the user the device will be assigned */ - @SerializedName("orderIdentifier") + @SerializedName("assignedUserPrincipalName") @Expose - public String orderIdentifier; + public String assignedUserPrincipalName; /** * The Group Tag. @@ -44,20 +44,12 @@ public class ImportedWindowsAutopilotDeviceIdentity extends Entity implements IJ public String groupTag; /** - * The Serial Number. - * Serial number of the Windows autopilot device. - */ - @SerializedName("serialNumber") - @Expose - public String serialNumber; - - /** - * The Product Key. - * Product Key of the Windows autopilot device. + * The Hardware Identifier. + * Hardware Blob of the Windows autopilot device. */ - @SerializedName("productKey") + @SerializedName("hardwareIdentifier") @Expose - public String productKey; + public byte[] hardwareIdentifier; /** * The Import Id. @@ -68,28 +60,36 @@ public class ImportedWindowsAutopilotDeviceIdentity extends Entity implements IJ public String importId; /** - * The Hardware Identifier. - * Hardware Blob of the Windows autopilot device. + * The Order Identifier. + * Order Id of the Windows autopilot device. */ - @SerializedName("hardwareIdentifier") + @SerializedName("orderIdentifier") @Expose - public byte[] hardwareIdentifier; + public String orderIdentifier; /** - * The State. - * Current state of the imported device. + * The Product Key. + * Product Key of the Windows autopilot device. */ - @SerializedName("state") + @SerializedName("productKey") @Expose - public ImportedWindowsAutopilotDeviceIdentityState state; + public String productKey; /** - * The Assigned User Principal Name. - * UPN of the user the device will be assigned + * The Serial Number. + * Serial number of the Windows autopilot device. */ - @SerializedName("assignedUserPrincipalName") + @SerializedName("serialNumber") @Expose - public String assignedUserPrincipalName; + public String serialNumber; + + /** + * The State. + * Current state of the imported device. + */ + @SerializedName("state") + @Expose + public ImportedWindowsAutopilotDeviceIdentityState state; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentityState.java b/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentityState.java index 955d032cb12..cb41d00c23d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentityState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ImportedWindowsAutopilotDeviceIdentityState.java @@ -36,22 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Device Import Status. - * Device status reported by Device Directory Service(DDS). Possible values are: unknown, pending, partial, complete, error. - */ - @SerializedName("deviceImportStatus") - @Expose - public ImportedWindowsAutopilotDeviceIdentityImportStatus deviceImportStatus; - - /** - * The Device Registration Id. - * Device Registration ID for successfully added device reported by Device Directory Service(DDS). - */ - @SerializedName("deviceRegistrationId") - @Expose - public String deviceRegistrationId; - /** * The Device Error Code. * Device error code reported by Device Directory Service(DDS). @@ -68,6 +52,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String deviceErrorName; + /** + * The Device Import Status. + * Device status reported by Device Directory Service(DDS). Possible values are: unknown, pending, partial, complete, error. + */ + @SerializedName("deviceImportStatus") + @Expose + public ImportedWindowsAutopilotDeviceIdentityImportStatus deviceImportStatus; + + /** + * The Device Registration Id. + * Device Registration ID for successfully added device reported by Device Directory Service(DDS). + */ + @SerializedName("deviceRegistrationId") + @Expose + public String deviceRegistrationId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IncomingContext.java b/src/main/java/com/microsoft/graph/models/extensions/IncomingContext.java index e6738b74e33..f644460fe2f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IncomingContext.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IncomingContext.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Source Participant Id. - * The ID of the participant that triggered the incoming call. Read-only. - */ - @SerializedName("sourceParticipantId") - @Expose - public String sourceParticipantId; - /** * The Observed Participant Id. * The ID of the participant that is under observation. Read-only. @@ -60,6 +52,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public IdentitySet onBehalfOf; + /** + * The Source Participant Id. + * The ID of the participant that triggered the incoming call. Read-only. + */ + @SerializedName("sourceParticipantId") + @Expose + public String sourceParticipantId; + /** * The Transferor. * The identity that transferred the call. diff --git a/src/main/java/com/microsoft/graph/models/extensions/InformationProtection.java b/src/main/java/com/microsoft/graph/models/extensions/InformationProtection.java index 4df9532c693..d2e426e62ce 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InformationProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InformationProtection.java @@ -9,15 +9,15 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.InformationProtectionPolicy; +import com.microsoft.graph.models.extensions.DataLossPreventionPolicy; import com.microsoft.graph.models.extensions.SensitivityLabel; import com.microsoft.graph.models.extensions.SensitivityPolicySettings; -import com.microsoft.graph.models.extensions.DataLossPreventionPolicy; import com.microsoft.graph.models.extensions.ThreatAssessmentRequest; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.SensitivityLabelCollectionResponse; -import com.microsoft.graph.requests.extensions.SensitivityLabelCollectionPage; import com.microsoft.graph.requests.extensions.DataLossPreventionPolicyCollectionResponse; import com.microsoft.graph.requests.extensions.DataLossPreventionPolicyCollectionPage; +import com.microsoft.graph.requests.extensions.SensitivityLabelCollectionResponse; +import com.microsoft.graph.requests.extensions.SensitivityLabelCollectionPage; import com.microsoft.graph.requests.extensions.ThreatAssessmentRequestCollectionResponse; import com.microsoft.graph.requests.extensions.ThreatAssessmentRequestCollectionPage; @@ -45,6 +45,12 @@ public class InformationProtection extends Entity implements IJsonBackedObject { @Expose public InformationProtectionPolicy policy; + /** + * The Data Loss Prevention Policies. + * + */ + public DataLossPreventionPolicyCollectionPage dataLossPreventionPolicies; + /** * The Sensitivity Labels. * @@ -59,12 +65,6 @@ public class InformationProtection extends Entity implements IJsonBackedObject { @Expose public SensitivityPolicySettings sensitivityPolicySettings; - /** - * The Data Loss Prevention Policies. - * - */ - public DataLossPreventionPolicyCollectionPage dataLossPreventionPolicies; - /** * The Threat Assessment Requests. * @@ -111,22 +111,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("sensitivityLabels")) { - final SensitivityLabelCollectionResponse response = new SensitivityLabelCollectionResponse(); - if (json.has("sensitivityLabels@odata.nextLink")) { - response.nextLink = json.get("sensitivityLabels@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sensitivityLabels").toString(), JsonObject[].class); - final SensitivityLabel[] array = new SensitivityLabel[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SensitivityLabel.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sensitivityLabels = new SensitivityLabelCollectionPage(response, null); - } - if (json.has("dataLossPreventionPolicies")) { final DataLossPreventionPolicyCollectionResponse response = new DataLossPreventionPolicyCollectionResponse(); if (json.has("dataLossPreventionPolicies@odata.nextLink")) { @@ -143,6 +127,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { dataLossPreventionPolicies = new DataLossPreventionPolicyCollectionPage(response, null); } + if (json.has("sensitivityLabels")) { + final SensitivityLabelCollectionResponse response = new SensitivityLabelCollectionResponse(); + if (json.has("sensitivityLabels@odata.nextLink")) { + response.nextLink = json.get("sensitivityLabels@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sensitivityLabels").toString(), JsonObject[].class); + final SensitivityLabel[] array = new SensitivityLabel[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SensitivityLabel.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sensitivityLabels = new SensitivityLabelCollectionPage(response, null); + } + if (json.has("threatAssessmentRequests")) { final ThreatAssessmentRequestCollectionResponse response = new ThreatAssessmentRequestCollectionResponse(); if (json.has("threatAssessmentRequests@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionContentLabel.java b/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionContentLabel.java index aece22659e3..9a113ca3b75 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionContentLabel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionContentLabel.java @@ -38,20 +38,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Creation Date Time. + * The Assignment Method. * */ - @SerializedName("creationDateTime") + @SerializedName("assignmentMethod") @Expose - public java.util.Calendar creationDateTime; + public AssignmentMethod assignmentMethod; /** - * The Assignment Method. + * The Creation Date Time. * */ - @SerializedName("assignmentMethod") + @SerializedName("creationDateTime") @Expose - public AssignmentMethod assignmentMethod; + public java.util.Calendar creationDateTime; /** * The Label. diff --git a/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionLabel.java b/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionLabel.java index 62dfc1b2a84..7a5188f5f1d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionLabel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InformationProtectionLabel.java @@ -27,12 +27,12 @@ public class InformationProtectionLabel extends Entity implements IJsonBackedObj /** - * The Name. + * The Color. * */ - @SerializedName("name") + @SerializedName("color") @Expose - public String name; + public String color; /** * The Description. @@ -43,12 +43,20 @@ public class InformationProtectionLabel extends Entity implements IJsonBackedObj public String description; /** - * The Color. + * The Is Active. * */ - @SerializedName("color") + @SerializedName("isActive") @Expose - public String color; + public Boolean isActive; + + /** + * The Name. + * + */ + @SerializedName("name") + @Expose + public String name; /** * The Sensitivity. @@ -66,14 +74,6 @@ public class InformationProtectionLabel extends Entity implements IJsonBackedObj @Expose public String tooltip; - /** - * The Is Active. - * - */ - @SerializedName("isActive") - @Expose - public Boolean isActive; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Initiator.java b/src/main/java/com/microsoft/graph/models/extensions/Initiator.java index 4e7380830ca..1d26903bb87 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Initiator.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Initiator.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Display Name. * */ - @SerializedName("id") + @SerializedName("displayName") @Expose - public String id; + public String displayName; /** - * The Display Name. + * The Id. * */ - @SerializedName("displayName") + @SerializedName("id") @Expose - public String displayName; + public String id; /** * The Initiator Type. diff --git a/src/main/java/com/microsoft/graph/models/extensions/InnerErrorDetail.java b/src/main/java/com/microsoft/graph/models/extensions/InnerErrorDetail.java index ae0aef78f3e..47fbd911db9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InnerErrorDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InnerErrorDetail.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Source. + * The Message. * */ - @SerializedName("source") + @SerializedName("message") @Expose - public String source; + public String message; /** - * The Message. + * The Source. * */ - @SerializedName("message") + @SerializedName("source") @Expose - public String message; + public String source; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java b/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java index 95ae67665e9..335244735ba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InsightIdentity.java @@ -35,6 +35,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Address. + * The email address of the user who shared the item. + */ + @SerializedName("address") + @Expose + public String address; + /** * The Display Name. * The display name of the user who shared the item. @@ -51,14 +59,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String id; - /** - * The Address. - * The email address of the user who shared the item. - */ - @SerializedName("address") - @Expose - public String address; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/InstanceResourceAccess.java b/src/main/java/com/microsoft/graph/models/extensions/InstanceResourceAccess.java index 99742cf7c50..f855579b08f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InstanceResourceAccess.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InstanceResourceAccess.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Resource App Id. + * The Permissions. * */ - @SerializedName("resourceAppId") + @SerializedName("permissions") @Expose - public String resourceAppId; + public java.util.List permissions; /** - * The Permissions. + * The Resource App Id. * */ - @SerializedName("permissions") + @SerializedName("resourceAppId") @Expose - public java.util.List permissions; + public String resourceAppId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IntegerRange.java b/src/main/java/com/microsoft/graph/models/extensions/IntegerRange.java index 1c60eb9db78..3c6db83583a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IntegerRange.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IntegerRange.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Start. + * The End. * */ - @SerializedName("start") + @SerializedName("end") @Expose - public Long start; + public Long end; /** - * The End. + * The Maximum. * */ - @SerializedName("end") + @SerializedName("maximum") @Expose - public Long end; + public Long maximum; /** * The Minimum. @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public Long minimum; /** - * The Maximum. + * The Start. * */ - @SerializedName("maximum") + @SerializedName("start") @Expose - public Long maximum; + public Long start; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java b/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java index 448a8a67f14..47a55da413e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IntuneBrand.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RgbColor; -import com.microsoft.graph.models.extensions.MimeContent; import com.microsoft.graph.models.extensions.CompanyPortalBlockedAction; +import com.microsoft.graph.models.extensions.MimeContent; import com.microsoft.graph.models.generated.EnrollmentAvailabilityOptions; +import com.microsoft.graph.models.extensions.RgbColor; import com.google.gson.JsonObject; @@ -40,116 +40,108 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Display Name. - * Company/organization name that is displayed to end users. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Theme Color. - * Primary theme color used in the Company Portal applications and web portal. + * The Company Portal Blocked Actions. + * Collection of blocked actions on the company portal as per platform and device ownership types. */ - @SerializedName("themeColor") + @SerializedName("companyPortalBlockedActions") @Expose - public RgbColor themeColor; + public java.util.List companyPortalBlockedActions; /** - * The Show Logo. - * Boolean that represents whether the administrator-supplied logo images are shown or not shown. + * The Contact ITEmail Address. + * Email address of the person/organization responsible for IT support. */ - @SerializedName("showLogo") + @SerializedName("contactITEmailAddress") @Expose - public Boolean showLogo; + public String contactITEmailAddress; /** - * The Light Background Logo. - * Logo image displayed in Company Portal apps which have a light background behind the logo. + * The Contact ITName. + * Name of the person/organization responsible for IT support. */ - @SerializedName("lightBackgroundLogo") + @SerializedName("contactITName") @Expose - public MimeContent lightBackgroundLogo; + public String contactITName; /** - * The Dark Background Logo. - * Logo image displayed in Company Portal apps which have a dark background behind the logo. + * The Contact ITNotes. + * Text comments regarding the person/organization responsible for IT support. */ - @SerializedName("darkBackgroundLogo") + @SerializedName("contactITNotes") @Expose - public MimeContent darkBackgroundLogo; + public String contactITNotes; /** - * The Show Name Next To Logo. - * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * The Contact ITPhone Number. + * Phone number of the person/organization responsible for IT support. */ - @SerializedName("showNameNextToLogo") + @SerializedName("contactITPhoneNumber") @Expose - public Boolean showNameNextToLogo; + public String contactITPhoneNumber; /** - * The Landing Page Customized Image. - * Customized image displayed in Company Portal app landing page + * The Custom Privacy Message. + * Custom privacy message. */ - @SerializedName("landingPageCustomizedImage") + @SerializedName("customPrivacyMessage") @Expose - public MimeContent landingPageCustomizedImage; + public String customPrivacyMessage; /** - * The Show Display Name Next To Logo. - * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * The Dark Background Logo. + * Logo image displayed in Company Portal apps which have a dark background behind the logo. */ - @SerializedName("showDisplayNameNextToLogo") + @SerializedName("darkBackgroundLogo") @Expose - public Boolean showDisplayNameNextToLogo; + public MimeContent darkBackgroundLogo; /** - * The Role Scope Tag Ids. - * List of scope tags assigned to the default branding profile + * The Display Name. + * Company/organization name that is displayed to end users. */ - @SerializedName("roleScopeTagIds") + @SerializedName("displayName") @Expose - public java.util.List roleScopeTagIds; + public String displayName; /** - * The Contact ITName. - * Name of the person/organization responsible for IT support. + * The Enrollment Availability. + * Customized device enrollment flow displayed to the end user */ - @SerializedName("contactITName") + @SerializedName("enrollmentAvailability") @Expose - public String contactITName; + public EnrollmentAvailabilityOptions enrollmentAvailability; /** - * The Contact ITPhone Number. - * Phone number of the person/organization responsible for IT support. + * The Is Factory Reset Disabled. + * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. */ - @SerializedName("contactITPhoneNumber") + @SerializedName("isFactoryResetDisabled") @Expose - public String contactITPhoneNumber; + public Boolean isFactoryResetDisabled; /** - * The Contact ITEmail Address. - * Email address of the person/organization responsible for IT support. + * The Is Remove Device Disabled. + * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. */ - @SerializedName("contactITEmailAddress") + @SerializedName("isRemoveDeviceDisabled") @Expose - public String contactITEmailAddress; + public Boolean isRemoveDeviceDisabled; /** - * The Contact ITNotes. - * Text comments regarding the person/organization responsible for IT support. + * The Landing Page Customized Image. + * Customized image displayed in Company Portal app landing page */ - @SerializedName("contactITNotes") + @SerializedName("landingPageCustomizedImage") @Expose - public String contactITNotes; + public MimeContent landingPageCustomizedImage; /** - * The Online Support Site Url. - * URL to the company/organization’s IT helpdesk site. + * The Light Background Logo. + * Logo image displayed in Company Portal apps which have a light background behind the logo. */ - @SerializedName("onlineSupportSiteUrl") + @SerializedName("lightBackgroundLogo") @Expose - public String onlineSupportSiteUrl; + public MimeContent lightBackgroundLogo; /** * The Online Support Site Name. @@ -159,6 +151,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String onlineSupportSiteName; + /** + * The Online Support Site Url. + * URL to the company/organization’s IT helpdesk site. + */ + @SerializedName("onlineSupportSiteUrl") + @Expose + public String onlineSupportSiteUrl; + /** * The Privacy Url. * URL to the company/organization’s privacy policy. @@ -168,68 +168,68 @@ public final AdditionalDataManager additionalDataManager() { public String privacyUrl; /** - * The Custom Privacy Message. - * Custom privacy message. + * The Role Scope Tag Ids. + * List of scope tags assigned to the default branding profile */ - @SerializedName("customPrivacyMessage") + @SerializedName("roleScopeTagIds") @Expose - public String customPrivacyMessage; + public java.util.List roleScopeTagIds; /** - * The Is Remove Device Disabled. - * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. + * The Send Device Ownership Change Push Notification. + * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate */ - @SerializedName("isRemoveDeviceDisabled") + @SerializedName("sendDeviceOwnershipChangePushNotification") @Expose - public Boolean isRemoveDeviceDisabled; + public Boolean sendDeviceOwnershipChangePushNotification; /** - * The Is Factory Reset Disabled. - * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. + * The Show Azure ADEnterprise Apps. + * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal */ - @SerializedName("isFactoryResetDisabled") + @SerializedName("showAzureADEnterpriseApps") @Expose - public Boolean isFactoryResetDisabled; + public Boolean showAzureADEnterpriseApps; /** - * The Company Portal Blocked Actions. - * Collection of blocked actions on the company portal as per platform and device ownership types. + * The Show Display Name Next To Logo. + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. */ - @SerializedName("companyPortalBlockedActions") + @SerializedName("showDisplayNameNextToLogo") @Expose - public java.util.List companyPortalBlockedActions; + public Boolean showDisplayNameNextToLogo; /** - * The Show Azure ADEnterprise Apps. - * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal + * The Show Logo. + * Boolean that represents whether the administrator-supplied logo images are shown or not shown. */ - @SerializedName("showAzureADEnterpriseApps") + @SerializedName("showLogo") @Expose - public Boolean showAzureADEnterpriseApps; + public Boolean showLogo; /** - * The Show Office Web Apps. - * Boolean that indicates if Office WebApps will be shown in Company Portal + * The Show Name Next To Logo. + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. */ - @SerializedName("showOfficeWebApps") + @SerializedName("showNameNextToLogo") @Expose - public Boolean showOfficeWebApps; + public Boolean showNameNextToLogo; /** - * The Send Device Ownership Change Push Notification. - * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate + * The Show Office Web Apps. + * Boolean that indicates if Office WebApps will be shown in Company Portal */ - @SerializedName("sendDeviceOwnershipChangePushNotification") + @SerializedName("showOfficeWebApps") @Expose - public Boolean sendDeviceOwnershipChangePushNotification; + public Boolean showOfficeWebApps; /** - * The Enrollment Availability. - * Customized device enrollment flow displayed to the end user + * The Theme Color. + * Primary theme color used in the Company Portal applications and web portal. */ - @SerializedName("enrollmentAvailability") + @SerializedName("themeColor") @Expose - public EnrollmentAvailabilityOptions enrollmentAvailability; + public RgbColor themeColor; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IntuneBrandingProfile.java b/src/main/java/com/microsoft/graph/models/extensions/IntuneBrandingProfile.java index dd4e9fa18cc..7c6523a3af2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IntuneBrandingProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IntuneBrandingProfile.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.RgbColor; -import com.microsoft.graph.models.extensions.MimeContent; import com.microsoft.graph.models.extensions.CompanyPortalBlockedAction; import com.microsoft.graph.models.generated.EnrollmentAvailabilityOptions; +import com.microsoft.graph.models.extensions.MimeContent; +import com.microsoft.graph.models.extensions.RgbColor; import com.microsoft.graph.models.extensions.IntuneBrandingProfileAssignment; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.IntuneBrandingProfileAssignmentCollectionResponse; @@ -34,140 +34,140 @@ public class IntuneBrandingProfile extends Entity implements IJsonBackedObject { /** - * The Profile Name. - * Name of the profile + * The Company Portal Blocked Actions. + * Collection of blocked actions on the company portal as per platform and device ownership types. */ - @SerializedName("profileName") + @SerializedName("companyPortalBlockedActions") @Expose - public String profileName; + public java.util.List companyPortalBlockedActions; /** - * The Profile Description. - * Description of the profile + * The Contact ITEmail Address. + * E-mail address of the person/organization responsible for IT support */ - @SerializedName("profileDescription") + @SerializedName("contactITEmailAddress") @Expose - public String profileDescription; + public String contactITEmailAddress; /** - * The Is Default Profile. - * Boolean that represents whether the profile is used as default or not + * The Contact ITName. + * Name of the person/organization responsible for IT support */ - @SerializedName("isDefaultProfile") + @SerializedName("contactITName") @Expose - public Boolean isDefaultProfile; + public String contactITName; /** - * The Created Date Time. - * Time when the BrandingProfile was created + * The Contact ITNotes. + * Text comments regarding the person/organization responsible for IT support */ - @SerializedName("createdDateTime") + @SerializedName("contactITNotes") @Expose - public java.util.Calendar createdDateTime; + public String contactITNotes; /** - * The Last Modified Date Time. - * Time when the BrandingProfile was last modified + * The Contact ITPhone Number. + * Phone number of the person/organization responsible for IT support */ - @SerializedName("lastModifiedDateTime") + @SerializedName("contactITPhoneNumber") @Expose - public java.util.Calendar lastModifiedDateTime; + public String contactITPhoneNumber; /** - * The Display Name. - * Company/organization name that is displayed to end users + * The Created Date Time. + * Time when the BrandingProfile was created */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** - * The Theme Color. - * Primary theme color used in the Company Portal applications and web portal + * The Custom Can See Privacy Message. + * Text comments regarding what the admin has access to on the device */ - @SerializedName("themeColor") + @SerializedName("customCanSeePrivacyMessage") @Expose - public RgbColor themeColor; + public String customCanSeePrivacyMessage; /** - * The Show Logo. - * Boolean that represents whether the administrator-supplied logo images are shown or not + * The Custom Cant See Privacy Message. + * Text comments regarding what the admin doesn't have access to on the device */ - @SerializedName("showLogo") + @SerializedName("customCantSeePrivacyMessage") @Expose - public Boolean showLogo; + public String customCantSeePrivacyMessage; /** - * The Show Display Name Next To Logo. - * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image or not + * The Custom Privacy Message. + * Text comments regarding what the admin doesn't have access to on the device */ - @SerializedName("showDisplayNameNextToLogo") + @SerializedName("customPrivacyMessage") @Expose - public Boolean showDisplayNameNextToLogo; + public String customPrivacyMessage; /** - * The Theme Color Logo. - * Logo image displayed in Company Portal apps which have a theme color background behind the logo + * The Display Name. + * Company/organization name that is displayed to end users */ - @SerializedName("themeColorLogo") + @SerializedName("displayName") @Expose - public MimeContent themeColorLogo; + public String displayName; /** - * The Light Background Logo. - * Logo image displayed in Company Portal apps which have a light background behind the logo + * The Enrollment Availability. + * Customized device enrollment flow displayed to the end user */ - @SerializedName("lightBackgroundLogo") + @SerializedName("enrollmentAvailability") @Expose - public MimeContent lightBackgroundLogo; + public EnrollmentAvailabilityOptions enrollmentAvailability; /** - * The Landing Page Customized Image. - * Customized image displayed in Company Portal apps landing page + * The Is Default Profile. + * Boolean that represents whether the profile is used as default or not */ - @SerializedName("landingPageCustomizedImage") + @SerializedName("isDefaultProfile") @Expose - public MimeContent landingPageCustomizedImage; + public Boolean isDefaultProfile; /** - * The Contact ITName. - * Name of the person/organization responsible for IT support + * The Is Factory Reset Disabled. + * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. */ - @SerializedName("contactITName") + @SerializedName("isFactoryResetDisabled") @Expose - public String contactITName; + public Boolean isFactoryResetDisabled; /** - * The Contact ITPhone Number. - * Phone number of the person/organization responsible for IT support + * The Is Remove Device Disabled. + * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. */ - @SerializedName("contactITPhoneNumber") + @SerializedName("isRemoveDeviceDisabled") @Expose - public String contactITPhoneNumber; + public Boolean isRemoveDeviceDisabled; /** - * The Contact ITEmail Address. - * E-mail address of the person/organization responsible for IT support + * The Landing Page Customized Image. + * Customized image displayed in Company Portal apps landing page */ - @SerializedName("contactITEmailAddress") + @SerializedName("landingPageCustomizedImage") @Expose - public String contactITEmailAddress; + public MimeContent landingPageCustomizedImage; /** - * The Contact ITNotes. - * Text comments regarding the person/organization responsible for IT support + * The Last Modified Date Time. + * Time when the BrandingProfile was last modified */ - @SerializedName("contactITNotes") + @SerializedName("lastModifiedDateTime") @Expose - public String contactITNotes; + public java.util.Calendar lastModifiedDateTime; /** - * The Online Support Site Url. - * URL to the company/organization???s IT helpdesk site + * The Light Background Logo. + * Logo image displayed in Company Portal apps which have a light background behind the logo */ - @SerializedName("onlineSupportSiteUrl") + @SerializedName("lightBackgroundLogo") @Expose - public String onlineSupportSiteUrl; + public MimeContent lightBackgroundLogo; /** * The Online Support Site Name. @@ -177,6 +177,14 @@ public class IntuneBrandingProfile extends Entity implements IJsonBackedObject { @Expose public String onlineSupportSiteName; + /** + * The Online Support Site Url. + * URL to the company/organization???s IT helpdesk site + */ + @SerializedName("onlineSupportSiteUrl") + @Expose + public String onlineSupportSiteUrl; + /** * The Privacy Url. * URL to the company/organization???s privacy policy @@ -186,60 +194,60 @@ public class IntuneBrandingProfile extends Entity implements IJsonBackedObject { public String privacyUrl; /** - * The Custom Privacy Message. - * Text comments regarding what the admin doesn't have access to on the device + * The Profile Description. + * Description of the profile */ - @SerializedName("customPrivacyMessage") + @SerializedName("profileDescription") @Expose - public String customPrivacyMessage; + public String profileDescription; /** - * The Custom Can See Privacy Message. - * Text comments regarding what the admin has access to on the device + * The Profile Name. + * Name of the profile */ - @SerializedName("customCanSeePrivacyMessage") + @SerializedName("profileName") @Expose - public String customCanSeePrivacyMessage; + public String profileName; /** - * The Custom Cant See Privacy Message. - * Text comments regarding what the admin doesn't have access to on the device + * The Role Scope Tag Ids. + * List of scope tags assigned to the branding profile */ - @SerializedName("customCantSeePrivacyMessage") + @SerializedName("roleScopeTagIds") @Expose - public String customCantSeePrivacyMessage; + public java.util.List roleScopeTagIds; /** - * The Is Remove Device Disabled. - * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. + * The Send Device Ownership Change Push Notification. + * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate */ - @SerializedName("isRemoveDeviceDisabled") + @SerializedName("sendDeviceOwnershipChangePushNotification") @Expose - public Boolean isRemoveDeviceDisabled; + public Boolean sendDeviceOwnershipChangePushNotification; /** - * The Is Factory Reset Disabled. - * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. + * The Show Azure ADEnterprise Apps. + * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal */ - @SerializedName("isFactoryResetDisabled") + @SerializedName("showAzureADEnterpriseApps") @Expose - public Boolean isFactoryResetDisabled; + public Boolean showAzureADEnterpriseApps; /** - * The Company Portal Blocked Actions. - * Collection of blocked actions on the company portal as per platform and device ownership types. + * The Show Display Name Next To Logo. + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image or not */ - @SerializedName("companyPortalBlockedActions") + @SerializedName("showDisplayNameNextToLogo") @Expose - public java.util.List companyPortalBlockedActions; + public Boolean showDisplayNameNextToLogo; /** - * The Show Azure ADEnterprise Apps. - * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal + * The Show Logo. + * Boolean that represents whether the administrator-supplied logo images are shown or not */ - @SerializedName("showAzureADEnterpriseApps") + @SerializedName("showLogo") @Expose - public Boolean showAzureADEnterpriseApps; + public Boolean showLogo; /** * The Show Office Web Apps. @@ -250,28 +258,20 @@ public class IntuneBrandingProfile extends Entity implements IJsonBackedObject { public Boolean showOfficeWebApps; /** - * The Send Device Ownership Change Push Notification. - * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate - */ - @SerializedName("sendDeviceOwnershipChangePushNotification") - @Expose - public Boolean sendDeviceOwnershipChangePushNotification; - - /** - * The Enrollment Availability. - * Customized device enrollment flow displayed to the end user + * The Theme Color. + * Primary theme color used in the Company Portal applications and web portal */ - @SerializedName("enrollmentAvailability") + @SerializedName("themeColor") @Expose - public EnrollmentAvailabilityOptions enrollmentAvailability; + public RgbColor themeColor; /** - * The Role Scope Tag Ids. - * List of scope tags assigned to the branding profile + * The Theme Color Logo. + * Logo image displayed in Company Portal apps which have a theme color background behind the logo */ - @SerializedName("roleScopeTagIds") + @SerializedName("themeColorLogo") @Expose - public java.util.List roleScopeTagIds; + public MimeContent themeColorLogo; /** * The Assignments. diff --git a/src/main/java/com/microsoft/graph/models/extensions/Invitation.java b/src/main/java/com/microsoft/graph/models/extensions/Invitation.java index 39be79bfe70..2f64fda015b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Invitation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Invitation.java @@ -36,14 +36,6 @@ public class Invitation extends Entity implements IJsonBackedObject { @Expose public String invitedUserDisplayName; - /** - * The Invited User Type. - * The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. - */ - @SerializedName("invitedUserType") - @Expose - public String invitedUserType; - /** * The Invited User Email Address. * The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (/|)Semicolon (;)Colon (:)Quotation marks (')Angle brackets (&lt; &gt;)Question mark (?)Comma (,)However, the following exceptions apply:A period (.) or a hyphen (-) is permitted anywhere in the user name, except at the beginning or end of the name.An underscore (_) is permitted anywhere in the user name. This includes at the beginning or end of the name. @@ -61,36 +53,28 @@ public class Invitation extends Entity implements IJsonBackedObject { public InvitedUserMessageInfo invitedUserMessageInfo; /** - * The Send Invitation Message. - * Indicates whether an email should be sent to the user being invited or not. The default is false. - */ - @SerializedName("sendInvitationMessage") - @Expose - public Boolean sendInvitationMessage; - - /** - * The Invite Redirect Url. - * The URL user should be redirected to once the invitation is redeemed. Required. + * The Invited User Type. + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. */ - @SerializedName("inviteRedirectUrl") + @SerializedName("invitedUserType") @Expose - public String inviteRedirectUrl; + public String invitedUserType; /** * The Invite Redeem Url. - * The URL user can use to redeem his invitation. Read-Only + * The URL the user can use to redeem their invitation. Read-only */ @SerializedName("inviteRedeemUrl") @Expose public String inviteRedeemUrl; /** - * The Status. - * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error + * The Invite Redirect Url. + * The URL the user should be redirected to once the invitation is redeemed. Required. */ - @SerializedName("status") + @SerializedName("inviteRedirectUrl") @Expose - public String status; + public String inviteRedirectUrl; /** * The Reset Redemption. @@ -100,6 +84,22 @@ public class Invitation extends Entity implements IJsonBackedObject { @Expose public Boolean resetRedemption; + /** + * The Send Invitation Message. + * Indicates whether an email should be sent to the user being invited or not. The default is false. + */ + @SerializedName("sendInvitationMessage") + @Expose + public Boolean sendInvitationMessage; + + /** + * The Status. + * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error + */ + @SerializedName("status") + @Expose + public String status; + /** * The Invited User. * The user created as part of the invitation creation. Read-Only diff --git a/src/main/java/com/microsoft/graph/models/extensions/InvitationParticipantInfo.java b/src/main/java/com/microsoft/graph/models/extensions/InvitationParticipantInfo.java index a3d4fd4020e..db69e05ede1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InvitationParticipantInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InvitationParticipantInfo.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.generated.EndpointType; +import com.microsoft.graph.models.extensions.IdentitySet; import com.google.gson.JsonObject; @@ -37,14 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Identity. - * The identitySet associated with this invitation. - */ - @SerializedName("identity") - @Expose - public IdentitySet identity; - /** * The Endpoint Type. * @@ -53,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public EndpointType endpointType; + /** + * The Identity. + * The identitySet associated with this invitation. + */ + @SerializedName("identity") + @Expose + public IdentitySet identity; + /** * The Replaces Call Id. * Optional. The call which the target identity is currently a part of. This call will be dropped once the participant is added. diff --git a/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java b/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java index b691362b9b6..a9132d0d7e5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/InvitedUserMessageInfo.java @@ -44,14 +44,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List ccRecipients; - /** - * The Message Language. - * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. - */ - @SerializedName("messageLanguage") - @Expose - public String messageLanguage; - /** * The Customized Message Body. * Customized message body you want to send if you don't want the default message. @@ -60,6 +52,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String customizedMessageBody; + /** + * The Message Language. + * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. + */ + @SerializedName("messageLanguage") + @Expose + public String messageLanguage; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosAvailableUpdateVersion.java b/src/main/java/com/microsoft/graph/models/extensions/IosAvailableUpdateVersion.java index ae7ffc59e91..b29bc204e86 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosAvailableUpdateVersion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosAvailableUpdateVersion.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Product Version. - * The version of the update. + * The Expiration Date Time. + * The expiration date of the update. */ - @SerializedName("productVersion") + @SerializedName("expirationDateTime") @Expose - public String productVersion; + public java.util.Calendar expirationDateTime; /** * The Posting Date Time. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar postingDateTime; /** - * The Expiration Date Time. - * The expiration date of the update. + * The Product Version. + * The version of the update. */ - @SerializedName("expirationDateTime") + @SerializedName("productVersion") @Expose - public java.util.Calendar expirationDateTime; + public String productVersion; /** * The Supported Devices. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosAzureAdSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/IosAzureAdSingleSignOnExtension.java index bfa80c9c0e7..fe573c494d9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosAzureAdSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosAzureAdSingleSignOnExtension.java @@ -27,14 +27,6 @@ public class IosAzureAdSingleSignOnExtension extends IosSingleSignOnExtension implements IJsonBackedObject { - /** - * The Enable Shared Device Mode. - * Enables or disables shared device mode. - */ - @SerializedName("enableSharedDeviceMode") - @Expose - public Boolean enableSharedDeviceMode; - /** * The Bundle Id Access Control List. * An optional list of additional bundle IDs allowed to use the AAD extension for single sign-on. @@ -51,6 +43,14 @@ public class IosAzureAdSingleSignOnExtension extends IosSingleSignOnExtension im @Expose public java.util.List configurations; + /** + * The Enable Shared Device Mode. + * Enables or disables shared device mode. + */ + @SerializedName("enableSharedDeviceMode") + @Expose + public Boolean enableSharedDeviceMode; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosBookmark.java b/src/main/java/com/microsoft/graph/models/extensions/IosBookmark.java index 103f2e1df13..4066484459f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosBookmark.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosBookmark.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Url. - * URL allowed to access - */ - @SerializedName("url") - @Expose - public String url; - /** * The Bookmark Folder. * The folder into which the bookmark should be added in Safari @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; + /** + * The Url. + * URL allowed to access + */ + @SerializedName("url") + @Expose + public String url; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfileBase.java b/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfileBase.java index 988adf362b4..63a3d0a43c8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfileBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosCertificateProfileBase.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AppleSubjectNameFormat; -import com.microsoft.graph.models.generated.SubjectAlternativeNameType; import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; +import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.AppleSubjectNameFormat; import com.microsoft.graph.models.extensions.IosCertificateProfile; @@ -30,44 +30,44 @@ public class IosCertificateProfileBase extends IosCertificateProfile implements /** - * The Renewal Threshold Percentage. - * Certificate renewal threshold percentage. Valid values 1 to 99 + * The Certificate Validity Period Scale. + * Scale for the Certificate Validity Period. */ - @SerializedName("renewalThresholdPercentage") + @SerializedName("certificateValidityPeriodScale") @Expose - public Integer renewalThresholdPercentage; + public CertificateValidityPeriodScale certificateValidityPeriodScale; /** - * The Subject Name Format. - * Certificate Subject Name Format. + * The Certificate Validity Period Value. + * Value for the Certificate Validity Period. */ - @SerializedName("subjectNameFormat") + @SerializedName("certificateValidityPeriodValue") @Expose - public AppleSubjectNameFormat subjectNameFormat; + public Integer certificateValidityPeriodValue; /** - * The Subject Alternative Name Type. - * Certificate Subject Alternative Name type. + * The Renewal Threshold Percentage. + * Certificate renewal threshold percentage. Valid values 1 to 99 */ - @SerializedName("subjectAlternativeNameType") + @SerializedName("renewalThresholdPercentage") @Expose - public EnumSet subjectAlternativeNameType; + public Integer renewalThresholdPercentage; /** - * The Certificate Validity Period Value. - * Value for the Certificate Validity Period. + * The Subject Alternative Name Type. + * Certificate Subject Alternative Name type. */ - @SerializedName("certificateValidityPeriodValue") + @SerializedName("subjectAlternativeNameType") @Expose - public Integer certificateValidityPeriodValue; + public EnumSet subjectAlternativeNameType; /** - * The Certificate Validity Period Scale. - * Scale for the Certificate Validity Period. + * The Subject Name Format. + * Certificate Subject Name Format. */ - @SerializedName("certificateValidityPeriodScale") + @SerializedName("subjectNameFormat") @Expose - public CertificateValidityPeriodScale certificateValidityPeriodScale; + public AppleSubjectNameFormat subjectNameFormat; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java index 215aaeceb57..f45024e56a2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosCompliancePolicy.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; +import com.microsoft.graph.models.generated.RequiredPasswordType; import com.microsoft.graph.models.extensions.AppListItem; import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; @@ -30,140 +30,132 @@ public class IosCompliancePolicy extends DeviceCompliancePolicy implements IJson /** - * The Passcode Block Simple. - * Indicates whether or not to block simple passcodes. - */ - @SerializedName("passcodeBlockSimple") - @Expose - public Boolean passcodeBlockSimple; - - /** - * The Passcode Expiration Days. - * Number of days before the passcode expires. Valid values 1 to 65535 + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection . */ - @SerializedName("passcodeExpirationDays") + @SerializedName("deviceThreatProtectionEnabled") @Expose - public Integer passcodeExpirationDays; + public Boolean deviceThreatProtectionEnabled; /** - * The Passcode Minimum Length. - * Minimum length of passcode. Valid values 4 to 14 + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. */ - @SerializedName("passcodeMinimumLength") + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") @Expose - public Integer passcodeMinimumLength; + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; /** - * The Passcode Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a passcode is required. + * The Managed Email Profile Required. + * Indicates whether or not to require a managed email profile. */ - @SerializedName("passcodeMinutesOfInactivityBeforeLock") + @SerializedName("managedEmailProfileRequired") @Expose - public Integer passcodeMinutesOfInactivityBeforeLock; + public Boolean managedEmailProfileRequired; /** - * The Passcode Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity before the screen times out. + * The Os Maximum Build Version. + * Maximum IOS build version. */ - @SerializedName("passcodeMinutesOfInactivityBeforeScreenTimeout") + @SerializedName("osMaximumBuildVersion") @Expose - public Integer passcodeMinutesOfInactivityBeforeScreenTimeout; + public String osMaximumBuildVersion; /** - * The Passcode Previous Passcode Block Count. - * Number of previous passcodes to block. Valid values 1 to 24 + * The Os Maximum Version. + * Maximum IOS version. */ - @SerializedName("passcodePreviousPasscodeBlockCount") + @SerializedName("osMaximumVersion") @Expose - public Integer passcodePreviousPasscodeBlockCount; + public String osMaximumVersion; /** - * The Passcode Minimum Character Set Count. - * The number of character sets required in the password. + * The Os Minimum Build Version. + * Minimum IOS build version. */ - @SerializedName("passcodeMinimumCharacterSetCount") + @SerializedName("osMinimumBuildVersion") @Expose - public Integer passcodeMinimumCharacterSetCount; + public String osMinimumBuildVersion; /** - * The Passcode Required Type. - * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. + * The Os Minimum Version. + * Minimum IOS version. */ - @SerializedName("passcodeRequiredType") + @SerializedName("osMinimumVersion") @Expose - public RequiredPasswordType passcodeRequiredType; + public String osMinimumVersion; /** - * The Passcode Required. - * Indicates whether or not to require a passcode. + * The Passcode Block Simple. + * Indicates whether or not to block simple passcodes. */ - @SerializedName("passcodeRequired") + @SerializedName("passcodeBlockSimple") @Expose - public Boolean passcodeRequired; + public Boolean passcodeBlockSimple; /** - * The Os Minimum Version. - * Minimum IOS version. + * The Passcode Expiration Days. + * Number of days before the passcode expires. Valid values 1 to 65535 */ - @SerializedName("osMinimumVersion") + @SerializedName("passcodeExpirationDays") @Expose - public String osMinimumVersion; + public Integer passcodeExpirationDays; /** - * The Os Maximum Version. - * Maximum IOS version. + * The Passcode Minimum Character Set Count. + * The number of character sets required in the password. */ - @SerializedName("osMaximumVersion") + @SerializedName("passcodeMinimumCharacterSetCount") @Expose - public String osMaximumVersion; + public Integer passcodeMinimumCharacterSetCount; /** - * The Os Minimum Build Version. - * Minimum IOS build version. + * The Passcode Minimum Length. + * Minimum length of passcode. Valid values 4 to 14 */ - @SerializedName("osMinimumBuildVersion") + @SerializedName("passcodeMinimumLength") @Expose - public String osMinimumBuildVersion; + public Integer passcodeMinimumLength; /** - * The Os Maximum Build Version. - * Maximum IOS build version. + * The Passcode Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a passcode is required. */ - @SerializedName("osMaximumBuildVersion") + @SerializedName("passcodeMinutesOfInactivityBeforeLock") @Expose - public String osMaximumBuildVersion; + public Integer passcodeMinutesOfInactivityBeforeLock; /** - * The Security Block Jailbroken Devices. - * Devices must not be jailbroken or rooted. + * The Passcode Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity before the screen times out. */ - @SerializedName("securityBlockJailbrokenDevices") + @SerializedName("passcodeMinutesOfInactivityBeforeScreenTimeout") @Expose - public Boolean securityBlockJailbrokenDevices; + public Integer passcodeMinutesOfInactivityBeforeScreenTimeout; /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection . + * The Passcode Previous Passcode Block Count. + * Number of previous passcodes to block. Valid values 1 to 24 */ - @SerializedName("deviceThreatProtectionEnabled") + @SerializedName("passcodePreviousPasscodeBlockCount") @Expose - public Boolean deviceThreatProtectionEnabled; + public Integer passcodePreviousPasscodeBlockCount; /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * The Passcode Required. + * Indicates whether or not to require a passcode. */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @SerializedName("passcodeRequired") @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + public Boolean passcodeRequired; /** - * The Managed Email Profile Required. - * Indicates whether or not to require a managed email profile. + * The Passcode Required Type. + * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. */ - @SerializedName("managedEmailProfileRequired") + @SerializedName("passcodeRequiredType") @Expose - public Boolean managedEmailProfileRequired; + public RequiredPasswordType passcodeRequiredType; /** * The Restricted Apps. @@ -173,6 +165,14 @@ public class IosCompliancePolicy extends DeviceCompliancePolicy implements IJson @Expose public java.util.List restrictedApps; + /** + * The Security Block Jailbroken Devices. + * Devices must not be jailbroken or rooted. + */ + @SerializedName("securityBlockJailbrokenDevices") + @Expose + public Boolean securityBlockJailbrokenDevices; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosCredentialSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/IosCredentialSingleSignOnExtension.java index 884151f6aaa..c1b2005e1ab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosCredentialSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosCredentialSingleSignOnExtension.java @@ -28,20 +28,12 @@ public class IosCredentialSingleSignOnExtension extends IosSingleSignOnExtension /** - * The Extension Identifier. - * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. - */ - @SerializedName("extensionIdentifier") - @Expose - public String extensionIdentifier; - - /** - * The Team Identifier. - * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * The Configurations. + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. */ - @SerializedName("teamIdentifier") + @SerializedName("configurations") @Expose - public String teamIdentifier; + public java.util.List configurations; /** * The Domains. @@ -51,6 +43,14 @@ public class IosCredentialSingleSignOnExtension extends IosSingleSignOnExtension @Expose public java.util.List domains; + /** + * The Extension Identifier. + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + */ + @SerializedName("extensionIdentifier") + @Expose + public String extensionIdentifier; + /** * The Realm. * Gets or sets the case-sensitive realm name for this profile. @@ -60,12 +60,12 @@ public class IosCredentialSingleSignOnExtension extends IosSingleSignOnExtension public String realm; /** - * The Configurations. - * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * The Team Identifier. + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. */ - @SerializedName("configurations") + @SerializedName("teamIdentifier") @Expose - public java.util.List configurations; + public String teamIdentifier; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java index cb282b178bf..10599ff5279 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosCustomConfiguration.java @@ -27,12 +27,12 @@ public class IosCustomConfiguration extends DeviceConfiguration implements IJson /** - * The Payload Name. - * Name that is displayed to the user. + * The Payload. + * Payload. (UTF8 encoded byte array) */ - @SerializedName("payloadName") + @SerializedName("payload") @Expose - public String payloadName; + public byte[] payload; /** * The Payload File Name. @@ -43,12 +43,12 @@ public class IosCustomConfiguration extends DeviceConfiguration implements IJson public String payloadFileName; /** - * The Payload. - * Payload. (UTF8 encoded byte array) + * The Payload Name. + * Name that is displayed to the user. */ - @SerializedName("payload") + @SerializedName("payloadName") @Expose - public byte[] payload; + public String payloadName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java index 685ab78b68c..b3cab040e0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosDeviceFeaturesConfiguration.java @@ -11,12 +11,12 @@ import com.microsoft.graph.models.extensions.IosWebContentFilterBase; import com.microsoft.graph.models.extensions.IosHomeScreenItem; import com.microsoft.graph.models.extensions.IosHomeScreenPage; +import com.microsoft.graph.models.extensions.IosSingleSignOnExtension; import com.microsoft.graph.models.extensions.IosNotificationSettings; +import com.microsoft.graph.models.extensions.SingleSignOnExtension; import com.microsoft.graph.models.extensions.IosSingleSignOnSettings; import com.microsoft.graph.models.generated.IosWallpaperDisplayLocation; import com.microsoft.graph.models.extensions.MimeContent; -import com.microsoft.graph.models.extensions.SingleSignOnExtension; -import com.microsoft.graph.models.extensions.IosSingleSignOnExtension; import com.microsoft.graph.models.extensions.IosCertificateProfileBase; import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; @@ -52,14 +52,6 @@ public class IosDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigura @Expose public IosWebContentFilterBase contentFilterSettings; - /** - * The Lock Screen Footnote. - * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. - */ - @SerializedName("lockScreenFootnote") - @Expose - public String lockScreenFootnote; - /** * The Home Screen Dock Icons. * A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements. @@ -76,6 +68,22 @@ public class IosDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigura @Expose public java.util.List homeScreenPages; + /** + * The Ios Single Sign On Extension. + * Gets or sets a single sign-on extension profile. + */ + @SerializedName("iosSingleSignOnExtension") + @Expose + public IosSingleSignOnExtension iosSingleSignOnExtension; + + /** + * The Lock Screen Footnote. + * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. + */ + @SerializedName("lockScreenFootnote") + @Expose + public String lockScreenFootnote; + /** * The Notification Settings. * Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements. @@ -84,6 +92,14 @@ public class IosDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigura @Expose public java.util.List notificationSettings; + /** + * The Single Sign On Extension. + * Gets or sets a single sign-on extension profile. Deprecated: use IOSSingleSignOnExtension instead. + */ + @SerializedName("singleSignOnExtension") + @Expose + public SingleSignOnExtension singleSignOnExtension; + /** * The Single Sign On Settings. * The Kerberos login settings that enable apps on receiving devices to authenticate smoothly. @@ -108,22 +124,6 @@ public class IosDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigura @Expose public MimeContent wallpaperImage; - /** - * The Single Sign On Extension. - * Gets or sets a single sign-on extension profile. Deprecated: use IOSSingleSignOnExtension instead. - */ - @SerializedName("singleSignOnExtension") - @Expose - public SingleSignOnExtension singleSignOnExtension; - - /** - * The Ios Single Sign On Extension. - * Gets or sets a single sign-on extension profile. - */ - @SerializedName("iosSingleSignOnExtension") - @Expose - public IosSingleSignOnExtension iosSingleSignOnExtension; - /** * The Identity Certificate For Client Authentication. * Identity Certificate for the renewal of Kerberos ticket used in single sign-on settings. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosEasEmailProfileConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosEasEmailProfileConfiguration.java index cabe187f293..89333a5992a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosEasEmailProfileConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosEasEmailProfileConfiguration.java @@ -10,12 +10,12 @@ import java.util.EnumSet; import com.microsoft.graph.models.generated.EasAuthenticationMethod; import com.microsoft.graph.models.generated.EmailSyncDuration; -import com.microsoft.graph.models.generated.UserEmailSource; import com.microsoft.graph.models.generated.EasServices; +import com.microsoft.graph.models.generated.UserEmailSource; import com.microsoft.graph.models.generated.EmailCertificateType; +import com.microsoft.graph.models.extensions.DeviceManagementDerivedCredentialSettings; import com.microsoft.graph.models.extensions.IosCertificateProfileBase; import com.microsoft.graph.models.extensions.IosCertificateProfile; -import com.microsoft.graph.models.extensions.DeviceManagementDerivedCredentialSettings; import com.microsoft.graph.models.extensions.EasEmailProfileConfigurationBase; @@ -82,14 +82,6 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio @Expose public EmailSyncDuration durationOfEmailToSync; - /** - * The Email Address Source. - * Email attribute that is picked from AAD and injected into this profile before installing on the device. - */ - @SerializedName("emailAddressSource") - @Expose - public UserEmailSource emailAddressSource; - /** * The Eas Services. * Exchange data to sync. @@ -106,6 +98,22 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio @Expose public Boolean easServicesUserOverrideEnabled; + /** + * The Email Address Source. + * Email attribute that is picked from AAD and injected into this profile before installing on the device. + */ + @SerializedName("emailAddressSource") + @Expose + public UserEmailSource emailAddressSource; + + /** + * The Encryption Certificate Type. + * Encryption Certificate type for this Email profile. + */ + @SerializedName("encryptionCertificateType") + @Expose + public EmailCertificateType encryptionCertificateType; + /** * The Host Name. * Exchange location that (URL) that the native mail app connects to. @@ -123,36 +131,36 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio public Boolean requireSmime; /** - * The Smime Enable Per Message Switch. - * Indicates whether or not to allow unencrypted emails. + * The Require Ssl. + * Indicates whether or not to use SSL. */ - @SerializedName("smimeEnablePerMessageSwitch") + @SerializedName("requireSsl") @Expose - public Boolean smimeEnablePerMessageSwitch; + public Boolean requireSsl; /** - * The Smime Encrypt By Default Enabled. - * If set to true S/MIME encryption is enabled by default. + * The Signing Certificate Type. + * Signing Certificate type for this Email profile. */ - @SerializedName("smimeEncryptByDefaultEnabled") + @SerializedName("signingCertificateType") @Expose - public Boolean smimeEncryptByDefaultEnabled; + public EmailCertificateType signingCertificateType; /** - * The Smime Signing Enabled. - * If set to true S/MIME signing is enabled for this account + * The Smime Enable Per Message Switch. + * Indicates whether or not to allow unencrypted emails. */ - @SerializedName("smimeSigningEnabled") + @SerializedName("smimeEnablePerMessageSwitch") @Expose - public Boolean smimeSigningEnabled; + public Boolean smimeEnablePerMessageSwitch; /** - * The Smime Signing User Override Enabled. - * If set to true, the user can toggle S/MIME signing on or off. + * The Smime Encrypt By Default Enabled. + * If set to true S/MIME encryption is enabled by default. */ - @SerializedName("smimeSigningUserOverrideEnabled") + @SerializedName("smimeEncryptByDefaultEnabled") @Expose - public Boolean smimeSigningUserOverrideEnabled; + public Boolean smimeEncryptByDefaultEnabled; /** * The Smime Encrypt By Default User Override Enabled. @@ -162,6 +170,14 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio @Expose public Boolean smimeEncryptByDefaultUserOverrideEnabled; + /** + * The Smime Encryption Certificate User Override Enabled. + * If set to true the user can select the S/MIME encryption identity. + */ + @SerializedName("smimeEncryptionCertificateUserOverrideEnabled") + @Expose + public Boolean smimeEncryptionCertificateUserOverrideEnabled; + /** * The Smime Signing Certificate User Override Enabled. * If set to true, the user can select the signing identity. @@ -171,20 +187,20 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio public Boolean smimeSigningCertificateUserOverrideEnabled; /** - * The Smime Encryption Certificate User Override Enabled. - * If set to true the user can select the S/MIME encryption identity. + * The Smime Signing Enabled. + * If set to true S/MIME signing is enabled for this account */ - @SerializedName("smimeEncryptionCertificateUserOverrideEnabled") + @SerializedName("smimeSigningEnabled") @Expose - public Boolean smimeEncryptionCertificateUserOverrideEnabled; + public Boolean smimeSigningEnabled; /** - * The Require Ssl. - * Indicates whether or not to use SSL. + * The Smime Signing User Override Enabled. + * If set to true, the user can toggle S/MIME signing on or off. */ - @SerializedName("requireSsl") + @SerializedName("smimeSigningUserOverrideEnabled") @Expose - public Boolean requireSsl; + public Boolean smimeSigningUserOverrideEnabled; /** * The Use OAuth. @@ -195,20 +211,12 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio public Boolean useOAuth; /** - * The Signing Certificate Type. - * Signing Certificate type for this Email profile. - */ - @SerializedName("signingCertificateType") - @Expose - public EmailCertificateType signingCertificateType; - - /** - * The Encryption Certificate Type. - * Encryption Certificate type for this Email profile. + * The Derived Credential Settings. + * Tenant level settings for the Derived Credentials to be used for authentication. */ - @SerializedName("encryptionCertificateType") + @SerializedName("derivedCredentialSettings") @Expose - public EmailCertificateType encryptionCertificateType; + public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; /** * The Identity Certificate. @@ -218,14 +226,6 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio @Expose public IosCertificateProfileBase identityCertificate; - /** - * The Smime Signing Certificate. - * S/MIME signing certificate. - */ - @SerializedName("smimeSigningCertificate") - @Expose - public IosCertificateProfile smimeSigningCertificate; - /** * The Smime Encryption Certificate. * S/MIME encryption certificate. @@ -235,12 +235,12 @@ public class IosEasEmailProfileConfiguration extends EasEmailProfileConfiguratio public IosCertificateProfile smimeEncryptionCertificate; /** - * The Derived Credential Settings. - * Tenant level settings for the Derived Credentials to be used for authentication. + * The Smime Signing Certificate. + * S/MIME signing certificate. */ - @SerializedName("derivedCredentialSettings") + @SerializedName("smimeSigningCertificate") @Expose - public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; + public IosCertificateProfile smimeSigningCertificate; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosEduCertificateSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosEduCertificateSettings.java index 0b85a13aa90..39bcd4b5d46 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosEduCertificateSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosEduCertificateSettings.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Trusted Root Certificate. - * Trusted Root Certificate. - */ - @SerializedName("trustedRootCertificate") - @Expose - public byte[] trustedRootCertificate; - /** * The Cert File Name. * File name to display in UI. @@ -52,6 +44,30 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String certFileName; + /** + * The Certificate Template Name. + * PKCS Certificate Template Name. + */ + @SerializedName("certificateTemplateName") + @Expose + public String certificateTemplateName; + + /** + * The Certificate Validity Period Scale. + * Scale for the Certificate Validity Period. + */ + @SerializedName("certificateValidityPeriodScale") + @Expose + public CertificateValidityPeriodScale certificateValidityPeriodScale; + + /** + * The Certificate Validity Period Value. + * Value for the Certificate Validity Period. + */ + @SerializedName("certificateValidityPeriodValue") + @Expose + public Integer certificateValidityPeriodValue; + /** * The Certification Authority. * PKCS Certification Authority. @@ -68,14 +84,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String certificationAuthorityName; - /** - * The Certificate Template Name. - * PKCS Certificate Template Name. - */ - @SerializedName("certificateTemplateName") - @Expose - public String certificateTemplateName; - /** * The Renewal Threshold Percentage. * Certificate renewal threshold percentage. Valid values 1 to 99 @@ -85,20 +93,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer renewalThresholdPercentage; /** - * The Certificate Validity Period Value. - * Value for the Certificate Validity Period. - */ - @SerializedName("certificateValidityPeriodValue") - @Expose - public Integer certificateValidityPeriodValue; - - /** - * The Certificate Validity Period Scale. - * Scale for the Certificate Validity Period. + * The Trusted Root Certificate. + * Trusted Root Certificate. */ - @SerializedName("certificateValidityPeriodScale") + @SerializedName("trustedRootCertificate") @Expose - public CertificateValidityPeriodScale certificateValidityPeriodScale; + public byte[] trustedRootCertificate; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosEduDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosEduDeviceConfiguration.java index 8b47cf142fb..d72c6c44fb8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosEduDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosEduDeviceConfiguration.java @@ -28,12 +28,12 @@ public class IosEduDeviceConfiguration extends DeviceConfiguration implements IJ /** - * The Teacher Certificate Settings. - * The Trusted Root and PFX certificates for Teacher + * The Device Certificate Settings. + * The Trusted Root and PFX certificates for Device */ - @SerializedName("teacherCertificateSettings") + @SerializedName("deviceCertificateSettings") @Expose - public IosEduCertificateSettings teacherCertificateSettings; + public IosEduCertificateSettings deviceCertificateSettings; /** * The Student Certificate Settings. @@ -44,12 +44,12 @@ public class IosEduDeviceConfiguration extends DeviceConfiguration implements IJ public IosEduCertificateSettings studentCertificateSettings; /** - * The Device Certificate Settings. - * The Trusted Root and PFX certificates for Device + * The Teacher Certificate Settings. + * The Trusted Root and PFX certificates for Teacher */ - @SerializedName("deviceCertificateSettings") + @SerializedName("teacherCertificateSettings") @Expose - public IosEduCertificateSettings deviceCertificateSettings; + public IosEduCertificateSettings teacherCertificateSettings; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosEnterpriseWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosEnterpriseWiFiConfiguration.java index b05a20936df..d28ce924f6f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosEnterpriseWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosEnterpriseWiFiConfiguration.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.EapType; -import com.microsoft.graph.models.generated.EapFastConfiguration; import com.microsoft.graph.models.generated.WiFiAuthenticationMethod; +import com.microsoft.graph.models.generated.EapFastConfiguration; +import com.microsoft.graph.models.generated.EapType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForEapTtlsType; -import com.microsoft.graph.models.extensions.IosTrustedRootCertificate; -import com.microsoft.graph.models.extensions.IosCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceManagementDerivedCredentialSettings; +import com.microsoft.graph.models.extensions.IosCertificateProfileBase; +import com.microsoft.graph.models.extensions.IosTrustedRootCertificate; import com.microsoft.graph.models.extensions.IosWiFiConfiguration; import com.microsoft.graph.requests.extensions.IosTrustedRootCertificateCollectionResponse; import com.microsoft.graph.requests.extensions.IosTrustedRootCertificateCollectionPage; @@ -36,12 +36,12 @@ public class IosEnterpriseWiFiConfiguration extends IosWiFiConfiguration impleme /** - * The Eap Type. - * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). + * The Authentication Method. + * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. */ - @SerializedName("eapType") + @SerializedName("authenticationMethod") @Expose - public EapType eapType; + public WiFiAuthenticationMethod authenticationMethod; /** * The Eap Fast Configuration. @@ -52,20 +52,12 @@ public class IosEnterpriseWiFiConfiguration extends IosWiFiConfiguration impleme public EapFastConfiguration eapFastConfiguration; /** - * The Trusted Server Certificate Names. - * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. - */ - @SerializedName("trustedServerCertificateNames") - @Expose - public java.util.List trustedServerCertificateNames; - - /** - * The Authentication Method. - * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. + * The Eap Type. + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). */ - @SerializedName("authenticationMethod") + @SerializedName("eapType") @Expose - public WiFiAuthenticationMethod authenticationMethod; + public EapType eapType; /** * The Inner Authentication Protocol For Eap Ttls. @@ -83,14 +75,6 @@ public class IosEnterpriseWiFiConfiguration extends IosWiFiConfiguration impleme @Expose public String outerIdentityPrivacyTemporaryValue; - /** - * The Username Format String. - * Username format string used to build the username to connect to wifi - */ - @SerializedName("usernameFormatString") - @Expose - public String usernameFormatString; - /** * The Password Format String. * Password format string used to build the password to connect to wifi @@ -100,18 +84,20 @@ public class IosEnterpriseWiFiConfiguration extends IosWiFiConfiguration impleme public String passwordFormatString; /** - * The Root Certificates For Server Validation. - * Trusted Root Certificates for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. If you provide this value you do not need to provide trustedServerCertificateNames, and vice versa. + * The Trusted Server Certificate Names. + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. */ - public IosTrustedRootCertificateCollectionPage rootCertificatesForServerValidation; + @SerializedName("trustedServerCertificateNames") + @Expose + public java.util.List trustedServerCertificateNames; /** - * The Identity Certificate For Client Authentication. - * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + * The Username Format String. + * Username format string used to build the username to connect to wifi */ - @SerializedName("identityCertificateForClientAuthentication") + @SerializedName("usernameFormatString") @Expose - public IosCertificateProfileBase identityCertificateForClientAuthentication; + public String usernameFormatString; /** * The Derived Credential Settings. @@ -121,6 +107,20 @@ public class IosEnterpriseWiFiConfiguration extends IosWiFiConfiguration impleme @Expose public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; + /** + * The Identity Certificate For Client Authentication. + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + */ + @SerializedName("identityCertificateForClientAuthentication") + @Expose + public IosCertificateProfileBase identityCertificateForClientAuthentication; + + /** + * The Root Certificates For Server Validation. + * Trusted Root Certificates for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. If you provide this value you do not need to provide trustedServerCertificateNames, and vice versa. + */ + public IosTrustedRootCertificateCollectionPage rootCertificatesForServerValidation; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java index 623ba0536b9..84175c88f92 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosGeneralDeviceConfiguration.java @@ -10,6 +10,8 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.AppListItem; import com.microsoft.graph.models.generated.AppListType; +import com.microsoft.graph.models.generated.IosKioskModeAppType; +import com.microsoft.graph.models.generated.RatingAppsType; import com.microsoft.graph.models.extensions.MediaContentRatingAustralia; import com.microsoft.graph.models.extensions.MediaContentRatingCanada; import com.microsoft.graph.models.extensions.MediaContentRatingFrance; @@ -20,10 +22,8 @@ import com.microsoft.graph.models.extensions.MediaContentRatingUnitedKingdom; import com.microsoft.graph.models.extensions.MediaContentRatingUnitedStates; import com.microsoft.graph.models.extensions.IosNetworkUsageRule; -import com.microsoft.graph.models.generated.RatingAppsType; import com.microsoft.graph.models.generated.RequiredPasswordType; import com.microsoft.graph.models.generated.WebBrowserCookieSettings; -import com.microsoft.graph.models.generated.IosKioskModeAppType; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -83,20 +83,36 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement public Boolean airPlayForcePairingPasswordForOutgoingRequests; /** - * The Apple Watch Block Pairing. - * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). + * The Air Print Block Credentials Storage. + * Indicates whether or not keychain storage of username and password for Airprint is blocked (iOS 11.0 and later). */ - @SerializedName("appleWatchBlockPairing") + @SerializedName("airPrintBlockCredentialsStorage") @Expose - public Boolean appleWatchBlockPairing; + public Boolean airPrintBlockCredentialsStorage; /** - * The Apple Watch Force Wrist Detection. - * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). + * The Air Print Blocked. + * Indicates whether or not AirPrint is blocked (iOS 11.0 and later). */ - @SerializedName("appleWatchForceWristDetection") + @SerializedName("airPrintBlocked") @Expose - public Boolean appleWatchForceWristDetection; + public Boolean airPrintBlocked; + + /** + * The Air Print Blocki Beacon Discovery. + * Indicates whether or not iBeacon discovery of AirPrint printers is blocked. This prevents spurious AirPrint Bluetooth beacons from phishing for network traffic (iOS 11.0 and later). + */ + @SerializedName("airPrintBlockiBeaconDiscovery") + @Expose + public Boolean airPrintBlockiBeaconDiscovery; + + /** + * The Air Print Force Trusted TLS. + * Indicates if trusted certificates are required for TLS printing communication (iOS 11.0 and later). + */ + @SerializedName("airPrintForceTrustedTLS") + @Expose + public Boolean airPrintForceTrustedTLS; /** * The Apple News Blocked. @@ -107,28 +123,36 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement public Boolean appleNewsBlocked; /** - * The Apps Single App Mode List. - * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. + * The Apple Watch Block Pairing. + * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). */ - @SerializedName("appsSingleAppModeList") + @SerializedName("appleWatchBlockPairing") @Expose - public java.util.List appsSingleAppModeList; + public Boolean appleWatchBlockPairing; /** - * The Apps Visibility List. - * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. + * The Apple Watch Force Wrist Detection. + * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). */ - @SerializedName("appsVisibilityList") + @SerializedName("appleWatchForceWristDetection") @Expose - public java.util.List appsVisibilityList; + public Boolean appleWatchForceWristDetection; /** - * The Apps Visibility List Type. - * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * The App Removal Blocked. + * Indicates if the removal of apps is allowed. */ - @SerializedName("appsVisibilityListType") + @SerializedName("appRemovalBlocked") @Expose - public AppListType appsVisibilityListType; + public Boolean appRemovalBlocked; + + /** + * The Apps Single App Mode List. + * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. + */ + @SerializedName("appsSingleAppModeList") + @Expose + public java.util.List appsSingleAppModeList; /** * The App Store Block Automatic Downloads. @@ -170,6 +194,22 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean appStoreRequirePassword; + /** + * The Apps Visibility List. + * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. + */ + @SerializedName("appsVisibilityList") + @Expose + public java.util.List appsVisibilityList; + + /** + * The Apps Visibility List Type. + * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + */ + @SerializedName("appsVisibilityListType") + @Expose + public AppListType appsVisibilityListType; + /** * The Auto Fill Force Authentication. * Indicates whether or not to force user authentication before autofilling passwords and credit card information in Safari and other apps on supervised devices. @@ -178,6 +218,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean autoFillForceAuthentication; + /** + * The Block System App Removal. + * Indicates whether or not the removal of system apps from the device is blocked on a supervised device (iOS 11.0 and later). + */ + @SerializedName("blockSystemAppRemoval") + @Expose + public Boolean blockSystemAppRemoval; + /** * The Bluetooth Block Modification. * Indicates whether or not to allow modification of Bluetooth settings when the device is in supervised mode (iOS 10.0 and later). @@ -226,6 +274,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean cellularBlockPersonalHotspot; + /** + * The Cellular Block Personal Hotspot Modification. + * Indicates whether or not to block the user from modifying the personal hotspot setting (iOS 12.2 or later). + */ + @SerializedName("cellularBlockPersonalHotspotModification") + @Expose + public Boolean cellularBlockPersonalHotspotModification; + /** * The Cellular Block Plan Modification. * Indicates whether or not to allow users to change the settings of the cellular plan on a supervised device. @@ -275,20 +331,20 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement public Boolean classroomForceAutomaticallyJoinClasses; /** - * The Classroom Force Unprompted App And Device Lock. - * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Supervised only. + * The Classroom Force Request Permission To Leave Classes. + * Indicates whether a student enrolled in an unmanaged course via Classroom will request permission from the teacher when attempting to leave the course (iOS 11.3 and later). */ - @SerializedName("classroomForceUnpromptedAppAndDeviceLock") + @SerializedName("classroomForceRequestPermissionToLeaveClasses") @Expose - public Boolean classroomForceUnpromptedAppAndDeviceLock; + public Boolean classroomForceRequestPermissionToLeaveClasses; /** - * The Compliant Apps List. - * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * The Classroom Force Unprompted App And Device Lock. + * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Supervised only. */ - @SerializedName("compliantAppsList") + @SerializedName("classroomForceUnpromptedAppAndDeviceLock") @Expose - public java.util.List compliantAppsList; + public Boolean classroomForceUnpromptedAppAndDeviceLock; /** * The Compliant App List Type. @@ -298,6 +354,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public AppListType compliantAppListType; + /** + * The Compliant Apps List. + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + */ + @SerializedName("compliantAppsList") + @Expose + public java.util.List compliantAppsList; + /** * The Configuration Profile Block Changes. * Indicates whether or not to block the user from installing configuration profiles and certificates interactively when the device is in supervised mode. @@ -306,6 +370,38 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean configurationProfileBlockChanges; + /** + * The Contacts Allow Managed To Unmanaged Write. + * Indicates whether or not managed apps can write contacts to unmanaged contacts accounts (iOS 12.0 and later). + */ + @SerializedName("contactsAllowManagedToUnmanagedWrite") + @Expose + public Boolean contactsAllowManagedToUnmanagedWrite; + + /** + * The Contacts Allow Unmanaged To Managed Read. + * Indicates whether or not unmanaged apps can read from managed contacts accounts (iOS 12.0 or later). + */ + @SerializedName("contactsAllowUnmanagedToManagedRead") + @Expose + public Boolean contactsAllowUnmanagedToManagedRead; + + /** + * The Continuous Path Keyboard Blocked. + * Indicates whether or not to block the continuous path keyboard when the device is supervised (iOS 13 or later). + */ + @SerializedName("continuousPathKeyboardBlocked") + @Expose + public Boolean continuousPathKeyboardBlocked; + + /** + * The Date And Time Force Set Automatically. + * Indicates whether or not the Date and Time "Set Automatically" feature is enabled and cannot be turned off by the user (iOS 12.0 and later). + */ + @SerializedName("dateAndTimeForceSetAutomatically") + @Expose + public Boolean dateAndTimeForceSetAutomatically; + /** * The Definition Lookup Blocked. * Indicates whether or not to block definition lookup when the device is in supervised mode (iOS 8.1.3 and later ). @@ -394,6 +490,22 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean enterpriseAppBlockTrustModification; + /** + * The Enterprise Book Block Backup. + * Indicates whether or not Enterprise book back up is blocked. + */ + @SerializedName("enterpriseBookBlockBackup") + @Expose + public Boolean enterpriseBookBlockBackup; + + /** + * The Enterprise Book Block Metadata Sync. + * Indicates whether or not Enterprise book notes and highlights sync is blocked. + */ + @SerializedName("enterpriseBookBlockMetadataSync") + @Expose + public Boolean enterpriseBookBlockMetadataSync; + /** * The Esim Block Modification. * Indicates whether or not to allow the addition or removal of cellular plans on the eSIM of a supervised device. @@ -410,6 +522,30 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean faceTimeBlocked; + /** + * The Files Network Drive Access Blocked. + * Indicates if devices can access files or other resources on a network server using the Server Message Block (SMB) protocol. Available for devices running iOS and iPadOS, versions 13.0 and later. + */ + @SerializedName("filesNetworkDriveAccessBlocked") + @Expose + public Boolean filesNetworkDriveAccessBlocked; + + /** + * The Files Usb Drive Access Blocked. + * Indicates if sevices with access can connect to and open files on a USB drive. Available for devices running iOS and iPadOS, versions 13.0 and later. + */ + @SerializedName("filesUsbDriveAccessBlocked") + @Expose + public Boolean filesUsbDriveAccessBlocked; + + /** + * The Find My Device In Find My App Blocked. + * Indicates whether or not to block Find My Device when the device is supervised (iOS 13 or later). + */ + @SerializedName("findMyDeviceInFindMyAppBlocked") + @Expose + public Boolean findMyDeviceInFindMyAppBlocked; + /** * The Find My Friends Blocked. * Indicates whether or not to block Find My Friends when the device is in supervised mode. @@ -418,6 +554,22 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean findMyFriendsBlocked; + /** + * The Find My Friends In Find My App Blocked. + * Indicates whether or not to block Find My Friends when the device is supervised (iOS 13 or later). + */ + @SerializedName("findMyFriendsInFindMyAppBlocked") + @Expose + public Boolean findMyFriendsInFindMyAppBlocked; + + /** + * The Game Center Blocked. + * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. + */ + @SerializedName("gameCenterBlocked") + @Expose + public Boolean gameCenterBlocked; + /** * The Gaming Block Game Center Friends. * Indicates whether or not to block the user from having friends in Game Center. @@ -434,14 +586,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean gamingBlockMultiplayer; - /** - * The Game Center Blocked. - * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. - */ - @SerializedName("gameCenterBlocked") - @Expose - public Boolean gameCenterBlocked; - /** * The Host Pairing Blocked. * indicates whether or not to allow host pairing to control the devices an iOS device can pair with when the iOS device is in supervised mode. @@ -530,6 +674,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean iCloudRequireEncryptedBackup; + /** + * The ITunes Blocked. + * Indicates whether or not to block the iTunes app. Requires a supervised device for iOS 13 and later. + */ + @SerializedName("iTunesBlocked") + @Expose + public Boolean iTunesBlocked; + /** * The ITunes Block Explicit Content. * Indicates whether or not to block the user from accessing explicit content in iTunes and the App Store. @@ -594,6 +746,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean keyboardBlockSpellCheck; + /** + * The Keychain Block Cloud Sync. + * Indicates whether or not iCloud keychain synchronization is blocked. Requires a supervised device for iOS 13 and later. + */ + @SerializedName("keychainBlockCloudSync") + @Expose + public Boolean keychainBlockCloudSync; + /** * The Kiosk Mode Allow Assistive Speak. * Indicates whether or not to allow assistive speak while in kiosk mode. @@ -618,14 +778,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean kioskModeAllowAutoLock; - /** - * The Kiosk Mode Block Auto Lock. - * Indicates whether or not to block device auto lock while in kiosk mode. - */ - @SerializedName("kioskModeBlockAutoLock") - @Expose - public Boolean kioskModeBlockAutoLock; - /** * The Kiosk Mode Allow Color Inversion Settings. * Indicates whether or not to allow access to the Color Inversion Settings while in kiosk mode. @@ -642,14 +794,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean kioskModeAllowRingerSwitch; - /** - * The Kiosk Mode Block Ringer Switch. - * Indicates whether or not to block use of the ringer switch while in kiosk mode. - */ - @SerializedName("kioskModeBlockRingerSwitch") - @Expose - public Boolean kioskModeBlockRingerSwitch; - /** * The Kiosk Mode Allow Screen Rotation. * Indicates whether or not to allow screen rotation while in kiosk mode. @@ -659,29 +803,13 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement public Boolean kioskModeAllowScreenRotation; /** - * The Kiosk Mode Block Screen Rotation. - * Indicates whether or not to block screen rotation while in kiosk mode. - */ - @SerializedName("kioskModeBlockScreenRotation") - @Expose - public Boolean kioskModeBlockScreenRotation; - - /** - * The Kiosk Mode Allow Sleep Button. - * Indicates whether or not to allow use of the sleep button while in kiosk mode. + * The Kiosk Mode Allow Sleep Button. + * Indicates whether or not to allow use of the sleep button while in kiosk mode. */ @SerializedName("kioskModeAllowSleepButton") @Expose public Boolean kioskModeAllowSleepButton; - /** - * The Kiosk Mode Block Sleep Button. - * Indicates whether or not to block use of the sleep button while in kiosk mode. - */ - @SerializedName("kioskModeBlockSleepButton") - @Expose - public Boolean kioskModeBlockSleepButton; - /** * The Kiosk Mode Allow Touchscreen. * Indicates whether or not to allow use of the touchscreen while in kiosk mode. @@ -690,22 +818,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean kioskModeAllowTouchscreen; - /** - * The Kiosk Mode Block Touchscreen. - * Indicates whether or not to block use of the touchscreen while in kiosk mode. - */ - @SerializedName("kioskModeBlockTouchscreen") - @Expose - public Boolean kioskModeBlockTouchscreen; - - /** - * The Kiosk Mode Enable Voice Control. - * Indicates whether or not to enable voice control in kiosk mode. - */ - @SerializedName("kioskModeEnableVoiceControl") - @Expose - public Boolean kioskModeEnableVoiceControl; - /** * The Kiosk Mode Allow Voice Control Modification. * Indicates whether or not to allow the user to toggle voice control in kiosk mode. @@ -730,14 +842,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean kioskModeAllowVolumeButtons; - /** - * The Kiosk Mode Block Volume Buttons. - * Indicates whether or not to block the volume buttons while in Kiosk Mode. - */ - @SerializedName("kioskModeBlockVolumeButtons") - @Expose - public Boolean kioskModeBlockVolumeButtons; - /** * The Kiosk Mode Allow Zoom Settings. * Indicates whether or not to allow access to the zoom settings while in kiosk mode. @@ -754,6 +858,62 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public String kioskModeAppStoreUrl; + /** + * The Kiosk Mode App Type. + * Type of app to run in kiosk mode. + */ + @SerializedName("kioskModeAppType") + @Expose + public IosKioskModeAppType kioskModeAppType; + + /** + * The Kiosk Mode Block Auto Lock. + * Indicates whether or not to block device auto lock while in kiosk mode. + */ + @SerializedName("kioskModeBlockAutoLock") + @Expose + public Boolean kioskModeBlockAutoLock; + + /** + * The Kiosk Mode Block Ringer Switch. + * Indicates whether or not to block use of the ringer switch while in kiosk mode. + */ + @SerializedName("kioskModeBlockRingerSwitch") + @Expose + public Boolean kioskModeBlockRingerSwitch; + + /** + * The Kiosk Mode Block Screen Rotation. + * Indicates whether or not to block screen rotation while in kiosk mode. + */ + @SerializedName("kioskModeBlockScreenRotation") + @Expose + public Boolean kioskModeBlockScreenRotation; + + /** + * The Kiosk Mode Block Sleep Button. + * Indicates whether or not to block use of the sleep button while in kiosk mode. + */ + @SerializedName("kioskModeBlockSleepButton") + @Expose + public Boolean kioskModeBlockSleepButton; + + /** + * The Kiosk Mode Block Touchscreen. + * Indicates whether or not to block use of the touchscreen while in kiosk mode. + */ + @SerializedName("kioskModeBlockTouchscreen") + @Expose + public Boolean kioskModeBlockTouchscreen; + + /** + * The Kiosk Mode Block Volume Buttons. + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + */ + @SerializedName("kioskModeBlockVolumeButtons") + @Expose + public Boolean kioskModeBlockVolumeButtons; + /** * The Kiosk Mode Built In App Id. * ID for built-in apps to use for kiosk mode. Used when KioskModeManagedAppId and KioskModeAppStoreUrl are not set. @@ -762,6 +922,22 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public String kioskModeBuiltInAppId; + /** + * The Kiosk Mode Enable Voice Control. + * Indicates whether or not to enable voice control in kiosk mode. + */ + @SerializedName("kioskModeEnableVoiceControl") + @Expose + public Boolean kioskModeEnableVoiceControl; + + /** + * The Kiosk Mode Managed App Id. + * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. + */ + @SerializedName("kioskModeManagedAppId") + @Expose + public String kioskModeManagedAppId; + /** * The Kiosk Mode Require Assistive Touch. * Indicates whether or not to require assistive touch while in kiosk mode. @@ -802,14 +978,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean kioskModeRequireZoom; - /** - * The Kiosk Mode Managed App Id. - * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. - */ - @SerializedName("kioskModeManagedAppId") - @Expose - public String kioskModeManagedAppId; - /** * The Lock Screen Block Control Center. * Indicates whether or not to block the user from using control center on the lock screen. @@ -842,6 +1010,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean lockScreenBlockTodayView; + /** + * The Media Content Rating Apps. + * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. + */ + @SerializedName("mediaContentRatingApps") + @Expose + public RatingAppsType mediaContentRatingApps; + /** * The Media Content Rating Australia. * Media content rating settings for Australia @@ -914,22 +1090,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public MediaContentRatingUnitedStates mediaContentRatingUnitedStates; - /** - * The Network Usage Rules. - * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. - */ - @SerializedName("networkUsageRules") - @Expose - public java.util.List networkUsageRules; - - /** - * The Media Content Rating Apps. - * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. - */ - @SerializedName("mediaContentRatingApps") - @Expose - public RatingAppsType mediaContentRatingApps; - /** * The Messages Blocked. * Indicates whether or not to block the user from using the Messages app on the supervised device. @@ -939,20 +1099,20 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement public Boolean messagesBlocked; /** - * The Notifications Block Settings Modification. - * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). + * The Network Usage Rules. + * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. */ - @SerializedName("notificationsBlockSettingsModification") + @SerializedName("networkUsageRules") @Expose - public Boolean notificationsBlockSettingsModification; + public java.util.List networkUsageRules; /** - * The Passcode Block Fingerprint Unlock. - * Indicates whether or not to block fingerprint unlock. + * The Notifications Block Settings Modification. + * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). */ - @SerializedName("passcodeBlockFingerprintUnlock") + @SerializedName("notificationsBlockSettingsModification") @Expose - public Boolean passcodeBlockFingerprintUnlock; + public Boolean notificationsBlockSettingsModification; /** * The Passcode Block Fingerprint Modification. @@ -962,6 +1122,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean passcodeBlockFingerprintModification; + /** + * The Passcode Block Fingerprint Unlock. + * Indicates whether or not to block fingerprint unlock. + */ + @SerializedName("passcodeBlockFingerprintUnlock") + @Expose + public Boolean passcodeBlockFingerprintUnlock; + /** * The Passcode Block Modification. * Indicates whether or not to allow passcode modification on the supervised device (iOS 9.0 and later). @@ -986,6 +1154,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Integer passcodeExpirationDays; + /** + * The Passcode Minimum Character Set Count. + * Number of character sets a passcode must contain. Valid values 0 to 4 + */ + @SerializedName("passcodeMinimumCharacterSetCount") + @Expose + public Integer passcodeMinimumCharacterSetCount; + /** * The Passcode Minimum Length. * Minimum length of passcode. Valid values 4 to 14 @@ -1010,14 +1186,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Integer passcodeMinutesOfInactivityBeforeScreenTimeout; - /** - * The Passcode Minimum Character Set Count. - * Number of character sets a passcode must contain. Valid values 0 to 4 - */ - @SerializedName("passcodeMinimumCharacterSetCount") - @Expose - public Integer passcodeMinimumCharacterSetCount; - /** * The Passcode Previous Passcode Block Count. * Number of previous passcodes to block. Valid values 1 to 24 @@ -1027,12 +1195,12 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement public Integer passcodePreviousPasscodeBlockCount; /** - * The Passcode Sign In Failure Count Before Wipe. - * Number of sign in failures allowed before wiping the device. Valid values 4 to 11 + * The Passcode Required. + * Indicates whether or not to require a passcode. */ - @SerializedName("passcodeSignInFailureCountBeforeWipe") + @SerializedName("passcodeRequired") @Expose - public Integer passcodeSignInFailureCountBeforeWipe; + public Boolean passcodeRequired; /** * The Passcode Required Type. @@ -1043,12 +1211,44 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement public RequiredPasswordType passcodeRequiredType; /** - * The Passcode Required. - * Indicates whether or not to require a passcode. + * The Passcode Sign In Failure Count Before Wipe. + * Number of sign in failures allowed before wiping the device. Valid values 4 to 11 */ - @SerializedName("passcodeRequired") + @SerializedName("passcodeSignInFailureCountBeforeWipe") @Expose - public Boolean passcodeRequired; + public Integer passcodeSignInFailureCountBeforeWipe; + + /** + * The Password Block Air Drop Sharing. + * Indicates whether or not to block sharing passwords with the AirDrop passwords feature iOS 12.0 and later). + */ + @SerializedName("passwordBlockAirDropSharing") + @Expose + public Boolean passwordBlockAirDropSharing; + + /** + * The Password Block Auto Fill. + * Indicates if the AutoFill passwords feature is allowed (iOS 12.0 and later). + */ + @SerializedName("passwordBlockAutoFill") + @Expose + public Boolean passwordBlockAutoFill; + + /** + * The Password Block Proximity Requests. + * Indicates whether or not to block requesting passwords from nearby devices (iOS 12.0 and later). + */ + @SerializedName("passwordBlockProximityRequests") + @Expose + public Boolean passwordBlockProximityRequests; + + /** + * The Pki Block OTAUpdates. + * Indicates whether or not over-the-air PKI updates are blocked. Setting this restriction to false does not disable CRL and OCSP checks (iOS 7.0 and later). + */ + @SerializedName("pkiBlockOTAUpdates") + @Expose + public Boolean pkiBlockOTAUpdates; /** * The Podcasts Blocked. @@ -1058,6 +1258,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean podcastsBlocked; + /** + * The Privacy Force Limit Ad Tracking. + * Indicates if ad tracking is limited.(iOS 7.0 and later). + */ + @SerializedName("privacyForceLimitAdTracking") + @Expose + public Boolean privacyForceLimitAdTracking; + /** * The Proximity Block Setup To New Device. * Indicates whether or not to enable the prompt to setup nearby devices with a supervised device. @@ -1074,6 +1282,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean safariBlockAutofill; + /** + * The Safari Blocked. + * Indicates whether or not to block the user from using Safari. + */ + @SerializedName("safariBlocked") + @Expose + public Boolean safariBlocked; + /** * The Safari Block Java Script. * Indicates whether or not to block JavaScript in Safari. @@ -1090,14 +1306,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean safariBlockPopups; - /** - * The Safari Blocked. - * Indicates whether or not to block the user from using Safari. - */ - @SerializedName("safariBlocked") - @Expose - public Boolean safariBlocked; - /** * The Safari Cookie Settings. * Cookie settings for Safari. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. @@ -1138,6 +1346,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean screenCaptureBlocked; + /** + * The Shared Device Block Temporary Sessions. + * Indicates whether or not to block temporary sessions on Shared iPads (iOS 13.4 or later). + */ + @SerializedName("sharedDeviceBlockTemporarySessions") + @Expose + public Boolean sharedDeviceBlockTemporarySessions; + /** * The Siri Blocked. * Indicates whether or not to block the user from using Siri. @@ -1194,6 +1410,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean spotlightBlockInternetResults; + /** + * The Usb Restricted Mode Blocked. + * Indicates if connecting to USB accessories while the device is locked is allowed (iOS 11.4.1 and later). + */ + @SerializedName("usbRestrictedModeBlocked") + @Expose + public Boolean usbRestrictedModeBlocked; + /** * The Voice Dialing Blocked. * Indicates whether or not to block voice dialing. @@ -1202,6 +1426,14 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean voiceDialingBlocked; + /** + * The Vpn Block Creation. + * Indicates whether or not the creation of VPN configurations is blocked (iOS 11.0 and later). + */ + @SerializedName("vpnBlockCreation") + @Expose + public Boolean vpnBlockCreation; + /** * The Wallpaper Block Modification. * Indicates whether or not to allow wallpaper modification on supervised device (iOS 9.0 and later) . @@ -1218,102 +1450,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean wiFiConnectOnlyToConfiguredNetworks; - /** - * The Classroom Force Request Permission To Leave Classes. - * Indicates whether a student enrolled in an unmanaged course via Classroom will request permission from the teacher when attempting to leave the course (iOS 11.3 and later). - */ - @SerializedName("classroomForceRequestPermissionToLeaveClasses") - @Expose - public Boolean classroomForceRequestPermissionToLeaveClasses; - - /** - * The Keychain Block Cloud Sync. - * Indicates whether or not iCloud keychain synchronization is blocked. Requires a supervised device for iOS 13 and later. - */ - @SerializedName("keychainBlockCloudSync") - @Expose - public Boolean keychainBlockCloudSync; - - /** - * The Pki Block OTAUpdates. - * Indicates whether or not over-the-air PKI updates are blocked. Setting this restriction to false does not disable CRL and OCSP checks (iOS 7.0 and later). - */ - @SerializedName("pkiBlockOTAUpdates") - @Expose - public Boolean pkiBlockOTAUpdates; - - /** - * The Privacy Force Limit Ad Tracking. - * Indicates if ad tracking is limited.(iOS 7.0 and later). - */ - @SerializedName("privacyForceLimitAdTracking") - @Expose - public Boolean privacyForceLimitAdTracking; - - /** - * The Enterprise Book Block Backup. - * Indicates whether or not Enterprise book back up is blocked. - */ - @SerializedName("enterpriseBookBlockBackup") - @Expose - public Boolean enterpriseBookBlockBackup; - - /** - * The Enterprise Book Block Metadata Sync. - * Indicates whether or not Enterprise book notes and highlights sync is blocked. - */ - @SerializedName("enterpriseBookBlockMetadataSync") - @Expose - public Boolean enterpriseBookBlockMetadataSync; - - /** - * The Air Print Blocked. - * Indicates whether or not AirPrint is blocked (iOS 11.0 and later). - */ - @SerializedName("airPrintBlocked") - @Expose - public Boolean airPrintBlocked; - - /** - * The Air Print Block Credentials Storage. - * Indicates whether or not keychain storage of username and password for Airprint is blocked (iOS 11.0 and later). - */ - @SerializedName("airPrintBlockCredentialsStorage") - @Expose - public Boolean airPrintBlockCredentialsStorage; - - /** - * The Air Print Force Trusted TLS. - * Indicates if trusted certificates are required for TLS printing communication (iOS 11.0 and later). - */ - @SerializedName("airPrintForceTrustedTLS") - @Expose - public Boolean airPrintForceTrustedTLS; - - /** - * The Air Print Blocki Beacon Discovery. - * Indicates whether or not iBeacon discovery of AirPrint printers is blocked. This prevents spurious AirPrint Bluetooth beacons from phishing for network traffic (iOS 11.0 and later). - */ - @SerializedName("airPrintBlockiBeaconDiscovery") - @Expose - public Boolean airPrintBlockiBeaconDiscovery; - - /** - * The Files Network Drive Access Blocked. - * Indicates if devices can access files or other resources on a network server using the Server Message Block (SMB) protocol. Available for devices running iOS and iPadOS, versions 13.0 and later. - */ - @SerializedName("filesNetworkDriveAccessBlocked") - @Expose - public Boolean filesNetworkDriveAccessBlocked; - - /** - * The Files Usb Drive Access Blocked. - * Indicates if sevices with access can connect to and open files on a USB drive. Available for devices running iOS and iPadOS, versions 13.0 and later. - */ - @SerializedName("filesUsbDriveAccessBlocked") - @Expose - public Boolean filesUsbDriveAccessBlocked; - /** * The Wifi Power On Forced. * Indicates whether or not Wi-Fi remains on, even when device is in airplane mode. Available for devices running iOS and iPadOS, versions 13.0 and later. @@ -1322,142 +1458,6 @@ public class IosGeneralDeviceConfiguration extends DeviceConfiguration implement @Expose public Boolean wifiPowerOnForced; - /** - * The Block System App Removal. - * Indicates whether or not the removal of system apps from the device is blocked on a supervised device (iOS 11.0 and later). - */ - @SerializedName("blockSystemAppRemoval") - @Expose - public Boolean blockSystemAppRemoval; - - /** - * The Vpn Block Creation. - * Indicates whether or not the creation of VPN configurations is blocked (iOS 11.0 and later). - */ - @SerializedName("vpnBlockCreation") - @Expose - public Boolean vpnBlockCreation; - - /** - * The App Removal Blocked. - * Indicates if the removal of apps is allowed. - */ - @SerializedName("appRemovalBlocked") - @Expose - public Boolean appRemovalBlocked; - - /** - * The Usb Restricted Mode Blocked. - * Indicates if connecting to USB accessories while the device is locked is allowed (iOS 11.4.1 and later). - */ - @SerializedName("usbRestrictedModeBlocked") - @Expose - public Boolean usbRestrictedModeBlocked; - - /** - * The Password Block Auto Fill. - * Indicates if the AutoFill passwords feature is allowed (iOS 12.0 and later). - */ - @SerializedName("passwordBlockAutoFill") - @Expose - public Boolean passwordBlockAutoFill; - - /** - * The Password Block Proximity Requests. - * Indicates whether or not to block requesting passwords from nearby devices (iOS 12.0 and later). - */ - @SerializedName("passwordBlockProximityRequests") - @Expose - public Boolean passwordBlockProximityRequests; - - /** - * The Password Block Air Drop Sharing. - * Indicates whether or not to block sharing passwords with the AirDrop passwords feature iOS 12.0 and later). - */ - @SerializedName("passwordBlockAirDropSharing") - @Expose - public Boolean passwordBlockAirDropSharing; - - /** - * The Date And Time Force Set Automatically. - * Indicates whether or not the Date and Time "Set Automatically" feature is enabled and cannot be turned off by the user (iOS 12.0 and later). - */ - @SerializedName("dateAndTimeForceSetAutomatically") - @Expose - public Boolean dateAndTimeForceSetAutomatically; - - /** - * The Contacts Allow Managed To Unmanaged Write. - * Indicates whether or not managed apps can write contacts to unmanaged contacts accounts (iOS 12.0 and later). - */ - @SerializedName("contactsAllowManagedToUnmanagedWrite") - @Expose - public Boolean contactsAllowManagedToUnmanagedWrite; - - /** - * The Contacts Allow Unmanaged To Managed Read. - * Indicates whether or not unmanaged apps can read from managed contacts accounts (iOS 12.0 or later). - */ - @SerializedName("contactsAllowUnmanagedToManagedRead") - @Expose - public Boolean contactsAllowUnmanagedToManagedRead; - - /** - * The Cellular Block Personal Hotspot Modification. - * Indicates whether or not to block the user from modifying the personal hotspot setting (iOS 12.2 or later). - */ - @SerializedName("cellularBlockPersonalHotspotModification") - @Expose - public Boolean cellularBlockPersonalHotspotModification; - - /** - * The Continuous Path Keyboard Blocked. - * Indicates whether or not to block the continuous path keyboard when the device is supervised (iOS 13 or later). - */ - @SerializedName("continuousPathKeyboardBlocked") - @Expose - public Boolean continuousPathKeyboardBlocked; - - /** - * The Find My Device In Find My App Blocked. - * Indicates whether or not to block Find My Device when the device is supervised (iOS 13 or later). - */ - @SerializedName("findMyDeviceInFindMyAppBlocked") - @Expose - public Boolean findMyDeviceInFindMyAppBlocked; - - /** - * The Find My Friends In Find My App Blocked. - * Indicates whether or not to block Find My Friends when the device is supervised (iOS 13 or later). - */ - @SerializedName("findMyFriendsInFindMyAppBlocked") - @Expose - public Boolean findMyFriendsInFindMyAppBlocked; - - /** - * The ITunes Blocked. - * Indicates whether or not to block the iTunes app. Requires a supervised device for iOS 13 and later. - */ - @SerializedName("iTunesBlocked") - @Expose - public Boolean iTunesBlocked; - - /** - * The Shared Device Block Temporary Sessions. - * Indicates whether or not to block temporary sessions on Shared iPads (iOS 13.4 or later). - */ - @SerializedName("sharedDeviceBlockTemporarySessions") - @Expose - public Boolean sharedDeviceBlockTemporarySessions; - - /** - * The Kiosk Mode App Type. - * Type of app to run in kiosk mode. - */ - @SerializedName("kioskModeAppType") - @Expose - public IosKioskModeAppType kioskModeAppType; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java index 5628fa9cdcd..21991704807 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosHomeScreenFolderPage.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Display Name. - * Name of the folder page - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Apps. * A list of apps to appear on a page within a folder. This collection can contain a maximum of 500 elements. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List apps; + /** + * The Display Name. + * Name of the folder page + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosKerberosSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/IosKerberosSingleSignOnExtension.java index ad64e49a24f..93d87101a7f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosKerberosSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosKerberosSingleSignOnExtension.java @@ -27,20 +27,20 @@ public class IosKerberosSingleSignOnExtension extends IosSingleSignOnExtension i /** - * The Realm. - * Gets or sets the case-sensitive realm name for this profile. + * The Active Directory Site Code. + * Gets or sets the Active Directory site. */ - @SerializedName("realm") + @SerializedName("activeDirectorySiteCode") @Expose - public String realm; + public String activeDirectorySiteCode; /** - * The Domains. - * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * The Block Active Directory Site Auto Discovery. + * Enables or disables whether the Kerberos extension can automatically determine its site name. */ - @SerializedName("domains") + @SerializedName("blockActiveDirectorySiteAutoDiscovery") @Expose - public java.util.List domains; + public Boolean blockActiveDirectorySiteAutoDiscovery; /** * The Block Automatic Login. @@ -74,6 +74,14 @@ public class IosKerberosSingleSignOnExtension extends IosSingleSignOnExtension i @Expose public java.util.List domainRealms; + /** + * The Domains. + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + */ + @SerializedName("domains") + @Expose + public java.util.List domains; + /** * The Is Default Realm. * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. @@ -90,6 +98,22 @@ public class IosKerberosSingleSignOnExtension extends IosSingleSignOnExtension i @Expose public Boolean passwordBlockModification; + /** + * The Password Change Url. + * Gets or sets the URL that the user will be sent to when they initiate a password change. + */ + @SerializedName("passwordChangeUrl") + @Expose + public String passwordChangeUrl; + + /** + * The Password Enable Local Sync. + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + */ + @SerializedName("passwordEnableLocalSync") + @Expose + public Boolean passwordEnableLocalSync; + /** * The Password Expiration Days. * Overrides the default password expiration in days. For most domains, this value is calculated automatically. @@ -107,20 +131,20 @@ public class IosKerberosSingleSignOnExtension extends IosSingleSignOnExtension i public Integer passwordExpirationNotificationDays; /** - * The User Principal Name. - * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * The Password Minimum Age Days. + * Gets or sets the minimum number of days until a user can change their password again. */ - @SerializedName("userPrincipalName") + @SerializedName("passwordMinimumAgeDays") @Expose - public String userPrincipalName; + public Integer passwordMinimumAgeDays; /** - * The Password Require Active Directory Complexity. - * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * The Password Minimum Length. + * Gets or sets the minimum length of a password. */ - @SerializedName("passwordRequireActiveDirectoryComplexity") + @SerializedName("passwordMinimumLength") @Expose - public Boolean passwordRequireActiveDirectoryComplexity; + public Integer passwordMinimumLength; /** * The Password Previous Password Block Count. @@ -131,20 +155,12 @@ public class IosKerberosSingleSignOnExtension extends IosSingleSignOnExtension i public Integer passwordPreviousPasswordBlockCount; /** - * The Password Minimum Length. - * Gets or sets the minimum length of a password. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minimum Age Days. - * Gets or sets the minimum number of days until a user can change their password again. + * The Password Require Active Directory Complexity. + * Enables or disables whether passwords must meet Active Directory's complexity requirements. */ - @SerializedName("passwordMinimumAgeDays") + @SerializedName("passwordRequireActiveDirectoryComplexity") @Expose - public Integer passwordMinimumAgeDays; + public Boolean passwordRequireActiveDirectoryComplexity; /** * The Password Requirements Description. @@ -155,44 +171,28 @@ public class IosKerberosSingleSignOnExtension extends IosSingleSignOnExtension i public String passwordRequirementsDescription; /** - * The Require User Presence. - * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. - */ - @SerializedName("requireUserPresence") - @Expose - public Boolean requireUserPresence; - - /** - * The Active Directory Site Code. - * Gets or sets the Active Directory site. - */ - @SerializedName("activeDirectorySiteCode") - @Expose - public String activeDirectorySiteCode; - - /** - * The Password Enable Local Sync. - * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * The Realm. + * Gets or sets the case-sensitive realm name for this profile. */ - @SerializedName("passwordEnableLocalSync") + @SerializedName("realm") @Expose - public Boolean passwordEnableLocalSync; + public String realm; /** - * The Block Active Directory Site Auto Discovery. - * Enables or disables whether the Kerberos extension can automatically determine its site name. + * The Require User Presence. + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. */ - @SerializedName("blockActiveDirectorySiteAutoDiscovery") + @SerializedName("requireUserPresence") @Expose - public Boolean blockActiveDirectorySiteAutoDiscovery; + public Boolean requireUserPresence; /** - * The Password Change Url. - * Gets or sets the URL that the user will be sent to when they initiate a password change. + * The User Principal Name. + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. */ - @SerializedName("passwordChangeUrl") + @SerializedName("userPrincipalName") @Expose - public String passwordChangeUrl; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java index c440ef6a408..401600fb5f1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosLobApp.java @@ -28,14 +28,6 @@ public class IosLobApp extends MobileLobApp implements IJsonBackedObject { - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - /** * The Applicable Device Type. * The iOS architecture for which this app can run on. @@ -45,12 +37,20 @@ public class IosLobApp extends MobileLobApp implements IJsonBackedObject { public IosDeviceType applicableDeviceType; /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. + * The Build Number. + * The build number of iOS Line of Business (LoB) app. */ - @SerializedName("minimumSupportedOperatingSystem") + @SerializedName("buildNumber") @Expose - public IosMinimumOperatingSystem minimumSupportedOperatingSystem; + public String buildNumber; + + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; /** * The Expiration Date Time. @@ -61,28 +61,28 @@ public class IosLobApp extends MobileLobApp implements IJsonBackedObject { public java.util.Calendar expirationDateTime; /** - * The Version Number. - * The version number of iOS Line of Business (LoB) app. + * The Identity Version. + * The identity version. */ - @SerializedName("versionNumber") + @SerializedName("identityVersion") @Expose - public String versionNumber; + public String identityVersion; /** - * The Build Number. - * The build number of iOS Line of Business (LoB) app. + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. */ - @SerializedName("buildNumber") + @SerializedName("minimumSupportedOperatingSystem") @Expose - public String buildNumber; + public IosMinimumOperatingSystem minimumSupportedOperatingSystem; /** - * The Identity Version. - * The identity version. + * The Version Number. + * The version number of iOS Line of Business (LoB) app. */ - @SerializedName("identityVersion") + @SerializedName("versionNumber") @Expose - public String identityVersion; + public String versionNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java index c09794cb12b..d236ad07fd0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosLobAppAssignmentSettings.java @@ -26,14 +26,6 @@ public class IosLobAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { - /** - * The Vpn Configuration Id. - * The VPN Configuration Id to apply for this app. - */ - @SerializedName("vpnConfigurationId") - @Expose - public String vpnConfigurationId; - /** * The Uninstall On Device Removal. * Whether or not to uninstall the app when device is removed from Intune. @@ -42,6 +34,14 @@ public class IosLobAppAssignmentSettings extends MobileAppAssignmentSettings imp @Expose public Boolean uninstallOnDeviceRemoval; + /** + * The Vpn Configuration Id. + * The VPN Configuration Id to apply for this app. + */ + @SerializedName("vpnConfigurationId") + @Expose + public String vpnConfigurationId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosLobAppProvisioningConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosLobAppProvisioningConfiguration.java index 17a06e3171e..9e02b42cddc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosLobAppProvisioningConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosLobAppProvisioningConfiguration.java @@ -8,17 +8,17 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppProvisioningConfigGroupAssignment; import com.microsoft.graph.models.extensions.IosLobAppProvisioningConfigurationAssignment; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; +import com.microsoft.graph.models.extensions.MobileAppProvisioningConfigGroupAssignment; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.MobileAppProvisioningConfigGroupAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppProvisioningConfigGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.IosLobAppProvisioningConfigurationAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.IosLobAppProvisioningConfigurationAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage; +import com.microsoft.graph.requests.extensions.MobileAppProvisioningConfigGroupAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppProvisioningConfigGroupAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationUserStatusCollectionPage; @@ -39,68 +39,68 @@ public class IosLobAppProvisioningConfiguration extends Entity implements IJsonB /** - * The Expiration Date Time. - * Optional profile expiration date and time. + * The Created Date Time. + * DateTime the object was created. */ - @SerializedName("expirationDateTime") + @SerializedName("createdDateTime") @Expose - public java.util.Calendar expirationDateTime; + public java.util.Calendar createdDateTime; /** - * The Payload File Name. - * Payload file name (*.mobileprovision | *.xml). + * The Description. + * Admin provided description of the Device Configuration. */ - @SerializedName("payloadFileName") + @SerializedName("description") @Expose - public String payloadFileName; + public String description; /** - * The Payload. - * Payload. (UTF8 encoded byte array) + * The Display Name. + * Admin provided name of the device configuration. */ - @SerializedName("payload") + @SerializedName("displayName") @Expose - public byte[] payload; + public String displayName; /** - * The Role Scope Tag Ids. - * List of Scope Tags for this iOS LOB app provisioning configuration entity. + * The Expiration Date Time. + * Optional profile expiration date and time. */ - @SerializedName("roleScopeTagIds") + @SerializedName("expirationDateTime") @Expose - public java.util.List roleScopeTagIds; + public java.util.Calendar expirationDateTime; /** - * The Created Date Time. - * DateTime the object was created. + * The Last Modified Date Time. + * DateTime the object was last modified. */ - @SerializedName("createdDateTime") + @SerializedName("lastModifiedDateTime") @Expose - public java.util.Calendar createdDateTime; + public java.util.Calendar lastModifiedDateTime; /** - * The Description. - * Admin provided description of the Device Configuration. + * The Payload. + * Payload. (UTF8 encoded byte array) */ - @SerializedName("description") + @SerializedName("payload") @Expose - public String description; + public byte[] payload; /** - * The Last Modified Date Time. - * DateTime the object was last modified. + * The Payload File Name. + * Payload file name (*.mobileprovision | *.xml). */ - @SerializedName("lastModifiedDateTime") + @SerializedName("payloadFileName") @Expose - public java.util.Calendar lastModifiedDateTime; + public String payloadFileName; /** - * The Display Name. - * Admin provided name of the device configuration. + * The Role Scope Tag Ids. + * List of Scope Tags for this iOS LOB app provisioning configuration entity. */ - @SerializedName("displayName") + @SerializedName("roleScopeTagIds") @Expose - public String displayName; + public java.util.List roleScopeTagIds; /** * The Version. @@ -110,12 +110,6 @@ public class IosLobAppProvisioningConfiguration extends Entity implements IJsonB @Expose public Integer version; - /** - * The Group Assignments. - * The associated group assignments. - */ - public MobileAppProvisioningConfigGroupAssignmentCollectionPage groupAssignments; - /** * The Assignments. * The associated group assignments for IosLobAppProvisioningConfiguration. @@ -128,6 +122,12 @@ public class IosLobAppProvisioningConfiguration extends Entity implements IJsonB */ public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage deviceStatuses; + /** + * The Group Assignments. + * The associated group assignments. + */ + public MobileAppProvisioningConfigGroupAssignmentCollectionPage groupAssignments; + /** * The User Statuses. * The list of user installation states for this mobile app configuration. @@ -174,22 +174,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("groupAssignments")) { - final MobileAppProvisioningConfigGroupAssignmentCollectionResponse response = new MobileAppProvisioningConfigGroupAssignmentCollectionResponse(); - if (json.has("groupAssignments@odata.nextLink")) { - response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); - final MobileAppProvisioningConfigGroupAssignment[] array = new MobileAppProvisioningConfigGroupAssignment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppProvisioningConfigGroupAssignment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - groupAssignments = new MobileAppProvisioningConfigGroupAssignmentCollectionPage(response, null); - } - if (json.has("assignments")) { final IosLobAppProvisioningConfigurationAssignmentCollectionResponse response = new IosLobAppProvisioningConfigurationAssignmentCollectionResponse(); if (json.has("assignments@odata.nextLink")) { @@ -222,6 +206,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceStatuses = new ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage(response, null); } + if (json.has("groupAssignments")) { + final MobileAppProvisioningConfigGroupAssignmentCollectionResponse response = new MobileAppProvisioningConfigGroupAssignmentCollectionResponse(); + if (json.has("groupAssignments@odata.nextLink")) { + response.nextLink = json.get("groupAssignments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("groupAssignments").toString(), JsonObject[].class); + final MobileAppProvisioningConfigGroupAssignment[] array = new MobileAppProvisioningConfigGroupAssignment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppProvisioningConfigGroupAssignment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + groupAssignments = new MobileAppProvisioningConfigGroupAssignmentCollectionPage(response, null); + } + if (json.has("userStatuses")) { final ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse response = new ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse(); if (json.has("userStatuses@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java index 2367cf5a0c2..730feded026 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosManagedAppProtection.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppRemediationAction; import com.microsoft.graph.models.generated.ManagedAppDataEncryptionType; import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.generated.ManagedAppRemediationAction; import com.microsoft.graph.models.extensions.ManagedMobileApp; import com.microsoft.graph.models.extensions.ManagedAppPolicyDeploymentSummary; import com.microsoft.graph.models.extensions.TargetedManagedAppProtection; @@ -34,76 +34,76 @@ public class IosManagedAppProtection extends TargetedManagedAppProtection implem /** - * The App Data Encryption Type. - * Type of encryption which should be used for data in a managed app. Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + * The Allowed Ios Device Models. + * Semicolon seperated list of device models allowed, as a string, for the managed app to work. */ - @SerializedName("appDataEncryptionType") + @SerializedName("allowedIosDeviceModels") @Expose - public ManagedAppDataEncryptionType appDataEncryptionType; + public String allowedIosDeviceModels; /** - * The Minimum Required Sdk Version. - * Versions less than the specified version will block the managed app from accessing company data. + * The App Action If Ios Device Model Not Allowed. + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. */ - @SerializedName("minimumRequiredSdkVersion") + @SerializedName("appActionIfIosDeviceModelNotAllowed") @Expose - public String minimumRequiredSdkVersion; + public ManagedAppRemediationAction appActionIfIosDeviceModelNotAllowed; /** - * The Deployed App Count. - * Count of apps to which the current policy is deployed. + * The App Data Encryption Type. + * Type of encryption which should be used for data in a managed app. Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. */ - @SerializedName("deployedAppCount") + @SerializedName("appDataEncryptionType") @Expose - public Integer deployedAppCount; + public ManagedAppDataEncryptionType appDataEncryptionType; /** - * The Face Id Blocked. - * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. + * The Custom Browser Protocol. + * A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. */ - @SerializedName("faceIdBlocked") + @SerializedName("customBrowserProtocol") @Expose - public Boolean faceIdBlocked; + public String customBrowserProtocol; /** - * The Exempted App Protocols. - * Apps in this list will be exempt from the policy and will be able to receive data from managed apps. + * The Custom Dialer App Protocol. + * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. */ - @SerializedName("exemptedAppProtocols") + @SerializedName("customDialerAppProtocol") @Expose - public java.util.List exemptedAppProtocols; + public String customDialerAppProtocol; /** - * The Minimum Wipe Sdk Version. - * Versions less than the specified version will block the managed app from accessing company data. + * The Deployed App Count. + * Count of apps to which the current policy is deployed. */ - @SerializedName("minimumWipeSdkVersion") + @SerializedName("deployedAppCount") @Expose - public String minimumWipeSdkVersion; + public Integer deployedAppCount; /** - * The Allowed Ios Device Models. - * Semicolon seperated list of device models allowed, as a string, for the managed app to work. + * The Disable Protection Of Managed Outbound Open In Data. + * Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. */ - @SerializedName("allowedIosDeviceModels") + @SerializedName("disableProtectionOfManagedOutboundOpenInData") @Expose - public String allowedIosDeviceModels; + public Boolean disableProtectionOfManagedOutboundOpenInData; /** - * The App Action If Ios Device Model Not Allowed. - * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. + * The Exempted App Protocols. + * Apps in this list will be exempt from the policy and will be able to receive data from managed apps. */ - @SerializedName("appActionIfIosDeviceModelNotAllowed") + @SerializedName("exemptedAppProtocols") @Expose - public ManagedAppRemediationAction appActionIfIosDeviceModelNotAllowed; + public java.util.List exemptedAppProtocols; /** - * The Third Party Keyboards Blocked. - * Defines if third party keyboards are allowed while accessing a managed app + * The Face Id Blocked. + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. */ - @SerializedName("thirdPartyKeyboardsBlocked") + @SerializedName("faceIdBlocked") @Expose - public Boolean thirdPartyKeyboardsBlocked; + public Boolean faceIdBlocked; /** * The Filter Open In To Only Managed Apps. @@ -114,36 +114,36 @@ public class IosManagedAppProtection extends TargetedManagedAppProtection implem public Boolean filterOpenInToOnlyManagedApps; /** - * The Disable Protection Of Managed Outbound Open In Data. - * Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. + * The Minimum Required Sdk Version. + * Versions less than the specified version will block the managed app from accessing company data. */ - @SerializedName("disableProtectionOfManagedOutboundOpenInData") + @SerializedName("minimumRequiredSdkVersion") @Expose - public Boolean disableProtectionOfManagedOutboundOpenInData; + public String minimumRequiredSdkVersion; /** - * The Protect Inbound Data From Unknown Sources. - * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. + * The Minimum Wipe Sdk Version. + * Versions less than the specified version will block the managed app from accessing company data. */ - @SerializedName("protectInboundDataFromUnknownSources") + @SerializedName("minimumWipeSdkVersion") @Expose - public Boolean protectInboundDataFromUnknownSources; + public String minimumWipeSdkVersion; /** - * The Custom Browser Protocol. - * A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + * The Protect Inbound Data From Unknown Sources. + * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. */ - @SerializedName("customBrowserProtocol") + @SerializedName("protectInboundDataFromUnknownSources") @Expose - public String customBrowserProtocol; + public Boolean protectInboundDataFromUnknownSources; /** - * The Custom Dialer App Protocol. - * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. + * The Third Party Keyboards Blocked. + * Defines if third party keyboards are allowed while accessing a managed app */ - @SerializedName("customDialerAppProtocol") + @SerializedName("thirdPartyKeyboardsBlocked") @Expose - public String customDialerAppProtocol; + public Boolean thirdPartyKeyboardsBlocked; /** * The Apps. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java index fc5b3c0d3d9..0c658fffa30 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosMinimumOperatingSystem.java @@ -35,22 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The V8_0. - * Version 8.0 or later. - */ - @SerializedName("v8_0") - @Expose - public Boolean v8_0; - - /** - * The V9_0. - * Version 9.0 or later. - */ - @SerializedName("v9_0") - @Expose - public Boolean v9_0; - /** * The V10_0. * Version 10.0 or later. @@ -83,6 +67,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean v13_0; + /** + * The V8_0. + * Version 8.0 or later. + */ + @SerializedName("v8_0") + @Expose + public Boolean v8_0; + + /** + * The V9_0. + * Version 9.0 or later. + */ + @SerializedName("v9_0") + @Expose + public Boolean v9_0; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java b/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java index 76a4fa5ea84..3f35b549ca8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosNetworkUsageRule.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Managed Apps. - * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. + * The Cellular Data Blocked. + * If set to true, corresponding managed apps will not be allowed to use cellular data at any time. */ - @SerializedName("managedApps") + @SerializedName("cellularDataBlocked") @Expose - public java.util.List managedApps; + public Boolean cellularDataBlocked; /** * The Cellular Data Block When Roaming. @@ -53,12 +53,12 @@ public final AdditionalDataManager additionalDataManager() { public Boolean cellularDataBlockWhenRoaming; /** - * The Cellular Data Blocked. - * If set to true, corresponding managed apps will not be allowed to use cellular data at any time. + * The Managed Apps. + * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. */ - @SerializedName("cellularDataBlocked") + @SerializedName("managedApps") @Expose - public Boolean cellularDataBlocked; + public java.util.List managedApps; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java index 20eacae6af2..ced86261f0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosNotificationSettings.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Bundle ID. - * Bundle id of app to which to apply these notification settings. + * The Alert Type. + * Indicates the type of alert for notifications for this app. Possible values are: deviceDefault, banner, modal, none. */ - @SerializedName("bundleID") + @SerializedName("alertType") @Expose - public String bundleID; + public IosNotificationAlertType alertType; /** * The App Name. @@ -53,12 +53,20 @@ public final AdditionalDataManager additionalDataManager() { public String appName; /** - * The Publisher. - * Publisher to be associated with the bundleID. + * The Badges Enabled. + * Indicates whether badges are allowed for this app. */ - @SerializedName("publisher") + @SerializedName("badgesEnabled") @Expose - public String publisher; + public Boolean badgesEnabled; + + /** + * The Bundle ID. + * Bundle id of app to which to apply these notification settings. + */ + @SerializedName("bundleID") + @Expose + public String bundleID; /** * The Enabled. @@ -68,6 +76,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean enabled; + /** + * The Publisher. + * Publisher to be associated with the bundleID. + */ + @SerializedName("publisher") + @Expose + public String publisher; + /** * The Show In Notification Center. * Indicates whether notifications can be shown in notification center. @@ -84,22 +100,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean showOnLockScreen; - /** - * The Alert Type. - * Indicates the type of alert for notifications for this app. Possible values are: deviceDefault, banner, modal, none. - */ - @SerializedName("alertType") - @Expose - public IosNotificationAlertType alertType; - - /** - * The Badges Enabled. - * Indicates whether badges are allowed for this app. - */ - @SerializedName("badgesEnabled") - @Expose - public Boolean badgesEnabled; - /** * The Sounds Enabled. * Indicates whether sounds are allowed for this app. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosPkcsCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/IosPkcsCertificateProfile.java index 0aaa706a117..e60df1b373c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosPkcsCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosPkcsCertificateProfile.java @@ -31,6 +31,22 @@ public class IosPkcsCertificateProfile extends IosCertificateProfileBase implements IJsonBackedObject { + /** + * The Certificate Store. + * Target store certificate + */ + @SerializedName("certificateStore") + @Expose + public CertificateStore certificateStore; + + /** + * The Certificate Template Name. + * PKCS Certificate Template Name. + */ + @SerializedName("certificateTemplateName") + @Expose + public String certificateTemplateName; + /** * The Certification Authority. * PKCS Certification Authority. @@ -48,12 +64,12 @@ public class IosPkcsCertificateProfile extends IosCertificateProfileBase impleme public String certificationAuthorityName; /** - * The Certificate Template Name. - * PKCS Certificate Template Name. + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("certificateTemplateName") + @SerializedName("customSubjectAlternativeNames") @Expose - public String certificateTemplateName; + public java.util.List customSubjectAlternativeNames; /** * The Subject Alternative Name Format String. @@ -71,22 +87,6 @@ public class IosPkcsCertificateProfile extends IosCertificateProfileBase impleme @Expose public String subjectNameFormatString; - /** - * The Certificate Store. - * Target store certificate - */ - @SerializedName("certificateStore") - @Expose - public CertificateStore certificateStore; - - /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. - */ - @SerializedName("customSubjectAlternativeNames") - @Expose - public java.util.List customSubjectAlternativeNames; - /** * The Managed Device Certificate States. * Certificate state for devices diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosRedirectSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/IosRedirectSingleSignOnExtension.java index 0b05e0e4e7d..ee81ac055ac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosRedirectSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosRedirectSingleSignOnExtension.java @@ -27,6 +27,14 @@ public class IosRedirectSingleSignOnExtension extends IosSingleSignOnExtension implements IJsonBackedObject { + /** + * The Configurations. + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + */ + @SerializedName("configurations") + @Expose + public java.util.List configurations; + /** * The Extension Identifier. * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. @@ -43,14 +51,6 @@ public class IosRedirectSingleSignOnExtension extends IosSingleSignOnExtension i @Expose public String teamIdentifier; - /** - * The Configurations. - * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. - */ - @SerializedName("configurations") - @Expose - public java.util.List configurations; - /** * The Url Prefixes. * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosScepCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/IosScepCertificateProfile.java index 2c6dc76949a..5d1e47239a6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosScepCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosScepCertificateProfile.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.KeyUsages; -import com.microsoft.graph.models.generated.KeySize; -import com.microsoft.graph.models.extensions.ExtendedKeyUsage; import com.microsoft.graph.models.generated.CertificateStore; import com.microsoft.graph.models.extensions.CustomSubjectAlternativeName; -import com.microsoft.graph.models.extensions.IosTrustedRootCertificate; +import com.microsoft.graph.models.extensions.ExtendedKeyUsage; +import com.microsoft.graph.models.generated.KeySize; +import com.microsoft.graph.models.generated.KeyUsages; import com.microsoft.graph.models.extensions.ManagedDeviceCertificateState; +import com.microsoft.graph.models.extensions.IosTrustedRootCertificate; import com.microsoft.graph.models.extensions.IosCertificateProfileBase; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionPage; @@ -36,28 +36,28 @@ public class IosScepCertificateProfile extends IosCertificateProfileBase impleme /** - * The Scep Server Urls. - * SCEP Server Url(s). + * The Certificate Store. + * Target store certificate */ - @SerializedName("scepServerUrls") + @SerializedName("certificateStore") @Expose - public java.util.List scepServerUrls; + public CertificateStore certificateStore; /** - * The Subject Name Format String. - * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. The OnPremisesUserPrincipalName variable is support as well as others documented here: http://go.microsoft.com/fwlink/?LinkId=2027630. This collection can contain a maximum of 500 elements. */ - @SerializedName("subjectNameFormatString") + @SerializedName("customSubjectAlternativeNames") @Expose - public String subjectNameFormatString; + public java.util.List customSubjectAlternativeNames; /** - * The Key Usage. - * SCEP Key Usage. + * The Extended Key Usages. + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("keyUsage") + @SerializedName("extendedKeyUsages") @Expose - public EnumSet keyUsage; + public java.util.List extendedKeyUsages; /** * The Key Size. @@ -68,12 +68,20 @@ public class IosScepCertificateProfile extends IosCertificateProfileBase impleme public KeySize keySize; /** - * The Extended Key Usages. - * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * The Key Usage. + * SCEP Key Usage. */ - @SerializedName("extendedKeyUsages") + @SerializedName("keyUsage") @Expose - public java.util.List extendedKeyUsages; + public EnumSet keyUsage; + + /** + * The Scep Server Urls. + * SCEP Server Url(s). + */ + @SerializedName("scepServerUrls") + @Expose + public java.util.List scepServerUrls; /** * The Subject Alternative Name Format String. @@ -84,20 +92,18 @@ public class IosScepCertificateProfile extends IosCertificateProfileBase impleme public String subjectAlternativeNameFormatString; /** - * The Certificate Store. - * Target store certificate + * The Subject Name Format String. + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US */ - @SerializedName("certificateStore") + @SerializedName("subjectNameFormatString") @Expose - public CertificateStore certificateStore; + public String subjectNameFormatString; /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. The OnPremisesUserPrincipalName variable is support as well as others documented here: http://go.microsoft.com/fwlink/?LinkId=2027630. This collection can contain a maximum of 500 elements. + * The Managed Device Certificate States. + * Certificate state for devices */ - @SerializedName("customSubjectAlternativeNames") - @Expose - public java.util.List customSubjectAlternativeNames; + public ManagedDeviceCertificateStateCollectionPage managedDeviceCertificateStates; /** * The Root Certificate. @@ -107,12 +113,6 @@ public class IosScepCertificateProfile extends IosCertificateProfileBase impleme @Expose public IosTrustedRootCertificate rootCertificate; - /** - * The Managed Device Certificate States. - * Certificate state for devices - */ - public ManagedDeviceCertificateStateCollectionPage managedDeviceCertificateStates; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java index 10a00820095..d7a315f6f7b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosStoreApp.java @@ -29,12 +29,12 @@ public class IosStoreApp extends MobileApp implements IJsonBackedObject { /** - * The Bundle Id. - * The Identity Name. + * The Applicable Device Type. + * The iOS architecture for which this app can run on. */ - @SerializedName("bundleId") + @SerializedName("applicableDeviceType") @Expose - public String bundleId; + public IosDeviceType applicableDeviceType; /** * The App Store Url. @@ -45,12 +45,12 @@ public class IosStoreApp extends MobileApp implements IJsonBackedObject { public String appStoreUrl; /** - * The Applicable Device Type. - * The iOS architecture for which this app can run on. + * The Bundle Id. + * The Identity Name. */ - @SerializedName("applicableDeviceType") + @SerializedName("bundleId") @Expose - public IosDeviceType applicableDeviceType; + public String bundleId; /** * The Minimum Supported Operating System. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java index 1dda4064e7e..898f667766b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosStoreAppAssignmentSettings.java @@ -26,14 +26,6 @@ public class IosStoreAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { - /** - * The Vpn Configuration Id. - * The VPN Configuration Id to apply for this app. - */ - @SerializedName("vpnConfigurationId") - @Expose - public String vpnConfigurationId; - /** * The Uninstall On Device Removal. * Whether or not to uninstall the app when device is removed from Intune. @@ -42,6 +34,14 @@ public class IosStoreAppAssignmentSettings extends MobileAppAssignmentSettings i @Expose public Boolean uninstallOnDeviceRemoval; + /** + * The Vpn Configuration Id. + * The VPN Configuration Id to apply for this app. + */ + @SerializedName("vpnConfigurationId") + @Expose + public String vpnConfigurationId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosTrustedRootCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/IosTrustedRootCertificate.java index c7348cd5db3..279ddb1eac2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosTrustedRootCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosTrustedRootCertificate.java @@ -26,14 +26,6 @@ public class IosTrustedRootCertificate extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Trusted Root Certificate. - * Trusted Root Certificate. - */ - @SerializedName("trustedRootCertificate") - @Expose - public byte[] trustedRootCertificate; - /** * The Cert File Name. * File name to display in UI. @@ -42,6 +34,14 @@ public class IosTrustedRootCertificate extends DeviceConfiguration implements IJ @Expose public String certFileName; + /** + * The Trusted Root Certificate. + * Trusted Root Certificate. + */ + @SerializedName("trustedRootCertificate") + @Expose + public byte[] trustedRootCertificate; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java index d98802e9589..2af8a9a6363 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateConfiguration.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.CustomUpdateTimeWindow; import com.microsoft.graph.models.generated.DayOfWeek; import com.microsoft.graph.models.generated.IosSoftwareUpdateScheduleType; -import com.microsoft.graph.models.extensions.CustomUpdateTimeWindow; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -30,12 +30,12 @@ public class IosUpdateConfiguration extends DeviceConfiguration implements IJson /** - * The Is Enabled. - * Is setting enabled in UI + * The Active Hours End. + * Active Hours End (active hours mean the time window when updates install should not happen) */ - @SerializedName("isEnabled") + @SerializedName("activeHoursEnd") @Expose - public Boolean isEnabled; + public com.microsoft.graph.models.extensions.TimeOfDay activeHoursEnd; /** * The Active Hours Start. @@ -46,12 +46,12 @@ public class IosUpdateConfiguration extends DeviceConfiguration implements IJson public com.microsoft.graph.models.extensions.TimeOfDay activeHoursStart; /** - * The Active Hours End. - * Active Hours End (active hours mean the time window when updates install should not happen) + * The Custom Update Time Windows. + * If update schedule type is set to use time window scheduling, custom time windows when updates will be scheduled. This collection can contain a maximum of 20 elements. */ - @SerializedName("activeHoursEnd") + @SerializedName("customUpdateTimeWindows") @Expose - public com.microsoft.graph.models.extensions.TimeOfDay activeHoursEnd; + public java.util.List customUpdateTimeWindows; /** * The Desired Os Version. @@ -62,28 +62,28 @@ public class IosUpdateConfiguration extends DeviceConfiguration implements IJson public String desiredOsVersion; /** - * The Scheduled Install Days. - * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. + * The Enforced Software Update Delay In Days. + * Days before software updates are visible to iOS devices ranging from 0 to 90 inclusive */ - @SerializedName("scheduledInstallDays") + @SerializedName("enforcedSoftwareUpdateDelayInDays") @Expose - public java.util.List scheduledInstallDays; + public Integer enforcedSoftwareUpdateDelayInDays; /** - * The Utc Time Offset In Minutes. - * UTC Time Offset indicated in minutes + * The Is Enabled. + * Is setting enabled in UI */ - @SerializedName("utcTimeOffsetInMinutes") + @SerializedName("isEnabled") @Expose - public Integer utcTimeOffsetInMinutes; + public Boolean isEnabled; /** - * The Enforced Software Update Delay In Days. - * Days before software updates are visible to iOS devices ranging from 0 to 90 inclusive + * The Scheduled Install Days. + * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. */ - @SerializedName("enforcedSoftwareUpdateDelayInDays") + @SerializedName("scheduledInstallDays") @Expose - public Integer enforcedSoftwareUpdateDelayInDays; + public java.util.List scheduledInstallDays; /** * The Update Schedule Type. @@ -94,12 +94,12 @@ public class IosUpdateConfiguration extends DeviceConfiguration implements IJson public IosSoftwareUpdateScheduleType updateScheduleType; /** - * The Custom Update Time Windows. - * If update schedule type is set to use time window scheduling, custom time windows when updates will be scheduled. This collection can contain a maximum of 20 elements. + * The Utc Time Offset In Minutes. + * UTC Time Offset indicated in minutes */ - @SerializedName("customUpdateTimeWindows") + @SerializedName("utcTimeOffsetInMinutes") @Expose - public java.util.List customUpdateTimeWindows; + public Integer utcTimeOffsetInMinutes; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java index 6e89f225e8b..684a1bd1123 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosUpdateDeviceStatus.java @@ -29,20 +29,20 @@ public class IosUpdateDeviceStatus extends Entity implements IJsonBackedObject { /** - * The Install Status. - * The installation status of the policy report. Possible values are: success, available, idle, unknown, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError. + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires */ - @SerializedName("installStatus") + @SerializedName("complianceGracePeriodExpirationDateTime") @Expose - public IosUpdatesInstallStatus installStatus; + public java.util.Calendar complianceGracePeriodExpirationDateTime; /** - * The Os Version. - * The device version that is being reported. + * The Device Display Name. + * Device name of the DevicePolicyStatus. */ - @SerializedName("osVersion") + @SerializedName("deviceDisplayName") @Expose - public String osVersion; + public String deviceDisplayName; /** * The Device Id. @@ -53,36 +53,36 @@ public class IosUpdateDeviceStatus extends Entity implements IJsonBackedObject { public String deviceId; /** - * The User Id. - * The User id that is being reported. + * The Device Model. + * The device model that is being reported */ - @SerializedName("userId") + @SerializedName("deviceModel") @Expose - public String userId; + public String deviceModel; /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. + * The Install Status. + * The installation status of the policy report. Possible values are: success, available, idle, unknown, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError. */ - @SerializedName("deviceDisplayName") + @SerializedName("installStatus") @Expose - public String deviceDisplayName; + public IosUpdatesInstallStatus installStatus; /** - * The User Name. - * The User Name that is being reported + * The Last Reported Date Time. + * Last modified date time of the policy report. */ - @SerializedName("userName") + @SerializedName("lastReportedDateTime") @Expose - public String userName; + public java.util.Calendar lastReportedDateTime; /** - * The Device Model. - * The device model that is being reported + * The Os Version. + * The device version that is being reported. */ - @SerializedName("deviceModel") + @SerializedName("osVersion") @Expose - public String deviceModel; + public String osVersion; /** * The Platform. @@ -92,14 +92,6 @@ public class IosUpdateDeviceStatus extends Entity implements IJsonBackedObject { @Expose public Integer platform; - /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires - */ - @SerializedName("complianceGracePeriodExpirationDateTime") - @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; - /** * The Status. * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. @@ -109,12 +101,20 @@ public class IosUpdateDeviceStatus extends Entity implements IJsonBackedObject { public ComplianceStatus status; /** - * The Last Reported Date Time. - * Last modified date time of the policy report. + * The User Id. + * The User id that is being reported. */ - @SerializedName("lastReportedDateTime") + @SerializedName("userId") @Expose - public java.util.Calendar lastReportedDateTime; + public String userId; + + /** + * The User Name. + * The User Name that is being reported + */ + @SerializedName("userName") + @Expose + public String userName; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVpnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosVpnConfiguration.java index ab185d460e8..b869c226684 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVpnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVpnConfiguration.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.AppListItem; -import com.microsoft.graph.models.extensions.IosCertificateProfileBase; import com.microsoft.graph.models.extensions.DeviceManagementDerivedCredentialSettings; +import com.microsoft.graph.models.extensions.IosCertificateProfileBase; import com.microsoft.graph.models.extensions.AppleVpnConfiguration; @@ -29,22 +29,6 @@ public class IosVpnConfiguration extends AppleVpnConfiguration implements IJsonBackedObject { - /** - * The User Domain. - * Zscaler only. Enter a static domain to pre-populate the login field with in the Zscaler app. If this is left empty, the user's Azure Active Directory domain will be used instead. - */ - @SerializedName("userDomain") - @Expose - public String userDomain; - - /** - * The Strict Enforcement. - * Zscaler only. Blocks network traffic until the user signs into Zscaler app. "True" means traffic is blocked. - */ - @SerializedName("strictEnforcement") - @Expose - public Boolean strictEnforcement; - /** * The Cloud Name. * Zscaler only. Zscaler cloud which the user is assigned to. @@ -61,6 +45,14 @@ public class IosVpnConfiguration extends AppleVpnConfiguration implements IJsonB @Expose public java.util.List excludeList; + /** + * The Strict Enforcement. + * Zscaler only. Blocks network traffic until the user signs into Zscaler app. "True" means traffic is blocked. + */ + @SerializedName("strictEnforcement") + @Expose + public Boolean strictEnforcement; + /** * The Targeted Mobile Apps. * Targeted mobile apps. This collection can contain a maximum of 500 elements. @@ -70,12 +62,12 @@ public class IosVpnConfiguration extends AppleVpnConfiguration implements IJsonB public java.util.List targetedMobileApps; /** - * The Identity Certificate. - * Identity certificate for client authentication when authentication method is certificate. + * The User Domain. + * Zscaler only. Enter a static domain to pre-populate the login field with in the Zscaler app. If this is left empty, the user's Azure Active Directory domain will be used instead. */ - @SerializedName("identityCertificate") + @SerializedName("userDomain") @Expose - public IosCertificateProfileBase identityCertificate; + public String userDomain; /** * The Derived Credential Settings. @@ -85,6 +77,14 @@ public class IosVpnConfiguration extends AppleVpnConfiguration implements IJsonB @Expose public DeviceManagementDerivedCredentialSettings derivedCredentialSettings; + /** + * The Identity Certificate. + * Identity certificate for client authentication when authentication method is certificate. + */ + @SerializedName("identityCertificate") + @Expose + public IosCertificateProfileBase identityCertificate; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVpnSecurityAssociationParameters.java b/src/main/java/com/microsoft/graph/models/extensions/IosVpnSecurityAssociationParameters.java index 75c93140a1f..8ee61649fc6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVpnSecurityAssociationParameters.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVpnSecurityAssociationParameters.java @@ -38,20 +38,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Security Encryption Algorithm. - * Encryption algorithm - */ - @SerializedName("securityEncryptionAlgorithm") - @Expose - public VpnEncryptionAlgorithmType securityEncryptionAlgorithm; - - /** - * The Security Integrity Algorithm. - * Integrity algorithm + * The Lifetime In Minutes. + * Lifetime (minutes) */ - @SerializedName("securityIntegrityAlgorithm") + @SerializedName("lifetimeInMinutes") @Expose - public VpnIntegrityAlgorithmType securityIntegrityAlgorithm; + public Integer lifetimeInMinutes; /** * The Security Diffie Hellman Group. @@ -62,12 +54,20 @@ public final AdditionalDataManager additionalDataManager() { public Integer securityDiffieHellmanGroup; /** - * The Lifetime In Minutes. - * Lifetime (minutes) + * The Security Encryption Algorithm. + * Encryption algorithm */ - @SerializedName("lifetimeInMinutes") + @SerializedName("securityEncryptionAlgorithm") @Expose - public Integer lifetimeInMinutes; + public VpnEncryptionAlgorithmType securityEncryptionAlgorithm; + + /** + * The Security Integrity Algorithm. + * Integrity algorithm + */ + @SerializedName("securityIntegrityAlgorithm") + @Expose + public VpnIntegrityAlgorithmType securityIntegrityAlgorithm; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java index e36918aaf17..9f67ee56ed0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppApp.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.VppLicensingType; import com.microsoft.graph.models.extensions.IosDeviceType; -import com.microsoft.graph.models.generated.VppTokenAccountType; +import com.microsoft.graph.models.extensions.VppLicensingType; import com.microsoft.graph.models.extensions.IosVppAppRevokeLicensesActionResult; +import com.microsoft.graph.models.generated.VppTokenAccountType; import com.microsoft.graph.models.extensions.IosVppAppAssignedLicense; import com.microsoft.graph.models.extensions.MobileApp; import com.microsoft.graph.requests.extensions.IosVppAppAssignedLicenseCollectionResponse; @@ -34,28 +34,12 @@ public class IosVppApp extends MobileApp implements IJsonBackedObject { /** - * The Used License Count. - * The number of VPP licenses in use. - */ - @SerializedName("usedLicenseCount") - @Expose - public Integer usedLicenseCount; - - /** - * The Total License Count. - * The total number of VPP licenses. - */ - @SerializedName("totalLicenseCount") - @Expose - public Integer totalLicenseCount; - - /** - * The Release Date Time. - * The VPP application release date and time. + * The Applicable Device Type. + * The applicable iOS Device Type. */ - @SerializedName("releaseDateTime") + @SerializedName("applicableDeviceType") @Expose - public java.util.Calendar releaseDateTime; + public IosDeviceType applicableDeviceType; /** * The App Store Url. @@ -65,6 +49,14 @@ public class IosVppApp extends MobileApp implements IJsonBackedObject { @Expose public String appStoreUrl; + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + /** * The Licensing Type. * The supported License Type. @@ -74,20 +66,36 @@ public class IosVppApp extends MobileApp implements IJsonBackedObject { public VppLicensingType licensingType; /** - * The Applicable Device Type. - * The applicable iOS Device Type. + * The Release Date Time. + * The VPP application release date and time. */ - @SerializedName("applicableDeviceType") + @SerializedName("releaseDateTime") @Expose - public IosDeviceType applicableDeviceType; + public java.util.Calendar releaseDateTime; /** - * The Vpp Token Organization Name. - * The organization associated with the Apple Volume Purchase Program Token + * The Revoke License Action Results. + * Results of revoke license actions on this app. */ - @SerializedName("vppTokenOrganizationName") + @SerializedName("revokeLicenseActionResults") @Expose - public String vppTokenOrganizationName; + public java.util.List revokeLicenseActionResults; + + /** + * The Total License Count. + * The total number of VPP licenses. + */ + @SerializedName("totalLicenseCount") + @Expose + public Integer totalLicenseCount; + + /** + * The Used License Count. + * The number of VPP licenses in use. + */ + @SerializedName("usedLicenseCount") + @Expose + public Integer usedLicenseCount; /** * The Vpp Token Account Type. @@ -105,14 +113,6 @@ public class IosVppApp extends MobileApp implements IJsonBackedObject { @Expose public String vppTokenAppleId; - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - /** * The Vpp Token Id. * Identifier of the VPP token associated with this app. @@ -122,12 +122,12 @@ public class IosVppApp extends MobileApp implements IJsonBackedObject { public String vppTokenId; /** - * The Revoke License Action Results. - * Results of revoke license actions on this app. + * The Vpp Token Organization Name. + * The organization associated with the Apple Volume Purchase Program Token */ - @SerializedName("revokeLicenseActionResults") + @SerializedName("vppTokenOrganizationName") @Expose - public java.util.List revokeLicenseActionResults; + public String vppTokenOrganizationName; /** * The Assigned Licenses. diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignedDeviceLicense.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignedDeviceLicense.java index 5eed7e01d26..825c221a2a1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignedDeviceLicense.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignedDeviceLicense.java @@ -26,14 +26,6 @@ public class IosVppAppAssignedDeviceLicense extends IosVppAppAssignedLicense implements IJsonBackedObject { - /** - * The Managed Device Id. - * The managed device ID. - */ - @SerializedName("managedDeviceId") - @Expose - public String managedDeviceId; - /** * The Device Name. * The device name. @@ -42,6 +34,14 @@ public class IosVppAppAssignedDeviceLicense extends IosVppAppAssignedLicense imp @Expose public String deviceName; + /** + * The Managed Device Id. + * The managed device ID. + */ + @SerializedName("managedDeviceId") + @Expose + public String managedDeviceId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java index 9f7120fa58f..fb424045561 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppAssignmentSettings.java @@ -26,6 +26,14 @@ public class IosVppAppAssignmentSettings extends MobileAppAssignmentSettings implements IJsonBackedObject { + /** + * The Uninstall On Device Removal. + * Whether or not to uninstall the app when device is removed from Intune. + */ + @SerializedName("uninstallOnDeviceRemoval") + @Expose + public Boolean uninstallOnDeviceRemoval; + /** * The Use Device Licensing. * Whether or not to use device licensing. @@ -42,14 +50,6 @@ public class IosVppAppAssignmentSettings extends MobileAppAssignmentSettings imp @Expose public String vpnConfigurationId; - /** - * The Uninstall On Device Removal. - * Whether or not to uninstall the app when device is removed from Intune. - */ - @SerializedName("uninstallOnDeviceRemoval") - @Expose - public Boolean uninstallOnDeviceRemoval; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppRevokeLicensesActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppRevokeLicensesActionResult.java index 79d085344d6..4c932c33197 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppAppRevokeLicensesActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppAppRevokeLicensesActionResult.java @@ -38,28 +38,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The User Id. - * UserId associated with the action. + * The Action Failure Reason. + * The reason for the revoke licenses action failure. */ - @SerializedName("userId") + @SerializedName("actionFailureReason") @Expose - public String userId; + public VppTokenActionFailureReason actionFailureReason; /** - * The Managed Device Id. - * DeviceId associated with the action. + * The Action Name. + * Action name */ - @SerializedName("managedDeviceId") + @SerializedName("actionName") @Expose - public String managedDeviceId; + public String actionName; /** - * The Total Licenses Count. - * A count of the number of licenses for which revoke was attempted. + * The Action State. + * State of the action */ - @SerializedName("totalLicensesCount") + @SerializedName("actionState") @Expose - public Integer totalLicensesCount; + public ActionState actionState; /** * The Failed Licenses Count. @@ -70,28 +70,20 @@ public final AdditionalDataManager additionalDataManager() { public Integer failedLicensesCount; /** - * The Action Failure Reason. - * The reason for the revoke licenses action failure. - */ - @SerializedName("actionFailureReason") - @Expose - public VppTokenActionFailureReason actionFailureReason; - - /** - * The Action Name. - * Action name + * The Last Updated Date Time. + * Time the action state was last updated */ - @SerializedName("actionName") + @SerializedName("lastUpdatedDateTime") @Expose - public String actionName; + public java.util.Calendar lastUpdatedDateTime; /** - * The Action State. - * State of the action + * The Managed Device Id. + * DeviceId associated with the action. */ - @SerializedName("actionState") + @SerializedName("managedDeviceId") @Expose - public ActionState actionState; + public String managedDeviceId; /** * The Start Date Time. @@ -102,12 +94,20 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar startDateTime; /** - * The Last Updated Date Time. - * Time the action state was last updated + * The Total Licenses Count. + * A count of the number of licenses for which revoke was attempted. */ - @SerializedName("lastUpdatedDateTime") + @SerializedName("totalLicensesCount") @Expose - public java.util.Calendar lastUpdatedDateTime; + public Integer totalLicensesCount; + + /** + * The User Id. + * UserId associated with the action. + */ + @SerializedName("userId") + @Expose + public String userId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java b/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java index ac349dd59b2..722f12a3620 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosVppEBook.java @@ -26,14 +26,6 @@ public class IosVppEBook extends ManagedEBook implements IJsonBackedObject { - /** - * The Vpp Token Id. - * The Vpp token ID. - */ - @SerializedName("vppTokenId") - @Expose - public java.util.UUID vppTokenId; - /** * The Apple Id. * The Apple ID associated with Vpp token. @@ -42,14 +34,6 @@ public class IosVppEBook extends ManagedEBook implements IJsonBackedObject { @Expose public String appleId; - /** - * The Vpp Organization Name. - * The Vpp token's organization name. - */ - @SerializedName("vppOrganizationName") - @Expose - public String vppOrganizationName; - /** * The Genres. * Genres. @@ -66,6 +50,14 @@ public class IosVppEBook extends ManagedEBook implements IJsonBackedObject { @Expose public String language; + /** + * The Role Scope Tag Ids. + * List of Scope Tags for this Entity instance. + */ + @SerializedName("roleScopeTagIds") + @Expose + public java.util.List roleScopeTagIds; + /** * The Seller. * Seller. @@ -91,12 +83,20 @@ public class IosVppEBook extends ManagedEBook implements IJsonBackedObject { public Integer usedLicenseCount; /** - * The Role Scope Tag Ids. - * List of Scope Tags for this Entity instance. + * The Vpp Organization Name. + * The Vpp token's organization name. */ - @SerializedName("roleScopeTagIds") + @SerializedName("vppOrganizationName") @Expose - public java.util.List roleScopeTagIds; + public String vppOrganizationName; + + /** + * The Vpp Token Id. + * The Vpp token ID. + */ + @SerializedName("vppTokenId") + @Expose + public java.util.UUID vppTokenId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosWiFiConfiguration.java index 37d86f696a8..526c27a200d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosWiFiConfiguration.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.WiFiSecurityType; import com.microsoft.graph.models.generated.WiFiProxySetting; +import com.microsoft.graph.models.generated.WiFiSecurityType; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -28,22 +28,6 @@ public class IosWiFiConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Network Name. - * Network Name - */ - @SerializedName("networkName") - @Expose - public String networkName; - - /** - * The Ssid. - * This is the name of the Wi-Fi network that is broadcast to all devices. - */ - @SerializedName("ssid") - @Expose - public String ssid; - /** * The Connect Automatically. * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. @@ -61,20 +45,28 @@ public class IosWiFiConfiguration extends DeviceConfiguration implements IJsonBa public Boolean connectWhenNetworkNameIsHidden; /** - * The Wi Fi Security Type. - * Indicates whether Wi-Fi endpoint uses an EAP based security type. + * The Network Name. + * Network Name */ - @SerializedName("wiFiSecurityType") + @SerializedName("networkName") @Expose - public WiFiSecurityType wiFiSecurityType; + public String networkName; /** - * The Proxy Settings. - * Proxy Type for this Wi-Fi connection + * The Pre Shared Key. + * This is the pre-shared key for WPA Personal Wi-Fi network. */ - @SerializedName("proxySettings") + @SerializedName("preSharedKey") @Expose - public WiFiProxySetting proxySettings; + public String preSharedKey; + + /** + * The Proxy Automatic Configuration Url. + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + */ + @SerializedName("proxyAutomaticConfigurationUrl") + @Expose + public String proxyAutomaticConfigurationUrl; /** * The Proxy Manual Address. @@ -93,20 +85,28 @@ public class IosWiFiConfiguration extends DeviceConfiguration implements IJsonBa public Integer proxyManualPort; /** - * The Proxy Automatic Configuration Url. - * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * The Proxy Settings. + * Proxy Type for this Wi-Fi connection */ - @SerializedName("proxyAutomaticConfigurationUrl") + @SerializedName("proxySettings") @Expose - public String proxyAutomaticConfigurationUrl; + public WiFiProxySetting proxySettings; /** - * The Pre Shared Key. - * This is the pre-shared key for WPA Personal Wi-Fi network. + * The Ssid. + * This is the name of the Wi-Fi network that is broadcast to all devices. */ - @SerializedName("preSharedKey") + @SerializedName("ssid") @Expose - public String preSharedKey; + public String ssid; + + /** + * The Wi Fi Security Type. + * Indicates whether Wi-Fi endpoint uses an EAP based security type. + */ + @SerializedName("wiFiSecurityType") + @Expose + public WiFiSecurityType wiFiSecurityType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/IosikEv2VpnConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/IosikEv2VpnConfiguration.java index 354da4e977c..5658e0feea6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/IosikEv2VpnConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/IosikEv2VpnConfiguration.java @@ -8,12 +8,12 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.AppleVpnAlwaysOnConfiguration; import com.microsoft.graph.models.extensions.IosVpnSecurityAssociationParameters; import com.microsoft.graph.models.generated.VpnClientAuthenticationType; import com.microsoft.graph.models.generated.VpnDeadPeerDetectionRate; import com.microsoft.graph.models.generated.VpnLocalIdentifier; import com.microsoft.graph.models.generated.VpnServerCertificateType; -import com.microsoft.graph.models.extensions.AppleVpnAlwaysOnConfiguration; import com.microsoft.graph.models.extensions.IosVpnConfiguration; @@ -32,6 +32,30 @@ public class IosikEv2VpnConfiguration extends IosVpnConfiguration implements IJsonBackedObject { + /** + * The Allow Default Child Security Association Parameters. + * Allows the use of child security association parameters by setting all parameters to the device's default unless explicitly specified. + */ + @SerializedName("allowDefaultChildSecurityAssociationParameters") + @Expose + public Boolean allowDefaultChildSecurityAssociationParameters; + + /** + * The Allow Default Security Association Parameters. + * Allows the use of security association parameters by setting all parameters to the device's default unless explicitly specified. + */ + @SerializedName("allowDefaultSecurityAssociationParameters") + @Expose + public Boolean allowDefaultSecurityAssociationParameters; + + /** + * The Always On Configuration. + * AlwaysOn Configuration + */ + @SerializedName("alwaysOnConfiguration") + @Expose + public AppleVpnAlwaysOnConfiguration alwaysOnConfiguration; + /** * The Child Security Association Parameters. * Child Security Association Parameters @@ -72,6 +96,14 @@ public class IosikEv2VpnConfiguration extends IosVpnConfiguration implements IJs @Expose public Boolean disableRedirect; + /** + * The Enable Always On Configuration. + * Determines if Always on VPN is enabled + */ + @SerializedName("enableAlwaysOnConfiguration") + @Expose + public Boolean enableAlwaysOnConfiguration; + /** * The Enable Certificate Revocation Check. * Enables a best-effort revocation check; server response timeouts will not cause it to fail @@ -176,38 +208,6 @@ public class IosikEv2VpnConfiguration extends IosVpnConfiguration implements IJs @Expose public String tlsMinimumVersion; - /** - * The Allow Default Security Association Parameters. - * Allows the use of security association parameters by setting all parameters to the device's default unless explicitly specified. - */ - @SerializedName("allowDefaultSecurityAssociationParameters") - @Expose - public Boolean allowDefaultSecurityAssociationParameters; - - /** - * The Allow Default Child Security Association Parameters. - * Allows the use of child security association parameters by setting all parameters to the device's default unless explicitly specified. - */ - @SerializedName("allowDefaultChildSecurityAssociationParameters") - @Expose - public Boolean allowDefaultChildSecurityAssociationParameters; - - /** - * The Always On Configuration. - * AlwaysOn Configuration - */ - @SerializedName("alwaysOnConfiguration") - @Expose - public AppleVpnAlwaysOnConfiguration alwaysOnConfiguration; - - /** - * The Enable Always On Configuration. - * Determines if Always on VPN is enabled - */ - @SerializedName("enableAlwaysOnConfiguration") - @Expose - public Boolean enableAlwaysOnConfiguration; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Item.java b/src/main/java/com/microsoft/graph/models/extensions/Item.java index 30070a18f49..e3c2cf3fb63 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Item.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Item.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Picture; import com.microsoft.graph.models.extensions.ItemCategory; +import com.microsoft.graph.models.extensions.Picture; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.PictureCollectionResponse; import com.microsoft.graph.requests.extensions.PictureCollectionPage; @@ -31,12 +31,20 @@ public class Item extends Entity implements IJsonBackedObject { /** - * The Number. + * The Base Unit Of Measure Id. * */ - @SerializedName("number") + @SerializedName("baseUnitOfMeasureId") @Expose - public String number; + public java.util.UUID baseUnitOfMeasureId; + + /** + * The Blocked. + * + */ + @SerializedName("blocked") + @Expose + public Boolean blocked; /** * The Display Name. @@ -47,20 +55,20 @@ public class Item extends Entity implements IJsonBackedObject { public String displayName; /** - * The Type. + * The Gtin. * */ - @SerializedName("type") + @SerializedName("gtin") @Expose - public String type; + public String gtin; /** - * The Item Category Id. + * The Inventory. * */ - @SerializedName("itemCategoryId") + @SerializedName("inventory") @Expose - public java.util.UUID itemCategoryId; + public java.math.BigDecimal inventory; /** * The Item Category Code. @@ -71,44 +79,28 @@ public class Item extends Entity implements IJsonBackedObject { public String itemCategoryCode; /** - * The Blocked. - * - */ - @SerializedName("blocked") - @Expose - public Boolean blocked; - - /** - * The Base Unit Of Measure Id. - * - */ - @SerializedName("baseUnitOfMeasureId") - @Expose - public java.util.UUID baseUnitOfMeasureId; - - /** - * The Gtin. + * The Item Category Id. * */ - @SerializedName("gtin") + @SerializedName("itemCategoryId") @Expose - public String gtin; + public java.util.UUID itemCategoryId; /** - * The Inventory. + * The Last Modified Date Time. * */ - @SerializedName("inventory") + @SerializedName("lastModifiedDateTime") @Expose - public java.math.BigDecimal inventory; + public java.util.Calendar lastModifiedDateTime; /** - * The Unit Price. + * The Number. * */ - @SerializedName("unitPrice") + @SerializedName("number") @Expose - public java.math.BigDecimal unitPrice; + public String number; /** * The Price Includes Tax. @@ -119,12 +111,12 @@ public class Item extends Entity implements IJsonBackedObject { public Boolean priceIncludesTax; /** - * The Unit Cost. + * The Tax Group Code. * */ - @SerializedName("unitCost") + @SerializedName("taxGroupCode") @Expose - public java.math.BigDecimal unitCost; + public String taxGroupCode; /** * The Tax Group Id. @@ -135,26 +127,28 @@ public class Item extends Entity implements IJsonBackedObject { public java.util.UUID taxGroupId; /** - * The Tax Group Code. + * The Type. * */ - @SerializedName("taxGroupCode") + @SerializedName("type") @Expose - public String taxGroupCode; + public String type; /** - * The Last Modified Date Time. + * The Unit Cost. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("unitCost") @Expose - public java.util.Calendar lastModifiedDateTime; + public java.math.BigDecimal unitCost; /** - * The Picture. + * The Unit Price. * */ - public PictureCollectionPage picture; + @SerializedName("unitPrice") + @Expose + public java.math.BigDecimal unitPrice; /** * The Item Category. @@ -164,6 +158,12 @@ public class Item extends Entity implements IJsonBackedObject { @Expose public ItemCategory itemCategory; + /** + * The Picture. + * + */ + public PictureCollectionPage picture; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemActivityStat.java b/src/main/java/com/microsoft/graph/models/extensions/ItemActivityStat.java index 6cc1e11fa90..1914fedc1dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemActivityStat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemActivityStat.java @@ -31,22 +31,6 @@ public class ItemActivityStat extends Entity implements IJsonBackedObject { - /** - * The Start Date Time. - * When the interval starts. Read-only. - */ - @SerializedName("startDateTime") - @Expose - public java.util.Calendar startDateTime; - - /** - * The End Date Time. - * When the interval ends. Read-only. - */ - @SerializedName("endDateTime") - @Expose - public java.util.Calendar endDateTime; - /** * The Access. * Statistics about the access actions in this interval. Read-only. @@ -80,12 +64,20 @@ public class ItemActivityStat extends Entity implements IJsonBackedObject { public ItemActionStat edit; /** - * The Move. - * Statistics about the move actions in this interval. Read-only. + * The End Date Time. + * When the interval ends. Read-only. */ - @SerializedName("move") + @SerializedName("endDateTime") @Expose - public ItemActionStat move; + public java.util.Calendar endDateTime; + + /** + * The Incomplete Data. + * Indicates that the statistics in this interval are based on incomplete data. Read-only. + */ + @SerializedName("incompleteData") + @Expose + public IncompleteData incompleteData; /** * The Is Trending. @@ -96,12 +88,20 @@ public class ItemActivityStat extends Entity implements IJsonBackedObject { public Boolean isTrending; /** - * The Incomplete Data. - * Indicates that the statistics in this interval are based on incomplete data. Read-only. + * The Move. + * Statistics about the move actions in this interval. Read-only. */ - @SerializedName("incompleteData") + @SerializedName("move") @Expose - public IncompleteData incompleteData; + public ItemActionStat move; + + /** + * The Start Date Time. + * When the interval starts. Read-only. + */ + @SerializedName("startDateTime") + @Expose + public java.util.Calendar startDateTime; /** * The Activities. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemAddress.java b/src/main/java/com/microsoft/graph/models/extensions/ItemAddress.java index 887fd2c1d74..c821a3eeb7c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemAddress.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemAddress.java @@ -29,20 +29,20 @@ public class ItemAddress extends ItemFacet implements IJsonBackedObject { /** - * The Display Name. + * The Detail. * */ - @SerializedName("displayName") + @SerializedName("detail") @Expose - public String displayName; + public PhysicalAddress detail; /** - * The Detail. + * The Display Name. * */ - @SerializedName("detail") + @SerializedName("displayName") @Expose - public PhysicalAddress detail; + public String displayName; /** * The Geo Coordinates. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemAnalytics.java b/src/main/java/com/microsoft/graph/models/extensions/ItemAnalytics.java index 9d0d05e1c87..69054381deb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemAnalytics.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemAnalytics.java @@ -29,12 +29,6 @@ public class ItemAnalytics extends Entity implements IJsonBackedObject { - /** - * The Item Activity Stats. - * - */ - public ItemActivityStatCollectionPage itemActivityStats; - /** * The All Time. * @@ -43,6 +37,12 @@ public class ItemAnalytics extends Entity implements IJsonBackedObject { @Expose public ItemActivityStat allTime; + /** + * The Item Activity Stats. + * + */ + public ItemActivityStatCollectionPage itemActivityStats; + /** * The Last Seven Days. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java b/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java index 623627dcedf..4e61b32fa9d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemBody.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Content Type. - * The type of the content. Possible values are text and html. - */ - @SerializedName("contentType") - @Expose - public BodyType contentType; - /** * The Content. * The content of the item. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String content; + /** + * The Content Type. + * The type of the content. Possible values are text and html. + */ + @SerializedName("contentType") + @Expose + public BodyType contentType; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemFacet.java b/src/main/java/com/microsoft/graph/models/extensions/ItemFacet.java index 6aa13a827ee..481a3a40f62 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemFacet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemFacet.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.AllowedAudiences; -import com.microsoft.graph.models.extensions.InferenceData; import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.extensions.InferenceData; import com.microsoft.graph.models.extensions.PersonDataSource; import com.microsoft.graph.models.extensions.Entity; @@ -39,12 +39,12 @@ public class ItemFacet extends Entity implements IJsonBackedObject { public EnumSet allowedAudiences; /** - * The Inference. + * The Created By. * */ - @SerializedName("inference") + @SerializedName("createdBy") @Expose - public InferenceData inference; + public IdentitySet createdBy; /** * The Created Date Time. @@ -55,28 +55,28 @@ public class ItemFacet extends Entity implements IJsonBackedObject { public java.util.Calendar createdDateTime; /** - * The Created By. + * The Inference. * */ - @SerializedName("createdBy") + @SerializedName("inference") @Expose - public IdentitySet createdBy; + public InferenceData inference; /** - * The Last Modified Date Time. + * The Last Modified By. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("lastModifiedBy") @Expose - public java.util.Calendar lastModifiedDateTime; + public IdentitySet lastModifiedBy; /** - * The Last Modified By. + * The Last Modified Date Time. * */ - @SerializedName("lastModifiedBy") + @SerializedName("lastModifiedDateTime") @Expose - public IdentitySet lastModifiedBy; + public java.util.Calendar lastModifiedDateTime; /** * The Source. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemInsightsSettings.java b/src/main/java/com/microsoft/graph/models/extensions/ItemInsightsSettings.java index 89bca455506..a98d04cb3d2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemInsightsSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemInsightsSettings.java @@ -27,20 +27,20 @@ public class ItemInsightsSettings extends Entity implements IJsonBackedObject { /** - * The Is Enabled In Organization. + * The Disabled For Group. * */ - @SerializedName("isEnabledInOrganization") + @SerializedName("disabledForGroup") @Expose - public Boolean isEnabledInOrganization; + public String disabledForGroup; /** - * The Disabled For Group. + * The Is Enabled In Organization. * */ - @SerializedName("disabledForGroup") + @SerializedName("isEnabledInOrganization") @Expose - public String disabledForGroup; + public Boolean isEnabledInOrganization; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ItemPhone.java b/src/main/java/com/microsoft/graph/models/extensions/ItemPhone.java index c8ca92ad108..0d172f31641 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ItemPhone.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ItemPhone.java @@ -36,20 +36,20 @@ public class ItemPhone extends ItemFacet implements IJsonBackedObject { public String displayName; /** - * The Type. + * The Number. * */ - @SerializedName("type") + @SerializedName("number") @Expose - public PhoneType type; + public String number; /** - * The Number. + * The Type. * */ - @SerializedName("number") + @SerializedName("type") @Expose - public String number; + public PhoneType type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/JobResponseBase.java b/src/main/java/com/microsoft/graph/models/extensions/JobResponseBase.java index 432ae3d4ca8..ff411ec87f7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/JobResponseBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/JobResponseBase.java @@ -28,60 +28,60 @@ public class JobResponseBase extends Entity implements IJsonBackedObject { /** - * The Type. + * The Creation Date Time. * */ - @SerializedName("type") + @SerializedName("creationDateTime") @Expose - public String type; + public java.util.Calendar creationDateTime; /** - * The Status. + * The End Date Time. * */ - @SerializedName("status") + @SerializedName("endDateTime") @Expose - public String status; + public java.util.Calendar endDateTime; /** - * The Tenant Id. + * The Error. * */ - @SerializedName("tenantId") + @SerializedName("error") @Expose - public String tenantId; + public ClassificationError error; /** - * The Creation Date Time. + * The Start Date Time. * */ - @SerializedName("creationDateTime") + @SerializedName("startDateTime") @Expose - public java.util.Calendar creationDateTime; + public java.util.Calendar startDateTime; /** - * The Start Date Time. + * The Status. * */ - @SerializedName("startDateTime") + @SerializedName("status") @Expose - public java.util.Calendar startDateTime; + public String status; /** - * The End Date Time. + * The Tenant Id. * */ - @SerializedName("endDateTime") + @SerializedName("tenantId") @Expose - public java.util.Calendar endDateTime; + public String tenantId; /** - * The Error. + * The Type. * */ - @SerializedName("error") + @SerializedName("type") @Expose - public ClassificationError error; + public String type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Journal.java b/src/main/java/com/microsoft/graph/models/extensions/Journal.java index 2365a4b5e67..a7314b7408f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Journal.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Journal.java @@ -31,44 +31,44 @@ public class Journal extends Entity implements IJsonBackedObject { /** - * The Code. + * The Balancing Account Id. * */ - @SerializedName("code") + @SerializedName("balancingAccountId") @Expose - public String code; + public java.util.UUID balancingAccountId; /** - * The Display Name. + * The Balancing Account Number. * */ - @SerializedName("displayName") + @SerializedName("balancingAccountNumber") @Expose - public String displayName; + public String balancingAccountNumber; /** - * The Last Modified Date Time. + * The Code. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("code") @Expose - public java.util.Calendar lastModifiedDateTime; + public String code; /** - * The Balancing Account Id. + * The Display Name. * */ - @SerializedName("balancingAccountId") + @SerializedName("displayName") @Expose - public java.util.UUID balancingAccountId; + public String displayName; /** - * The Balancing Account Number. + * The Last Modified Date Time. * */ - @SerializedName("balancingAccountNumber") + @SerializedName("lastModifiedDateTime") @Expose - public String balancingAccountNumber; + public java.util.Calendar lastModifiedDateTime; /** * The Account. diff --git a/src/main/java/com/microsoft/graph/models/extensions/JournalLine.java b/src/main/java/com/microsoft/graph/models/extensions/JournalLine.java index 34d91f66f10..90b32e1f001 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/JournalLine.java +++ b/src/main/java/com/microsoft/graph/models/extensions/JournalLine.java @@ -28,44 +28,44 @@ public class JournalLine extends Entity implements IJsonBackedObject { /** - * The Journal Display Name. + * The Account Id. * */ - @SerializedName("journalDisplayName") + @SerializedName("accountId") @Expose - public String journalDisplayName; + public java.util.UUID accountId; /** - * The Line Number. + * The Account Number. * */ - @SerializedName("lineNumber") + @SerializedName("accountNumber") @Expose - public Integer lineNumber; + public String accountNumber; /** - * The Account Id. + * The Amount. * */ - @SerializedName("accountId") + @SerializedName("amount") @Expose - public java.util.UUID accountId; + public java.math.BigDecimal amount; /** - * The Account Number. + * The Comment. * */ - @SerializedName("accountNumber") + @SerializedName("comment") @Expose - public String accountNumber; + public String comment; /** - * The Posting Date. + * The Description. * */ - @SerializedName("postingDate") + @SerializedName("description") @Expose - public com.microsoft.graph.models.extensions.DateOnly postingDate; + public String description; /** * The Document Number. @@ -84,36 +84,36 @@ public class JournalLine extends Entity implements IJsonBackedObject { public String externalDocumentNumber; /** - * The Amount. + * The Journal Display Name. * */ - @SerializedName("amount") + @SerializedName("journalDisplayName") @Expose - public java.math.BigDecimal amount; + public String journalDisplayName; /** - * The Description. + * The Last Modified Date Time. * */ - @SerializedName("description") + @SerializedName("lastModifiedDateTime") @Expose - public String description; + public java.util.Calendar lastModifiedDateTime; /** - * The Comment. + * The Line Number. * */ - @SerializedName("comment") + @SerializedName("lineNumber") @Expose - public String comment; + public Integer lineNumber; /** - * The Last Modified Date Time. + * The Posting Date. * */ - @SerializedName("lastModifiedDateTime") + @SerializedName("postingDate") @Expose - public java.util.Calendar lastModifiedDateTime; + public com.microsoft.graph.models.extensions.DateOnly postingDate; /** * The Account. diff --git a/src/main/java/com/microsoft/graph/models/extensions/KerberosSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/KerberosSingleSignOnExtension.java index c9a9e76f165..c7c90817e05 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/KerberosSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/KerberosSingleSignOnExtension.java @@ -27,20 +27,20 @@ public class KerberosSingleSignOnExtension extends SingleSignOnExtension impleme /** - * The Realm. - * Gets or sets the case-sensitive realm name for this profile. + * The Active Directory Site Code. + * Gets or sets the Active Directory site. */ - @SerializedName("realm") + @SerializedName("activeDirectorySiteCode") @Expose - public String realm; + public String activeDirectorySiteCode; /** - * The Domains. - * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * The Block Active Directory Site Auto Discovery. + * Enables or disables whether the Kerberos extension can automatically determine its site name. */ - @SerializedName("domains") + @SerializedName("blockActiveDirectorySiteAutoDiscovery") @Expose - public java.util.List domains; + public Boolean blockActiveDirectorySiteAutoDiscovery; /** * The Block Automatic Login. @@ -74,6 +74,14 @@ public class KerberosSingleSignOnExtension extends SingleSignOnExtension impleme @Expose public java.util.List domainRealms; + /** + * The Domains. + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + */ + @SerializedName("domains") + @Expose + public java.util.List domains; + /** * The Is Default Realm. * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. @@ -90,6 +98,22 @@ public class KerberosSingleSignOnExtension extends SingleSignOnExtension impleme @Expose public Boolean passwordBlockModification; + /** + * The Password Change Url. + * Gets or sets the URL that the user will be sent to when they initiate a password change. + */ + @SerializedName("passwordChangeUrl") + @Expose + public String passwordChangeUrl; + + /** + * The Password Enable Local Sync. + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + */ + @SerializedName("passwordEnableLocalSync") + @Expose + public Boolean passwordEnableLocalSync; + /** * The Password Expiration Days. * Overrides the default password expiration in days. For most domains, this value is calculated automatically. @@ -107,20 +131,20 @@ public class KerberosSingleSignOnExtension extends SingleSignOnExtension impleme public Integer passwordExpirationNotificationDays; /** - * The User Principal Name. - * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * The Password Minimum Age Days. + * Gets or sets the minimum number of days until a user can change their password again. */ - @SerializedName("userPrincipalName") + @SerializedName("passwordMinimumAgeDays") @Expose - public String userPrincipalName; + public Integer passwordMinimumAgeDays; /** - * The Password Require Active Directory Complexity. - * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * The Password Minimum Length. + * Gets or sets the minimum length of a password. */ - @SerializedName("passwordRequireActiveDirectoryComplexity") + @SerializedName("passwordMinimumLength") @Expose - public Boolean passwordRequireActiveDirectoryComplexity; + public Integer passwordMinimumLength; /** * The Password Previous Password Block Count. @@ -131,20 +155,12 @@ public class KerberosSingleSignOnExtension extends SingleSignOnExtension impleme public Integer passwordPreviousPasswordBlockCount; /** - * The Password Minimum Length. - * Gets or sets the minimum length of a password. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minimum Age Days. - * Gets or sets the minimum number of days until a user can change their password again. + * The Password Require Active Directory Complexity. + * Enables or disables whether passwords must meet Active Directory's complexity requirements. */ - @SerializedName("passwordMinimumAgeDays") + @SerializedName("passwordRequireActiveDirectoryComplexity") @Expose - public Integer passwordMinimumAgeDays; + public Boolean passwordRequireActiveDirectoryComplexity; /** * The Password Requirements Description. @@ -155,44 +171,28 @@ public class KerberosSingleSignOnExtension extends SingleSignOnExtension impleme public String passwordRequirementsDescription; /** - * The Require User Presence. - * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. - */ - @SerializedName("requireUserPresence") - @Expose - public Boolean requireUserPresence; - - /** - * The Active Directory Site Code. - * Gets or sets the Active Directory site. - */ - @SerializedName("activeDirectorySiteCode") - @Expose - public String activeDirectorySiteCode; - - /** - * The Password Enable Local Sync. - * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * The Realm. + * Gets or sets the case-sensitive realm name for this profile. */ - @SerializedName("passwordEnableLocalSync") + @SerializedName("realm") @Expose - public Boolean passwordEnableLocalSync; + public String realm; /** - * The Block Active Directory Site Auto Discovery. - * Enables or disables whether the Kerberos extension can automatically determine its site name. + * The Require User Presence. + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. */ - @SerializedName("blockActiveDirectorySiteAutoDiscovery") + @SerializedName("requireUserPresence") @Expose - public Boolean blockActiveDirectorySiteAutoDiscovery; + public Boolean requireUserPresence; /** - * The Password Change Url. - * Gets or sets the URL that the user will be sent to when they initiate a password change. + * The User Principal Name. + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. */ - @SerializedName("passwordChangeUrl") + @SerializedName("userPrincipalName") @Expose - public String passwordChangeUrl; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/KeyCredential.java b/src/main/java/com/microsoft/graph/models/extensions/KeyCredential.java index 29333ee39d8..7a952fa137e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/KeyCredential.java +++ b/src/main/java/com/microsoft/graph/models/extensions/KeyCredential.java @@ -43,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public byte[] customKeyIdentifier; + /** + * The Display Name. + * Friendly name for the key. Optional. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The End Date Time. * The date and time at which the credential expires.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' @@ -51,6 +59,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar endDateTime; + /** + * The Key. + * Value for the key credential. Should be a base 64 encoded value. + */ + @SerializedName("key") + @Expose + public byte[] key; + /** * The Key Id. * The unique identifier (GUID) for the key. @@ -83,22 +99,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String usage; - /** - * The Key. - * Value for the key credential. Should be a base 64 encoded value. - */ - @SerializedName("key") - @Expose - public byte[] key; - - /** - * The Display Name. - * Friendly name for the key. Optional. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/LabelDetails.java b/src/main/java/com/microsoft/graph/models/extensions/LabelDetails.java index f440ec5697c..63f161c6fd9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LabelDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LabelDetails.java @@ -36,36 +36,44 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Color. * */ - @SerializedName("id") + @SerializedName("color") @Expose - public String id; + public String color; /** - * The Name. + * The Description. * */ - @SerializedName("name") + @SerializedName("description") @Expose - public String name; + public String description; /** - * The Description. + * The Id. * */ - @SerializedName("description") + @SerializedName("id") @Expose - public String description; + public String id; /** - * The Color. + * The Is Active. * */ - @SerializedName("color") + @SerializedName("isActive") @Expose - public String color; + public Boolean isActive; + + /** + * The Name. + * + */ + @SerializedName("name") + @Expose + public String name; /** * The Sensitivity. @@ -83,14 +91,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String tooltip; - /** - * The Is Active. - * - */ - @SerializedName("isActive") - @Expose - public Boolean isActive; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/LabelingOptions.java b/src/main/java/com/microsoft/graph/models/extensions/LabelingOptions.java index c40b03e4f5f..57ccfa11864 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LabelingOptions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LabelingOptions.java @@ -38,14 +38,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Label Id. - * - */ - @SerializedName("labelId") - @Expose - public java.util.UUID labelId; - /** * The Assignment Method. * @@ -70,6 +62,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List extendedProperties; + /** + * The Label Id. + * + */ + @SerializedName("labelId") + @Expose + public java.util.UUID labelId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/LanguageProficiency.java b/src/main/java/com/microsoft/graph/models/extensions/LanguageProficiency.java index 40e6ab5bc3a..d13924e46e5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LanguageProficiency.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LanguageProficiency.java @@ -36,20 +36,20 @@ public class LanguageProficiency extends ItemFacet implements IJsonBackedObject public String displayName; /** - * The Tag. + * The Proficiency. * */ - @SerializedName("tag") + @SerializedName("proficiency") @Expose - public String tag; + public LanguageProficiencyLevel proficiency; /** - * The Proficiency. + * The Reading. * */ - @SerializedName("proficiency") + @SerializedName("reading") @Expose - public LanguageProficiencyLevel proficiency; + public LanguageProficiencyLevel reading; /** * The Spoken. @@ -60,20 +60,20 @@ public class LanguageProficiency extends ItemFacet implements IJsonBackedObject public LanguageProficiencyLevel spoken; /** - * The Written. + * The Tag. * */ - @SerializedName("written") + @SerializedName("tag") @Expose - public LanguageProficiencyLevel written; + public String tag; /** - * The Reading. + * The Written. * */ - @SerializedName("reading") + @SerializedName("written") @Expose - public LanguageProficiencyLevel reading; + public LanguageProficiencyLevel written; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/LicenseAssignmentState.java b/src/main/java/com/microsoft/graph/models/extensions/LicenseAssignmentState.java index 4dd1696044b..efb40a0a577 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LicenseAssignmentState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LicenseAssignmentState.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Sku Id. + * The Assigned By Group. * */ - @SerializedName("skuId") + @SerializedName("assignedByGroup") @Expose - public java.util.UUID skuId; + public String assignedByGroup; /** * The Disabled Plans. @@ -52,28 +52,28 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List disabledPlans; /** - * The Assigned By Group. + * The Error. * */ - @SerializedName("assignedByGroup") + @SerializedName("error") @Expose - public String assignedByGroup; + public String error; /** - * The State. + * The Sku Id. * */ - @SerializedName("state") + @SerializedName("skuId") @Expose - public String state; + public java.util.UUID skuId; /** - * The Error. + * The State. * */ - @SerializedName("error") + @SerializedName("state") @Expose - public String error; + public String state; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/LicenseInfoDetail.java b/src/main/java/com/microsoft/graph/models/extensions/LicenseInfoDetail.java index 8879b57941d..7a39285ddec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LicenseInfoDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LicenseInfoDetail.java @@ -45,20 +45,20 @@ public final AdditionalDataManager additionalDataManager() { public AzureADLicenseType licenseType; /** - * The Total License Count. + * The Total Assigned Count. * */ - @SerializedName("totalLicenseCount") + @SerializedName("totalAssignedCount") @Expose - public Integer totalLicenseCount; + public Integer totalAssignedCount; /** - * The Total Assigned Count. + * The Total License Count. * */ - @SerializedName("totalAssignedCount") + @SerializedName("totalLicenseCount") @Expose - public Integer totalAssignedCount; + public Integer totalLicenseCount; /** * The Total Usage Count. diff --git a/src/main/java/com/microsoft/graph/models/extensions/LinkedResource.java b/src/main/java/com/microsoft/graph/models/extensions/LinkedResource.java new file mode 100644 index 00000000000..260e3b0c2e5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/extensions/LinkedResource.java @@ -0,0 +1,101 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models.extensions; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.Entity; + + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Linked Resource. + */ +public class LinkedResource extends Entity implements IJsonBackedObject { + + + /** + * The Application Name. + * + */ + @SerializedName("applicationName") + @Expose + public String applicationName; + + /** + * The Display Name. + * + */ + @SerializedName("displayName") + @Expose + public String displayName; + + /** + * The External Id. + * + */ + @SerializedName("externalId") + @Expose + public String externalId; + + /** + * The Web Url. + * + */ + @SerializedName("webUrl") + @Expose + public String webUrl; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/models/extensions/LobbyBypassSettings.java b/src/main/java/com/microsoft/graph/models/extensions/LobbyBypassSettings.java new file mode 100644 index 00000000000..e4ae7a8665b --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/extensions/LobbyBypassSettings.java @@ -0,0 +1,95 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models.extensions; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.generated.LobbyBypassScope; + + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Lobby Bypass Settings. + */ +public class LobbyBypassSettings implements IJsonBackedObject { + + @SerializedName("@odata.type") + @Expose + public String oDataType; + + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); + + @Override + public final AdditionalDataManager additionalDataManager() { + return additionalDataManager; + } + + /** + * The Is Dial In Bypass Enabled. + * + */ + @SerializedName("isDialInBypassEnabled") + @Expose + public Boolean isDialInBypassEnabled; + + /** + * The Scope. + * + */ + @SerializedName("scope") + @Expose + public LobbyBypassScope scope; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + } +} diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java b/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java index cc369e67f20..939968d3a1c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocaleInfo.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Locale. - * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. - */ - @SerializedName("locale") - @Expose - public String locale; - /** * The Display Name. * A name representing the user's locale in natural language, for example, 'English (United States)'. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; + /** + * The Locale. + * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. + */ + @SerializedName("locale") + @Expose + public String locale; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java b/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java index d1c905a569f..18a822d1a76 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocalizedNotificationMessage.java @@ -26,6 +26,14 @@ public class LocalizedNotificationMessage extends Entity implements IJsonBackedObject { + /** + * The Is Default. + * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. + */ + @SerializedName("isDefault") + @Expose + public Boolean isDefault; + /** * The Last Modified Date Time. * DateTime the object was last modified. @@ -42,14 +50,6 @@ public class LocalizedNotificationMessage extends Entity implements IJsonBackedO @Expose public String locale; - /** - * The Subject. - * The Message Template Subject. - */ - @SerializedName("subject") - @Expose - public String subject; - /** * The Message Template. * The Message Template content. @@ -59,12 +59,12 @@ public class LocalizedNotificationMessage extends Entity implements IJsonBackedO public String messageTemplate; /** - * The Is Default. - * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. + * The Subject. + * The Message Template Subject. */ - @SerializedName("isDefault") + @SerializedName("subject") @Expose - public Boolean isDefault; + public String subject; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Location.java b/src/main/java/com/microsoft/graph/models/extensions/Location.java index abdbcced079..c6041877f94 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Location.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Location.java @@ -39,22 +39,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Display Name. - * The name associated with the location. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Location Email Address. - * Optional email address of the location. - */ - @SerializedName("locationEmailAddress") - @Expose - public String locationEmailAddress; - /** * The Address. * The street address of the location. @@ -72,12 +56,20 @@ public final AdditionalDataManager additionalDataManager() { public OutlookGeoCoordinates coordinates; /** - * The Location Uri. - * Optional URI representing the location. + * The Display Name. + * The name associated with the location. */ - @SerializedName("locationUri") + @SerializedName("displayName") @Expose - public String locationUri; + public String displayName; + + /** + * The Location Email Address. + * Optional email address of the location. + */ + @SerializedName("locationEmailAddress") + @Expose + public String locationEmailAddress; /** * The Location Type. @@ -87,6 +79,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public LocationType locationType; + /** + * The Location Uri. + * Optional URI representing the location. + */ + @SerializedName("locationUri") + @Expose + public String locationUri; + /** * The Unique Id. * For internal use only. diff --git a/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java b/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java index a35350b5efe..977e7068e79 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LocationConstraint.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Locations. - * Constraint information for one or more locations that the client requests for the meeting. - */ - @SerializedName("locations") - @Expose - public java.util.List locations; - /** * The Is Required. * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean isRequired; + /** + * The Locations. + * Constraint information for one or more locations that the client requests for the meeting. + */ + @SerializedName("locations") + @Expose + public java.util.List locations; + /** * The Suggest Location. * The client requests the service to suggest one or more meeting locations. diff --git a/src/main/java/com/microsoft/graph/models/extensions/LoggedOnUser.java b/src/main/java/com/microsoft/graph/models/extensions/LoggedOnUser.java index a89fc901a0b..4cd413c20b6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LoggedOnUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LoggedOnUser.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The User Id. - * User id - */ - @SerializedName("userId") - @Expose - public String userId; - /** * The Last Log On Date Time. * Date time when user logs on @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar lastLogOnDateTime; + /** + * The User Id. + * User id + */ + @SerializedName("userId") + @Expose + public String userId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/LongRunningOperation.java b/src/main/java/com/microsoft/graph/models/extensions/LongRunningOperation.java index 778febd01bb..12980a7c0cf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/LongRunningOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/LongRunningOperation.java @@ -43,6 +43,14 @@ public class LongRunningOperation extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastActionDateTime; + /** + * The Resource Location. + * + */ + @SerializedName("resourceLocation") + @Expose + public String resourceLocation; + /** * The Status. * @@ -59,14 +67,6 @@ public class LongRunningOperation extends Entity implements IJsonBackedObject { @Expose public String statusDetail; - /** - * The Resource Location. - * - */ - @SerializedName("resourceLocation") - @Expose - public String resourceLocation; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSAppleEventReceiver.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSAppleEventReceiver.java index dcbbf86080a..9e28cffbb47 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSAppleEventReceiver.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSAppleEventReceiver.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Allowed. + * Allow or block this app from receiving Apple events. + */ + @SerializedName("allowed") + @Expose + public Boolean allowed; + /** * The Code Requirement. * Code requirement for the app or binary that receives the Apple Event. @@ -60,14 +68,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public MacOSProcessIdentifierType identifierType; - /** - * The Allowed. - * Allow or block this app from receiving Apple events. - */ - @SerializedName("allowed") - @Expose - public Boolean allowed; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSAzureAdSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSAzureAdSingleSignOnExtension.java index d4f78b4030a..443b529572c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSAzureAdSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSAzureAdSingleSignOnExtension.java @@ -27,14 +27,6 @@ public class MacOSAzureAdSingleSignOnExtension extends MacOSSingleSignOnExtension implements IJsonBackedObject { - /** - * The Enable Shared Device Mode. - * Enables or disables shared device mode. - */ - @SerializedName("enableSharedDeviceMode") - @Expose - public Boolean enableSharedDeviceMode; - /** * The Bundle Id Access Control List. * An optional list of additional bundle IDs allowed to use the AAD extension for single sign-on. @@ -51,6 +43,14 @@ public class MacOSAzureAdSingleSignOnExtension extends MacOSSingleSignOnExtensio @Expose public java.util.List configurations; + /** + * The Enable Shared Device Mode. + * Enables or disables shared device mode. + */ + @SerializedName("enableSharedDeviceMode") + @Expose + public Boolean enableSharedDeviceMode; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSCertificateProfileBase.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSCertificateProfileBase.java index cc965af6ca1..91f01fb9e77 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSCertificateProfileBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSCertificateProfileBase.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.AppleSubjectNameFormat; -import com.microsoft.graph.models.generated.SubjectAlternativeNameType; import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; +import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.AppleSubjectNameFormat; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -30,44 +30,44 @@ public class MacOSCertificateProfileBase extends DeviceConfiguration implements /** - * The Renewal Threshold Percentage. - * Certificate renewal threshold percentage. + * The Certificate Validity Period Scale. + * Scale for the Certificate Validity Period. */ - @SerializedName("renewalThresholdPercentage") + @SerializedName("certificateValidityPeriodScale") @Expose - public Integer renewalThresholdPercentage; + public CertificateValidityPeriodScale certificateValidityPeriodScale; /** - * The Subject Name Format. - * Certificate Subject Name Format. + * The Certificate Validity Period Value. + * Value for the Certificate Validity Period. */ - @SerializedName("subjectNameFormat") + @SerializedName("certificateValidityPeriodValue") @Expose - public AppleSubjectNameFormat subjectNameFormat; + public Integer certificateValidityPeriodValue; /** - * The Subject Alternative Name Type. - * Certificate Subject Alternative Name Type. + * The Renewal Threshold Percentage. + * Certificate renewal threshold percentage. */ - @SerializedName("subjectAlternativeNameType") + @SerializedName("renewalThresholdPercentage") @Expose - public EnumSet subjectAlternativeNameType; + public Integer renewalThresholdPercentage; /** - * The Certificate Validity Period Value. - * Value for the Certificate Validity Period. + * The Subject Alternative Name Type. + * Certificate Subject Alternative Name Type. */ - @SerializedName("certificateValidityPeriodValue") + @SerializedName("subjectAlternativeNameType") @Expose - public Integer certificateValidityPeriodValue; + public EnumSet subjectAlternativeNameType; /** - * The Certificate Validity Period Scale. - * Scale for the Certificate Validity Period. + * The Subject Name Format. + * Certificate Subject Name Format. */ - @SerializedName("certificateValidityPeriodScale") + @SerializedName("subjectNameFormat") @Expose - public CertificateValidityPeriodScale certificateValidityPeriodScale; + public AppleSubjectNameFormat subjectNameFormat; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java index d3bc9e18caa..3c70a53e4e2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSCompliancePolicy.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.RequiredPasswordType; import com.microsoft.graph.models.generated.DeviceThreatProtectionLevel; import com.microsoft.graph.models.generated.MacOSGatekeeperAppSources; +import com.microsoft.graph.models.generated.RequiredPasswordType; import com.microsoft.graph.models.extensions.DeviceCompliancePolicy; @@ -30,76 +30,60 @@ public class MacOSCompliancePolicy extends DeviceCompliancePolicy implements IJs /** - * The Password Required. - * Whether or not to require a password. - */ - @SerializedName("passwordRequired") - @Expose - public Boolean passwordRequired; - - /** - * The Password Block Simple. - * Indicates whether or not to block simple passwords. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * Number of days before the password expires. Valid values 1 to 65535 + * The Device Threat Protection Enabled. + * Require that devices have enabled device threat protection. */ - @SerializedName("passwordExpirationDays") + @SerializedName("deviceThreatProtectionEnabled") @Expose - public Integer passwordExpirationDays; + public Boolean deviceThreatProtectionEnabled; /** - * The Password Minimum Length. - * Minimum length of password. Valid values 4 to 14 + * The Device Threat Protection Required Security Level. + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. */ - @SerializedName("passwordMinimumLength") + @SerializedName("deviceThreatProtectionRequiredSecurityLevel") @Expose - public Integer passwordMinimumLength; + public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity before a password is required. + * The Firewall Block All Incoming. + * Corresponds to the 'Block all incoming connections' option. */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") + @SerializedName("firewallBlockAllIncoming") @Expose - public Integer passwordMinutesOfInactivityBeforeLock; + public Boolean firewallBlockAllIncoming; /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. Valid values 1 to 24 + * The Firewall Enabled. + * Whether the firewall should be enabled or not. */ - @SerializedName("passwordPreviousPasswordBlockCount") + @SerializedName("firewallEnabled") @Expose - public Integer passwordPreviousPasswordBlockCount; + public Boolean firewallEnabled; /** - * The Password Minimum Character Set Count. - * The number of character sets required in the password. + * The Firewall Enable Stealth Mode. + * Corresponds to 'Enable stealth mode.' */ - @SerializedName("passwordMinimumCharacterSetCount") + @SerializedName("firewallEnableStealthMode") @Expose - public Integer passwordMinimumCharacterSetCount; + public Boolean firewallEnableStealthMode; /** - * The Password Required Type. - * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * The Gatekeeper Allowed App Source. + * System and Privacy setting that determines which download locations apps can be run from on a macOS device. */ - @SerializedName("passwordRequiredType") + @SerializedName("gatekeeperAllowedAppSource") @Expose - public RequiredPasswordType passwordRequiredType; + public MacOSGatekeeperAppSources gatekeeperAllowedAppSource; /** - * The Os Minimum Version. - * Minimum MacOS version. + * The Os Maximum Build Version. + * Maximum MacOS build version. */ - @SerializedName("osMinimumVersion") + @SerializedName("osMaximumBuildVersion") @Expose - public String osMinimumVersion; + public String osMaximumBuildVersion; /** * The Os Maximum Version. @@ -118,76 +102,92 @@ public class MacOSCompliancePolicy extends DeviceCompliancePolicy implements IJs public String osMinimumBuildVersion; /** - * The Os Maximum Build Version. - * Maximum MacOS build version. + * The Os Minimum Version. + * Minimum MacOS version. */ - @SerializedName("osMaximumBuildVersion") + @SerializedName("osMinimumVersion") @Expose - public String osMaximumBuildVersion; + public String osMinimumVersion; /** - * The System Integrity Protection Enabled. - * Require that devices have enabled system integrity protection. + * The Password Block Simple. + * Indicates whether or not to block simple passwords. */ - @SerializedName("systemIntegrityProtectionEnabled") + @SerializedName("passwordBlockSimple") @Expose - public Boolean systemIntegrityProtectionEnabled; + public Boolean passwordBlockSimple; /** - * The Device Threat Protection Enabled. - * Require that devices have enabled device threat protection. + * The Password Expiration Days. + * Number of days before the password expires. Valid values 1 to 65535 */ - @SerializedName("deviceThreatProtectionEnabled") + @SerializedName("passwordExpirationDays") @Expose - public Boolean deviceThreatProtectionEnabled; + public Integer passwordExpirationDays; /** - * The Device Threat Protection Required Security Level. - * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * The Password Minimum Character Set Count. + * The number of character sets required in the password. */ - @SerializedName("deviceThreatProtectionRequiredSecurityLevel") + @SerializedName("passwordMinimumCharacterSetCount") @Expose - public DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel; + public Integer passwordMinimumCharacterSetCount; /** - * The Storage Require Encryption. - * Require encryption on Mac OS devices. + * The Password Minimum Length. + * Minimum length of password. Valid values 4 to 14 */ - @SerializedName("storageRequireEncryption") + @SerializedName("passwordMinimumLength") @Expose - public Boolean storageRequireEncryption; + public Integer passwordMinimumLength; /** - * The Gatekeeper Allowed App Source. - * System and Privacy setting that determines which download locations apps can be run from on a macOS device. + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity before a password is required. */ - @SerializedName("gatekeeperAllowedAppSource") + @SerializedName("passwordMinutesOfInactivityBeforeLock") @Expose - public MacOSGatekeeperAppSources gatekeeperAllowedAppSource; + public Integer passwordMinutesOfInactivityBeforeLock; /** - * The Firewall Enabled. - * Whether the firewall should be enabled or not. + * The Password Previous Password Block Count. + * Number of previous passwords to block. Valid values 1 to 24 */ - @SerializedName("firewallEnabled") + @SerializedName("passwordPreviousPasswordBlockCount") @Expose - public Boolean firewallEnabled; + public Integer passwordPreviousPasswordBlockCount; /** - * The Firewall Block All Incoming. - * Corresponds to the 'Block all incoming connections' option. + * The Password Required. + * Whether or not to require a password. */ - @SerializedName("firewallBlockAllIncoming") + @SerializedName("passwordRequired") @Expose - public Boolean firewallBlockAllIncoming; + public Boolean passwordRequired; /** - * The Firewall Enable Stealth Mode. - * Corresponds to 'Enable stealth mode.' + * The Password Required Type. + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. */ - @SerializedName("firewallEnableStealthMode") + @SerializedName("passwordRequiredType") @Expose - public Boolean firewallEnableStealthMode; + public RequiredPasswordType passwordRequiredType; + + /** + * The Storage Require Encryption. + * Require encryption on Mac OS devices. + */ + @SerializedName("storageRequireEncryption") + @Expose + public Boolean storageRequireEncryption; + + /** + * The System Integrity Protection Enabled. + * Require that devices have enabled system integrity protection. + */ + @SerializedName("systemIntegrityProtectionEnabled") + @Expose + public Boolean systemIntegrityProtectionEnabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSCredentialSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSCredentialSingleSignOnExtension.java index d0cc3dce26f..c1e6fe297d3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSCredentialSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSCredentialSingleSignOnExtension.java @@ -28,20 +28,12 @@ public class MacOSCredentialSingleSignOnExtension extends MacOSSingleSignOnExten /** - * The Extension Identifier. - * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. - */ - @SerializedName("extensionIdentifier") - @Expose - public String extensionIdentifier; - - /** - * The Team Identifier. - * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * The Configurations. + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. */ - @SerializedName("teamIdentifier") + @SerializedName("configurations") @Expose - public String teamIdentifier; + public java.util.List configurations; /** * The Domains. @@ -51,6 +43,14 @@ public class MacOSCredentialSingleSignOnExtension extends MacOSSingleSignOnExten @Expose public java.util.List domains; + /** + * The Extension Identifier. + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + */ + @SerializedName("extensionIdentifier") + @Expose + public String extensionIdentifier; + /** * The Realm. * Gets or sets the case-sensitive realm name for this profile. @@ -60,12 +60,12 @@ public class MacOSCredentialSingleSignOnExtension extends MacOSSingleSignOnExten public String realm; /** - * The Configurations. - * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * The Team Identifier. + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. */ - @SerializedName("configurations") + @SerializedName("teamIdentifier") @Expose - public java.util.List configurations; + public String teamIdentifier; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomAppConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomAppConfiguration.java index 33047a864a2..2427c19722c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomAppConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomAppConfiguration.java @@ -34,14 +34,6 @@ public class MacOSCustomAppConfiguration extends DeviceConfiguration implements @Expose public String bundleId; - /** - * The File Name. - * Configuration file name (*.plist | *.xml). - */ - @SerializedName("fileName") - @Expose - public String fileName; - /** * The Configuration Xml. * Configuration xml. (UTF8 encoded byte array) @@ -50,6 +42,14 @@ public class MacOSCustomAppConfiguration extends DeviceConfiguration implements @Expose public byte[] configurationXml; + /** + * The File Name. + * Configuration file name (*.plist | *.xml). + */ + @SerializedName("fileName") + @Expose + public String fileName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java index 324f9ee58e4..f7f28f948f4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSCustomConfiguration.java @@ -27,12 +27,12 @@ public class MacOSCustomConfiguration extends DeviceConfiguration implements IJs /** - * The Payload Name. - * Name that is displayed to the user. + * The Payload. + * Payload. (UTF8 encoded byte array) */ - @SerializedName("payloadName") + @SerializedName("payload") @Expose - public String payloadName; + public byte[] payload; /** * The Payload File Name. @@ -43,12 +43,12 @@ public class MacOSCustomConfiguration extends DeviceConfiguration implements IJs public String payloadFileName; /** - * The Payload. - * Payload. (UTF8 encoded byte array) + * The Payload Name. + * Name that is displayed to the user. */ - @SerializedName("payload") + @SerializedName("payloadName") @Expose - public byte[] payload; + public String payloadName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java index 986288b5ae4..dd974905ad1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSDeviceFeaturesConfiguration.java @@ -8,15 +8,15 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MacOSLaunchItem; import com.microsoft.graph.models.extensions.KeyValuePair; -import com.microsoft.graph.models.extensions.SingleSignOnExtension; -import com.microsoft.graph.models.extensions.MacOSSingleSignOnExtension; -import com.microsoft.graph.models.generated.MacOSContentCachingType; -import com.microsoft.graph.models.generated.MacOSContentCachingClientPolicy; +import com.microsoft.graph.models.extensions.MacOSLaunchItem; import com.microsoft.graph.models.extensions.IpRange; -import com.microsoft.graph.models.generated.MacOSContentCachingPeerPolicy; +import com.microsoft.graph.models.generated.MacOSContentCachingClientPolicy; import com.microsoft.graph.models.generated.MacOSContentCachingParentSelectionPolicy; +import com.microsoft.graph.models.generated.MacOSContentCachingPeerPolicy; +import com.microsoft.graph.models.generated.MacOSContentCachingType; +import com.microsoft.graph.models.extensions.MacOSSingleSignOnExtension; +import com.microsoft.graph.models.extensions.SingleSignOnExtension; import com.microsoft.graph.models.extensions.MacOSCertificateProfileBase; import com.microsoft.graph.models.extensions.AppleDeviceFeaturesConfigurationBase; @@ -36,14 +36,6 @@ public class MacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigurationBase implements IJsonBackedObject { - /** - * The Auto Launch Items. - * List of applications, files, folders, and other items to launch when the user logs in. This collection can contain a maximum of 500 elements. - */ - @SerializedName("autoLaunchItems") - @Expose - public java.util.List autoLaunchItems; - /** * The Admin Show Host Info. * Whether to show admin host information on the login window. @@ -53,12 +45,12 @@ public class MacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigu public Boolean adminShowHostInfo; /** - * The Login Window Text. - * Custom text to be displayed on the login window. + * The Associated Domains. + * Gets or sets a list that maps apps to their associated domains. The key should match the app's ID, and the value should be a string in the form of "service:domain" where domain is a fully qualified hostname (e.g. webcredentials:example.com). This collection can contain a maximum of 500 elements. */ - @SerializedName("loginWindowText") + @SerializedName("associatedDomains") @Expose - public String loginWindowText; + public java.util.List associatedDomains; /** * The Authorized Users List Hidden. @@ -68,6 +60,14 @@ public class MacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigu @Expose public Boolean authorizedUsersListHidden; + /** + * The Authorized Users List Hide Admin Users. + * Whether to hide admin users in the authorized users list on the login window. + */ + @SerializedName("authorizedUsersListHideAdminUsers") + @Expose + public Boolean authorizedUsersListHideAdminUsers; + /** * The Authorized Users List Hide Local Users. * Whether to show only network and system users in the authorized users list on the login window. @@ -92,14 +92,6 @@ public class MacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigu @Expose public Boolean authorizedUsersListIncludeNetworkUsers; - /** - * The Authorized Users List Hide Admin Users. - * Whether to hide admin users in the authorized users list on the login window. - */ - @SerializedName("authorizedUsersListHideAdminUsers") - @Expose - public Boolean authorizedUsersListHideAdminUsers; - /** * The Authorized Users List Show Other Managed Users. * Whether to show other users in the authorized users list on the login window. @@ -109,252 +101,260 @@ public class MacOSDeviceFeaturesConfiguration extends AppleDeviceFeaturesConfigu public Boolean authorizedUsersListShowOtherManagedUsers; /** - * The Shut Down Disabled. - * Whether to hide the Shut Down button item on the login window. + * The Auto Launch Items. + * List of applications, files, folders, and other items to launch when the user logs in. This collection can contain a maximum of 500 elements. */ - @SerializedName("shutDownDisabled") + @SerializedName("autoLaunchItems") @Expose - public Boolean shutDownDisabled; + public java.util.List autoLaunchItems; /** - * The Restart Disabled. - * Whether to hide the Restart button item on the login window. + * The Console Access Disabled. + * Whether the Other user will disregard use of the `&gt;console&gt; special user name. */ - @SerializedName("restartDisabled") + @SerializedName("consoleAccessDisabled") @Expose - public Boolean restartDisabled; + public Boolean consoleAccessDisabled; /** - * The Sleep Disabled. - * Whether to hide the Sleep menu item on the login window. + * The Content Caching Block Deletion. + * Prevents content caches from purging content to free up disk space for other apps. */ - @SerializedName("sleepDisabled") + @SerializedName("contentCachingBlockDeletion") @Expose - public Boolean sleepDisabled; + public Boolean contentCachingBlockDeletion; /** - * The Console Access Disabled. - * Whether the Other user will disregard use of the `&gt;console&gt; special user name. + * The Content Caching Client Listen Ranges. + * A list of custom IP ranges content caches will use to listen for clients. This collection can contain a maximum of 500 elements. */ - @SerializedName("consoleAccessDisabled") + @SerializedName("contentCachingClientListenRanges") @Expose - public Boolean consoleAccessDisabled; + public java.util.List contentCachingClientListenRanges; /** - * The Shut Down Disabled While Logged In. - * Whether the Shut Down menu item on the login window will be disabled while the user is logged in. + * The Content Caching Client Policy. + * Determines the method in which content caching servers will listen for clients. */ - @SerializedName("shutDownDisabledWhileLoggedIn") + @SerializedName("contentCachingClientPolicy") @Expose - public Boolean shutDownDisabledWhileLoggedIn; + public MacOSContentCachingClientPolicy contentCachingClientPolicy; /** - * The Restart Disabled While Logged In. - * Whether the Restart menu item on the login window will be disabled while the user is logged in. + * The Content Caching Data Path. + * The path to the directory used to store cached content. The value must be (or end with) /Library/Application Support/Apple/AssetCache/Data */ - @SerializedName("restartDisabledWhileLoggedIn") + @SerializedName("contentCachingDataPath") @Expose - public Boolean restartDisabledWhileLoggedIn; + public String contentCachingDataPath; /** - * The Power Off Disabled While Logged In. - * Whether the Power Off menu item on the login window will be disabled while the user is logged in. + * The Content Caching Disable Connection Sharing. + * Disables internet connection sharing. */ - @SerializedName("powerOffDisabledWhileLoggedIn") + @SerializedName("contentCachingDisableConnectionSharing") @Expose - public Boolean powerOffDisabledWhileLoggedIn; + public Boolean contentCachingDisableConnectionSharing; /** - * The Log Out Disabled While Logged In. - * Whether the Log Out menu item on the login window will be disabled while the user is logged in. + * The Content Caching Enabled. + * Enables content caching and prevents it from being disabled by the user. */ - @SerializedName("logOutDisabledWhileLoggedIn") + @SerializedName("contentCachingEnabled") @Expose - public Boolean logOutDisabledWhileLoggedIn; + public Boolean contentCachingEnabled; /** - * The Screen Lock Disable Immediate. - * Whether to disable the immediate screen lock functions. + * The Content Caching Force Connection Sharing. + * Forces internet connection sharing. contentCachingDisableConnectionSharing overrides this setting. */ - @SerializedName("screenLockDisableImmediate") + @SerializedName("contentCachingForceConnectionSharing") @Expose - public Boolean screenLockDisableImmediate; + public Boolean contentCachingForceConnectionSharing; /** - * The Associated Domains. - * Gets or sets a list that maps apps to their associated domains. The key should match the app's ID, and the value should be a string in the form of "service:domain" where domain is a fully qualified hostname (e.g. webcredentials:example.com). This collection can contain a maximum of 500 elements. + * The Content Caching Keep Awake. + * Prevent the device from sleeping if content caching is enabled. */ - @SerializedName("associatedDomains") + @SerializedName("contentCachingKeepAwake") @Expose - public java.util.List associatedDomains; + public Boolean contentCachingKeepAwake; /** - * The Single Sign On Extension. - * Gets or sets a single sign-on extension profile. Deprecated: use MacOSSingleSignOnExtension instead. + * The Content Caching Log Client Identities. + * Enables logging of IP addresses and ports of clients that request cached content. */ - @SerializedName("singleSignOnExtension") + @SerializedName("contentCachingLogClientIdentities") @Expose - public SingleSignOnExtension singleSignOnExtension; + public Boolean contentCachingLogClientIdentities; /** - * The Mac OSSingle Sign On Extension. - * Gets or sets a single sign-on extension profile. + * The Content Caching Max Size Bytes. + * The maximum number of bytes of disk space that will be used for the content cache. A value of 0 (default) indicates unlimited disk space. */ - @SerializedName("macOSSingleSignOnExtension") + @SerializedName("contentCachingMaxSizeBytes") @Expose - public MacOSSingleSignOnExtension macOSSingleSignOnExtension; + public Integer contentCachingMaxSizeBytes; /** - * The Content Caching Enabled. - * Enables content caching and prevents it from being disabled by the user. + * The Content Caching Parents. + * A list of IP addresses representing parent content caches. */ - @SerializedName("contentCachingEnabled") + @SerializedName("contentCachingParents") @Expose - public Boolean contentCachingEnabled; + public java.util.List contentCachingParents; /** - * The Content Caching Type. - * Determines what type of content is allowed to be cached by Apple's content caching service. + * The Content Caching Parent Selection Policy. + * Determines the method in which content caching servers will select parents if multiple are present. */ - @SerializedName("contentCachingType") + @SerializedName("contentCachingParentSelectionPolicy") @Expose - public MacOSContentCachingType contentCachingType; + public MacOSContentCachingParentSelectionPolicy contentCachingParentSelectionPolicy; /** - * The Content Caching Max Size Bytes. - * The maximum number of bytes of disk space that will be used for the content cache. A value of 0 (default) indicates unlimited disk space. + * The Content Caching Peer Filter Ranges. + * A list of custom IP ranges content caches will use to query for content from peers caches. This collection can contain a maximum of 500 elements. */ - @SerializedName("contentCachingMaxSizeBytes") + @SerializedName("contentCachingPeerFilterRanges") @Expose - public Integer contentCachingMaxSizeBytes; + public java.util.List contentCachingPeerFilterRanges; /** - * The Content Caching Data Path. - * The path to the directory used to store cached content. The value must be (or end with) /Library/Application Support/Apple/AssetCache/Data + * The Content Caching Peer Listen Ranges. + * A list of custom IP ranges content caches will use to listen for peer caches. This collection can contain a maximum of 500 elements. */ - @SerializedName("contentCachingDataPath") + @SerializedName("contentCachingPeerListenRanges") @Expose - public String contentCachingDataPath; + public java.util.List contentCachingPeerListenRanges; /** - * The Content Caching Disable Connection Sharing. - * Disables internet connection sharing. + * The Content Caching Peer Policy. + * Determines the method in which content caches peer with other caches. */ - @SerializedName("contentCachingDisableConnectionSharing") + @SerializedName("contentCachingPeerPolicy") @Expose - public Boolean contentCachingDisableConnectionSharing; + public MacOSContentCachingPeerPolicy contentCachingPeerPolicy; /** - * The Content Caching Force Connection Sharing. - * Forces internet connection sharing. contentCachingDisableConnectionSharing overrides this setting. + * The Content Caching Port. + * Sets the port used for content caching. If the value is 0, a random available port will be selected. Valid values 0 to 65535 */ - @SerializedName("contentCachingForceConnectionSharing") + @SerializedName("contentCachingPort") @Expose - public Boolean contentCachingForceConnectionSharing; + public Integer contentCachingPort; /** - * The Content Caching Client Policy. - * Determines the method in which content caching servers will listen for clients. + * The Content Caching Public Ranges. + * A list of custom IP ranges that Apple's content caching service should use to match clients to content caches. This collection can contain a maximum of 500 elements. */ - @SerializedName("contentCachingClientPolicy") + @SerializedName("contentCachingPublicRanges") @Expose - public MacOSContentCachingClientPolicy contentCachingClientPolicy; + public java.util.List contentCachingPublicRanges; /** - * The Content Caching Client Listen Ranges. - * A list of custom IP ranges content caches will use to listen for clients. This collection can contain a maximum of 500 elements. + * The Content Caching Show Alerts. + * Display content caching alerts as system notifications. */ - @SerializedName("contentCachingClientListenRanges") + @SerializedName("contentCachingShowAlerts") @Expose - public java.util.List contentCachingClientListenRanges; + public Boolean contentCachingShowAlerts; /** - * The Content Caching Peer Policy. - * Determines the method in which content caches peer with other caches. + * The Content Caching Type. + * Determines what type of content is allowed to be cached by Apple's content caching service. */ - @SerializedName("contentCachingPeerPolicy") + @SerializedName("contentCachingType") @Expose - public MacOSContentCachingPeerPolicy contentCachingPeerPolicy; + public MacOSContentCachingType contentCachingType; /** - * The Content Caching Peer Listen Ranges. - * A list of custom IP ranges content caches will use to listen for peer caches. This collection can contain a maximum of 500 elements. + * The Login Window Text. + * Custom text to be displayed on the login window. */ - @SerializedName("contentCachingPeerListenRanges") + @SerializedName("loginWindowText") @Expose - public java.util.List contentCachingPeerListenRanges; + public String loginWindowText; /** - * The Content Caching Peer Filter Ranges. - * A list of custom IP ranges content caches will use to query for content from peers caches. This collection can contain a maximum of 500 elements. + * The Log Out Disabled While Logged In. + * Whether the Log Out menu item on the login window will be disabled while the user is logged in. */ - @SerializedName("contentCachingPeerFilterRanges") + @SerializedName("logOutDisabledWhileLoggedIn") @Expose - public java.util.List contentCachingPeerFilterRanges; + public Boolean logOutDisabledWhileLoggedIn; /** - * The Content Caching Parent Selection Policy. - * Determines the method in which content caching servers will select parents if multiple are present. + * The Mac OSSingle Sign On Extension. + * Gets or sets a single sign-on extension profile. */ - @SerializedName("contentCachingParentSelectionPolicy") + @SerializedName("macOSSingleSignOnExtension") @Expose - public MacOSContentCachingParentSelectionPolicy contentCachingParentSelectionPolicy; + public MacOSSingleSignOnExtension macOSSingleSignOnExtension; /** - * The Content Caching Parents. - * A list of IP addresses representing parent content caches. + * The Power Off Disabled While Logged In. + * Whether the Power Off menu item on the login window will be disabled while the user is logged in. */ - @SerializedName("contentCachingParents") + @SerializedName("powerOffDisabledWhileLoggedIn") @Expose - public java.util.List contentCachingParents; + public Boolean powerOffDisabledWhileLoggedIn; /** - * The Content Caching Log Client Identities. - * Enables logging of IP addresses and ports of clients that request cached content. + * The Restart Disabled. + * Whether to hide the Restart button item on the login window. */ - @SerializedName("contentCachingLogClientIdentities") + @SerializedName("restartDisabled") @Expose - public Boolean contentCachingLogClientIdentities; + public Boolean restartDisabled; /** - * The Content Caching Public Ranges. - * A list of custom IP ranges that Apple's content caching service should use to match clients to content caches. This collection can contain a maximum of 500 elements. + * The Restart Disabled While Logged In. + * Whether the Restart menu item on the login window will be disabled while the user is logged in. */ - @SerializedName("contentCachingPublicRanges") + @SerializedName("restartDisabledWhileLoggedIn") @Expose - public java.util.List contentCachingPublicRanges; + public Boolean restartDisabledWhileLoggedIn; /** - * The Content Caching Block Deletion. - * Prevents content caches from purging content to free up disk space for other apps. + * The Screen Lock Disable Immediate. + * Whether to disable the immediate screen lock functions. */ - @SerializedName("contentCachingBlockDeletion") + @SerializedName("screenLockDisableImmediate") @Expose - public Boolean contentCachingBlockDeletion; + public Boolean screenLockDisableImmediate; /** - * The Content Caching Show Alerts. - * Display content caching alerts as system notifications. + * The Shut Down Disabled. + * Whether to hide the Shut Down button item on the login window. */ - @SerializedName("contentCachingShowAlerts") + @SerializedName("shutDownDisabled") @Expose - public Boolean contentCachingShowAlerts; + public Boolean shutDownDisabled; /** - * The Content Caching Keep Awake. - * Prevent the device from sleeping if content caching is enabled. + * The Shut Down Disabled While Logged In. + * Whether the Shut Down menu item on the login window will be disabled while the user is logged in. */ - @SerializedName("contentCachingKeepAwake") + @SerializedName("shutDownDisabledWhileLoggedIn") @Expose - public Boolean contentCachingKeepAwake; + public Boolean shutDownDisabledWhileLoggedIn; /** - * The Content Caching Port. - * Sets the port used for content caching. If the value is 0, a random available port will be selected. Valid values 0 to 65535 + * The Single Sign On Extension. + * Gets or sets a single sign-on extension profile. Deprecated: use MacOSSingleSignOnExtension instead. */ - @SerializedName("contentCachingPort") + @SerializedName("singleSignOnExtension") @Expose - public Integer contentCachingPort; + public SingleSignOnExtension singleSignOnExtension; + + /** + * The Sleep Disabled. + * Whether to hide the Sleep menu item on the login window. + */ + @SerializedName("sleepDisabled") + @Expose + public Boolean sleepDisabled; /** * The Single Sign On Extension Pkinit Certificate. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSEndpointProtectionConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSEndpointProtectionConfiguration.java index 0f409363803..fc497e7dc08 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSEndpointProtectionConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSEndpointProtectionConfiguration.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.MacOSGatekeeperAppSources; -import com.microsoft.graph.models.extensions.MacOSFirewallApplication; -import com.microsoft.graph.models.generated.MacOSFileVaultRecoveryKeyTypes; import com.microsoft.graph.models.generated.Enablement; +import com.microsoft.graph.models.generated.MacOSFileVaultRecoveryKeyTypes; +import com.microsoft.graph.models.extensions.MacOSFirewallApplication; +import com.microsoft.graph.models.generated.MacOSGatekeeperAppSources; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -31,52 +31,84 @@ public class MacOSEndpointProtectionConfiguration extends DeviceConfiguration im /** - * The Gatekeeper Allowed App Source. - * System and Privacy setting that determines which download locations apps can be run from on a macOS device. + * The Advanced Threat Protection Automatic Sample Submission. + * Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS. */ - @SerializedName("gatekeeperAllowedAppSource") + @SerializedName("advancedThreatProtectionAutomaticSampleSubmission") @Expose - public MacOSGatekeeperAppSources gatekeeperAllowedAppSource; + public Enablement advancedThreatProtectionAutomaticSampleSubmission; /** - * The Gatekeeper Block Override. - * If set to true, the user override for Gatekeeper will be disabled. + * The Advanced Threat Protection Cloud Delivered. + * Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS. */ - @SerializedName("gatekeeperBlockOverride") + @SerializedName("advancedThreatProtectionCloudDelivered") @Expose - public Boolean gatekeeperBlockOverride; + public Enablement advancedThreatProtectionCloudDelivered; /** - * The Firewall Enabled. - * Whether the firewall should be enabled or not. + * The Advanced Threat Protection Diagnostic Data Collection. + * Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS. */ - @SerializedName("firewallEnabled") + @SerializedName("advancedThreatProtectionDiagnosticDataCollection") @Expose - public Boolean firewallEnabled; + public Enablement advancedThreatProtectionDiagnosticDataCollection; /** - * The Firewall Block All Incoming. - * Corresponds to the ???Block all incoming connections??? option. + * The Advanced Threat Protection Excluded Extensions. + * A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. */ - @SerializedName("firewallBlockAllIncoming") + @SerializedName("advancedThreatProtectionExcludedExtensions") @Expose - public Boolean firewallBlockAllIncoming; + public java.util.List advancedThreatProtectionExcludedExtensions; /** - * The Firewall Enable Stealth Mode. - * Corresponds to ???Enable stealth mode.??? + * The Advanced Threat Protection Excluded Files. + * A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. */ - @SerializedName("firewallEnableStealthMode") + @SerializedName("advancedThreatProtectionExcludedFiles") @Expose - public Boolean firewallEnableStealthMode; + public java.util.List advancedThreatProtectionExcludedFiles; /** - * The Firewall Applications. - * List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements. + * The Advanced Threat Protection Excluded Folders. + * A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. */ - @SerializedName("firewallApplications") + @SerializedName("advancedThreatProtectionExcludedFolders") @Expose - public java.util.List firewallApplications; + public java.util.List advancedThreatProtectionExcludedFolders; + + /** + * The Advanced Threat Protection Excluded Processes. + * A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + */ + @SerializedName("advancedThreatProtectionExcludedProcesses") + @Expose + public java.util.List advancedThreatProtectionExcludedProcesses; + + /** + * The Advanced Threat Protection Real Time. + * Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS. + */ + @SerializedName("advancedThreatProtectionRealTime") + @Expose + public Enablement advancedThreatProtectionRealTime; + + /** + * The File Vault Allow Deferral Until Sign Out. + * Optional. If set to true, the user can defer the enabling of FileVault until they sign out. + */ + @SerializedName("fileVaultAllowDeferralUntilSignOut") + @Expose + public Boolean fileVaultAllowDeferralUntilSignOut; + + /** + * The File Vault Disable Prompt At Sign Out. + * Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out. + */ + @SerializedName("fileVaultDisablePromptAtSignOut") + @Expose + public Boolean fileVaultDisablePromptAtSignOut; /** * The File Vault Enabled. @@ -87,12 +119,12 @@ public class MacOSEndpointProtectionConfiguration extends DeviceConfiguration im public Boolean fileVaultEnabled; /** - * The File Vault Selected Recovery Key Types. - * Required if FileVault is enabled, determines the type(s) of recovery key to use. + * The File Vault Hide Personal Recovery Key. + * Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands. */ - @SerializedName("fileVaultSelectedRecoveryKeyTypes") + @SerializedName("fileVaultHidePersonalRecoveryKey") @Expose - public EnumSet fileVaultSelectedRecoveryKeyTypes; + public Boolean fileVaultHidePersonalRecoveryKey; /** * The File Vault Institutional Recovery Key Certificate. @@ -110,22 +142,6 @@ public class MacOSEndpointProtectionConfiguration extends DeviceConfiguration im @Expose public String fileVaultInstitutionalRecoveryKeyCertificateFileName; - /** - * The File Vault Personal Recovery Key Help Message. - * Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key. - */ - @SerializedName("fileVaultPersonalRecoveryKeyHelpMessage") - @Expose - public String fileVaultPersonalRecoveryKeyHelpMessage; - - /** - * The File Vault Allow Deferral Until Sign Out. - * Optional. If set to true, the user can defer the enabling of FileVault until they sign out. - */ - @SerializedName("fileVaultAllowDeferralUntilSignOut") - @Expose - public Boolean fileVaultAllowDeferralUntilSignOut; - /** * The File Vault Number Of Times User Can Ignore. * Optional. When using the Defer option, this is the maximum number of times the user can ignore prompts to enable FileVault before FileVault will be required for the user to sign in. If set to -1, it will always prompt to enable FileVault until FileVault is enabled, though it will allow the user to bypass enabling FileVault. Setting this to 0 will disable the feature. @@ -135,12 +151,12 @@ public class MacOSEndpointProtectionConfiguration extends DeviceConfiguration im public Integer fileVaultNumberOfTimesUserCanIgnore; /** - * The File Vault Disable Prompt At Sign Out. - * Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out. + * The File Vault Personal Recovery Key Help Message. + * Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key. */ - @SerializedName("fileVaultDisablePromptAtSignOut") + @SerializedName("fileVaultPersonalRecoveryKeyHelpMessage") @Expose - public Boolean fileVaultDisablePromptAtSignOut; + public String fileVaultPersonalRecoveryKeyHelpMessage; /** * The File Vault Personal Recovery Key Rotation In Months. @@ -151,76 +167,60 @@ public class MacOSEndpointProtectionConfiguration extends DeviceConfiguration im public Integer fileVaultPersonalRecoveryKeyRotationInMonths; /** - * The File Vault Hide Personal Recovery Key. - * Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands. - */ - @SerializedName("fileVaultHidePersonalRecoveryKey") - @Expose - public Boolean fileVaultHidePersonalRecoveryKey; - - /** - * The Advanced Threat Protection Real Time. - * Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS. - */ - @SerializedName("advancedThreatProtectionRealTime") - @Expose - public Enablement advancedThreatProtectionRealTime; - - /** - * The Advanced Threat Protection Cloud Delivered. - * Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS. + * The File Vault Selected Recovery Key Types. + * Required if FileVault is enabled, determines the type(s) of recovery key to use. */ - @SerializedName("advancedThreatProtectionCloudDelivered") + @SerializedName("fileVaultSelectedRecoveryKeyTypes") @Expose - public Enablement advancedThreatProtectionCloudDelivered; + public EnumSet fileVaultSelectedRecoveryKeyTypes; /** - * The Advanced Threat Protection Automatic Sample Submission. - * Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS. + * The Firewall Applications. + * List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements. */ - @SerializedName("advancedThreatProtectionAutomaticSampleSubmission") + @SerializedName("firewallApplications") @Expose - public Enablement advancedThreatProtectionAutomaticSampleSubmission; + public java.util.List firewallApplications; /** - * The Advanced Threat Protection Diagnostic Data Collection. - * Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS. + * The Firewall Block All Incoming. + * Corresponds to the ???Block all incoming connections??? option. */ - @SerializedName("advancedThreatProtectionDiagnosticDataCollection") + @SerializedName("firewallBlockAllIncoming") @Expose - public Enablement advancedThreatProtectionDiagnosticDataCollection; + public Boolean firewallBlockAllIncoming; /** - * The Advanced Threat Protection Excluded Folders. - * A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * The Firewall Enabled. + * Whether the firewall should be enabled or not. */ - @SerializedName("advancedThreatProtectionExcludedFolders") + @SerializedName("firewallEnabled") @Expose - public java.util.List advancedThreatProtectionExcludedFolders; + public Boolean firewallEnabled; /** - * The Advanced Threat Protection Excluded Files. - * A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * The Firewall Enable Stealth Mode. + * Corresponds to ???Enable stealth mode.??? */ - @SerializedName("advancedThreatProtectionExcludedFiles") + @SerializedName("firewallEnableStealthMode") @Expose - public java.util.List advancedThreatProtectionExcludedFiles; + public Boolean firewallEnableStealthMode; /** - * The Advanced Threat Protection Excluded Extensions. - * A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * The Gatekeeper Allowed App Source. + * System and Privacy setting that determines which download locations apps can be run from on a macOS device. */ - @SerializedName("advancedThreatProtectionExcludedExtensions") + @SerializedName("gatekeeperAllowedAppSource") @Expose - public java.util.List advancedThreatProtectionExcludedExtensions; + public MacOSGatekeeperAppSources gatekeeperAllowedAppSource; /** - * The Advanced Threat Protection Excluded Processes. - * A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * The Gatekeeper Block Override. + * If set to true, the user override for Gatekeeper will be disabled. */ - @SerializedName("advancedThreatProtectionExcludedProcesses") + @SerializedName("gatekeeperBlockOverride") @Expose - public java.util.List advancedThreatProtectionExcludedProcesses; + public Boolean gatekeeperBlockOverride; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSEnterpriseWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSEnterpriseWiFiConfiguration.java index 5103907ee09..ef2d9e41f26 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSEnterpriseWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSEnterpriseWiFiConfiguration.java @@ -8,12 +8,12 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.EapType; -import com.microsoft.graph.models.generated.EapFastConfiguration; import com.microsoft.graph.models.generated.WiFiAuthenticationMethod; +import com.microsoft.graph.models.generated.EapFastConfiguration; +import com.microsoft.graph.models.generated.EapType; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForEapTtlsType; -import com.microsoft.graph.models.extensions.MacOSTrustedRootCertificate; import com.microsoft.graph.models.extensions.MacOSCertificateProfileBase; +import com.microsoft.graph.models.extensions.MacOSTrustedRootCertificate; import com.microsoft.graph.models.extensions.MacOSWiFiConfiguration; import com.microsoft.graph.requests.extensions.MacOSTrustedRootCertificateCollectionResponse; import com.microsoft.graph.requests.extensions.MacOSTrustedRootCertificateCollectionPage; @@ -35,12 +35,12 @@ public class MacOSEnterpriseWiFiConfiguration extends MacOSWiFiConfiguration imp /** - * The Eap Type. - * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). + * The Authentication Method. + * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. */ - @SerializedName("eapType") + @SerializedName("authenticationMethod") @Expose - public EapType eapType; + public WiFiAuthenticationMethod authenticationMethod; /** * The Eap Fast Configuration. @@ -51,20 +51,12 @@ public class MacOSEnterpriseWiFiConfiguration extends MacOSWiFiConfiguration imp public EapFastConfiguration eapFastConfiguration; /** - * The Trusted Server Certificate Names. - * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this Wi-Fi network. - */ - @SerializedName("trustedServerCertificateNames") - @Expose - public java.util.List trustedServerCertificateNames; - - /** - * The Authentication Method. - * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. + * The Eap Type. + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). */ - @SerializedName("authenticationMethod") + @SerializedName("eapType") @Expose - public WiFiAuthenticationMethod authenticationMethod; + public EapType eapType; /** * The Inner Authentication Protocol For Eap Ttls. @@ -82,6 +74,22 @@ public class MacOSEnterpriseWiFiConfiguration extends MacOSWiFiConfiguration imp @Expose public String outerIdentityPrivacyTemporaryValue; + /** + * The Trusted Server Certificate Names. + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this Wi-Fi network. + */ + @SerializedName("trustedServerCertificateNames") + @Expose + public java.util.List trustedServerCertificateNames; + + /** + * The Identity Certificate For Client Authentication. + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + */ + @SerializedName("identityCertificateForClientAuthentication") + @Expose + public MacOSCertificateProfileBase identityCertificateForClientAuthentication; + /** * The Root Certificate For Server Validation. * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. @@ -96,14 +104,6 @@ public class MacOSEnterpriseWiFiConfiguration extends MacOSWiFiConfiguration imp */ public MacOSTrustedRootCertificateCollectionPage rootCertificatesForServerValidation; - /** - * The Identity Certificate For Client Authentication. - * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). - */ - @SerializedName("identityCertificateForClientAuthentication") - @Expose - public MacOSCertificateProfileBase identityCertificateForClientAuthentication; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSExtensionsConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSExtensionsConfiguration.java index 04c9d7aad8f..4293ce354b9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSExtensionsConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSExtensionsConfiguration.java @@ -29,14 +29,6 @@ public class MacOSExtensionsConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Kernel Extension Overrides Allowed. - * If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles. - */ - @SerializedName("kernelExtensionOverridesAllowed") - @Expose - public Boolean kernelExtensionOverridesAllowed; - /** * The Kernel Extension Allowed Team Identifiers. * All kernel extensions validly signed by the team identifiers in this list will be allowed to load. @@ -45,6 +37,14 @@ public class MacOSExtensionsConfiguration extends DeviceConfiguration implements @Expose public java.util.List kernelExtensionAllowedTeamIdentifiers; + /** + * The Kernel Extension Overrides Allowed. + * If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles. + */ + @SerializedName("kernelExtensionOverridesAllowed") + @Expose + public Boolean kernelExtensionOverridesAllowed; + /** * The Kernel Extensions Allowed. * A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements. @@ -54,12 +54,12 @@ public class MacOSExtensionsConfiguration extends DeviceConfiguration implements public java.util.List kernelExtensionsAllowed; /** - * The System Extensions Block Override. - * Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles. + * The System Extensions Allowed. + * Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements. */ - @SerializedName("systemExtensionsBlockOverride") + @SerializedName("systemExtensionsAllowed") @Expose - public Boolean systemExtensionsBlockOverride; + public java.util.List systemExtensionsAllowed; /** * The System Extensions Allowed Team Identifiers. @@ -69,14 +69,6 @@ public class MacOSExtensionsConfiguration extends DeviceConfiguration implements @Expose public java.util.List systemExtensionsAllowedTeamIdentifiers; - /** - * The System Extensions Allowed. - * Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements. - */ - @SerializedName("systemExtensionsAllowed") - @Expose - public java.util.List systemExtensionsAllowed; - /** * The System Extensions Allowed Types. * Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements. @@ -85,6 +77,14 @@ public class MacOSExtensionsConfiguration extends DeviceConfiguration implements @Expose public java.util.List systemExtensionsAllowedTypes; + /** + * The System Extensions Block Override. + * Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles. + */ + @SerializedName("systemExtensionsBlockOverride") + @Expose + public Boolean systemExtensionsBlockOverride; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSFirewallApplication.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSFirewallApplication.java index 56e48e222f0..f87506d9aa2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSFirewallApplication.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSFirewallApplication.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Bundle Id. - * BundleId of the application. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - /** * The Allows Incoming Connections. * Whether or not incoming connections are allowed. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean allowsIncomingConnections; + /** + * The Bundle Id. + * BundleId of the application. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java index 3e5c05b3998..e847f8eec7f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSGeneralDeviceConfiguration.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.AppListItem; import com.microsoft.graph.models.generated.AppListType; +import com.microsoft.graph.models.extensions.AppListItem; import com.microsoft.graph.models.generated.RequiredPasswordType; import com.microsoft.graph.models.extensions.MacOSPrivacyAccessControlItem; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -31,196 +31,164 @@ public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration impleme /** - * The Compliant Apps List. - * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. - */ - @SerializedName("compliantAppsList") - @Expose - public java.util.List compliantAppsList; - - /** - * The Compliant App List Type. - * List that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. - */ - @SerializedName("compliantAppListType") - @Expose - public AppListType compliantAppListType; - - /** - * The Email In Domain Suffixes. - * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. - */ - @SerializedName("emailInDomainSuffixes") - @Expose - public java.util.List emailInDomainSuffixes; - - /** - * The Password Block Simple. - * Block simple passwords. - */ - @SerializedName("passwordBlockSimple") - @Expose - public Boolean passwordBlockSimple; - - /** - * The Password Expiration Days. - * Number of days before the password expires. + * The Air Drop Blocked. + * Indicates whether or not to allow AirDrop. */ - @SerializedName("passwordExpirationDays") + @SerializedName("airDropBlocked") @Expose - public Integer passwordExpirationDays; + public Boolean airDropBlocked; /** - * The Password Minimum Character Set Count. - * Number of character sets a password must contain. Valid values 0 to 4 + * The Air Print Blocked. + * Indicates whether or not AirPrint is blocked (macOS 10.12 and later). */ - @SerializedName("passwordMinimumCharacterSetCount") + @SerializedName("airPrintBlocked") @Expose - public Integer passwordMinimumCharacterSetCount; + public Boolean airPrintBlocked; /** - * The Password Minimum Length. - * Minimum length of passwords. + * The Air Print Blocki Beacon Discovery. + * Indicates whether or not iBeacon discovery of AirPrint printers is blocked. This prevents spurious AirPrint Bluetooth beacons from phishing for network traffic (macOS 10.3 and later). */ - @SerializedName("passwordMinimumLength") + @SerializedName("airPrintBlockiBeaconDiscovery") @Expose - public Integer passwordMinimumLength; + public Boolean airPrintBlockiBeaconDiscovery; /** - * The Password Minutes Of Inactivity Before Lock. - * Minutes of inactivity required before a password is required. + * The Air Print Force Trusted TLS. + * Indicates if trusted certificates are required for TLS printing communication (macOS 10.13 and later). */ - @SerializedName("passwordMinutesOfInactivityBeforeLock") + @SerializedName("airPrintForceTrustedTLS") @Expose - public Integer passwordMinutesOfInactivityBeforeLock; + public Boolean airPrintForceTrustedTLS; /** - * The Password Minutes Of Inactivity Before Screen Timeout. - * Minutes of inactivity required before the screen times out. + * The Apple Watch Block Auto Unlock. + * Indicates whether or to block users from unlocking their Mac with Apple Watch. */ - @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") + @SerializedName("appleWatchBlockAutoUnlock") @Expose - public Integer passwordMinutesOfInactivityBeforeScreenTimeout; + public Boolean appleWatchBlockAutoUnlock; /** - * The Password Previous Password Block Count. - * Number of previous passwords to block. + * The Camera Blocked. + * Indicates whether or not to block the user from accessing the camera of the device. */ - @SerializedName("passwordPreviousPasswordBlockCount") + @SerializedName("cameraBlocked") @Expose - public Integer passwordPreviousPasswordBlockCount; + public Boolean cameraBlocked; /** - * The Password Required Type. - * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * The Classroom App Block Remote Screen Observation. + * Indicates whether or not to allow remote screen observation by Classroom app. Requires MDM enrollment via Apple School Manager or Apple Business Manager. */ - @SerializedName("passwordRequiredType") + @SerializedName("classroomAppBlockRemoteScreenObservation") @Expose - public RequiredPasswordType passwordRequiredType; + public Boolean classroomAppBlockRemoteScreenObservation; /** - * The Password Required. - * Whether or not to require a password. + * The Classroom App Force Unprompted Screen Observation. + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting. Requires MDM enrollment via Apple School Manager or Apple Business Manager. */ - @SerializedName("passwordRequired") + @SerializedName("classroomAppForceUnpromptedScreenObservation") @Expose - public Boolean passwordRequired; + public Boolean classroomAppForceUnpromptedScreenObservation; /** - * The Keychain Block Cloud Sync. - * Indicates whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later). + * The Classroom Force Automatically Join Classes. + * Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. */ - @SerializedName("keychainBlockCloudSync") + @SerializedName("classroomForceAutomaticallyJoinClasses") @Expose - public Boolean keychainBlockCloudSync; + public Boolean classroomForceAutomaticallyJoinClasses; /** - * The Air Print Blocked. - * Indicates whether or not AirPrint is blocked (macOS 10.12 and later). + * The Classroom Force Request Permission To Leave Classes. + * Indicates whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course. Requires MDM enrollment via Apple School Manager or Apple Business Manager. */ - @SerializedName("airPrintBlocked") + @SerializedName("classroomForceRequestPermissionToLeaveClasses") @Expose - public Boolean airPrintBlocked; + public Boolean classroomForceRequestPermissionToLeaveClasses; /** - * The Air Print Force Trusted TLS. - * Indicates if trusted certificates are required for TLS printing communication (macOS 10.13 and later). + * The Classroom Force Unprompted App And Device Lock. + * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. */ - @SerializedName("airPrintForceTrustedTLS") + @SerializedName("classroomForceUnpromptedAppAndDeviceLock") @Expose - public Boolean airPrintForceTrustedTLS; + public Boolean classroomForceUnpromptedAppAndDeviceLock; /** - * The Air Print Blocki Beacon Discovery. - * Indicates whether or not iBeacon discovery of AirPrint printers is blocked. This prevents spurious AirPrint Bluetooth beacons from phishing for network traffic (macOS 10.3 and later). + * The Compliant App List Type. + * List that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. */ - @SerializedName("airPrintBlockiBeaconDiscovery") + @SerializedName("compliantAppListType") @Expose - public Boolean airPrintBlockiBeaconDiscovery; + public AppListType compliantAppListType; /** - * The Safari Block Autofill. - * Indicates whether or not to block the user from using Auto fill in Safari. + * The Compliant Apps List. + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. */ - @SerializedName("safariBlockAutofill") + @SerializedName("compliantAppsList") @Expose - public Boolean safariBlockAutofill; + public java.util.List compliantAppsList; /** - * The Camera Blocked. - * Indicates whether or not to block the user from accessing the camera of the device. + * The Content Caching Blocked. + * Indicates whether or not to allow content caching. */ - @SerializedName("cameraBlocked") + @SerializedName("contentCachingBlocked") @Expose - public Boolean cameraBlocked; + public Boolean contentCachingBlocked; /** - * The ITunes Block Music Service. - * Indicates whether or not to block Music service and revert Music app to classic mode. + * The Definition Lookup Blocked. + * Indicates whether or not to block definition lookup. */ - @SerializedName("iTunesBlockMusicService") + @SerializedName("definitionLookupBlocked") @Expose - public Boolean iTunesBlockMusicService; + public Boolean definitionLookupBlocked; /** - * The Spotlight Block Internet Results. - * Indicates whether or not to block Spotlight from returning any results from an Internet search. + * The Email In Domain Suffixes. + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. */ - @SerializedName("spotlightBlockInternetResults") + @SerializedName("emailInDomainSuffixes") @Expose - public Boolean spotlightBlockInternetResults; + public java.util.List emailInDomainSuffixes; /** - * The Keyboard Block Dictation. - * Indicates whether or not to block the user from using dictation input. + * The ICloud Block Activity Continuation. + * Indicates whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later). */ - @SerializedName("keyboardBlockDictation") + @SerializedName("iCloudBlockActivityContinuation") @Expose - public Boolean keyboardBlockDictation; + public Boolean iCloudBlockActivityContinuation; /** - * The Definition Lookup Blocked. - * Indicates whether or not to block definition lookup. + * The ICloud Block Address Book. + * Indicates whether or not to block iCloud from syncing contacts. */ - @SerializedName("definitionLookupBlocked") + @SerializedName("iCloudBlockAddressBook") @Expose - public Boolean definitionLookupBlocked; + public Boolean iCloudBlockAddressBook; /** - * The Apple Watch Block Auto Unlock. - * Indicates whether or to block users from unlocking their Mac with Apple Watch. + * The ICloud Block Bookmarks. + * Indicates whether or not to block iCloud from syncing bookmarks. */ - @SerializedName("appleWatchBlockAutoUnlock") + @SerializedName("iCloudBlockBookmarks") @Expose - public Boolean appleWatchBlockAutoUnlock; + public Boolean iCloudBlockBookmarks; /** - * The ITunes Block File Sharing. - * Indicates whether or not to block files from being transferred using iTunes. + * The ICloud Block Calendar. + * Indicates whether or not to block iCloud from syncing calendars. */ - @SerializedName("iTunesBlockFileSharing") + @SerializedName("iCloudBlockCalendar") @Expose - public Boolean iTunesBlockFileSharing; + public Boolean iCloudBlockCalendar; /** * The ICloud Block Document Sync. @@ -239,20 +207,20 @@ public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration impleme public Boolean iCloudBlockMail; /** - * The ICloud Block Address Book. - * Indicates whether or not to block iCloud from syncing contacts. + * The ICloud Block Notes. + * Indicates whether or not to block iCloud from syncing notes. */ - @SerializedName("iCloudBlockAddressBook") + @SerializedName("iCloudBlockNotes") @Expose - public Boolean iCloudBlockAddressBook; + public Boolean iCloudBlockNotes; /** - * The ICloud Block Calendar. - * Indicates whether or not to block iCloud from syncing calendars. + * The ICloud Block Photo Library. + * Indicates whether or not to block iCloud Photo Library. */ - @SerializedName("iCloudBlockCalendar") + @SerializedName("iCloudBlockPhotoLibrary") @Expose - public Boolean iCloudBlockCalendar; + public Boolean iCloudBlockPhotoLibrary; /** * The ICloud Block Reminders. @@ -263,44 +231,44 @@ public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration impleme public Boolean iCloudBlockReminders; /** - * The ICloud Block Bookmarks. - * Indicates whether or not to block iCloud from syncing bookmarks. + * The ITunes Block File Sharing. + * Indicates whether or not to block files from being transferred using iTunes. */ - @SerializedName("iCloudBlockBookmarks") + @SerializedName("iTunesBlockFileSharing") @Expose - public Boolean iCloudBlockBookmarks; + public Boolean iTunesBlockFileSharing; /** - * The ICloud Block Notes. - * Indicates whether or not to block iCloud from syncing notes. + * The ITunes Block Music Service. + * Indicates whether or not to block Music service and revert Music app to classic mode. */ - @SerializedName("iCloudBlockNotes") + @SerializedName("iTunesBlockMusicService") @Expose - public Boolean iCloudBlockNotes; + public Boolean iTunesBlockMusicService; /** - * The Air Drop Blocked. - * Indicates whether or not to allow AirDrop. + * The Keyboard Block Dictation. + * Indicates whether or not to block the user from using dictation input. */ - @SerializedName("airDropBlocked") + @SerializedName("keyboardBlockDictation") @Expose - public Boolean airDropBlocked; + public Boolean keyboardBlockDictation; /** - * The Password Block Modification. - * Indicates whether or not to allow passcode modification. + * The Keychain Block Cloud Sync. + * Indicates whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later). */ - @SerializedName("passwordBlockModification") + @SerializedName("keychainBlockCloudSync") @Expose - public Boolean passwordBlockModification; + public Boolean keychainBlockCloudSync; /** - * The Password Block Fingerprint Unlock. - * Indicates whether or not to block fingerprint unlock. + * The Password Block Air Drop Sharing. + * Indicates whether or not to block sharing passwords with the AirDrop passwords feature. */ - @SerializedName("passwordBlockFingerprintUnlock") + @SerializedName("passwordBlockAirDropSharing") @Expose - public Boolean passwordBlockFingerprintUnlock; + public Boolean passwordBlockAirDropSharing; /** * The Password Block Auto Fill. @@ -310,6 +278,22 @@ public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration impleme @Expose public Boolean passwordBlockAutoFill; + /** + * The Password Block Fingerprint Unlock. + * Indicates whether or not to block fingerprint unlock. + */ + @SerializedName("passwordBlockFingerprintUnlock") + @Expose + public Boolean passwordBlockFingerprintUnlock; + + /** + * The Password Block Modification. + * Indicates whether or not to allow passcode modification. + */ + @SerializedName("passwordBlockModification") + @Expose + public Boolean passwordBlockModification; + /** * The Password Block Proximity Requests. * Indicates whether or not to block requesting passwords from nearby devices. @@ -319,108 +303,124 @@ public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration impleme public Boolean passwordBlockProximityRequests; /** - * The Password Block Air Drop Sharing. - * Indicates whether or not to block sharing passwords with the AirDrop passwords feature. + * The Password Block Simple. + * Block simple passwords. */ - @SerializedName("passwordBlockAirDropSharing") + @SerializedName("passwordBlockSimple") @Expose - public Boolean passwordBlockAirDropSharing; + public Boolean passwordBlockSimple; /** - * The Software Updates Enforced Delay In Days. - * Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90 + * The Password Expiration Days. + * Number of days before the password expires. */ - @SerializedName("softwareUpdatesEnforcedDelayInDays") + @SerializedName("passwordExpirationDays") @Expose - public Integer softwareUpdatesEnforcedDelayInDays; + public Integer passwordExpirationDays; /** - * The Software Updates Force Delayed. - * Indicates whether or not to delay user visibility of software updates when the device is in supervised mode. + * The Password Minimum Character Set Count. + * Number of character sets a password must contain. Valid values 0 to 4 */ - @SerializedName("softwareUpdatesForceDelayed") + @SerializedName("passwordMinimumCharacterSetCount") @Expose - public Boolean softwareUpdatesForceDelayed; + public Integer passwordMinimumCharacterSetCount; /** - * The Content Caching Blocked. - * Indicates whether or not to allow content caching. + * The Password Minimum Length. + * Minimum length of passwords. */ - @SerializedName("contentCachingBlocked") + @SerializedName("passwordMinimumLength") @Expose - public Boolean contentCachingBlocked; + public Integer passwordMinimumLength; /** - * The ICloud Block Photo Library. - * Indicates whether or not to block iCloud Photo Library. + * The Password Minutes Of Inactivity Before Lock. + * Minutes of inactivity required before a password is required. */ - @SerializedName("iCloudBlockPhotoLibrary") + @SerializedName("passwordMinutesOfInactivityBeforeLock") @Expose - public Boolean iCloudBlockPhotoLibrary; + public Integer passwordMinutesOfInactivityBeforeLock; /** - * The Screen Capture Blocked. - * Indicates whether or not to block the user from taking Screenshots. + * The Password Minutes Of Inactivity Before Screen Timeout. + * Minutes of inactivity required before the screen times out. */ - @SerializedName("screenCaptureBlocked") + @SerializedName("passwordMinutesOfInactivityBeforeScreenTimeout") @Expose - public Boolean screenCaptureBlocked; + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; /** - * The Classroom App Block Remote Screen Observation. - * Indicates whether or not to allow remote screen observation by Classroom app. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * The Password Previous Password Block Count. + * Number of previous passwords to block. */ - @SerializedName("classroomAppBlockRemoteScreenObservation") + @SerializedName("passwordPreviousPasswordBlockCount") @Expose - public Boolean classroomAppBlockRemoteScreenObservation; + public Integer passwordPreviousPasswordBlockCount; /** - * The Classroom App Force Unprompted Screen Observation. - * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * The Password Required. + * Whether or not to require a password. */ - @SerializedName("classroomAppForceUnpromptedScreenObservation") + @SerializedName("passwordRequired") @Expose - public Boolean classroomAppForceUnpromptedScreenObservation; + public Boolean passwordRequired; /** - * The Classroom Force Automatically Join Classes. - * Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * The Password Required Type. + * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. */ - @SerializedName("classroomForceAutomaticallyJoinClasses") + @SerializedName("passwordRequiredType") @Expose - public Boolean classroomForceAutomaticallyJoinClasses; + public RequiredPasswordType passwordRequiredType; /** - * The Classroom Force Request Permission To Leave Classes. - * Indicates whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * The Privacy Access Controls. + * List of privacy preference policy controls. This collection can contain a maximum of 10000 elements. */ - @SerializedName("classroomForceRequestPermissionToLeaveClasses") + @SerializedName("privacyAccessControls") @Expose - public Boolean classroomForceRequestPermissionToLeaveClasses; + public java.util.List privacyAccessControls; /** - * The Classroom Force Unprompted App And Device Lock. - * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * The Safari Block Autofill. + * Indicates whether or not to block the user from using Auto fill in Safari. */ - @SerializedName("classroomForceUnpromptedAppAndDeviceLock") + @SerializedName("safariBlockAutofill") @Expose - public Boolean classroomForceUnpromptedAppAndDeviceLock; + public Boolean safariBlockAutofill; /** - * The ICloud Block Activity Continuation. - * Indicates whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later). + * The Screen Capture Blocked. + * Indicates whether or not to block the user from taking Screenshots. */ - @SerializedName("iCloudBlockActivityContinuation") + @SerializedName("screenCaptureBlocked") @Expose - public Boolean iCloudBlockActivityContinuation; + public Boolean screenCaptureBlocked; /** - * The Privacy Access Controls. - * List of privacy preference policy controls. This collection can contain a maximum of 10000 elements. + * The Software Updates Enforced Delay In Days. + * Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90 */ - @SerializedName("privacyAccessControls") + @SerializedName("softwareUpdatesEnforcedDelayInDays") @Expose - public java.util.List privacyAccessControls; + public Integer softwareUpdatesEnforcedDelayInDays; + + /** + * The Software Updates Force Delayed. + * Indicates whether or not to delay user visibility of software updates when the device is in supervised mode. + */ + @SerializedName("softwareUpdatesForceDelayed") + @Expose + public Boolean softwareUpdatesForceDelayed; + + /** + * The Spotlight Block Internet Results. + * Indicates whether or not to block Spotlight from returning any results from an Internet search. + */ + @SerializedName("spotlightBlockInternetResults") + @Expose + public Boolean spotlightBlockInternetResults; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSKerberosSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSKerberosSingleSignOnExtension.java index be4214a9b4d..ab1738223a8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSKerberosSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSKerberosSingleSignOnExtension.java @@ -27,20 +27,20 @@ public class MacOSKerberosSingleSignOnExtension extends MacOSSingleSignOnExtensi /** - * The Realm. - * Gets or sets the case-sensitive realm name for this profile. + * The Active Directory Site Code. + * Gets or sets the Active Directory site. */ - @SerializedName("realm") + @SerializedName("activeDirectorySiteCode") @Expose - public String realm; + public String activeDirectorySiteCode; /** - * The Domains. - * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * The Block Active Directory Site Auto Discovery. + * Enables or disables whether the Kerberos extension can automatically determine its site name. */ - @SerializedName("domains") + @SerializedName("blockActiveDirectorySiteAutoDiscovery") @Expose - public java.util.List domains; + public Boolean blockActiveDirectorySiteAutoDiscovery; /** * The Block Automatic Login. @@ -74,6 +74,14 @@ public class MacOSKerberosSingleSignOnExtension extends MacOSSingleSignOnExtensi @Expose public java.util.List domainRealms; + /** + * The Domains. + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + */ + @SerializedName("domains") + @Expose + public java.util.List domains; + /** * The Is Default Realm. * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. @@ -90,6 +98,22 @@ public class MacOSKerberosSingleSignOnExtension extends MacOSSingleSignOnExtensi @Expose public Boolean passwordBlockModification; + /** + * The Password Change Url. + * Gets or sets the URL that the user will be sent to when they initiate a password change. + */ + @SerializedName("passwordChangeUrl") + @Expose + public String passwordChangeUrl; + + /** + * The Password Enable Local Sync. + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + */ + @SerializedName("passwordEnableLocalSync") + @Expose + public Boolean passwordEnableLocalSync; + /** * The Password Expiration Days. * Overrides the default password expiration in days. For most domains, this value is calculated automatically. @@ -107,20 +131,20 @@ public class MacOSKerberosSingleSignOnExtension extends MacOSSingleSignOnExtensi public Integer passwordExpirationNotificationDays; /** - * The User Principal Name. - * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * The Password Minimum Age Days. + * Gets or sets the minimum number of days until a user can change their password again. */ - @SerializedName("userPrincipalName") + @SerializedName("passwordMinimumAgeDays") @Expose - public String userPrincipalName; + public Integer passwordMinimumAgeDays; /** - * The Password Require Active Directory Complexity. - * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * The Password Minimum Length. + * Gets or sets the minimum length of a password. */ - @SerializedName("passwordRequireActiveDirectoryComplexity") + @SerializedName("passwordMinimumLength") @Expose - public Boolean passwordRequireActiveDirectoryComplexity; + public Integer passwordMinimumLength; /** * The Password Previous Password Block Count. @@ -131,20 +155,12 @@ public class MacOSKerberosSingleSignOnExtension extends MacOSSingleSignOnExtensi public Integer passwordPreviousPasswordBlockCount; /** - * The Password Minimum Length. - * Gets or sets the minimum length of a password. - */ - @SerializedName("passwordMinimumLength") - @Expose - public Integer passwordMinimumLength; - - /** - * The Password Minimum Age Days. - * Gets or sets the minimum number of days until a user can change their password again. + * The Password Require Active Directory Complexity. + * Enables or disables whether passwords must meet Active Directory's complexity requirements. */ - @SerializedName("passwordMinimumAgeDays") + @SerializedName("passwordRequireActiveDirectoryComplexity") @Expose - public Integer passwordMinimumAgeDays; + public Boolean passwordRequireActiveDirectoryComplexity; /** * The Password Requirements Description. @@ -155,44 +171,28 @@ public class MacOSKerberosSingleSignOnExtension extends MacOSSingleSignOnExtensi public String passwordRequirementsDescription; /** - * The Require User Presence. - * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. - */ - @SerializedName("requireUserPresence") - @Expose - public Boolean requireUserPresence; - - /** - * The Active Directory Site Code. - * Gets or sets the Active Directory site. - */ - @SerializedName("activeDirectorySiteCode") - @Expose - public String activeDirectorySiteCode; - - /** - * The Password Enable Local Sync. - * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * The Realm. + * Gets or sets the case-sensitive realm name for this profile. */ - @SerializedName("passwordEnableLocalSync") + @SerializedName("realm") @Expose - public Boolean passwordEnableLocalSync; + public String realm; /** - * The Block Active Directory Site Auto Discovery. - * Enables or disables whether the Kerberos extension can automatically determine its site name. + * The Require User Presence. + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. */ - @SerializedName("blockActiveDirectorySiteAutoDiscovery") + @SerializedName("requireUserPresence") @Expose - public Boolean blockActiveDirectorySiteAutoDiscovery; + public Boolean requireUserPresence; /** - * The Password Change Url. - * Gets or sets the URL that the user will be sent to when they initiate a password change. + * The User Principal Name. + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. */ - @SerializedName("passwordChangeUrl") + @SerializedName("userPrincipalName") @Expose - public String passwordChangeUrl; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSKernelExtension.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSKernelExtension.java index f121e291f26..8c0704bfb7f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSKernelExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSKernelExtension.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Team Identifier. - * The team identifier that was used to sign the kernel extension. - */ - @SerializedName("teamIdentifier") - @Expose - public String teamIdentifier; - /** * The Bundle Id. * Bundle ID of the kernel extension. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String bundleId; + /** + * The Team Identifier. + * The team identifier that was used to sign the kernel extension. + */ + @SerializedName("teamIdentifier") + @Expose + public String teamIdentifier; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSLaunchItem.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSLaunchItem.java index dfa620d17b9..b08df5767c1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSLaunchItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSLaunchItem.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Path. - * Path to the launch item. - */ - @SerializedName("path") - @Expose - public String path; - /** * The Hide. * Whether or not to hide the item from the Users and Groups List. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean hide; + /** + * The Path. + * Path to the launch item. + */ + @SerializedName("path") + @Expose + public String path; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSLobApp.java index 0787c934984..0f0ef5343ed 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSLobApp.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MacOSMinimumOperatingSystem; import com.microsoft.graph.models.extensions.MacOSLobChildApp; +import com.microsoft.graph.models.extensions.MacOSMinimumOperatingSystem; import com.microsoft.graph.models.extensions.MobileLobApp; @@ -28,22 +28,6 @@ public class MacOSLobApp extends MobileLobApp implements IJsonBackedObject { - /** - * The Bundle Id. - * The bundle id. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - - /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. - */ - @SerializedName("minimumSupportedOperatingSystem") - @Expose - public MacOSMinimumOperatingSystem minimumSupportedOperatingSystem; - /** * The Build Number. * The build number of MacOS Line of Business (LoB) app. @@ -53,12 +37,12 @@ public class MacOSLobApp extends MobileLobApp implements IJsonBackedObject { public String buildNumber; /** - * The Version Number. - * The version number of MacOS Line of Business (LoB) app. + * The Bundle Id. + * The bundle id. */ - @SerializedName("versionNumber") + @SerializedName("bundleId") @Expose - public String versionNumber; + public String bundleId; /** * The Child Apps. @@ -77,12 +61,12 @@ public class MacOSLobApp extends MobileLobApp implements IJsonBackedObject { public String identityVersion; /** - * The Md5Hash Chunk Size. - * The chunk size for MD5 hash + * The Ignore Version Detection. + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for macOS Line of Business (LoB) apps that use a self update feature. */ - @SerializedName("md5HashChunkSize") + @SerializedName("ignoreVersionDetection") @Expose - public Integer md5HashChunkSize; + public Boolean ignoreVersionDetection; /** * The Md5Hash. @@ -93,12 +77,28 @@ public class MacOSLobApp extends MobileLobApp implements IJsonBackedObject { public java.util.List md5Hash; /** - * The Ignore Version Detection. - * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for macOS Line of Business (LoB) apps that use a self update feature. + * The Md5Hash Chunk Size. + * The chunk size for MD5 hash */ - @SerializedName("ignoreVersionDetection") + @SerializedName("md5HashChunkSize") @Expose - public Boolean ignoreVersionDetection; + public Integer md5HashChunkSize; + + /** + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. + */ + @SerializedName("minimumSupportedOperatingSystem") + @Expose + public MacOSMinimumOperatingSystem minimumSupportedOperatingSystem; + + /** + * The Version Number. + * The version number of MacOS Line of Business (LoB) app. + */ + @SerializedName("versionNumber") + @Expose + public String versionNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSLobChildApp.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSLobChildApp.java index 0ea35c86e56..06d7eca81e9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSLobChildApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSLobChildApp.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - /** * The Build Number. * The build number of MacOS Line of Business (LoB) app. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String buildNumber; + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; + /** * The Version Number. * The version number of MacOS Line of Business (LoB) app. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSMinimumOperatingSystem.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSMinimumOperatingSystem.java index 15bbc3bbd93..f16554caa0e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSMinimumOperatingSystem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSMinimumOperatingSystem.java @@ -35,30 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The V10_7. - * Mac OS 10.7 or later. - */ - @SerializedName("v10_7") - @Expose - public Boolean v10_7; - - /** - * The V10_8. - * Mac OS 10.8 or later. - */ - @SerializedName("v10_8") - @Expose - public Boolean v10_8; - - /** - * The V10_9. - * Mac OS 10.9 or later. - */ - @SerializedName("v10_9") - @Expose - public Boolean v10_9; - /** * The V10_10. * Mac OS 10.10 or later. @@ -107,6 +83,30 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean v10_15; + /** + * The V10_7. + * Mac OS 10.7 or later. + */ + @SerializedName("v10_7") + @Expose + public Boolean v10_7; + + /** + * The V10_8. + * Mac OS 10.8 or later. + */ + @SerializedName("v10_8") + @Expose + public Boolean v10_8; + + /** + * The V10_9. + * Mac OS 10.9 or later. + */ + @SerializedName("v10_9") + @Expose + public Boolean v10_9; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSPkcsCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSPkcsCertificateProfile.java index 31e459de824..dea1214ad6b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSPkcsCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSPkcsCertificateProfile.java @@ -32,20 +32,20 @@ public class MacOSPkcsCertificateProfile extends MacOSCertificateProfileBase imp /** - * The Certification Authority. - * PKCS certification authority FQDN. + * The Allow All Apps Access. + * AllowAllAppsAccess setting */ - @SerializedName("certificationAuthority") + @SerializedName("allowAllAppsAccess") @Expose - public String certificationAuthority; + public Boolean allowAllAppsAccess; /** - * The Certification Authority Name. - * PKCS certification authority Name. + * The Certificate Store. + * Target store certificate */ - @SerializedName("certificationAuthorityName") + @SerializedName("certificateStore") @Expose - public String certificationAuthorityName; + public CertificateStore certificateStore; /** * The Certificate Template Name. @@ -56,28 +56,20 @@ public class MacOSPkcsCertificateProfile extends MacOSCertificateProfileBase imp public String certificateTemplateName; /** - * The Subject Alternative Name Format String. - * Format string that defines the subject alternative name. - */ - @SerializedName("subjectAlternativeNameFormatString") - @Expose - public String subjectAlternativeNameFormatString; - - /** - * The Subject Name Format String. - * Format string that defines the subject name. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * The Certification Authority. + * PKCS certification authority FQDN. */ - @SerializedName("subjectNameFormatString") + @SerializedName("certificationAuthority") @Expose - public String subjectNameFormatString; + public String certificationAuthority; /** - * The Certificate Store. - * Target store certificate + * The Certification Authority Name. + * PKCS certification authority Name. */ - @SerializedName("certificateStore") + @SerializedName("certificationAuthorityName") @Expose - public CertificateStore certificateStore; + public String certificationAuthorityName; /** * The Custom Subject Alternative Names. @@ -88,12 +80,20 @@ public class MacOSPkcsCertificateProfile extends MacOSCertificateProfileBase imp public java.util.List customSubjectAlternativeNames; /** - * The Allow All Apps Access. - * AllowAllAppsAccess setting + * The Subject Alternative Name Format String. + * Format string that defines the subject alternative name. */ - @SerializedName("allowAllAppsAccess") + @SerializedName("subjectAlternativeNameFormatString") @Expose - public Boolean allowAllAppsAccess; + public String subjectAlternativeNameFormatString; + + /** + * The Subject Name Format String. + * Format string that defines the subject name. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + */ + @SerializedName("subjectNameFormatString") + @Expose + public String subjectNameFormatString; /** * The Managed Device Certificate States. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSPrivacyAccessControlItem.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSPrivacyAccessControlItem.java index f863097720f..2d13559a492 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSPrivacyAccessControlItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSPrivacyAccessControlItem.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.MacOSProcessIdentifierType; import com.microsoft.graph.models.generated.Enablement; import com.microsoft.graph.models.extensions.MacOSAppleEventReceiver; +import com.microsoft.graph.models.generated.MacOSProcessIdentifierType; import com.google.gson.JsonObject; @@ -39,44 +39,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Display Name. - * The display name of the app, process, or executable. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Identifier. - * The bundle ID or path of the app, process, or executable. - */ - @SerializedName("identifier") - @Expose - public String identifier; - - /** - * The Identifier Type. - * A bundle ID is used to identify an app. A path is used to identify a process or executable. + * The Accessibility. + * Allow the app or process to control the Mac via the Accessibility subsystem. */ - @SerializedName("identifierType") + @SerializedName("accessibility") @Expose - public MacOSProcessIdentifierType identifierType; + public Enablement accessibility; /** - * The Code Requirement. - * Enter the code requirement, which can be obtained with the command 'codesign ???display -r ???' in the Terminal app. Include everything after '=&gt;'. + * The Address Book. + * Allow or block access to contact information managed by Contacts. */ - @SerializedName("codeRequirement") + @SerializedName("addressBook") @Expose - public String codeRequirement; + public Enablement addressBook; /** - * The Static Code Validation. - * Statically validates the code requirement. Use this setting if the process invalidates its dynamic code signature. + * The Apple Events Allowed Receivers. + * Allow or deny the app or process to send a restricted Apple event to another app or process. You will need to know the identifier, identifier type, and code requirement of the receiving app or process. This collection can contain a maximum of 500 elements. */ - @SerializedName("staticCodeValidation") + @SerializedName("appleEventsAllowedReceivers") @Expose - public Boolean staticCodeValidation; + public java.util.List appleEventsAllowedReceivers; /** * The Block Camera. @@ -86,6 +70,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean blockCamera; + /** + * The Block Listen Event. + * Block the app or process from listening to events from input devices such as mouse, keyboard, and trackpad.Requires macOS 10.15 or later. + */ + @SerializedName("blockListenEvent") + @Expose + public Boolean blockListenEvent; + /** * The Block Microphone. * Block access to microphone. @@ -103,52 +95,60 @@ public final AdditionalDataManager additionalDataManager() { public Boolean blockScreenCapture; /** - * The Block Listen Event. - * Block the app or process from listening to events from input devices such as mouse, keyboard, and trackpad.Requires macOS 10.15 or later. + * The Calendar. + * Allow or block access to event information managed by Calendar. */ - @SerializedName("blockListenEvent") + @SerializedName("calendar") @Expose - public Boolean blockListenEvent; + public Enablement calendar; /** - * The Speech Recognition. - * Allow or block access to system speech recognition facility. + * The Code Requirement. + * Enter the code requirement, which can be obtained with the command 'codesign ???display -r ???' in the Terminal app. Include everything after '=&gt;'. */ - @SerializedName("speechRecognition") + @SerializedName("codeRequirement") @Expose - public Enablement speechRecognition; + public String codeRequirement; /** - * The Accessibility. - * Allow the app or process to control the Mac via the Accessibility subsystem. + * The Display Name. + * The display name of the app, process, or executable. */ - @SerializedName("accessibility") + @SerializedName("displayName") @Expose - public Enablement accessibility; + public String displayName; /** - * The Address Book. - * Allow or block access to contact information managed by Contacts. + * The File Provider Presence. + * Allow the app or process to access files managed by another app???s file provider extension. Requires macOS 10.15 or later. */ - @SerializedName("addressBook") + @SerializedName("fileProviderPresence") @Expose - public Enablement addressBook; + public Enablement fileProviderPresence; /** - * The Calendar. - * Allow or block access to event information managed by Calendar. + * The Identifier. + * The bundle ID or path of the app, process, or executable. */ - @SerializedName("calendar") + @SerializedName("identifier") @Expose - public Enablement calendar; + public String identifier; /** - * The Reminders. - * Allow or block access to information managed by Reminders. + * The Identifier Type. + * A bundle ID is used to identify an app. A path is used to identify a process or executable. */ - @SerializedName("reminders") + @SerializedName("identifierType") @Expose - public Enablement reminders; + public MacOSProcessIdentifierType identifierType; + + /** + * The Media Library. + * Allow or block access to music and the media library. + */ + @SerializedName("mediaLibrary") + @Expose + public Enablement mediaLibrary; /** * The Photos. @@ -159,36 +159,44 @@ public final AdditionalDataManager additionalDataManager() { public Enablement photos; /** - * The Media Library. - * Allow or block access to music and the media library. + * The Post Event. + * Control access to CoreGraphics APIs, which are used to send CGEvents to the system event stream. */ - @SerializedName("mediaLibrary") + @SerializedName("postEvent") @Expose - public Enablement mediaLibrary; + public Enablement postEvent; /** - * The File Provider Presence. - * Allow the app or process to access files managed by another app???s file provider extension. Requires macOS 10.15 or later. + * The Reminders. + * Allow or block access to information managed by Reminders. */ - @SerializedName("fileProviderPresence") + @SerializedName("reminders") @Expose - public Enablement fileProviderPresence; + public Enablement reminders; /** - * The System Policy All Files. - * Control access to all protected files on a device. Files might be in locations such as emails, messages, apps, and administrative settings. Apply this setting with caution. + * The Speech Recognition. + * Allow or block access to system speech recognition facility. */ - @SerializedName("systemPolicyAllFiles") + @SerializedName("speechRecognition") @Expose - public Enablement systemPolicyAllFiles; + public Enablement speechRecognition; /** - * The System Policy System Admin Files. - * Allow app or process to access files used in system administration. + * The Static Code Validation. + * Statically validates the code requirement. Use this setting if the process invalidates its dynamic code signature. */ - @SerializedName("systemPolicySystemAdminFiles") + @SerializedName("staticCodeValidation") @Expose - public Enablement systemPolicySystemAdminFiles; + public Boolean staticCodeValidation; + + /** + * The System Policy All Files. + * Control access to all protected files on a device. Files might be in locations such as emails, messages, apps, and administrative settings. Apply this setting with caution. + */ + @SerializedName("systemPolicyAllFiles") + @Expose + public Enablement systemPolicyAllFiles; /** * The System Policy Desktop Folder. @@ -231,20 +239,12 @@ public final AdditionalDataManager additionalDataManager() { public Enablement systemPolicyRemovableVolumes; /** - * The Post Event. - * Control access to CoreGraphics APIs, which are used to send CGEvents to the system event stream. - */ - @SerializedName("postEvent") - @Expose - public Enablement postEvent; - - /** - * The Apple Events Allowed Receivers. - * Allow or deny the app or process to send a restricted Apple event to another app or process. You will need to know the identifier, identifier type, and code requirement of the receiving app or process. This collection can contain a maximum of 500 elements. + * The System Policy System Admin Files. + * Allow app or process to access files used in system administration. */ - @SerializedName("appleEventsAllowedReceivers") + @SerializedName("systemPolicySystemAdminFiles") @Expose - public java.util.List appleEventsAllowedReceivers; + public Enablement systemPolicySystemAdminFiles; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSRedirectSingleSignOnExtension.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSRedirectSingleSignOnExtension.java index e04023d9b3b..39ada53d939 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSRedirectSingleSignOnExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSRedirectSingleSignOnExtension.java @@ -27,6 +27,14 @@ public class MacOSRedirectSingleSignOnExtension extends MacOSSingleSignOnExtension implements IJsonBackedObject { + /** + * The Configurations. + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + */ + @SerializedName("configurations") + @Expose + public java.util.List configurations; + /** * The Extension Identifier. * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. @@ -43,14 +51,6 @@ public class MacOSRedirectSingleSignOnExtension extends MacOSSingleSignOnExtensi @Expose public String teamIdentifier; - /** - * The Configurations. - * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. - */ - @SerializedName("configurations") - @Expose - public java.util.List configurations; - /** * The Url Prefixes. * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSScepCertificateProfile.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSScepCertificateProfile.java index a16a92a4b5f..b7e27467029 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSScepCertificateProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSScepCertificateProfile.java @@ -8,14 +8,14 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.KeyUsages; -import com.microsoft.graph.models.generated.KeySize; -import com.microsoft.graph.models.generated.HashAlgorithms; -import com.microsoft.graph.models.extensions.ExtendedKeyUsage; import com.microsoft.graph.models.generated.CertificateStore; import com.microsoft.graph.models.extensions.CustomSubjectAlternativeName; -import com.microsoft.graph.models.extensions.MacOSTrustedRootCertificate; +import com.microsoft.graph.models.extensions.ExtendedKeyUsage; +import com.microsoft.graph.models.generated.HashAlgorithms; +import com.microsoft.graph.models.generated.KeySize; +import com.microsoft.graph.models.generated.KeyUsages; import com.microsoft.graph.models.extensions.ManagedDeviceCertificateState; +import com.microsoft.graph.models.extensions.MacOSTrustedRootCertificate; import com.microsoft.graph.models.extensions.MacOSCertificateProfileBase; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedDeviceCertificateStateCollectionPage; @@ -37,28 +37,36 @@ public class MacOSScepCertificateProfile extends MacOSCertificateProfileBase imp /** - * The Scep Server Urls. - * SCEP Server Url(s). + * The Certificate Store. + * Target store certificate */ - @SerializedName("scepServerUrls") + @SerializedName("certificateStore") @Expose - public java.util.List scepServerUrls; + public CertificateStore certificateStore; /** - * The Subject Name Format String. - * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * The Custom Subject Alternative Names. + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("subjectNameFormatString") + @SerializedName("customSubjectAlternativeNames") @Expose - public String subjectNameFormatString; + public java.util.List customSubjectAlternativeNames; /** - * The Key Usage. - * SCEP Key Usage. + * The Extended Key Usages. + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. */ - @SerializedName("keyUsage") + @SerializedName("extendedKeyUsages") @Expose - public EnumSet keyUsage; + public java.util.List extendedKeyUsages; + + /** + * The Hash Algorithm. + * SCEP Hash Algorithm. + */ + @SerializedName("hashAlgorithm") + @Expose + public EnumSet hashAlgorithm; /** * The Key Size. @@ -69,20 +77,20 @@ public class MacOSScepCertificateProfile extends MacOSCertificateProfileBase imp public KeySize keySize; /** - * The Hash Algorithm. - * SCEP Hash Algorithm. + * The Key Usage. + * SCEP Key Usage. */ - @SerializedName("hashAlgorithm") + @SerializedName("keyUsage") @Expose - public EnumSet hashAlgorithm; + public EnumSet keyUsage; /** - * The Extended Key Usages. - * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * The Scep Server Urls. + * SCEP Server Url(s). */ - @SerializedName("extendedKeyUsages") + @SerializedName("scepServerUrls") @Expose - public java.util.List extendedKeyUsages; + public java.util.List scepServerUrls; /** * The Subject Alternative Name Format String. @@ -93,20 +101,18 @@ public class MacOSScepCertificateProfile extends MacOSCertificateProfileBase imp public String subjectAlternativeNameFormatString; /** - * The Certificate Store. - * Target store certificate + * The Subject Name Format String. + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US */ - @SerializedName("certificateStore") + @SerializedName("subjectNameFormatString") @Expose - public CertificateStore certificateStore; + public String subjectNameFormatString; /** - * The Custom Subject Alternative Names. - * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * The Managed Device Certificate States. + * Certificate state for devices */ - @SerializedName("customSubjectAlternativeNames") - @Expose - public java.util.List customSubjectAlternativeNames; + public ManagedDeviceCertificateStateCollectionPage managedDeviceCertificateStates; /** * The Root Certificate. @@ -116,12 +122,6 @@ public class MacOSScepCertificateProfile extends MacOSCertificateProfileBase imp @Expose public MacOSTrustedRootCertificate rootCertificate; - /** - * The Managed Device Certificate States. - * Certificate state for devices - */ - public ManagedDeviceCertificateStateCollectionPage managedDeviceCertificateStates; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtension.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtension.java index 28e40599db2..cd24b683d37 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtension.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtension.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Team Identifier. - * Gets or sets the team identifier that was used to sign the system extension. - */ - @SerializedName("teamIdentifier") - @Expose - public String teamIdentifier; - /** * The Bundle Id. * Gets or sets the bundle identifier of the system extension. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String bundleId; + /** + * The Team Identifier. + * Gets or sets the team identifier that was used to sign the system extension. + */ + @SerializedName("teamIdentifier") + @Expose + public String teamIdentifier; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtensionTypeMapping.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtensionTypeMapping.java index 6a1ce969186..eedacab7eb3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtensionTypeMapping.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSSystemExtensionTypeMapping.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Team Identifier. - * Gets or sets the team identifier used to sign the system extension. - */ - @SerializedName("teamIdentifier") - @Expose - public String teamIdentifier; - /** * The Allowed Types. * Gets or sets the allowed macOS system extension types. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public EnumSet allowedTypes; + /** + * The Team Identifier. + * Gets or sets the team identifier used to sign the system extension. + */ + @SerializedName("teamIdentifier") + @Expose + public String teamIdentifier; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSTrustedRootCertificate.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSTrustedRootCertificate.java index b94db779e6f..91b416682f5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSTrustedRootCertificate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSTrustedRootCertificate.java @@ -26,14 +26,6 @@ public class MacOSTrustedRootCertificate extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Trusted Root Certificate. - * Trusted Root Certificate. - */ - @SerializedName("trustedRootCertificate") - @Expose - public byte[] trustedRootCertificate; - /** * The Cert File Name. * File name to display in UI. @@ -42,6 +34,14 @@ public class MacOSTrustedRootCertificate extends DeviceConfiguration implements @Expose public String certFileName; + /** + * The Trusted Root Certificate. + * Trusted Root Certificate. + */ + @SerializedName("trustedRootCertificate") + @Expose + public byte[] trustedRootCertificate; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSWiFiConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSWiFiConfiguration.java index 0055b6ec93b..e7bae57b05c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSWiFiConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSWiFiConfiguration.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.WiFiSecurityType; import com.microsoft.graph.models.generated.WiFiProxySetting; +import com.microsoft.graph.models.generated.WiFiSecurityType; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -28,22 +28,6 @@ public class MacOSWiFiConfiguration extends DeviceConfiguration implements IJsonBackedObject { - /** - * The Network Name. - * Network Name - */ - @SerializedName("networkName") - @Expose - public String networkName; - - /** - * The Ssid. - * This is the name of the Wi-Fi network that is broadcast to all devices. - */ - @SerializedName("ssid") - @Expose - public String ssid; - /** * The Connect Automatically. * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. @@ -61,20 +45,28 @@ public class MacOSWiFiConfiguration extends DeviceConfiguration implements IJson public Boolean connectWhenNetworkNameIsHidden; /** - * The Wi Fi Security Type. - * Indicates whether Wi-Fi endpoint uses an EAP based security type. + * The Network Name. + * Network Name */ - @SerializedName("wiFiSecurityType") + @SerializedName("networkName") @Expose - public WiFiSecurityType wiFiSecurityType; + public String networkName; /** - * The Proxy Settings. - * Proxy Type for this Wi-Fi connection + * The Pre Shared Key. + * This is the pre-shared key for WPA Personal Wi-Fi network. */ - @SerializedName("proxySettings") + @SerializedName("preSharedKey") @Expose - public WiFiProxySetting proxySettings; + public String preSharedKey; + + /** + * The Proxy Automatic Configuration Url. + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + */ + @SerializedName("proxyAutomaticConfigurationUrl") + @Expose + public String proxyAutomaticConfigurationUrl; /** * The Proxy Manual Address. @@ -93,20 +85,28 @@ public class MacOSWiFiConfiguration extends DeviceConfiguration implements IJson public Integer proxyManualPort; /** - * The Proxy Automatic Configuration Url. - * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * The Proxy Settings. + * Proxy Type for this Wi-Fi connection */ - @SerializedName("proxyAutomaticConfigurationUrl") + @SerializedName("proxySettings") @Expose - public String proxyAutomaticConfigurationUrl; + public WiFiProxySetting proxySettings; /** - * The Pre Shared Key. - * This is the pre-shared key for WPA Personal Wi-Fi network. + * The Ssid. + * This is the name of the Wi-Fi network that is broadcast to all devices. */ - @SerializedName("preSharedKey") + @SerializedName("ssid") @Expose - public String preSharedKey; + public String ssid; + + /** + * The Wi Fi Security Type. + * Indicates whether Wi-Fi endpoint uses an EAP based security type. + */ + @SerializedName("wiFiSecurityType") + @Expose + public WiFiSecurityType wiFiSecurityType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOSWiredNetworkConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/MacOSWiredNetworkConfiguration.java index 5fc54ae90f3..97ad63b09c8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOSWiredNetworkConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOSWiredNetworkConfiguration.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.WiredNetworkInterface; -import com.microsoft.graph.models.generated.EapType; -import com.microsoft.graph.models.generated.EapFastConfiguration; import com.microsoft.graph.models.generated.WiFiAuthenticationMethod; +import com.microsoft.graph.models.generated.EapFastConfiguration; +import com.microsoft.graph.models.generated.EapType; +import com.microsoft.graph.models.generated.WiredNetworkInterface; import com.microsoft.graph.models.generated.NonEapAuthenticationMethodForEapTtlsType; -import com.microsoft.graph.models.extensions.MacOSTrustedRootCertificate; import com.microsoft.graph.models.extensions.MacOSCertificateProfileBase; +import com.microsoft.graph.models.extensions.MacOSTrustedRootCertificate; import com.microsoft.graph.models.extensions.DeviceConfiguration; @@ -34,20 +34,20 @@ public class MacOSWiredNetworkConfiguration extends DeviceConfiguration implemen /** - * The Network Name. - * Network Name + * The Authentication Method. + * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. */ - @SerializedName("networkName") + @SerializedName("authenticationMethod") @Expose - public String networkName; + public WiFiAuthenticationMethod authenticationMethod; /** - * The Network Interface. - * Network interface. + * The Eap Fast Configuration. + * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. */ - @SerializedName("networkInterface") + @SerializedName("eapFastConfiguration") @Expose - public WiredNetworkInterface networkInterface; + public EapFastConfiguration eapFastConfiguration; /** * The Eap Type. @@ -58,28 +58,28 @@ public class MacOSWiredNetworkConfiguration extends DeviceConfiguration implemen public EapType eapType; /** - * The Eap Fast Configuration. - * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. + * The Enable Outer Identity Privacy. + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS, EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this wired network using their real username is displayed as 'anonymous'. */ - @SerializedName("eapFastConfiguration") + @SerializedName("enableOuterIdentityPrivacy") @Expose - public EapFastConfiguration eapFastConfiguration; + public String enableOuterIdentityPrivacy; /** - * The Trusted Server Certificate Names. - * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this wired network. + * The Network Interface. + * Network interface. */ - @SerializedName("trustedServerCertificateNames") + @SerializedName("networkInterface") @Expose - public java.util.List trustedServerCertificateNames; + public WiredNetworkInterface networkInterface; /** - * The Authentication Method. - * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. + * The Network Name. + * Network Name */ - @SerializedName("authenticationMethod") + @SerializedName("networkName") @Expose - public WiFiAuthenticationMethod authenticationMethod; + public String networkName; /** * The Non Eap Authentication Method For Eap Ttls. @@ -90,20 +90,12 @@ public class MacOSWiredNetworkConfiguration extends DeviceConfiguration implemen public NonEapAuthenticationMethodForEapTtlsType nonEapAuthenticationMethodForEapTtls; /** - * The Enable Outer Identity Privacy. - * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS, EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this wired network using their real username is displayed as 'anonymous'. - */ - @SerializedName("enableOuterIdentityPrivacy") - @Expose - public String enableOuterIdentityPrivacy; - - /** - * The Root Certificate For Server Validation. - * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. + * The Trusted Server Certificate Names. + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this wired network. */ - @SerializedName("rootCertificateForServerValidation") + @SerializedName("trustedServerCertificateNames") @Expose - public MacOSTrustedRootCertificate rootCertificateForServerValidation; + public java.util.List trustedServerCertificateNames; /** * The Identity Certificate For Client Authentication. @@ -113,6 +105,14 @@ public class MacOSWiredNetworkConfiguration extends DeviceConfiguration implemen @Expose public MacOSCertificateProfileBase identityCertificateForClientAuthentication; + /** + * The Root Certificate For Server Validation. + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. + */ + @SerializedName("rootCertificateForServerValidation") + @Expose + public MacOSTrustedRootCertificate rootCertificateForServerValidation; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOsVppApp.java b/src/main/java/com/microsoft/graph/models/extensions/MacOsVppApp.java index 9b3c1907d84..db17e72f53e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOsVppApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOsVppApp.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.VppLicensingType; -import com.microsoft.graph.models.generated.VppTokenAccountType; import com.microsoft.graph.models.extensions.MacOsVppAppRevokeLicensesActionResult; +import com.microsoft.graph.models.generated.VppTokenAccountType; import com.microsoft.graph.models.extensions.MacOsVppAppAssignedLicense; import com.microsoft.graph.models.extensions.MobileApp; import com.microsoft.graph.requests.extensions.MacOsVppAppAssignedLicenseCollectionResponse; @@ -33,20 +33,28 @@ public class MacOsVppApp extends MobileApp implements IJsonBackedObject { /** - * The Used License Count. - * The number of VPP licenses in use. + * The App Store Url. + * The store URL. */ - @SerializedName("usedLicenseCount") + @SerializedName("appStoreUrl") @Expose - public Integer usedLicenseCount; + public String appStoreUrl; /** - * The Total License Count. - * The total number of VPP licenses. + * The Bundle Id. + * The Identity Name. */ - @SerializedName("totalLicenseCount") + @SerializedName("bundleId") @Expose - public Integer totalLicenseCount; + public String bundleId; + + /** + * The Licensing Type. + * The supported License Type. + */ + @SerializedName("licensingType") + @Expose + public VppLicensingType licensingType; /** * The Release Date Time. @@ -57,28 +65,28 @@ public class MacOsVppApp extends MobileApp implements IJsonBackedObject { public java.util.Calendar releaseDateTime; /** - * The App Store Url. - * The store URL. + * The Revoke License Action Results. + * Results of revoke license actions on this app. */ - @SerializedName("appStoreUrl") + @SerializedName("revokeLicenseActionResults") @Expose - public String appStoreUrl; + public java.util.List revokeLicenseActionResults; /** - * The Licensing Type. - * The supported License Type. + * The Total License Count. + * The total number of VPP licenses. */ - @SerializedName("licensingType") + @SerializedName("totalLicenseCount") @Expose - public VppLicensingType licensingType; + public Integer totalLicenseCount; /** - * The Vpp Token Organization Name. - * The organization associated with the Apple Volume Purchase Program Token + * The Used License Count. + * The number of VPP licenses in use. */ - @SerializedName("vppTokenOrganizationName") + @SerializedName("usedLicenseCount") @Expose - public String vppTokenOrganizationName; + public Integer usedLicenseCount; /** * The Vpp Token Account Type. @@ -96,14 +104,6 @@ public class MacOsVppApp extends MobileApp implements IJsonBackedObject { @Expose public String vppTokenAppleId; - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - /** * The Vpp Token Id. * Identifier of the VPP token associated with this app. @@ -113,12 +113,12 @@ public class MacOsVppApp extends MobileApp implements IJsonBackedObject { public String vppTokenId; /** - * The Revoke License Action Results. - * Results of revoke license actions on this app. + * The Vpp Token Organization Name. + * The organization associated with the Apple Volume Purchase Program Token */ - @SerializedName("revokeLicenseActionResults") + @SerializedName("vppTokenOrganizationName") @Expose - public java.util.List revokeLicenseActionResults; + public String vppTokenOrganizationName; /** * The Assigned Licenses. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MacOsVppAppRevokeLicensesActionResult.java b/src/main/java/com/microsoft/graph/models/extensions/MacOsVppAppRevokeLicensesActionResult.java index 88a2ab64c92..bae8c93c869 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MacOsVppAppRevokeLicensesActionResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MacOsVppAppRevokeLicensesActionResult.java @@ -38,28 +38,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The User Id. - * UserId associated with the action. + * The Action Failure Reason. + * The reason for the revoke licenses action failure. */ - @SerializedName("userId") + @SerializedName("actionFailureReason") @Expose - public String userId; + public VppTokenActionFailureReason actionFailureReason; /** - * The Managed Device Id. - * DeviceId associated with the action. + * The Action Name. + * Action name */ - @SerializedName("managedDeviceId") + @SerializedName("actionName") @Expose - public String managedDeviceId; + public String actionName; /** - * The Total Licenses Count. - * A count of the number of licenses for which revoke was attempted. + * The Action State. + * State of the action */ - @SerializedName("totalLicensesCount") + @SerializedName("actionState") @Expose - public Integer totalLicensesCount; + public ActionState actionState; /** * The Failed Licenses Count. @@ -70,28 +70,20 @@ public final AdditionalDataManager additionalDataManager() { public Integer failedLicensesCount; /** - * The Action Failure Reason. - * The reason for the revoke licenses action failure. - */ - @SerializedName("actionFailureReason") - @Expose - public VppTokenActionFailureReason actionFailureReason; - - /** - * The Action Name. - * Action name + * The Last Updated Date Time. + * Time the action state was last updated */ - @SerializedName("actionName") + @SerializedName("lastUpdatedDateTime") @Expose - public String actionName; + public java.util.Calendar lastUpdatedDateTime; /** - * The Action State. - * State of the action + * The Managed Device Id. + * DeviceId associated with the action. */ - @SerializedName("actionState") + @SerializedName("managedDeviceId") @Expose - public ActionState actionState; + public String managedDeviceId; /** * The Start Date Time. @@ -102,12 +94,20 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar startDateTime; /** - * The Last Updated Date Time. - * Time the action state was last updated + * The Total Licenses Count. + * A count of the number of licenses for which revoke was attempted. */ - @SerializedName("lastUpdatedDateTime") + @SerializedName("totalLicensesCount") @Expose - public java.util.Calendar lastUpdatedDateTime; + public Integer totalLicensesCount; + + /** + * The User Id. + * UserId associated with the action. + */ + @SerializedName("userId") + @Expose + public String userId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailAssessmentRequest.java b/src/main/java/com/microsoft/graph/models/extensions/MailAssessmentRequest.java index 149dc9e730c..2703570ec92 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailAssessmentRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailAssessmentRequest.java @@ -27,14 +27,6 @@ public class MailAssessmentRequest extends ThreatAssessmentRequest implements IJsonBackedObject { - /** - * The Recipient Email. - * The mail recipient whose policies are used to assess the mail. - */ - @SerializedName("recipientEmail") - @Expose - public String recipientEmail; - /** * The Destination Routing Reason. * The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. @@ -51,6 +43,14 @@ public class MailAssessmentRequest extends ThreatAssessmentRequest implements IJ @Expose public String messageUri; + /** + * The Recipient Email. + * The mail recipient whose policies are used to assess the mail. + */ + @SerializedName("recipientEmail") + @Expose + public String recipientEmail; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java b/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java index 4f57090cd63..260455e3b59 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailFolder.java @@ -8,23 +8,23 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.Message; -import com.microsoft.graph.models.extensions.MessageRule; import com.microsoft.graph.models.extensions.MailFolder; +import com.microsoft.graph.models.extensions.MessageRule; +import com.microsoft.graph.models.extensions.Message; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.UserConfiguration; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MessageCollectionResponse; -import com.microsoft.graph.requests.extensions.MessageCollectionPage; -import com.microsoft.graph.requests.extensions.MessageRuleCollectionResponse; -import com.microsoft.graph.requests.extensions.MessageRuleCollectionPage; import com.microsoft.graph.requests.extensions.MailFolderCollectionResponse; import com.microsoft.graph.requests.extensions.MailFolderCollectionPage; +import com.microsoft.graph.requests.extensions.MessageRuleCollectionResponse; +import com.microsoft.graph.requests.extensions.MessageRuleCollectionPage; +import com.microsoft.graph.requests.extensions.MessageCollectionResponse; +import com.microsoft.graph.requests.extensions.MessageCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.microsoft.graph.requests.extensions.UserConfigurationCollectionResponse; import com.microsoft.graph.requests.extensions.UserConfigurationCollectionPage; @@ -44,6 +44,14 @@ public class MailFolder extends Entity implements IJsonBackedObject { + /** + * The Child Folder Count. + * The number of immediate child mailFolders in the current mailFolder. + */ + @SerializedName("childFolderCount") + @Expose + public Integer childFolderCount; + /** * The Display Name. * The mailFolder's display name. @@ -61,12 +69,12 @@ public class MailFolder extends Entity implements IJsonBackedObject { public String parentFolderId; /** - * The Child Folder Count. - * The number of immediate child mailFolders in the current mailFolder. + * The Total Item Count. + * The number of items in the mailFolder. */ - @SerializedName("childFolderCount") + @SerializedName("totalItemCount") @Expose - public Integer childFolderCount; + public Integer totalItemCount; /** * The Unread Item Count. @@ -76,14 +84,6 @@ public class MailFolder extends Entity implements IJsonBackedObject { @Expose public Integer unreadItemCount; - /** - * The Total Item Count. - * The number of items in the mailFolder. - */ - @SerializedName("totalItemCount") - @Expose - public Integer totalItemCount; - /** * The Well Known Name. * @@ -93,16 +93,16 @@ public class MailFolder extends Entity implements IJsonBackedObject { public String wellKnownName; /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + * The Child Folders. + * The collection of child folders in the mailFolder. */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + public MailFolderCollectionPage childFolders; /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + * The Message Rules. + * The collection of rules that apply to the user's Inbox folder. */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + public MessageRuleCollectionPage messageRules; /** * The Messages. @@ -111,16 +111,16 @@ public class MailFolder extends Entity implements IJsonBackedObject { public MessageCollectionPage messages; /** - * The Message Rules. - * The collection of rules that apply to the user's Inbox folder. + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. */ - public MessageRuleCollectionPage messageRules; + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; /** - * The Child Folders. - * The collection of child folders in the mailFolder. + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. */ - public MailFolderCollectionPage childFolders; + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** * The User Configurations. @@ -168,36 +168,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("childFolders")) { + final MailFolderCollectionResponse response = new MailFolderCollectionResponse(); + if (json.has("childFolders@odata.nextLink")) { + response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); + final MailFolder[] array = new MailFolder[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MailFolder.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + childFolders = new MailFolderCollectionPage(response, null); } - if (json.has("multiValueExtendedProperties")) { - final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("messageRules")) { + final MessageRuleCollectionResponse response = new MessageRuleCollectionResponse(); + if (json.has("messageRules@odata.nextLink")) { + response.nextLink = json.get("messageRules@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messageRules").toString(), JsonObject[].class); + final MessageRule[] array = new MessageRule[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MessageRule.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + messageRules = new MessageRuleCollectionPage(response, null); } if (json.has("messages")) { @@ -216,36 +216,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { messages = new MessageCollectionPage(response, null); } - if (json.has("messageRules")) { - final MessageRuleCollectionResponse response = new MessageRuleCollectionResponse(); - if (json.has("messageRules@odata.nextLink")) { - response.nextLink = json.get("messageRules@odata.nextLink").getAsString(); + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("messageRules").toString(), JsonObject[].class); - final MessageRule[] array = new MessageRule[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MessageRule.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - messageRules = new MessageRuleCollectionPage(response, null); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); } - if (json.has("childFolders")) { - final MailFolderCollectionResponse response = new MailFolderCollectionResponse(); - if (json.has("childFolders@odata.nextLink")) { - response.nextLink = json.get("childFolders@odata.nextLink").getAsString(); + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("childFolders").toString(), JsonObject[].class); - final MailFolder[] array = new MailFolder[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MailFolder.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - childFolders = new MailFolderCollectionPage(response, null); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); } if (json.has("userConfigurations")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailSearchFolder.java b/src/main/java/com/microsoft/graph/models/extensions/MailSearchFolder.java index 9f6e070cbae..71bb0e0e5c5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailSearchFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailSearchFolder.java @@ -27,12 +27,12 @@ public class MailSearchFolder extends MailFolder implements IJsonBackedObject { /** - * The Is Supported. - * Indicates whether a search folder is editable using REST APIs. + * The Filter Query. + * The OData query to filter the messages. */ - @SerializedName("isSupported") + @SerializedName("filterQuery") @Expose - public Boolean isSupported; + public String filterQuery; /** * The Include Nested Folders. @@ -43,20 +43,20 @@ public class MailSearchFolder extends MailFolder implements IJsonBackedObject { public Boolean includeNestedFolders; /** - * The Source Folder Ids. - * The mailbox folders that should be mined. + * The Is Supported. + * Indicates whether a search folder is editable using REST APIs. */ - @SerializedName("sourceFolderIds") + @SerializedName("isSupported") @Expose - public java.util.List sourceFolderIds; + public Boolean isSupported; /** - * The Filter Query. - * The OData query to filter the messages. + * The Source Folder Ids. + * The mailbox folders that should be mined. */ - @SerializedName("filterQuery") + @SerializedName("sourceFolderIds") @Expose - public String filterQuery; + public java.util.List sourceFolderIds; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailTips.java b/src/main/java/com/microsoft/graph/models/extensions/MailTips.java index 3f40f7b1fec..807044afc95 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailTips.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailTips.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.EmailAddress; import com.microsoft.graph.models.extensions.AutomaticRepliesMailTips; +import com.microsoft.graph.models.extensions.EmailAddress; +import com.microsoft.graph.models.extensions.MailTipsError; import com.microsoft.graph.models.generated.RecipientScopeType; import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.extensions.MailTipsError; import com.google.gson.JsonObject; @@ -40,14 +40,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Email Address. - * The email address of the recipient to get mailtips for. - */ - @SerializedName("emailAddress") - @Expose - public EmailAddress emailAddress; - /** * The Automatic Replies. * Mail tips for automatic reply if it has been set up by the recipient. @@ -56,14 +48,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public AutomaticRepliesMailTips automaticReplies; - /** - * The Mailbox Full. - * The mailbox full status of the recipient. - */ - @SerializedName("mailboxFull") - @Expose - public Boolean mailboxFull; - /** * The Custom Mail Tip. * A custom mail tip that can be set on the recipient's mailbox. @@ -73,28 +57,36 @@ public final AdditionalDataManager additionalDataManager() { public String customMailTip; /** - * The External Member Count. - * The number of external members if the recipient is a distribution list. + * The Delivery Restricted. + * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. */ - @SerializedName("externalMemberCount") + @SerializedName("deliveryRestricted") @Expose - public Integer externalMemberCount; + public Boolean deliveryRestricted; /** - * The Total Member Count. - * The number of members if the recipient is a distribution list. + * The Email Address. + * The email address of the recipient to get mailtips for. */ - @SerializedName("totalMemberCount") + @SerializedName("emailAddress") @Expose - public Integer totalMemberCount; + public EmailAddress emailAddress; /** - * The Delivery Restricted. - * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. + * The Error. + * Errors that occur during the getMailTips action. */ - @SerializedName("deliveryRestricted") + @SerializedName("error") @Expose - public Boolean deliveryRestricted; + public MailTipsError error; + + /** + * The External Member Count. + * The number of external members if the recipient is a distribution list. + */ + @SerializedName("externalMemberCount") + @Expose + public Integer externalMemberCount; /** * The Is Moderated. @@ -104,6 +96,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean isModerated; + /** + * The Mailbox Full. + * The mailbox full status of the recipient. + */ + @SerializedName("mailboxFull") + @Expose + public Boolean mailboxFull; + + /** + * The Max Message Size. + * The maximum message size that has been configured for the recipient's organization or mailbox. + */ + @SerializedName("maxMessageSize") + @Expose + public Integer maxMessageSize; + /** * The Recipient Scope. * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. @@ -121,20 +129,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List recipientSuggestions; /** - * The Max Message Size. - * The maximum message size that has been configured for the recipient's organization or mailbox. - */ - @SerializedName("maxMessageSize") - @Expose - public Integer maxMessageSize; - - /** - * The Error. - * Errors that occur during the getMailTips action. + * The Total Member Count. + * The number of members if the recipient is a distribution list. */ - @SerializedName("error") + @SerializedName("totalMemberCount") @Expose - public MailTipsError error; + public Integer totalMemberCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java b/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java index 40437811f5c..41ad59399d2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailTipsError.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Message. - * The error message. - */ - @SerializedName("message") - @Expose - public String message; - /** * The Code. * The error code. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String code; + /** + * The Message. + * The error message. + */ + @SerializedName("message") + @Expose + public String message; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java b/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java index d7eefe93293..f5c5ead61a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailboxSettings.java @@ -9,10 +9,11 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.AutomaticRepliesSetting; -import com.microsoft.graph.models.extensions.LocaleInfo; import com.microsoft.graph.models.generated.DelegateMeetingMessageDeliveryOptions; -import com.microsoft.graph.models.extensions.WorkingHours; +import com.microsoft.graph.models.extensions.LocaleInfo; import com.microsoft.graph.models.extensions.UserPurpose; +import com.microsoft.graph.models.generated.MailboxRecipientType; +import com.microsoft.graph.models.extensions.WorkingHours; import com.google.gson.JsonObject; @@ -40,14 +41,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Automatic Replies Setting. - * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. - */ - @SerializedName("automaticRepliesSetting") - @Expose - public AutomaticRepliesSetting automaticRepliesSetting; - /** * The Archive Folder. * Folder ID of an archive folder for the user. @@ -57,20 +50,20 @@ public final AdditionalDataManager additionalDataManager() { public String archiveFolder; /** - * The Time Zone. - * The default time zone for the user's mailbox. + * The Automatic Replies Setting. + * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. */ - @SerializedName("timeZone") + @SerializedName("automaticRepliesSetting") @Expose - public String timeZone; + public AutomaticRepliesSetting automaticRepliesSetting; /** - * The Language. - * The locale information for the user, including the preferred language and country/region. + * The Date Format. + * The date format for the user's mailbox. */ - @SerializedName("language") + @SerializedName("dateFormat") @Expose - public LocaleInfo language; + public String dateFormat; /** * The Delegate Meeting Message Delivery Options. @@ -81,20 +74,12 @@ public final AdditionalDataManager additionalDataManager() { public DelegateMeetingMessageDeliveryOptions delegateMeetingMessageDeliveryOptions; /** - * The Working Hours. - * The days of the week and hours in a specific time zone that the user works. - */ - @SerializedName("workingHours") - @Expose - public WorkingHours workingHours; - - /** - * The Date Format. - * The date format for the user's mailbox. + * The Language. + * The locale information for the user, including the preferred language and country/region. */ - @SerializedName("dateFormat") + @SerializedName("language") @Expose - public String dateFormat; + public LocaleInfo language; /** * The Time Format. @@ -104,6 +89,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String timeFormat; + /** + * The Time Zone. + * The default time zone for the user's mailbox. + */ + @SerializedName("timeZone") + @Expose + public String timeZone; + /** * The User Purpose. * @@ -112,6 +105,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public UserPurpose userPurpose; + /** + * The User Purpose V2. + * + */ + @SerializedName("userPurposeV2") + @Expose + public MailboxRecipientType userPurposeV2; + + /** + * The Working Hours. + * The days of the week and hours in a specific time zone that the user works. + */ + @SerializedName("workingHours") + @Expose + public WorkingHours workingHours; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageDetail.java b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageDetail.java index 06c6c9e9c5a..e658305d703 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageDetail.java @@ -27,60 +27,60 @@ public class MailboxUsageDetail extends Entity implements IJsonBackedObject { /** - * The Report Refresh Date. + * The Created Date. * */ - @SerializedName("reportRefreshDate") + @SerializedName("createdDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public com.microsoft.graph.models.extensions.DateOnly createdDate; /** - * The User Principal Name. + * The Deleted Date. * */ - @SerializedName("userPrincipalName") + @SerializedName("deletedDate") @Expose - public String userPrincipalName; + public com.microsoft.graph.models.extensions.DateOnly deletedDate; /** - * The Display Name. + * The Deleted Item Count. * */ - @SerializedName("displayName") + @SerializedName("deletedItemCount") @Expose - public String displayName; + public Long deletedItemCount; /** - * The Is Deleted. + * The Deleted Item Size In Bytes. * */ - @SerializedName("isDeleted") + @SerializedName("deletedItemSizeInBytes") @Expose - public Boolean isDeleted; + public Long deletedItemSizeInBytes; /** - * The Deleted Date. + * The Display Name. * */ - @SerializedName("deletedDate") + @SerializedName("displayName") @Expose - public com.microsoft.graph.models.extensions.DateOnly deletedDate; + public String displayName; /** - * The Created Date. + * The Is Deleted. * */ - @SerializedName("createdDate") + @SerializedName("isDeleted") @Expose - public com.microsoft.graph.models.extensions.DateOnly createdDate; + public Boolean isDeleted; /** - * The Last Activity Date. + * The Issue Warning Quota In Bytes. * */ - @SerializedName("lastActivityDate") + @SerializedName("issueWarningQuotaInBytes") @Expose - public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; + public Long issueWarningQuotaInBytes; /** * The Item Count. @@ -91,60 +91,60 @@ public class MailboxUsageDetail extends Entity implements IJsonBackedObject { public Long itemCount; /** - * The Storage Used In Bytes. + * The Last Activity Date. * */ - @SerializedName("storageUsedInBytes") + @SerializedName("lastActivityDate") @Expose - public Long storageUsedInBytes; + public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; /** - * The Deleted Item Count. + * The Prohibit Send Quota In Bytes. * */ - @SerializedName("deletedItemCount") + @SerializedName("prohibitSendQuotaInBytes") @Expose - public Long deletedItemCount; + public Long prohibitSendQuotaInBytes; /** - * The Deleted Item Size In Bytes. + * The Prohibit Send Receive Quota In Bytes. * */ - @SerializedName("deletedItemSizeInBytes") + @SerializedName("prohibitSendReceiveQuotaInBytes") @Expose - public Long deletedItemSizeInBytes; + public Long prohibitSendReceiveQuotaInBytes; /** - * The Issue Warning Quota In Bytes. + * The Report Period. * */ - @SerializedName("issueWarningQuotaInBytes") + @SerializedName("reportPeriod") @Expose - public Long issueWarningQuotaInBytes; + public String reportPeriod; /** - * The Prohibit Send Quota In Bytes. + * The Report Refresh Date. * */ - @SerializedName("prohibitSendQuotaInBytes") + @SerializedName("reportRefreshDate") @Expose - public Long prohibitSendQuotaInBytes; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Prohibit Send Receive Quota In Bytes. + * The Storage Used In Bytes. * */ - @SerializedName("prohibitSendReceiveQuotaInBytes") + @SerializedName("storageUsedInBytes") @Expose - public Long prohibitSendReceiveQuotaInBytes; + public Long storageUsedInBytes; /** - * The Report Period. + * The User Principal Name. * */ - @SerializedName("reportPeriod") + @SerializedName("userPrincipalName") @Expose - public String reportPeriod; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageMailboxCounts.java b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageMailboxCounts.java index f773b07175a..3e27edc3ac9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageMailboxCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageMailboxCounts.java @@ -27,44 +27,44 @@ public class MailboxUsageMailboxCounts extends Entity implements IJsonBackedObje /** - * The Report Refresh Date. + * The Active. * */ - @SerializedName("reportRefreshDate") + @SerializedName("active") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long active; /** - * The Total. + * The Report Date. * */ - @SerializedName("total") + @SerializedName("reportDate") @Expose - public Long total; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Active. + * The Report Period. * */ - @SerializedName("active") + @SerializedName("reportPeriod") @Expose - public Long active; + public String reportPeriod; /** - * The Report Date. + * The Report Refresh Date. * */ - @SerializedName("reportDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Total. * */ - @SerializedName("reportPeriod") + @SerializedName("total") @Expose - public String reportPeriod; + public Long total; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageQuotaStatusMailboxCounts.java b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageQuotaStatusMailboxCounts.java index 181b3420cb8..f6dd1355386 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageQuotaStatusMailboxCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageQuotaStatusMailboxCounts.java @@ -27,28 +27,36 @@ public class MailboxUsageQuotaStatusMailboxCounts extends Entity implements IJso /** - * The Report Refresh Date. + * The Indeterminate. * */ - @SerializedName("reportRefreshDate") + @SerializedName("indeterminate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long indeterminate; /** - * The Under Limit. + * The Report Date. * */ - @SerializedName("underLimit") + @SerializedName("reportDate") @Expose - public Long underLimit; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Warning Issued. + * The Report Period. * */ - @SerializedName("warningIssued") + @SerializedName("reportPeriod") @Expose - public Long warningIssued; + public String reportPeriod; + + /** + * The Report Refresh Date. + * + */ + @SerializedName("reportRefreshDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** * The Send Prohibited. @@ -67,28 +75,20 @@ public class MailboxUsageQuotaStatusMailboxCounts extends Entity implements IJso public Long sendReceiveProhibited; /** - * The Indeterminate. - * - */ - @SerializedName("indeterminate") - @Expose - public Long indeterminate; - - /** - * The Report Date. + * The Under Limit. * */ - @SerializedName("reportDate") + @SerializedName("underLimit") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public Long underLimit; /** - * The Report Period. + * The Warning Issued. * */ - @SerializedName("reportPeriod") + @SerializedName("warningIssued") @Expose - public String reportPeriod; + public Long warningIssued; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageStorage.java b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageStorage.java index 3eb1a6cbe63..96de37494fd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageStorage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MailboxUsageStorage.java @@ -27,36 +27,36 @@ public class MailboxUsageStorage extends Entity implements IJsonBackedObject { /** - * The Report Refresh Date. + * The Report Date. * */ - @SerializedName("reportRefreshDate") + @SerializedName("reportDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Storage Used In Bytes. + * The Report Period. * */ - @SerializedName("storageUsedInBytes") + @SerializedName("reportPeriod") @Expose - public Long storageUsedInBytes; + public String reportPeriod; /** - * The Report Date. + * The Report Refresh Date. * */ - @SerializedName("reportDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Storage Used In Bytes. * */ - @SerializedName("reportPeriod") + @SerializedName("storageUsedInBytes") @Expose - public String reportPeriod; + public Long storageUsedInBytes; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MalwareStateForWindowsDevice.java b/src/main/java/com/microsoft/graph/models/extensions/MalwareStateForWindowsDevice.java index e7be8d95665..eeb85080a44 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MalwareStateForWindowsDevice.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MalwareStateForWindowsDevice.java @@ -28,6 +28,14 @@ public class MalwareStateForWindowsDevice extends Entity implements IJsonBackedObject { + /** + * The Detection Count. + * Number of times the malware is detected + */ + @SerializedName("detectionCount") + @Expose + public Integer detectionCount; + /** * The Device Name. * Device name @@ -44,14 +52,6 @@ public class MalwareStateForWindowsDevice extends Entity implements IJsonBackedO @Expose public WindowsMalwareExecutionState executionState; - /** - * The Threat State. - * Threat status of the malware like cleaned/quarantined/allowed etc - */ - @SerializedName("threatState") - @Expose - public WindowsMalwareThreatState threatState; - /** * The Initial Detection Date Time. * Initial detection datetime of the malware @@ -69,12 +69,12 @@ public class MalwareStateForWindowsDevice extends Entity implements IJsonBackedO public java.util.Calendar lastStateChangeDateTime; /** - * The Detection Count. - * Number of times the malware is detected + * The Threat State. + * Threat status of the malware like cleaned/quarantined/allowed etc */ - @SerializedName("detectionCount") + @SerializedName("threatState") @Expose - public Integer detectionCount; + public WindowsMalwareThreatState threatState; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAllDeviceCertificateState.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAllDeviceCertificateState.java index 579acceae24..d4295357f6c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAllDeviceCertificateState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAllDeviceCertificateState.java @@ -28,60 +28,60 @@ public class ManagedAllDeviceCertificateState extends Entity implements IJsonBac /** - * The Certificate Revoke Status. - * Revoke status + * The Certificate Expiration Date Time. + * Certificate expiry date */ - @SerializedName("certificateRevokeStatus") + @SerializedName("certificateExpirationDateTime") @Expose - public CertificateRevocationStatus certificateRevokeStatus; + public java.util.Calendar certificateExpirationDateTime; /** - * The Certificate Revoke Status Last Change Date Time. - * The time the revoke status was last changed + * The Certificate Extended Key Usages. + * Enhanced Key Usage */ - @SerializedName("certificateRevokeStatusLastChangeDateTime") + @SerializedName("certificateExtendedKeyUsages") @Expose - public java.util.Calendar certificateRevokeStatusLastChangeDateTime; + public String certificateExtendedKeyUsages; /** - * The Managed Device Display Name. - * Device display name + * The Certificate Issuance Date Time. + * Issuance date */ - @SerializedName("managedDeviceDisplayName") + @SerializedName("certificateIssuanceDateTime") @Expose - public String managedDeviceDisplayName; + public java.util.Calendar certificateIssuanceDateTime; /** - * The User Principal Name. - * User principal name + * The Certificate Issuer Name. + * Issuer */ - @SerializedName("userPrincipalName") + @SerializedName("certificateIssuerName") @Expose - public String userPrincipalName; + public String certificateIssuerName; /** - * The Certificate Expiration Date Time. - * Certificate expiry date + * The Certificate Key Usages. + * Key Usage */ - @SerializedName("certificateExpirationDateTime") + @SerializedName("certificateKeyUsages") @Expose - public java.util.Calendar certificateExpirationDateTime; + public Integer certificateKeyUsages; /** - * The Certificate Issuer Name. - * Issuer + * The Certificate Revoke Status. + * Revoke status */ - @SerializedName("certificateIssuerName") + @SerializedName("certificateRevokeStatus") @Expose - public String certificateIssuerName; + public CertificateRevocationStatus certificateRevokeStatus; /** - * The Certificate Thumbprint. - * Thumbprint + * The Certificate Revoke Status Last Change Date Time. + * The time the revoke status was last changed */ - @SerializedName("certificateThumbprint") + @SerializedName("certificateRevokeStatusLastChangeDateTime") @Expose - public String certificateThumbprint; + public java.util.Calendar certificateRevokeStatusLastChangeDateTime; /** * The Certificate Serial Number. @@ -100,28 +100,28 @@ public class ManagedAllDeviceCertificateState extends Entity implements IJsonBac public String certificateSubjectName; /** - * The Certificate Key Usages. - * Key Usage + * The Certificate Thumbprint. + * Thumbprint */ - @SerializedName("certificateKeyUsages") + @SerializedName("certificateThumbprint") @Expose - public Integer certificateKeyUsages; + public String certificateThumbprint; /** - * The Certificate Extended Key Usages. - * Enhanced Key Usage + * The Managed Device Display Name. + * Device display name */ - @SerializedName("certificateExtendedKeyUsages") + @SerializedName("managedDeviceDisplayName") @Expose - public String certificateExtendedKeyUsages; + public String managedDeviceDisplayName; /** - * The Certificate Issuance Date Time. - * Issuance date + * The User Principal Name. + * User principal name */ - @SerializedName("certificateIssuanceDateTime") + @SerializedName("userPrincipalName") @Expose - public java.util.Calendar certificateIssuanceDateTime; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java index a2af30b36e3..40198ff0cb7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidLobApp.java @@ -27,14 +27,6 @@ public class ManagedAndroidLobApp extends ManagedMobileLobApp implements IJsonBackedObject { - /** - * The Package Id. - * The package identifier. - */ - @SerializedName("packageId") - @Expose - public String packageId; - /** * The Identity Name. * The Identity Name. @@ -43,6 +35,14 @@ public class ManagedAndroidLobApp extends ManagedMobileLobApp implements IJsonBa @Expose public String identityName; + /** + * The Identity Version. + * The identity version. + */ + @SerializedName("identityVersion") + @Expose + public String identityVersion; + /** * The Minimum Supported Operating System. * The value for the minimum applicable operating system. @@ -52,12 +52,12 @@ public class ManagedAndroidLobApp extends ManagedMobileLobApp implements IJsonBa public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; /** - * The Version Name. - * The version name of managed Android Line of Business (LoB) app. + * The Package Id. + * The package identifier. */ - @SerializedName("versionName") + @SerializedName("packageId") @Expose - public String versionName; + public String packageId; /** * The Version Code. @@ -68,12 +68,12 @@ public class ManagedAndroidLobApp extends ManagedMobileLobApp implements IJsonBa public String versionCode; /** - * The Identity Version. - * The identity version. + * The Version Name. + * The version name of managed Android Line of Business (LoB) app. */ - @SerializedName("identityVersion") + @SerializedName("versionName") @Expose - public String identityVersion; + public String versionName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java index 4a2356bb264..2dbef065089 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAndroidStoreApp.java @@ -27,14 +27,6 @@ public class ManagedAndroidStoreApp extends ManagedApp implements IJsonBackedObject { - /** - * The Package Id. - * The app's package ID. - */ - @SerializedName("packageId") - @Expose - public String packageId; - /** * The App Store Url. * The Android AppStoreUrl. @@ -51,6 +43,14 @@ public class ManagedAndroidStoreApp extends ManagedApp implements IJsonBackedObj @Expose public AndroidMinimumOperatingSystem minimumSupportedOperatingSystem; + /** + * The Package Id. + * The app's package ID. + */ + @SerializedName("packageId") + @Expose + public String packageId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java index b7320953277..b66d20b8a50 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppDiagnosticStatus.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Validation Name. - * The validation friendly name + * The Mitigation Instruction. + * Instruction on how to mitigate a failed validation */ - @SerializedName("validationName") + @SerializedName("mitigationInstruction") @Expose - public String validationName; + public String mitigationInstruction; /** * The State. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public String state; /** - * The Mitigation Instruction. - * Instruction on how to mitigate a failed validation + * The Validation Name. + * The validation friendly name */ - @SerializedName("mitigationInstruction") + @SerializedName("validationName") @Expose - public String mitigationInstruction; + public String validationName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java index db952285b72..ed787389f8e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicy.java @@ -27,12 +27,12 @@ public class ManagedAppPolicy extends Entity implements IJsonBackedObject { /** - * The Display Name. - * Policy display name. + * The Created Date Time. + * The date and time the policy was created. */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -43,12 +43,12 @@ public class ManagedAppPolicy extends Entity implements IJsonBackedObject { public String description; /** - * The Created Date Time. - * The date and time the policy was created. + * The Display Name. + * Policy display name. */ - @SerializedName("createdDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar createdDateTime; + public String displayName; /** * The Last Modified Date Time. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java index 9d7a3cce2c9..3c2085f550c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummary.java @@ -28,36 +28,36 @@ public class ManagedAppPolicyDeploymentSummary extends Entity implements IJsonBa /** - * The Display Name. + * The Configuration Deployed User Count. * Not yet documented */ - @SerializedName("displayName") + @SerializedName("configurationDeployedUserCount") @Expose - public String displayName; + public Integer configurationDeployedUserCount; /** - * The Configuration Deployed User Count. + * The Configuration Deployment Summary Per App. * Not yet documented */ - @SerializedName("configurationDeployedUserCount") + @SerializedName("configurationDeploymentSummaryPerApp") @Expose - public Integer configurationDeployedUserCount; + public java.util.List configurationDeploymentSummaryPerApp; /** - * The Last Refresh Time. + * The Display Name. * Not yet documented */ - @SerializedName("lastRefreshTime") + @SerializedName("displayName") @Expose - public java.util.Calendar lastRefreshTime; + public String displayName; /** - * The Configuration Deployment Summary Per App. + * The Last Refresh Time. * Not yet documented */ - @SerializedName("configurationDeploymentSummaryPerApp") + @SerializedName("lastRefreshTime") @Expose - public java.util.List configurationDeploymentSummaryPerApp; + public java.util.Calendar lastRefreshTime; /** * The Version. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java index 6d3a68285db..ad968cc4783 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppPolicyDeploymentSummaryPerApp.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Mobile App Identifier. - * Deployment of an app. - */ - @SerializedName("mobileAppIdentifier") - @Expose - public MobileAppIdentifier mobileAppIdentifier; - /** * The Configuration Applied User Count. * Number of users the policy is applied. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Integer configurationAppliedUserCount; + /** + * The Mobile App Identifier. + * Deployment of an app. + */ + @SerializedName("mobileAppIdentifier") + @Expose + public MobileAppIdentifier mobileAppIdentifier; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java index 13631597870..21e5d59836b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppProtection.java @@ -8,16 +8,16 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.ManagedAppDataIngestionLocation; +import com.microsoft.graph.models.generated.ManagedAppDataStorageLocation; import com.microsoft.graph.models.generated.ManagedAppDataTransferLevel; import com.microsoft.graph.models.generated.ManagedAppClipboardSharingLevel; -import com.microsoft.graph.models.generated.ManagedAppPinCharacterSet; -import com.microsoft.graph.models.generated.ManagedAppDataStorageLocation; import com.microsoft.graph.models.generated.ManagedAppRemediationAction; -import com.microsoft.graph.models.generated.ManagedAppNotificationRestriction; +import com.microsoft.graph.models.generated.ManagedAppPhoneNumberRedirectLevel; import com.microsoft.graph.models.generated.ManagedBrowserType; import com.microsoft.graph.models.generated.ManagedAppDeviceThreatLevel; -import com.microsoft.graph.models.generated.ManagedAppDataIngestionLocation; -import com.microsoft.graph.models.generated.ManagedAppPhoneNumberRedirectLevel; +import com.microsoft.graph.models.generated.ManagedAppNotificationRestriction; +import com.microsoft.graph.models.generated.ManagedAppPinCharacterSet; import com.microsoft.graph.models.extensions.ManagedAppPolicy; @@ -37,20 +37,20 @@ public class ManagedAppProtection extends ManagedAppPolicy implements IJsonBacke /** - * The Period Offline Before Access Check. - * The period after which access is checked when the device is not connected to the internet. + * The Allowed Data Ingestion Locations. + * Data storage locations where a user may store managed data. */ - @SerializedName("periodOfflineBeforeAccessCheck") + @SerializedName("allowedDataIngestionLocations") @Expose - public javax.xml.datatype.Duration periodOfflineBeforeAccessCheck; + public java.util.List allowedDataIngestionLocations; /** - * The Period Online Before Access Check. - * The period after which access is checked when the device is connected to the internet. + * The Allowed Data Storage Locations. + * Data storage locations where a user may store managed data. */ - @SerializedName("periodOnlineBeforeAccessCheck") + @SerializedName("allowedDataStorageLocations") @Expose - public javax.xml.datatype.Duration periodOnlineBeforeAccessCheck; + public java.util.List allowedDataStorageLocations; /** * The Allowed Inbound Data Transfer Sources. @@ -61,20 +61,12 @@ public class ManagedAppProtection extends ManagedAppPolicy implements IJsonBacke public ManagedAppDataTransferLevel allowedInboundDataTransferSources; /** - * The Allowed Outbound Data Transfer Destinations. - * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. - */ - @SerializedName("allowedOutboundDataTransferDestinations") - @Expose - public ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations; - - /** - * The Organizational Credentials Required. - * Indicates whether organizational credentials are required for app use. + * The Allowed Outbound Clipboard Sharing Exception Length. + * Specify the number of characters that may be cut or copied from Org data and accounts to any application. This setting overrides the AllowedOutboundClipboardSharingLevel restriction. Default value of '0' means no exception is allowed. */ - @SerializedName("organizationalCredentialsRequired") + @SerializedName("allowedOutboundClipboardSharingExceptionLength") @Expose - public Boolean organizationalCredentialsRequired; + public Integer allowedOutboundClipboardSharingExceptionLength; /** * The Allowed Outbound Clipboard Sharing Level. @@ -85,132 +77,140 @@ public class ManagedAppProtection extends ManagedAppPolicy implements IJsonBacke public ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel; /** - * The Data Backup Blocked. - * Indicates whether the backup of a managed app's data is blocked. + * The Allowed Outbound Data Transfer Destinations. + * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. */ - @SerializedName("dataBackupBlocked") + @SerializedName("allowedOutboundDataTransferDestinations") @Expose - public Boolean dataBackupBlocked; + public ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations; /** - * The Device Compliance Required. - * Indicates whether device compliance is required. + * The App Action If Device Compliance Required. + * Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true. */ - @SerializedName("deviceComplianceRequired") + @SerializedName("appActionIfDeviceComplianceRequired") @Expose - public Boolean deviceComplianceRequired; + public ManagedAppRemediationAction appActionIfDeviceComplianceRequired; /** - * The Managed Browser To Open Links Required. - * Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android) + * The App Action If Maximum Pin Retries Exceeded. + * Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts. */ - @SerializedName("managedBrowserToOpenLinksRequired") + @SerializedName("appActionIfMaximumPinRetriesExceeded") @Expose - public Boolean managedBrowserToOpenLinksRequired; + public ManagedAppRemediationAction appActionIfMaximumPinRetriesExceeded; /** - * The Save As Blocked. - * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. + * The App Action If Unable To Authenticate User. + * If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD. */ - @SerializedName("saveAsBlocked") + @SerializedName("appActionIfUnableToAuthenticateUser") @Expose - public Boolean saveAsBlocked; + public ManagedAppRemediationAction appActionIfUnableToAuthenticateUser; /** - * The Period Offline Before Wipe Is Enforced. - * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. + * The Block Data Ingestion Into Organization Documents. + * Indicates whether a user can bring data into org documents. */ - @SerializedName("periodOfflineBeforeWipeIsEnforced") + @SerializedName("blockDataIngestionIntoOrganizationDocuments") @Expose - public javax.xml.datatype.Duration periodOfflineBeforeWipeIsEnforced; + public Boolean blockDataIngestionIntoOrganizationDocuments; /** - * The Pin Required. - * Indicates whether an app-level pin is required. + * The Contact Sync Blocked. + * Indicates whether contacts can be synced to the user's device. */ - @SerializedName("pinRequired") + @SerializedName("contactSyncBlocked") @Expose - public Boolean pinRequired; + public Boolean contactSyncBlocked; /** - * The Maximum Pin Retries. - * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. + * The Data Backup Blocked. + * Indicates whether the backup of a managed app's data is blocked. */ - @SerializedName("maximumPinRetries") + @SerializedName("dataBackupBlocked") @Expose - public Integer maximumPinRetries; + public Boolean dataBackupBlocked; /** - * The Simple Pin Blocked. - * Indicates whether simplePin is blocked. + * The Device Compliance Required. + * Indicates whether device compliance is required. */ - @SerializedName("simplePinBlocked") + @SerializedName("deviceComplianceRequired") @Expose - public Boolean simplePinBlocked; + public Boolean deviceComplianceRequired; /** - * The Minimum Pin Length. - * Minimum pin length required for an app-level pin if PinRequired is set to True + * The Dialer Restriction Level. + * The classes of dialer apps that are allowed to click-to-open a phone number. */ - @SerializedName("minimumPinLength") + @SerializedName("dialerRestrictionLevel") @Expose - public Integer minimumPinLength; + public ManagedAppPhoneNumberRedirectLevel dialerRestrictionLevel; /** - * The Pin Character Set. - * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. + * The Disable App Pin If Device Pin Is Set. + * Indicates whether use of the app pin is required if the device pin is set. */ - @SerializedName("pinCharacterSet") + @SerializedName("disableAppPinIfDevicePinIsSet") @Expose - public ManagedAppPinCharacterSet pinCharacterSet; + public Boolean disableAppPinIfDevicePinIsSet; /** - * The Period Before Pin Reset. - * TimePeriod before the all-level pin must be reset if PinRequired is set to True. + * The Fingerprint Blocked. + * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. */ - @SerializedName("periodBeforePinReset") + @SerializedName("fingerprintBlocked") @Expose - public javax.xml.datatype.Duration periodBeforePinReset; + public Boolean fingerprintBlocked; /** - * The Allowed Data Storage Locations. - * Data storage locations where a user may store managed data. + * The Managed Browser. + * Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. Possible values are: notConfigured, microsoftEdge. */ - @SerializedName("allowedDataStorageLocations") + @SerializedName("managedBrowser") @Expose - public java.util.List allowedDataStorageLocations; + public EnumSet managedBrowser; /** - * The Contact Sync Blocked. - * Indicates whether contacts can be synced to the user's device. + * The Managed Browser To Open Links Required. + * Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android) */ - @SerializedName("contactSyncBlocked") + @SerializedName("managedBrowserToOpenLinksRequired") @Expose - public Boolean contactSyncBlocked; + public Boolean managedBrowserToOpenLinksRequired; /** - * The Print Blocked. - * Indicates whether printing is allowed from managed apps. + * The Maximum Allowed Device Threat Level. + * Maximum allowed device threat level, as reported by the MTD app */ - @SerializedName("printBlocked") + @SerializedName("maximumAllowedDeviceThreatLevel") @Expose - public Boolean printBlocked; + public ManagedAppDeviceThreatLevel maximumAllowedDeviceThreatLevel; /** - * The Fingerprint Blocked. - * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. + * The Maximum Pin Retries. + * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. */ - @SerializedName("fingerprintBlocked") + @SerializedName("maximumPinRetries") @Expose - public Boolean fingerprintBlocked; + public Integer maximumPinRetries; /** - * The Disable App Pin If Device Pin Is Set. - * Indicates whether use of the app pin is required if the device pin is set. + * The Minimum Pin Length. + * Minimum pin length required for an app-level pin if PinRequired is set to True */ - @SerializedName("disableAppPinIfDevicePinIsSet") + @SerializedName("minimumPinLength") @Expose - public Boolean disableAppPinIfDevicePinIsSet; + public Integer minimumPinLength; + + /** + * The Minimum Required App Version. + * Versions less than the specified version will block the managed app from accessing company data. + */ + @SerializedName("minimumRequiredAppVersion") + @Expose + public String minimumRequiredAppVersion; /** * The Minimum Required Os Version. @@ -221,28 +221,28 @@ public class ManagedAppProtection extends ManagedAppPolicy implements IJsonBacke public String minimumRequiredOsVersion; /** - * The Minimum Warning Os Version. - * Versions less than the specified version will result in warning message on the managed app from accessing company data. + * The Minimum Warning App Version. + * Versions less than the specified version will result in warning message on the managed app. */ - @SerializedName("minimumWarningOsVersion") + @SerializedName("minimumWarningAppVersion") @Expose - public String minimumWarningOsVersion; + public String minimumWarningAppVersion; /** - * The Minimum Required App Version. - * Versions less than the specified version will block the managed app from accessing company data. + * The Minimum Warning Os Version. + * Versions less than the specified version will result in warning message on the managed app from accessing company data. */ - @SerializedName("minimumRequiredAppVersion") + @SerializedName("minimumWarningOsVersion") @Expose - public String minimumRequiredAppVersion; + public String minimumWarningOsVersion; /** - * The Minimum Warning App Version. - * Versions less than the specified version will result in warning message on the managed app. + * The Minimum Wipe App Version. + * Versions less than or equal to the specified version will wipe the managed app and the associated company data. */ - @SerializedName("minimumWarningAppVersion") + @SerializedName("minimumWipeAppVersion") @Expose - public String minimumWarningAppVersion; + public String minimumWipeAppVersion; /** * The Minimum Wipe Os Version. @@ -253,116 +253,116 @@ public class ManagedAppProtection extends ManagedAppPolicy implements IJsonBacke public String minimumWipeOsVersion; /** - * The Minimum Wipe App Version. - * Versions less than or equal to the specified version will wipe the managed app and the associated company data. + * The Mobile Threat Defense Remediation Action. + * Determines what action to take if the mobile threat defense threat threshold isn't met. Warn isn't a supported value for this property */ - @SerializedName("minimumWipeAppVersion") + @SerializedName("mobileThreatDefenseRemediationAction") @Expose - public String minimumWipeAppVersion; + public ManagedAppRemediationAction mobileThreatDefenseRemediationAction; /** - * The App Action If Device Compliance Required. - * Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true. + * The Notification Restriction. + * Specify app notification restriction */ - @SerializedName("appActionIfDeviceComplianceRequired") + @SerializedName("notificationRestriction") @Expose - public ManagedAppRemediationAction appActionIfDeviceComplianceRequired; + public ManagedAppNotificationRestriction notificationRestriction; /** - * The App Action If Maximum Pin Retries Exceeded. - * Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts. + * The Organizational Credentials Required. + * Indicates whether organizational credentials are required for app use. */ - @SerializedName("appActionIfMaximumPinRetriesExceeded") + @SerializedName("organizationalCredentialsRequired") @Expose - public ManagedAppRemediationAction appActionIfMaximumPinRetriesExceeded; + public Boolean organizationalCredentialsRequired; /** - * The Pin Required Instead Of Biometric Timeout. - * Timeout in minutes for an app pin instead of non biometrics passcode + * The Period Before Pin Reset. + * TimePeriod before the all-level pin must be reset if PinRequired is set to True. */ - @SerializedName("pinRequiredInsteadOfBiometricTimeout") + @SerializedName("periodBeforePinReset") @Expose - public javax.xml.datatype.Duration pinRequiredInsteadOfBiometricTimeout; + public javax.xml.datatype.Duration periodBeforePinReset; /** - * The Allowed Outbound Clipboard Sharing Exception Length. - * Specify the number of characters that may be cut or copied from Org data and accounts to any application. This setting overrides the AllowedOutboundClipboardSharingLevel restriction. Default value of '0' means no exception is allowed. + * The Period Offline Before Access Check. + * The period after which access is checked when the device is not connected to the internet. */ - @SerializedName("allowedOutboundClipboardSharingExceptionLength") + @SerializedName("periodOfflineBeforeAccessCheck") @Expose - public Integer allowedOutboundClipboardSharingExceptionLength; + public javax.xml.datatype.Duration periodOfflineBeforeAccessCheck; /** - * The Notification Restriction. - * Specify app notification restriction + * The Period Offline Before Wipe Is Enforced. + * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. */ - @SerializedName("notificationRestriction") + @SerializedName("periodOfflineBeforeWipeIsEnforced") @Expose - public ManagedAppNotificationRestriction notificationRestriction; + public javax.xml.datatype.Duration periodOfflineBeforeWipeIsEnforced; /** - * The Previous Pin Block Count. - * Requires a pin to be unique from the number specified in this property. + * The Period Online Before Access Check. + * The period after which access is checked when the device is connected to the internet. */ - @SerializedName("previousPinBlockCount") + @SerializedName("periodOnlineBeforeAccessCheck") @Expose - public Integer previousPinBlockCount; + public javax.xml.datatype.Duration periodOnlineBeforeAccessCheck; /** - * The Managed Browser. - * Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. Possible values are: notConfigured, microsoftEdge. + * The Pin Character Set. + * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. */ - @SerializedName("managedBrowser") + @SerializedName("pinCharacterSet") @Expose - public EnumSet managedBrowser; + public ManagedAppPinCharacterSet pinCharacterSet; /** - * The Maximum Allowed Device Threat Level. - * Maximum allowed device threat level, as reported by the MTD app + * The Pin Required. + * Indicates whether an app-level pin is required. */ - @SerializedName("maximumAllowedDeviceThreatLevel") + @SerializedName("pinRequired") @Expose - public ManagedAppDeviceThreatLevel maximumAllowedDeviceThreatLevel; + public Boolean pinRequired; /** - * The Mobile Threat Defense Remediation Action. - * Determines what action to take if the mobile threat defense threat threshold isn't met. Warn isn't a supported value for this property + * The Pin Required Instead Of Biometric Timeout. + * Timeout in minutes for an app pin instead of non biometrics passcode */ - @SerializedName("mobileThreatDefenseRemediationAction") + @SerializedName("pinRequiredInsteadOfBiometricTimeout") @Expose - public ManagedAppRemediationAction mobileThreatDefenseRemediationAction; + public javax.xml.datatype.Duration pinRequiredInsteadOfBiometricTimeout; /** - * The Block Data Ingestion Into Organization Documents. - * Indicates whether a user can bring data into org documents. + * The Previous Pin Block Count. + * Requires a pin to be unique from the number specified in this property. */ - @SerializedName("blockDataIngestionIntoOrganizationDocuments") + @SerializedName("previousPinBlockCount") @Expose - public Boolean blockDataIngestionIntoOrganizationDocuments; + public Integer previousPinBlockCount; /** - * The Allowed Data Ingestion Locations. - * Data storage locations where a user may store managed data. + * The Print Blocked. + * Indicates whether printing is allowed from managed apps. */ - @SerializedName("allowedDataIngestionLocations") + @SerializedName("printBlocked") @Expose - public java.util.List allowedDataIngestionLocations; + public Boolean printBlocked; /** - * The App Action If Unable To Authenticate User. - * If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD. + * The Save As Blocked. + * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. */ - @SerializedName("appActionIfUnableToAuthenticateUser") + @SerializedName("saveAsBlocked") @Expose - public ManagedAppRemediationAction appActionIfUnableToAuthenticateUser; + public Boolean saveAsBlocked; /** - * The Dialer Restriction Level. - * The classes of dialer apps that are allowed to click-to-open a phone number. + * The Simple Pin Blocked. + * Indicates whether simplePin is blocked. */ - @SerializedName("dialerRestrictionLevel") + @SerializedName("simplePinBlocked") @Expose - public ManagedAppPhoneNumberRedirectLevel dialerRestrictionLevel; + public Boolean simplePinBlocked; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java index e41f7160e90..c5789eec520 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedAppRegistration.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ManagedAppFlaggedReason; import com.microsoft.graph.models.extensions.MobileAppIdentifier; +import com.microsoft.graph.models.generated.ManagedAppFlaggedReason; import com.microsoft.graph.models.extensions.ManagedAppPolicy; import com.microsoft.graph.models.extensions.ManagedAppOperation; import com.microsoft.graph.models.extensions.Entity; @@ -35,20 +35,12 @@ public class ManagedAppRegistration extends Entity implements IJsonBackedObject /** - * The Created Date Time. - * Date and time of creation - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Sync Date Time. - * Date and time of last the app synced with management service. + * The App Identifier. + * The app package Identifier */ - @SerializedName("lastSyncDateTime") + @SerializedName("appIdentifier") @Expose - public java.util.Calendar lastSyncDateTime; + public MobileAppIdentifier appIdentifier; /** * The Application Version. @@ -59,36 +51,36 @@ public class ManagedAppRegistration extends Entity implements IJsonBackedObject public String applicationVersion; /** - * The Management Sdk Version. - * App management SDK version + * The Azure ADDevice Id. + * The Azure Active Directory Device identifier of the host device. Value could be empty even when the host device is Azure Active Directory registered. */ - @SerializedName("managementSdkVersion") + @SerializedName("azureADDeviceId") @Expose - public String managementSdkVersion; + public String azureADDeviceId; /** - * The Platform Version. - * Operating System version + * The Created Date Time. + * Date and time of creation */ - @SerializedName("platformVersion") + @SerializedName("createdDateTime") @Expose - public String platformVersion; + public java.util.Calendar createdDateTime; /** - * The Device Type. - * Host device type + * The Device Manufacturer. + * The device manufacturer for the current app registration */ - @SerializedName("deviceType") + @SerializedName("deviceManufacturer") @Expose - public String deviceType; + public String deviceManufacturer; /** - * The Device Tag. - * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. + * The Device Model. + * The device model for the current app registration */ - @SerializedName("deviceTag") + @SerializedName("deviceModel") @Expose - public String deviceTag; + public String deviceModel; /** * The Device Name. @@ -99,60 +91,68 @@ public class ManagedAppRegistration extends Entity implements IJsonBackedObject public String deviceName; /** - * The Managed Device Id. - * The Managed Device identifier of the host device. Value could be empty even when the host device is managed. + * The Device Tag. + * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. */ - @SerializedName("managedDeviceId") + @SerializedName("deviceTag") @Expose - public String managedDeviceId; + public String deviceTag; /** - * The Azure ADDevice Id. - * The Azure Active Directory Device identifier of the host device. Value could be empty even when the host device is Azure Active Directory registered. + * The Device Type. + * Host device type */ - @SerializedName("azureADDeviceId") + @SerializedName("deviceType") @Expose - public String azureADDeviceId; + public String deviceType; /** - * The Device Model. - * The device model for the current app registration + * The Flagged Reasons. + * Zero or more reasons an app registration is flagged. E.g. app running on rooted device */ - @SerializedName("deviceModel") + @SerializedName("flaggedReasons") @Expose - public String deviceModel; + public java.util.List flaggedReasons; /** - * The Device Manufacturer. - * The device manufacturer for the current app registration + * The Last Sync Date Time. + * Date and time of last the app synced with management service. */ - @SerializedName("deviceManufacturer") + @SerializedName("lastSyncDateTime") @Expose - public String deviceManufacturer; + public java.util.Calendar lastSyncDateTime; /** - * The Flagged Reasons. - * Zero or more reasons an app registration is flagged. E.g. app running on rooted device + * The Managed Device Id. + * The Managed Device identifier of the host device. Value could be empty even when the host device is managed. */ - @SerializedName("flaggedReasons") + @SerializedName("managedDeviceId") @Expose - public java.util.List flaggedReasons; + public String managedDeviceId; /** - * The User Id. - * The user Id to who this app registration belongs. + * The Management Sdk Version. + * App management SDK version */ - @SerializedName("userId") + @SerializedName("managementSdkVersion") @Expose - public String userId; + public String managementSdkVersion; /** - * The App Identifier. - * The app package Identifier + * The Platform Version. + * Operating System version */ - @SerializedName("appIdentifier") + @SerializedName("platformVersion") @Expose - public MobileAppIdentifier appIdentifier; + public String platformVersion; + + /** + * The User Id. + * The user Id to who this app registration belongs. + */ + @SerializedName("userId") + @Expose + public String userId; /** * The Version. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java index d21cb3503e1..b1b54e54ad5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDevice.java @@ -8,52 +8,52 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.HardwareInformation; -import com.microsoft.graph.models.generated.OwnerType; -import com.microsoft.graph.models.generated.ManagedDeviceOwnerType; -import com.microsoft.graph.models.extensions.DeviceActionResult; -import com.microsoft.graph.models.generated.ManagementState; import com.microsoft.graph.models.generated.ChassisType; -import com.microsoft.graph.models.generated.DeviceType; import com.microsoft.graph.models.generated.ComplianceState; -import com.microsoft.graph.models.generated.ManagementAgentType; +import com.microsoft.graph.models.extensions.ConfigurationManagerClientEnabledFeatures; +import com.microsoft.graph.models.extensions.ConfigurationManagerClientHealthState; +import com.microsoft.graph.models.extensions.ConfigurationManagerClientInformation; +import com.microsoft.graph.models.extensions.DeviceActionResult; import com.microsoft.graph.models.generated.DeviceEnrollmentType; -import com.microsoft.graph.models.generated.LostModeState; +import com.microsoft.graph.models.extensions.DeviceHealthAttestationState; import com.microsoft.graph.models.generated.DeviceRegistrationState; +import com.microsoft.graph.models.generated.DeviceType; import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessState; import com.microsoft.graph.models.generated.DeviceManagementExchangeAccessStateReason; -import com.microsoft.graph.models.extensions.ConfigurationManagerClientEnabledFeatures; -import com.microsoft.graph.models.extensions.DeviceHealthAttestationState; +import com.microsoft.graph.models.extensions.HardwareInformation; +import com.microsoft.graph.models.generated.JoinType; +import com.microsoft.graph.models.generated.LostModeState; +import com.microsoft.graph.models.generated.ManagedDeviceOwnerType; +import com.microsoft.graph.models.generated.ManagementAgentType; +import com.microsoft.graph.models.generated.ManagementState; +import com.microsoft.graph.models.generated.OwnerType; import com.microsoft.graph.models.generated.ManagedDevicePartnerReportedHealthState; -import com.microsoft.graph.models.extensions.LoggedOnUser; -import com.microsoft.graph.models.extensions.ConfigurationManagerClientHealthState; -import com.microsoft.graph.models.extensions.ConfigurationManagerClientInformation; import com.microsoft.graph.models.generated.ManagedDeviceArchitecture; -import com.microsoft.graph.models.generated.JoinType; +import com.microsoft.graph.models.extensions.LoggedOnUser; import com.microsoft.graph.models.extensions.SecurityBaselineState; -import com.microsoft.graph.models.extensions.DeviceConfigurationState; import com.microsoft.graph.models.extensions.DeviceCompliancePolicyState; +import com.microsoft.graph.models.extensions.DeviceConfigurationState; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationState; import com.microsoft.graph.models.extensions.DetectedApp; import com.microsoft.graph.models.extensions.DeviceCategory; -import com.microsoft.graph.models.extensions.WindowsProtectionState; -import com.microsoft.graph.models.extensions.User; import com.microsoft.graph.models.extensions.DeviceLogCollectionResponse; +import com.microsoft.graph.models.extensions.User; +import com.microsoft.graph.models.extensions.WindowsProtectionState; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.SecurityBaselineStateCollectionResponse; import com.microsoft.graph.requests.extensions.SecurityBaselineStateCollectionPage; -import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionResponse; -import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionPage; import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceCompliancePolicyStateCollectionPage; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionResponse; +import com.microsoft.graph.requests.extensions.DeviceConfigurationStateCollectionPage; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationStateCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationStateCollectionPage; import com.microsoft.graph.requests.extensions.DetectedAppCollectionResponse; import com.microsoft.graph.requests.extensions.DetectedAppCollectionPage; -import com.microsoft.graph.requests.extensions.UserCollectionResponse; -import com.microsoft.graph.requests.extensions.UserCollectionPage; import com.microsoft.graph.requests.extensions.DeviceLogCollectionResponseCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceLogCollectionResponseCollectionPage; +import com.microsoft.graph.requests.extensions.UserCollectionResponse; +import com.microsoft.graph.requests.extensions.UserCollectionPage; import com.google.gson.JsonObject; @@ -72,76 +72,60 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { /** - * The User Id. - * Unique Identifier for the user associated with the device - */ - @SerializedName("userId") - @Expose - public String userId; - - /** - * The Device Name. - * Name of the device - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - - /** - * The Hardware Information. - * The hardward details for the device. Includes information such as storage space, manufacturer, serial number, etc. This property is read-only. + * The Aad Registered. + * Whether the device is Azure Active Directory registered. This property is read-only. */ - @SerializedName("hardwareInformation") + @SerializedName("aadRegistered") @Expose - public HardwareInformation hardwareInformation; + public Boolean aadRegistered; /** - * The Owner Type. - * Ownership of the device. Can be 'company' or 'personal' + * The Activation Lock Bypass Code. + * Code that allows the Activation Lock on a device to be bypassed. */ - @SerializedName("ownerType") + @SerializedName("activationLockBypassCode") @Expose - public OwnerType ownerType; + public String activationLockBypassCode; /** - * The Managed Device Owner Type. - * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + * The Android Security Patch Level. + * Android security patch level */ - @SerializedName("managedDeviceOwnerType") + @SerializedName("androidSecurityPatchLevel") @Expose - public ManagedDeviceOwnerType managedDeviceOwnerType; + public String androidSecurityPatchLevel; /** - * The Device Action Results. - * List of ComplexType deviceActionResult objects. + * The Autopilot Enrolled. + * Reports if the managed device is enrolled via auto-pilot. This property is read-only. */ - @SerializedName("deviceActionResults") + @SerializedName("autopilotEnrolled") @Expose - public java.util.List deviceActionResults; + public Boolean autopilotEnrolled; /** - * The Management State. - * Management state of the device. This property is read-only. + * The Azure Active Directory Device Id. + * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. */ - @SerializedName("managementState") + @SerializedName("azureActiveDirectoryDeviceId") @Expose - public ManagementState managementState; + public String azureActiveDirectoryDeviceId; /** - * The Enrolled Date Time. - * Enrollment time of the device. + * The Azure ADDevice Id. + * The unique identifier for the Azure Active Directory device. Read only. */ - @SerializedName("enrolledDateTime") + @SerializedName("azureADDeviceId") @Expose - public java.util.Calendar enrolledDateTime; + public String azureADDeviceId; /** - * The Last Sync Date Time. - * The date and time that the device last completed a successful sync with Intune. + * The Azure ADRegistered. + * Whether the device is Azure Active Directory registered. */ - @SerializedName("lastSyncDateTime") + @SerializedName("azureADRegistered") @Expose - public java.util.Calendar lastSyncDateTime; + public Boolean azureADRegistered; /** * The Chassis Type. @@ -152,20 +136,12 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public ChassisType chassisType; /** - * The Operating System. - * Operating system of the device. Windows, iOS, etc. - */ - @SerializedName("operatingSystem") - @Expose - public String operatingSystem; - - /** - * The Device Type. - * Platform of the device. This property is read-only. + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires */ - @SerializedName("deviceType") + @SerializedName("complianceGracePeriodExpirationDateTime") @Expose - public DeviceType deviceType; + public java.util.Calendar complianceGracePeriodExpirationDateTime; /** * The Compliance State. @@ -176,140 +152,148 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public ComplianceState complianceState; /** - * The Jail Broken. - * whether the device is jail broken or rooted. + * The Configuration Manager Client Enabled Features. + * ConfigrMgr client enabled features */ - @SerializedName("jailBroken") + @SerializedName("configurationManagerClientEnabledFeatures") @Expose - public String jailBroken; + public ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures; /** - * The Management Agent. - * Management channel of the device. Intune, EAS, etc. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. + * The Configuration Manager Client Health State. + * Configuration manager client health state, valid only for devices managed by MDM/ConfigMgr Agent */ - @SerializedName("managementAgent") + @SerializedName("configurationManagerClientHealthState") @Expose - public ManagementAgentType managementAgent; + public ConfigurationManagerClientHealthState configurationManagerClientHealthState; /** - * The Os Version. - * Operating system version of the device. + * The Configuration Manager Client Information. + * Configuration manager client information, valid only for devices managed, duel-managed or tri-managed by ConfigMgr Agent */ - @SerializedName("osVersion") + @SerializedName("configurationManagerClientInformation") @Expose - public String osVersion; + public ConfigurationManagerClientInformation configurationManagerClientInformation; /** - * The Eas Activated. - * Whether the device is Exchange ActiveSync activated. + * The Device Action Results. + * List of ComplexType deviceActionResult objects. */ - @SerializedName("easActivated") + @SerializedName("deviceActionResults") @Expose - public Boolean easActivated; + public java.util.List deviceActionResults; /** - * The Eas Device Id. - * Exchange ActiveSync Id of the device. + * The Device Category Display Name. + * Device category display name */ - @SerializedName("easDeviceId") + @SerializedName("deviceCategoryDisplayName") @Expose - public String easDeviceId; + public String deviceCategoryDisplayName; /** - * The Eas Activation Date Time. - * Exchange ActivationSync activation time of the device. + * The Device Enrollment Type. + * Enrollment type of the device. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. */ - @SerializedName("easActivationDateTime") + @SerializedName("deviceEnrollmentType") @Expose - public java.util.Calendar easActivationDateTime; + public DeviceEnrollmentType deviceEnrollmentType; /** - * The Aad Registered. - * Whether the device is Azure Active Directory registered. This property is read-only. + * The Device Health Attestation State. + * The device health attestation state. */ - @SerializedName("aadRegistered") + @SerializedName("deviceHealthAttestationState") @Expose - public Boolean aadRegistered; + public DeviceHealthAttestationState deviceHealthAttestationState; /** - * The Azure ADRegistered. - * Whether the device is Azure Active Directory registered. + * The Device Name. + * Name of the device */ - @SerializedName("azureADRegistered") + @SerializedName("deviceName") @Expose - public Boolean azureADRegistered; + public String deviceName; /** - * The Device Enrollment Type. - * Enrollment type of the device. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. + * The Device Registration State. + * Device registration state. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. */ - @SerializedName("deviceEnrollmentType") + @SerializedName("deviceRegistrationState") @Expose - public DeviceEnrollmentType deviceEnrollmentType; + public DeviceRegistrationState deviceRegistrationState; /** - * The Lost Mode State. - * Indicates if Lost mode is enabled or disabled. This property is read-only. + * The Device Type. + * Platform of the device. This property is read-only. */ - @SerializedName("lostModeState") + @SerializedName("deviceType") @Expose - public LostModeState lostModeState; + public DeviceType deviceType; /** - * The Activation Lock Bypass Code. - * Code that allows the Activation Lock on a device to be bypassed. + * The Eas Activated. + * Whether the device is Exchange ActiveSync activated. */ - @SerializedName("activationLockBypassCode") + @SerializedName("easActivated") @Expose - public String activationLockBypassCode; + public Boolean easActivated; /** - * The Email Address. - * Email(s) for the user associated with the device + * The Eas Activation Date Time. + * Exchange ActivationSync activation time of the device. */ - @SerializedName("emailAddress") + @SerializedName("easActivationDateTime") @Expose - public String emailAddress; + public java.util.Calendar easActivationDateTime; /** - * The Azure Active Directory Device Id. - * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. + * The Eas Device Id. + * Exchange ActiveSync Id of the device. */ - @SerializedName("azureActiveDirectoryDeviceId") + @SerializedName("easDeviceId") @Expose - public String azureActiveDirectoryDeviceId; + public String easDeviceId; /** - * The Azure ADDevice Id. - * The unique identifier for the Azure Active Directory device. Read only. + * The Email Address. + * Email(s) for the user associated with the device */ - @SerializedName("azureADDeviceId") + @SerializedName("emailAddress") @Expose - public String azureADDeviceId; + public String emailAddress; /** - * The Device Registration State. - * Device registration state. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. + * The Enrolled Date Time. + * Enrollment time of the device. */ - @SerializedName("deviceRegistrationState") + @SerializedName("enrolledDateTime") @Expose - public DeviceRegistrationState deviceRegistrationState; + public java.util.Calendar enrolledDateTime; /** - * The Device Category Display Name. - * Device category display name + * The Ethernet Mac Address. + * Ethernet MAC. This property is read-only. */ - @SerializedName("deviceCategoryDisplayName") + @SerializedName("ethernetMacAddress") @Expose - public String deviceCategoryDisplayName; + public String ethernetMacAddress; /** - * The Is Supervised. - * Device supervised status + * The Exchange Access State. + * The Access State of the device in Exchange. Possible values are: none, unknown, allowed, blocked, quarantined. */ - @SerializedName("isSupervised") + @SerializedName("exchangeAccessState") @Expose - public Boolean isSupervised; + public DeviceManagementExchangeAccessState exchangeAccessState; + + /** + * The Exchange Access State Reason. + * The reason for the device's access state in Exchange. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. + */ + @SerializedName("exchangeAccessStateReason") + @Expose + public DeviceManagementExchangeAccessStateReason exchangeAccessStateReason; /** * The Exchange Last Successful Sync Date Time. @@ -320,36 +304,36 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public java.util.Calendar exchangeLastSuccessfulSyncDateTime; /** - * The Exchange Access State. - * The Access State of the device in Exchange. Possible values are: none, unknown, allowed, blocked, quarantined. + * The Free Storage Space In Bytes. + * Free Storage in Bytes */ - @SerializedName("exchangeAccessState") + @SerializedName("freeStorageSpaceInBytes") @Expose - public DeviceManagementExchangeAccessState exchangeAccessState; + public Long freeStorageSpaceInBytes; /** - * The Exchange Access State Reason. - * The reason for the device's access state in Exchange. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. + * The Hardware Information. + * The hardward details for the device. Includes information such as storage space, manufacturer, serial number, etc. This property is read-only. */ - @SerializedName("exchangeAccessStateReason") + @SerializedName("hardwareInformation") @Expose - public DeviceManagementExchangeAccessStateReason exchangeAccessStateReason; + public HardwareInformation hardwareInformation; /** - * The Remote Assistance Session Url. - * Url that allows a Remote Assistance session to be established with the device. + * The Iccid. + * Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. */ - @SerializedName("remoteAssistanceSessionUrl") + @SerializedName("iccid") @Expose - public String remoteAssistanceSessionUrl; + public String iccid; /** - * The Remote Assistance Session Error Details. - * An error string that identifies issues when creating Remote Assistance session objects. + * The Imei. + * IMEI */ - @SerializedName("remoteAssistanceSessionErrorDetails") + @SerializedName("imei") @Expose - public String remoteAssistanceSessionErrorDetails; + public String imei; /** * The Is Encrypted. @@ -360,140 +344,140 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public Boolean isEncrypted; /** - * The User Principal Name. - * Device user principal name + * The Is Supervised. + * Device supervised status */ - @SerializedName("userPrincipalName") + @SerializedName("isSupervised") @Expose - public String userPrincipalName; + public Boolean isSupervised; /** - * The Model. - * Model of the device + * The Jail Broken. + * whether the device is jail broken or rooted. */ - @SerializedName("model") + @SerializedName("jailBroken") @Expose - public String model; + public String jailBroken; /** - * The Manufacturer. - * Manufacturer of the device + * The Join Type. + * Device join type */ - @SerializedName("manufacturer") + @SerializedName("joinType") @Expose - public String manufacturer; + public JoinType joinType; /** - * The Imei. - * IMEI + * The Last Sync Date Time. + * The date and time that the device last completed a successful sync with Intune. */ - @SerializedName("imei") + @SerializedName("lastSyncDateTime") @Expose - public String imei; + public java.util.Calendar lastSyncDateTime; /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires + * The Lost Mode State. + * Indicates if Lost mode is enabled or disabled. This property is read-only. */ - @SerializedName("complianceGracePeriodExpirationDateTime") + @SerializedName("lostModeState") @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; + public LostModeState lostModeState; /** - * The Serial Number. - * SerialNumber + * The Managed Device Name. + * Automatically generated name to identify a device. Can be overwritten to a user friendly name. */ - @SerializedName("serialNumber") + @SerializedName("managedDeviceName") @Expose - public String serialNumber; + public String managedDeviceName; /** - * The Phone Number. - * Phone number of the device + * The Managed Device Owner Type. + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. */ - @SerializedName("phoneNumber") + @SerializedName("managedDeviceOwnerType") @Expose - public String phoneNumber; + public ManagedDeviceOwnerType managedDeviceOwnerType; /** - * The Android Security Patch Level. - * Android security patch level + * The Management Agent. + * Management channel of the device. Intune, EAS, etc. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. */ - @SerializedName("androidSecurityPatchLevel") + @SerializedName("managementAgent") @Expose - public String androidSecurityPatchLevel; + public ManagementAgentType managementAgent; /** - * The User Display Name. - * User display name + * The Management Certificate Expiration Date. + * Reports device management certificate expiration date. This property is read-only. */ - @SerializedName("userDisplayName") + @SerializedName("managementCertificateExpirationDate") @Expose - public String userDisplayName; + public java.util.Calendar managementCertificateExpirationDate; /** - * The Configuration Manager Client Enabled Features. - * ConfigrMgr client enabled features + * The Management State. + * Management state of the device. This property is read-only. */ - @SerializedName("configurationManagerClientEnabledFeatures") + @SerializedName("managementState") @Expose - public ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures; + public ManagementState managementState; /** - * The Wi Fi Mac Address. - * Wi-Fi MAC + * The Manufacturer. + * Manufacturer of the device */ - @SerializedName("wiFiMacAddress") + @SerializedName("manufacturer") @Expose - public String wiFiMacAddress; + public String manufacturer; /** - * The Device Health Attestation State. - * The device health attestation state. + * The Meid. + * MEID */ - @SerializedName("deviceHealthAttestationState") + @SerializedName("meid") @Expose - public DeviceHealthAttestationState deviceHealthAttestationState; + public String meid; /** - * The Subscriber Carrier. - * Subscriber Carrier + * The Model. + * Model of the device */ - @SerializedName("subscriberCarrier") + @SerializedName("model") @Expose - public String subscriberCarrier; + public String model; /** - * The Meid. - * MEID + * The Notes. + * Notes on the device created by IT Admin */ - @SerializedName("meid") + @SerializedName("notes") @Expose - public String meid; + public String notes; /** - * The Total Storage Space In Bytes. - * Total Storage in Bytes + * The Operating System. + * Operating system of the device. Windows, iOS, etc. */ - @SerializedName("totalStorageSpaceInBytes") + @SerializedName("operatingSystem") @Expose - public Long totalStorageSpaceInBytes; + public String operatingSystem; /** - * The Free Storage Space In Bytes. - * Free Storage in Bytes + * The Os Version. + * Operating system version of the device. */ - @SerializedName("freeStorageSpaceInBytes") + @SerializedName("osVersion") @Expose - public Long freeStorageSpaceInBytes; + public String osVersion; /** - * The Managed Device Name. - * Automatically generated name to identify a device. Can be overwritten to a user friendly name. + * The Owner Type. + * Ownership of the device. Can be 'company' or 'personal' */ - @SerializedName("managedDeviceName") + @SerializedName("ownerType") @Expose - public String managedDeviceName; + public OwnerType ownerType; /** * The Partner Reported Threat State. @@ -504,20 +488,20 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public ManagedDevicePartnerReportedHealthState partnerReportedThreatState; /** - * The Retire After Date Time. - * Indicates the time after when a device will be auto retired because of scheduled action. This property is read-only. + * The Phone Number. + * Phone number of the device */ - @SerializedName("retireAfterDateTime") + @SerializedName("phoneNumber") @Expose - public java.util.Calendar retireAfterDateTime; + public String phoneNumber; /** - * The Users Logged On. - * Indicates the last logged on users of a device. This property is read-only. + * The Physical Memory In Bytes. + * Total Memory in Bytes. This property is read-only. */ - @SerializedName("usersLoggedOn") + @SerializedName("physicalMemoryInBytes") @Expose - public java.util.List usersLoggedOn; + public Long physicalMemoryInBytes; /** * The Prefer Mdm Over Group Policy Applied Date Time. @@ -528,44 +512,44 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public java.util.Calendar preferMdmOverGroupPolicyAppliedDateTime; /** - * The Autopilot Enrolled. - * Reports if the managed device is enrolled via auto-pilot. This property is read-only. + * The Processor Architecture. + * Processor architecture. This property is read-only. */ - @SerializedName("autopilotEnrolled") + @SerializedName("processorArchitecture") @Expose - public Boolean autopilotEnrolled; + public ManagedDeviceArchitecture processorArchitecture; /** - * The Require User Enrollment Approval. - * Reports if the managed iOS device is user approval enrollment. This property is read-only. + * The Remote Assistance Session Error Details. + * An error string that identifies issues when creating Remote Assistance session objects. */ - @SerializedName("requireUserEnrollmentApproval") + @SerializedName("remoteAssistanceSessionErrorDetails") @Expose - public Boolean requireUserEnrollmentApproval; + public String remoteAssistanceSessionErrorDetails; /** - * The Management Certificate Expiration Date. - * Reports device management certificate expiration date. This property is read-only. + * The Remote Assistance Session Url. + * Url that allows a Remote Assistance session to be established with the device. */ - @SerializedName("managementCertificateExpirationDate") + @SerializedName("remoteAssistanceSessionUrl") @Expose - public java.util.Calendar managementCertificateExpirationDate; + public String remoteAssistanceSessionUrl; /** - * The Iccid. - * Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. + * The Require User Enrollment Approval. + * Reports if the managed iOS device is user approval enrollment. This property is read-only. */ - @SerializedName("iccid") + @SerializedName("requireUserEnrollmentApproval") @Expose - public String iccid; + public Boolean requireUserEnrollmentApproval; /** - * The Udid. - * Unique Device Identifier for iOS and macOS devices. This property is read-only. + * The Retire After Date Time. + * Indicates the time after when a device will be auto retired because of scheduled action. This property is read-only. */ - @SerializedName("udid") + @SerializedName("retireAfterDateTime") @Expose - public String udid; + public java.util.Calendar retireAfterDateTime; /** * The Role Scope Tag Ids. @@ -576,104 +560,114 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public java.util.List roleScopeTagIds; /** - * The Windows Active Malware Count. - * Count of active malware for this windows device. This property is read-only. + * The Serial Number. + * SerialNumber */ - @SerializedName("windowsActiveMalwareCount") + @SerializedName("serialNumber") @Expose - public Integer windowsActiveMalwareCount; + public String serialNumber; /** - * The Windows Remediated Malware Count. - * Count of remediated malware for this windows device. This property is read-only. + * The Sku Family. + * Device sku family */ - @SerializedName("windowsRemediatedMalwareCount") + @SerializedName("skuFamily") @Expose - public Integer windowsRemediatedMalwareCount; + public String skuFamily; /** - * The Notes. - * Notes on the device created by IT Admin + * The Specification Version. + * Specification version. This property is read-only. */ - @SerializedName("notes") + @SerializedName("specificationVersion") @Expose - public String notes; + public String specificationVersion; /** - * The Configuration Manager Client Health State. - * Configuration manager client health state, valid only for devices managed by MDM/ConfigMgr Agent + * The Subscriber Carrier. + * Subscriber Carrier */ - @SerializedName("configurationManagerClientHealthState") + @SerializedName("subscriberCarrier") @Expose - public ConfigurationManagerClientHealthState configurationManagerClientHealthState; + public String subscriberCarrier; /** - * The Configuration Manager Client Information. - * Configuration manager client information, valid only for devices managed, duel-managed or tri-managed by ConfigMgr Agent + * The Total Storage Space In Bytes. + * Total Storage in Bytes */ - @SerializedName("configurationManagerClientInformation") + @SerializedName("totalStorageSpaceInBytes") @Expose - public ConfigurationManagerClientInformation configurationManagerClientInformation; + public Long totalStorageSpaceInBytes; /** - * The Ethernet Mac Address. - * Ethernet MAC. This property is read-only. + * The Udid. + * Unique Device Identifier for iOS and macOS devices. This property is read-only. */ - @SerializedName("ethernetMacAddress") + @SerializedName("udid") @Expose - public String ethernetMacAddress; + public String udid; /** - * The Physical Memory In Bytes. - * Total Memory in Bytes. This property is read-only. + * The User Display Name. + * User display name */ - @SerializedName("physicalMemoryInBytes") + @SerializedName("userDisplayName") @Expose - public Long physicalMemoryInBytes; + public String userDisplayName; /** - * The Processor Architecture. - * Processor architecture. This property is read-only. + * The User Id. + * Unique Identifier for the user associated with the device */ - @SerializedName("processorArchitecture") + @SerializedName("userId") @Expose - public ManagedDeviceArchitecture processorArchitecture; + public String userId; /** - * The Specification Version. - * Specification version. This property is read-only. + * The User Principal Name. + * Device user principal name */ - @SerializedName("specificationVersion") + @SerializedName("userPrincipalName") @Expose - public String specificationVersion; + public String userPrincipalName; /** - * The Join Type. - * Device join type + * The Users Logged On. + * Indicates the last logged on users of a device. This property is read-only. */ - @SerializedName("joinType") + @SerializedName("usersLoggedOn") @Expose - public JoinType joinType; + public java.util.List usersLoggedOn; /** - * The Sku Family. - * Device sku family + * The Wi Fi Mac Address. + * Wi-Fi MAC */ - @SerializedName("skuFamily") + @SerializedName("wiFiMacAddress") @Expose - public String skuFamily; + public String wiFiMacAddress; /** - * The Security Baseline States. - * Security baseline states for this device. + * The Windows Active Malware Count. + * Count of active malware for this windows device. This property is read-only. */ - public SecurityBaselineStateCollectionPage securityBaselineStates; + @SerializedName("windowsActiveMalwareCount") + @Expose + public Integer windowsActiveMalwareCount; /** - * The Device Configuration States. - * Device configuration states for this device. + * The Windows Remediated Malware Count. + * Count of remediated malware for this windows device. This property is read-only. */ - public DeviceConfigurationStateCollectionPage deviceConfigurationStates; + @SerializedName("windowsRemediatedMalwareCount") + @Expose + public Integer windowsRemediatedMalwareCount; + + /** + * The Security Baseline States. + * Security baseline states for this device. + */ + public SecurityBaselineStateCollectionPage securityBaselineStates; /** * The Device Compliance Policy States. @@ -681,6 +675,12 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { */ public DeviceCompliancePolicyStateCollectionPage deviceCompliancePolicyStates; + /** + * The Device Configuration States. + * Device configuration states for this device. + */ + public DeviceConfigurationStateCollectionPage deviceConfigurationStates; + /** * The Managed Device Mobile App Configuration States. * Managed device mobile app configuration states for this device. @@ -702,12 +702,10 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public DeviceCategory deviceCategory; /** - * The Windows Protection State. - * The device protection status. + * The Log Collection Requests. + * List of log collection requests */ - @SerializedName("windowsProtectionState") - @Expose - public WindowsProtectionState windowsProtectionState; + public DeviceLogCollectionResponseCollectionPage logCollectionRequests; /** * The Users. @@ -716,10 +714,12 @@ public class ManagedDevice extends Entity implements IJsonBackedObject { public UserCollectionPage users; /** - * The Log Collection Requests. - * List of log collection requests + * The Windows Protection State. + * The device protection status. */ - public DeviceLogCollectionResponseCollectionPage logCollectionRequests; + @SerializedName("windowsProtectionState") + @Expose + public WindowsProtectionState windowsProtectionState; /** @@ -777,22 +777,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { securityBaselineStates = new SecurityBaselineStateCollectionPage(response, null); } - if (json.has("deviceConfigurationStates")) { - final DeviceConfigurationStateCollectionResponse response = new DeviceConfigurationStateCollectionResponse(); - if (json.has("deviceConfigurationStates@odata.nextLink")) { - response.nextLink = json.get("deviceConfigurationStates@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationStates").toString(), JsonObject[].class); - final DeviceConfigurationState[] array = new DeviceConfigurationState[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationState.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - deviceConfigurationStates = new DeviceConfigurationStateCollectionPage(response, null); - } - if (json.has("deviceCompliancePolicyStates")) { final DeviceCompliancePolicyStateCollectionResponse response = new DeviceCompliancePolicyStateCollectionResponse(); if (json.has("deviceCompliancePolicyStates@odata.nextLink")) { @@ -809,6 +793,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { deviceCompliancePolicyStates = new DeviceCompliancePolicyStateCollectionPage(response, null); } + if (json.has("deviceConfigurationStates")) { + final DeviceConfigurationStateCollectionResponse response = new DeviceConfigurationStateCollectionResponse(); + if (json.has("deviceConfigurationStates@odata.nextLink")) { + response.nextLink = json.get("deviceConfigurationStates@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceConfigurationStates").toString(), JsonObject[].class); + final DeviceConfigurationState[] array = new DeviceConfigurationState[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), DeviceConfigurationState.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + deviceConfigurationStates = new DeviceConfigurationStateCollectionPage(response, null); + } + if (json.has("managedDeviceMobileAppConfigurationStates")) { final ManagedDeviceMobileAppConfigurationStateCollectionResponse response = new ManagedDeviceMobileAppConfigurationStateCollectionResponse(); if (json.has("managedDeviceMobileAppConfigurationStates@odata.nextLink")) { @@ -841,22 +841,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { detectedApps = new DetectedAppCollectionPage(response, null); } - if (json.has("users")) { - final UserCollectionResponse response = new UserCollectionResponse(); - if (json.has("users@odata.nextLink")) { - response.nextLink = json.get("users@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("users").toString(), JsonObject[].class); - final User[] array = new User[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), User.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - users = new UserCollectionPage(response, null); - } - if (json.has("logCollectionRequests")) { final DeviceLogCollectionResponseCollectionResponse response = new DeviceLogCollectionResponseCollectionResponse(); if (json.has("logCollectionRequests@odata.nextLink")) { @@ -872,5 +856,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); logCollectionRequests = new DeviceLogCollectionResponseCollectionPage(response, null); } + + if (json.has("users")) { + final UserCollectionResponse response = new UserCollectionResponse(); + if (json.has("users@odata.nextLink")) { + response.nextLink = json.get("users@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("users").toString(), JsonObject[].class); + final User[] array = new User[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), User.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + users = new UserCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCertificateState.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCertificateState.java index 7794b7c4d19..730fd518c3e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCertificateState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceCertificateState.java @@ -8,14 +8,14 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.DevicePlatformType; -import com.microsoft.graph.models.generated.KeyUsages; -import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; import com.microsoft.graph.models.generated.CertificateIssuanceStates; import com.microsoft.graph.models.generated.KeyStorageProviderOption; -import com.microsoft.graph.models.generated.SubjectNameFormat; -import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.KeyUsages; import com.microsoft.graph.models.generated.CertificateRevocationStatus; +import com.microsoft.graph.models.generated.SubjectAlternativeNameType; +import com.microsoft.graph.models.generated.SubjectNameFormat; +import com.microsoft.graph.models.generated.CertificateValidityPeriodScale; +import com.microsoft.graph.models.generated.DevicePlatformType; import com.microsoft.graph.models.extensions.Entity; @@ -35,28 +35,36 @@ public class ManagedDeviceCertificateState extends Entity implements IJsonBacked /** - * The Device Platform. - * Device platform + * The Certificate Enhanced Key Usage. + * Extended key usage */ - @SerializedName("devicePlatform") + @SerializedName("certificateEnhancedKeyUsage") @Expose - public DevicePlatformType devicePlatform; + public String certificateEnhancedKeyUsage; /** - * The Certificate Key Usage. - * Key usage + * The Certificate Error Code. + * Error code */ - @SerializedName("certificateKeyUsage") + @SerializedName("certificateErrorCode") @Expose - public EnumSet certificateKeyUsage; + public Integer certificateErrorCode; /** - * The Certificate Validity Period Units. - * Validity period units + * The Certificate Expiration Date Time. + * Certificate expiry date */ - @SerializedName("certificateValidityPeriodUnits") + @SerializedName("certificateExpirationDateTime") @Expose - public CertificateValidityPeriodScale certificateValidityPeriodUnits; + public java.util.Calendar certificateExpirationDateTime; + + /** + * The Certificate Issuance Date Time. + * Issuance date + */ + @SerializedName("certificateIssuanceDateTime") + @Expose + public java.util.Calendar certificateIssuanceDateTime; /** * The Certificate Issuance State. @@ -67,36 +75,44 @@ public class ManagedDeviceCertificateState extends Entity implements IJsonBacked public CertificateIssuanceStates certificateIssuanceState; /** - * The Certificate Key Storage Provider. - * Key Storage Provider + * The Certificate Issuer. + * Issuer */ - @SerializedName("certificateKeyStorageProvider") + @SerializedName("certificateIssuer") @Expose - public KeyStorageProviderOption certificateKeyStorageProvider; + public String certificateIssuer; /** - * The Certificate Subject Name Format. - * Subject name format + * The Certificate Key Length. + * Key length */ - @SerializedName("certificateSubjectNameFormat") + @SerializedName("certificateKeyLength") @Expose - public SubjectNameFormat certificateSubjectNameFormat; + public Integer certificateKeyLength; /** - * The Certificate Subject Alternative Name Format. - * Subject alternative name format + * The Certificate Key Storage Provider. + * Key Storage Provider */ - @SerializedName("certificateSubjectAlternativeNameFormat") + @SerializedName("certificateKeyStorageProvider") @Expose - public EnumSet certificateSubjectAlternativeNameFormat; + public KeyStorageProviderOption certificateKeyStorageProvider; /** - * The Certificate Revoke Status. - * Revoke status + * The Certificate Key Usage. + * Key usage */ - @SerializedName("certificateRevokeStatus") + @SerializedName("certificateKeyUsage") @Expose - public CertificateRevocationStatus certificateRevokeStatus; + public EnumSet certificateKeyUsage; + + /** + * The Certificate Last Issuance State Changed Date Time. + * Last certificate issuance state change + */ + @SerializedName("certificateLastIssuanceStateChangedDateTime") + @Expose + public java.util.Calendar certificateLastIssuanceStateChangedDateTime; /** * The Certificate Profile Display Name. @@ -107,52 +123,52 @@ public class ManagedDeviceCertificateState extends Entity implements IJsonBacked public String certificateProfileDisplayName; /** - * The Device Display Name. - * Device display name + * The Certificate Revoke Status. + * Revoke status */ - @SerializedName("deviceDisplayName") + @SerializedName("certificateRevokeStatus") @Expose - public String deviceDisplayName; + public CertificateRevocationStatus certificateRevokeStatus; /** - * The User Display Name. - * User display name + * The Certificate Serial Number. + * Serial number */ - @SerializedName("userDisplayName") + @SerializedName("certificateSerialNumber") @Expose - public String userDisplayName; + public String certificateSerialNumber; /** - * The Certificate Expiration Date Time. - * Certificate expiry date + * The Certificate Subject Alternative Name Format. + * Subject alternative name format */ - @SerializedName("certificateExpirationDateTime") + @SerializedName("certificateSubjectAlternativeNameFormat") @Expose - public java.util.Calendar certificateExpirationDateTime; + public EnumSet certificateSubjectAlternativeNameFormat; /** - * The Certificate Last Issuance State Changed Date Time. - * Last certificate issuance state change + * The Certificate Subject Alternative Name Format String. + * Subject alternative name format string for custom formats */ - @SerializedName("certificateLastIssuanceStateChangedDateTime") + @SerializedName("certificateSubjectAlternativeNameFormatString") @Expose - public java.util.Calendar certificateLastIssuanceStateChangedDateTime; + public String certificateSubjectAlternativeNameFormatString; /** - * The Last Certificate State Change Date Time. - * Last certificate issuance state change + * The Certificate Subject Name Format. + * Subject name format */ - @SerializedName("lastCertificateStateChangeDateTime") + @SerializedName("certificateSubjectNameFormat") @Expose - public java.util.Calendar lastCertificateStateChangeDateTime; + public SubjectNameFormat certificateSubjectNameFormat; /** - * The Certificate Issuer. - * Issuer + * The Certificate Subject Name Format String. + * Subject name format string for custom subject name formats */ - @SerializedName("certificateIssuer") + @SerializedName("certificateSubjectNameFormatString") @Expose - public String certificateIssuer; + public String certificateSubjectNameFormatString; /** * The Certificate Thumbprint. @@ -162,30 +178,6 @@ public class ManagedDeviceCertificateState extends Entity implements IJsonBacked @Expose public String certificateThumbprint; - /** - * The Certificate Serial Number. - * Serial number - */ - @SerializedName("certificateSerialNumber") - @Expose - public String certificateSerialNumber; - - /** - * The Certificate Key Length. - * Key length - */ - @SerializedName("certificateKeyLength") - @Expose - public Integer certificateKeyLength; - - /** - * The Certificate Enhanced Key Usage. - * Extended key usage - */ - @SerializedName("certificateEnhancedKeyUsage") - @Expose - public String certificateEnhancedKeyUsage; - /** * The Certificate Validity Period. * Validity period @@ -195,36 +187,44 @@ public class ManagedDeviceCertificateState extends Entity implements IJsonBacked public Integer certificateValidityPeriod; /** - * The Certificate Subject Name Format String. - * Subject name format string for custom subject name formats + * The Certificate Validity Period Units. + * Validity period units */ - @SerializedName("certificateSubjectNameFormatString") + @SerializedName("certificateValidityPeriodUnits") @Expose - public String certificateSubjectNameFormatString; + public CertificateValidityPeriodScale certificateValidityPeriodUnits; /** - * The Certificate Subject Alternative Name Format String. - * Subject alternative name format string for custom formats + * The Device Display Name. + * Device display name */ - @SerializedName("certificateSubjectAlternativeNameFormatString") + @SerializedName("deviceDisplayName") @Expose - public String certificateSubjectAlternativeNameFormatString; + public String deviceDisplayName; /** - * The Certificate Issuance Date Time. - * Issuance date + * The Device Platform. + * Device platform */ - @SerializedName("certificateIssuanceDateTime") + @SerializedName("devicePlatform") @Expose - public java.util.Calendar certificateIssuanceDateTime; + public DevicePlatformType devicePlatform; /** - * The Certificate Error Code. - * Error code + * The Last Certificate State Change Date Time. + * Last certificate issuance state change */ - @SerializedName("certificateErrorCode") + @SerializedName("lastCertificateStateChangeDateTime") @Expose - public Integer certificateErrorCode; + public java.util.Calendar lastCertificateStateChangeDateTime; + + /** + * The User Display Name. + * User display name + */ + @SerializedName("userDisplayName") + @Expose + public String userDisplayName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceEncryptionState.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceEncryptionState.java index 89b67f6270c..20852740eda 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceEncryptionState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceEncryptionState.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.generated.AdvancedBitLockerState; import com.microsoft.graph.models.generated.DeviceTypes; +import com.microsoft.graph.models.generated.ComplianceStatus; import com.microsoft.graph.models.generated.EncryptionReadinessState; import com.microsoft.graph.models.generated.EncryptionState; -import com.microsoft.graph.models.generated.ComplianceStatus; -import com.microsoft.graph.models.generated.AdvancedBitLockerState; import com.microsoft.graph.models.generated.FileVaultState; import com.microsoft.graph.models.extensions.EncryptionReportPolicyDetails; import com.microsoft.graph.models.extensions.Entity; @@ -34,44 +34,36 @@ public class ManagedDeviceEncryptionState extends Entity implements IJsonBackedO /** - * The User Principal Name. - * User name - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Device Type. - * Platform of the device. + * The Advanced Bit Locker States. + * Advanced BitLocker State */ - @SerializedName("deviceType") + @SerializedName("advancedBitLockerStates") @Expose - public DeviceTypes deviceType; + public EnumSet advancedBitLockerStates; /** - * The Os Version. - * Operating system version of the device + * The Device Name. + * Device name */ - @SerializedName("osVersion") + @SerializedName("deviceName") @Expose - public String osVersion; + public String deviceName; /** - * The Tpm Specification Version. - * Device TPM Version + * The Device Type. + * Platform of the device. */ - @SerializedName("tpmSpecificationVersion") + @SerializedName("deviceType") @Expose - public String tpmSpecificationVersion; + public DeviceTypes deviceType; /** - * The Device Name. - * Device name + * The Encryption Policy Setting State. + * Encryption policy setting state */ - @SerializedName("deviceName") + @SerializedName("encryptionPolicySettingState") @Expose - public String deviceName; + public ComplianceStatus encryptionPolicySettingState; /** * The Encryption Readiness State. @@ -89,22 +81,6 @@ public class ManagedDeviceEncryptionState extends Entity implements IJsonBackedO @Expose public EncryptionState encryptionState; - /** - * The Encryption Policy Setting State. - * Encryption policy setting state - */ - @SerializedName("encryptionPolicySettingState") - @Expose - public ComplianceStatus encryptionPolicySettingState; - - /** - * The Advanced Bit Locker States. - * Advanced BitLocker State - */ - @SerializedName("advancedBitLockerStates") - @Expose - public EnumSet advancedBitLockerStates; - /** * The File Vault States. * FileVault State @@ -113,6 +89,14 @@ public class ManagedDeviceEncryptionState extends Entity implements IJsonBackedO @Expose public EnumSet fileVaultStates; + /** + * The Os Version. + * Operating system version of the device + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + /** * The Policy Details. * Policy Details @@ -121,6 +105,22 @@ public class ManagedDeviceEncryptionState extends Entity implements IJsonBackedO @Expose public java.util.List policyDetails; + /** + * The Tpm Specification Version. + * Device TPM Version + */ + @SerializedName("tpmSpecificationVersion") + @Expose + public String tpmSpecificationVersion; + + /** + * The User Principal Name. + * User name + */ + @SerializedName("userPrincipalName") + @Expose + public String userPrincipalName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java index 1706b41acd2..00df28c45ee 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfiguration.java @@ -10,8 +10,8 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationAssignment; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceStatus; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationDeviceSummary; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserStatus; import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationUserSummary; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse; @@ -37,22 +37,6 @@ public class ManagedDeviceMobileAppConfiguration extends Entity implements IJsonBackedObject { - /** - * The Targeted Mobile Apps. - * the associated app. - */ - @SerializedName("targetedMobileApps") - @Expose - public java.util.List targetedMobileApps; - - /** - * The Role Scope Tag Ids. - * List of Scope Tags for this App configuration entity. - */ - @SerializedName("roleScopeTagIds") - @Expose - public java.util.List roleScopeTagIds; - /** * The Created Date Time. * DateTime the object was created. @@ -69,6 +53,14 @@ public class ManagedDeviceMobileAppConfiguration extends Entity implements IJson @Expose public String description; + /** + * The Display Name. + * Admin provided name of the device configuration. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Last Modified Date Time. * DateTime the object was last modified. @@ -78,12 +70,20 @@ public class ManagedDeviceMobileAppConfiguration extends Entity implements IJson public java.util.Calendar lastModifiedDateTime; /** - * The Display Name. - * Admin provided name of the device configuration. + * The Role Scope Tag Ids. + * List of Scope Tags for this App configuration entity. */ - @SerializedName("displayName") + @SerializedName("roleScopeTagIds") @Expose - public String displayName; + public java.util.List roleScopeTagIds; + + /** + * The Targeted Mobile Apps. + * the associated app. + */ + @SerializedName("targetedMobileApps") + @Expose + public java.util.List targetedMobileApps; /** * The Version. @@ -105,12 +105,6 @@ public class ManagedDeviceMobileAppConfiguration extends Entity implements IJson */ public ManagedDeviceMobileAppConfigurationDeviceStatusCollectionPage deviceStatuses; - /** - * The User Statuses. - * List of ManagedDeviceMobileAppConfigurationUserStatus. - */ - public ManagedDeviceMobileAppConfigurationUserStatusCollectionPage userStatuses; - /** * The Device Status Summary. * App configuration device status summary. @@ -119,6 +113,12 @@ public class ManagedDeviceMobileAppConfiguration extends Entity implements IJson @Expose public ManagedDeviceMobileAppConfigurationDeviceSummary deviceStatusSummary; + /** + * The User Statuses. + * List of ManagedDeviceMobileAppConfigurationUserStatus. + */ + public ManagedDeviceMobileAppConfigurationUserStatusCollectionPage userStatuses; + /** * The User Status Summary. * App configuration user status summary. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java index ab700eb0436..b60d0b79f49 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceStatus.java @@ -28,20 +28,20 @@ public class ManagedDeviceMobileAppConfigurationDeviceStatus extends Entity impl /** - * The Device Display Name. - * Device name of the DevicePolicyStatus. + * The Compliance Grace Period Expiration Date Time. + * The DateTime when device compliance grace period expires */ - @SerializedName("deviceDisplayName") + @SerializedName("complianceGracePeriodExpirationDateTime") @Expose - public String deviceDisplayName; + public java.util.Calendar complianceGracePeriodExpirationDateTime; /** - * The User Name. - * The User Name that is being reported + * The Device Display Name. + * Device name of the DevicePolicyStatus. */ - @SerializedName("userName") + @SerializedName("deviceDisplayName") @Expose - public String userName; + public String deviceDisplayName; /** * The Device Model. @@ -52,20 +52,20 @@ public class ManagedDeviceMobileAppConfigurationDeviceStatus extends Entity impl public String deviceModel; /** - * The Platform. - * Platform of the device that is being reported + * The Last Reported Date Time. + * Last modified date time of the policy report. */ - @SerializedName("platform") + @SerializedName("lastReportedDateTime") @Expose - public Integer platform; + public java.util.Calendar lastReportedDateTime; /** - * The Compliance Grace Period Expiration Date Time. - * The DateTime when device compliance grace period expires + * The Platform. + * Platform of the device that is being reported */ - @SerializedName("complianceGracePeriodExpirationDateTime") + @SerializedName("platform") @Expose - public java.util.Calendar complianceGracePeriodExpirationDateTime; + public Integer platform; /** * The Status. @@ -76,12 +76,12 @@ public class ManagedDeviceMobileAppConfigurationDeviceStatus extends Entity impl public ComplianceStatus status; /** - * The Last Reported Date Time. - * Last modified date time of the policy report. + * The User Name. + * The User Name that is being reported */ - @SerializedName("lastReportedDateTime") + @SerializedName("userName") @Expose - public java.util.Calendar lastReportedDateTime; + public String userName; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java index 5a8f84c5871..b2f38501ea2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationDeviceSummary.java @@ -27,36 +27,20 @@ public class ManagedDeviceMobileAppConfigurationDeviceSummary extends Entity imp /** - * The Pending Count. - * Number of pending devices - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable devices - */ - @SerializedName("notApplicableCount") - @Expose - public Integer notApplicableCount; - - /** - * The Not Applicable Platform Count. - * Number of not applicable devices due to mismatch platform and policy + * The Configuration Version. + * Version of the policy for that overview */ - @SerializedName("notApplicablePlatformCount") + @SerializedName("configurationVersion") @Expose - public Integer notApplicablePlatformCount; + public Integer configurationVersion; /** - * The Success Count. - * Number of succeeded devices + * The Conflict Count. + * Number of devices in conflict */ - @SerializedName("successCount") + @SerializedName("conflictCount") @Expose - public Integer successCount; + public Integer conflictCount; /** * The Error Count. @@ -74,14 +58,6 @@ public class ManagedDeviceMobileAppConfigurationDeviceSummary extends Entity imp @Expose public Integer failedCount; - /** - * The Conflict Count. - * Number of devices in conflict - */ - @SerializedName("conflictCount") - @Expose - public Integer conflictCount; - /** * The Last Update Date Time. * Last update time @@ -91,12 +67,36 @@ public class ManagedDeviceMobileAppConfigurationDeviceSummary extends Entity imp public java.util.Calendar lastUpdateDateTime; /** - * The Configuration Version. - * Version of the policy for that overview + * The Not Applicable Count. + * Number of not applicable devices */ - @SerializedName("configurationVersion") + @SerializedName("notApplicableCount") @Expose - public Integer configurationVersion; + public Integer notApplicableCount; + + /** + * The Not Applicable Platform Count. + * Number of not applicable devices due to mismatch platform and policy + */ + @SerializedName("notApplicablePlatformCount") + @Expose + public Integer notApplicablePlatformCount; + + /** + * The Pending Count. + * Number of pending devices + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Success Count. + * Number of succeeded devices + */ + @SerializedName("successCount") + @Expose + public Integer successCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationSettingState.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationSettingState.java index 0e8ffcf5010..d8dc4e8112e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationSettingState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationSettingState.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.ComplianceStatus; import com.microsoft.graph.models.extensions.SettingSource; +import com.microsoft.graph.models.generated.ComplianceStatus; import com.google.gson.JsonObject; @@ -38,20 +38,28 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Setting. - * The setting that is being reported + * The Current Value. + * Current value of setting on device */ - @SerializedName("setting") + @SerializedName("currentValue") @Expose - public String setting; + public String currentValue; /** - * The Setting Name. - * Localized/user friendly setting name that is being reported + * The Error Code. + * Error code for the setting */ - @SerializedName("settingName") + @SerializedName("errorCode") @Expose - public String settingName; + public Long errorCode; + + /** + * The Error Description. + * Error description + */ + @SerializedName("errorDescription") + @Expose + public String errorDescription; /** * The Instance Display Name. @@ -62,44 +70,44 @@ public final AdditionalDataManager additionalDataManager() { public String instanceDisplayName; /** - * The State. - * The compliance state of the setting + * The Setting. + * The setting that is being reported */ - @SerializedName("state") + @SerializedName("setting") @Expose - public ComplianceStatus state; + public String setting; /** - * The Error Code. - * Error code for the setting + * The Setting Instance Id. + * SettingInstanceId */ - @SerializedName("errorCode") + @SerializedName("settingInstanceId") @Expose - public Long errorCode; + public String settingInstanceId; /** - * The Error Description. - * Error description + * The Setting Name. + * Localized/user friendly setting name that is being reported */ - @SerializedName("errorDescription") + @SerializedName("settingName") @Expose - public String errorDescription; + public String settingName; /** - * The User Id. - * UserId + * The Sources. + * Contributing policies */ - @SerializedName("userId") + @SerializedName("sources") @Expose - public String userId; + public java.util.List sources; /** - * The User Name. - * UserName + * The State. + * The compliance state of the setting */ - @SerializedName("userName") + @SerializedName("state") @Expose - public String userName; + public ComplianceStatus state; /** * The User Email. @@ -110,36 +118,28 @@ public final AdditionalDataManager additionalDataManager() { public String userEmail; /** - * The User Principal Name. - * UserPrincipalName. - */ - @SerializedName("userPrincipalName") - @Expose - public String userPrincipalName; - - /** - * The Sources. - * Contributing policies + * The User Id. + * UserId */ - @SerializedName("sources") + @SerializedName("userId") @Expose - public java.util.List sources; + public String userId; /** - * The Current Value. - * Current value of setting on device + * The User Name. + * UserName */ - @SerializedName("currentValue") + @SerializedName("userName") @Expose - public String currentValue; + public String userName; /** - * The Setting Instance Id. - * SettingInstanceId + * The User Principal Name. + * UserPrincipalName. */ - @SerializedName("settingInstanceId") + @SerializedName("userPrincipalName") @Expose - public String settingInstanceId; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationState.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationState.java index 16de73b18aa..369198f80ef 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationState.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationSettingState; import com.microsoft.graph.models.generated.PolicyPlatformType; +import com.microsoft.graph.models.extensions.ManagedDeviceMobileAppConfigurationSettingState; import com.microsoft.graph.models.generated.ComplianceStatus; import com.microsoft.graph.models.extensions.Entity; @@ -29,14 +29,6 @@ public class ManagedDeviceMobileAppConfigurationState extends Entity implements IJsonBackedObject { - /** - * The Setting States. - * - */ - @SerializedName("settingStates") - @Expose - public java.util.List settingStates; - /** * The Display Name. * The name of the policy for this policyBase @@ -45,14 +37,6 @@ public class ManagedDeviceMobileAppConfigurationState extends Entity implements @Expose public String displayName; - /** - * The Version. - * The version of the policy - */ - @SerializedName("version") - @Expose - public Integer version; - /** * The Platform Type. * Platform type that the policy applies to @@ -61,14 +45,6 @@ public class ManagedDeviceMobileAppConfigurationState extends Entity implements @Expose public PolicyPlatformType platformType; - /** - * The State. - * The compliance state of the policy - */ - @SerializedName("state") - @Expose - public ComplianceStatus state; - /** * The Setting Count. * Count of how many setting a policy holds @@ -77,6 +53,22 @@ public class ManagedDeviceMobileAppConfigurationState extends Entity implements @Expose public Integer settingCount; + /** + * The Setting States. + * + */ + @SerializedName("settingStates") + @Expose + public java.util.List settingStates; + + /** + * The State. + * The compliance state of the policy + */ + @SerializedName("state") + @Expose + public ComplianceStatus state; + /** * The User Id. * User unique identifier, must be Guid @@ -93,6 +85,14 @@ public class ManagedDeviceMobileAppConfigurationState extends Entity implements @Expose public String userPrincipalName; + /** + * The Version. + * The version of the policy + */ + @SerializedName("version") + @Expose + public Integer version; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java index 15990b5f0f7..6a8efac0858 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserStatus.java @@ -27,14 +27,6 @@ public class ManagedDeviceMobileAppConfigurationUserStatus extends Entity implements IJsonBackedObject { - /** - * The User Display Name. - * User name of the DevicePolicyStatus. - */ - @SerializedName("userDisplayName") - @Expose - public String userDisplayName; - /** * The Devices Count. * Devices count for that user. @@ -43,6 +35,14 @@ public class ManagedDeviceMobileAppConfigurationUserStatus extends Entity implem @Expose public Integer devicesCount; + /** + * The Last Reported Date Time. + * Last modified date time of the policy report. + */ + @SerializedName("lastReportedDateTime") + @Expose + public java.util.Calendar lastReportedDateTime; + /** * The Status. * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. @@ -52,12 +52,12 @@ public class ManagedDeviceMobileAppConfigurationUserStatus extends Entity implem public ComplianceStatus status; /** - * The Last Reported Date Time. - * Last modified date time of the policy report. + * The User Display Name. + * User name of the DevicePolicyStatus. */ - @SerializedName("lastReportedDateTime") + @SerializedName("userDisplayName") @Expose - public java.util.Calendar lastReportedDateTime; + public String userDisplayName; /** * The User Principal Name. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java index 40811cedf75..74c3c71cd0f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceMobileAppConfigurationUserSummary.java @@ -27,28 +27,20 @@ public class ManagedDeviceMobileAppConfigurationUserSummary extends Entity imple /** - * The Pending Count. - * Number of pending Users - */ - @SerializedName("pendingCount") - @Expose - public Integer pendingCount; - - /** - * The Not Applicable Count. - * Number of not applicable users + * The Configuration Version. + * Version of the policy for that overview */ - @SerializedName("notApplicableCount") + @SerializedName("configurationVersion") @Expose - public Integer notApplicableCount; + public Integer configurationVersion; /** - * The Success Count. - * Number of succeeded Users + * The Conflict Count. + * Number of users in conflict */ - @SerializedName("successCount") + @SerializedName("conflictCount") @Expose - public Integer successCount; + public Integer conflictCount; /** * The Error Count. @@ -66,14 +58,6 @@ public class ManagedDeviceMobileAppConfigurationUserSummary extends Entity imple @Expose public Integer failedCount; - /** - * The Conflict Count. - * Number of users in conflict - */ - @SerializedName("conflictCount") - @Expose - public Integer conflictCount; - /** * The Last Update Date Time. * Last update time @@ -83,12 +67,28 @@ public class ManagedDeviceMobileAppConfigurationUserSummary extends Entity imple public java.util.Calendar lastUpdateDateTime; /** - * The Configuration Version. - * Version of the policy for that overview + * The Not Applicable Count. + * Number of not applicable users */ - @SerializedName("configurationVersion") + @SerializedName("notApplicableCount") @Expose - public Integer configurationVersion; + public Integer notApplicableCount; + + /** + * The Pending Count. + * Number of pending Users + */ + @SerializedName("pendingCount") + @Expose + public Integer pendingCount; + + /** + * The Success Count. + * Number of succeeded Users + */ + @SerializedName("successCount") + @Expose + public Integer successCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceModelsAndManufacturers.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceModelsAndManufacturers.java index 2cfc4fd51ed..c0065b232d0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceModelsAndManufacturers.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceModelsAndManufacturers.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Device Models. - * List of Models for managed devices in the account - */ - @SerializedName("deviceModels") - @Expose - public java.util.List deviceModels; - /** * The Device Manufacturers. * List of Manufactures for managed devices in the account @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List deviceManufacturers; + /** + * The Device Models. + * List of Models for managed devices in the account + */ + @SerializedName("deviceModels") + @Expose + public java.util.List deviceModels; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java index 0722e5b99b5..3db4e452b2c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceOverview.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceOperatingSystemSummary; import com.microsoft.graph.models.extensions.DeviceExchangeAccessStateSummary; +import com.microsoft.graph.models.extensions.DeviceOperatingSystemSummary; import com.microsoft.graph.models.extensions.ManagedDeviceModelsAndManufacturers; import com.microsoft.graph.models.extensions.Entity; @@ -30,20 +30,20 @@ public class ManagedDeviceOverview extends Entity implements IJsonBackedObject { /** - * The Enrolled Device Count. - * Total enrolled device count. Does not include PC devices managed via Intune PC Agent + * The Device Exchange Access State Summary. + * Distribution of Exchange Access State in Intune */ - @SerializedName("enrolledDeviceCount") + @SerializedName("deviceExchangeAccessStateSummary") @Expose - public Integer enrolledDeviceCount; + public DeviceExchangeAccessStateSummary deviceExchangeAccessStateSummary; /** - * The Mdm Enrolled Count. - * The number of devices enrolled in MDM + * The Device Operating System Summary. + * Device operating system summary. */ - @SerializedName("mdmEnrolledCount") + @SerializedName("deviceOperatingSystemSummary") @Expose - public Integer mdmEnrolledCount; + public DeviceOperatingSystemSummary deviceOperatingSystemSummary; /** * The Dual Enrolled Device Count. @@ -54,20 +54,20 @@ public class ManagedDeviceOverview extends Entity implements IJsonBackedObject { public Integer dualEnrolledDeviceCount; /** - * The Device Operating System Summary. - * Device operating system summary. + * The Enrolled Device Count. + * Total enrolled device count. Does not include PC devices managed via Intune PC Agent */ - @SerializedName("deviceOperatingSystemSummary") + @SerializedName("enrolledDeviceCount") @Expose - public DeviceOperatingSystemSummary deviceOperatingSystemSummary; + public Integer enrolledDeviceCount; /** - * The Device Exchange Access State Summary. - * Distribution of Exchange Access State in Intune + * The Last Modified Date Time. + * Last modified date time of device overview */ - @SerializedName("deviceExchangeAccessStateSummary") + @SerializedName("lastModifiedDateTime") @Expose - public DeviceExchangeAccessStateSummary deviceExchangeAccessStateSummary; + public java.util.Calendar lastModifiedDateTime; /** * The Managed Device Models And Manufacturers. @@ -78,12 +78,12 @@ public class ManagedDeviceOverview extends Entity implements IJsonBackedObject { public ManagedDeviceModelsAndManufacturers managedDeviceModelsAndManufacturers; /** - * The Last Modified Date Time. - * Last modified date time of device overview + * The Mdm Enrolled Count. + * The number of devices enrolled in MDM */ - @SerializedName("lastModifiedDateTime") + @SerializedName("mdmEnrolledCount") @Expose - public java.util.Calendar lastModifiedDateTime; + public Integer mdmEnrolledCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceSummarizedAppState.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceSummarizedAppState.java index 51f1edc6bfd..2de2be08a54 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceSummarizedAppState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedDeviceSummarizedAppState.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Summarized App State. - * runState for the object - */ - @SerializedName("summarizedAppState") - @Expose - public RunState summarizedAppState; - /** * The Device Id. * DeviceId of device represented by this object @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String deviceId; + /** + * The Summarized App State. + * runState for the object + */ + @SerializedName("summarizedAppState") + @Expose + public RunState summarizedAppState; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java index 93bf82810c4..3d16a717ac5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBook.java @@ -9,16 +9,16 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.MimeContent; -import com.microsoft.graph.models.extensions.ManagedEBookCategory; import com.microsoft.graph.models.extensions.ManagedEBookAssignment; -import com.microsoft.graph.models.extensions.EBookInstallSummary; +import com.microsoft.graph.models.extensions.ManagedEBookCategory; import com.microsoft.graph.models.extensions.DeviceInstallState; +import com.microsoft.graph.models.extensions.EBookInstallSummary; import com.microsoft.graph.models.extensions.UserInstallStateSummary; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionPage; import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.ManagedEBookAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.ManagedEBookCategoryCollectionPage; import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionResponse; import com.microsoft.graph.requests.extensions.DeviceInstallStateCollectionPage; import com.microsoft.graph.requests.extensions.UserInstallStateSummaryCollectionResponse; @@ -41,12 +41,12 @@ public class ManagedEBook extends Entity implements IJsonBackedObject { /** - * The Display Name. - * Name of the eBook. + * The Created Date Time. + * The date and time when the eBook file was created. */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -57,20 +57,20 @@ public class ManagedEBook extends Entity implements IJsonBackedObject { public String description; /** - * The Publisher. - * Publisher. + * The Display Name. + * Name of the eBook. */ - @SerializedName("publisher") + @SerializedName("displayName") @Expose - public String publisher; + public String displayName; /** - * The Published Date Time. - * The date and time when the eBook was published. + * The Information Url. + * The more information Url. */ - @SerializedName("publishedDateTime") + @SerializedName("informationUrl") @Expose - public java.util.Calendar publishedDateTime; + public String informationUrl; /** * The Large Cover. @@ -80,14 +80,6 @@ public class ManagedEBook extends Entity implements IJsonBackedObject { @Expose public MimeContent largeCover; - /** - * The Created Date Time. - * The date and time when the eBook file was created. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - /** * The Last Modified Date Time. * The date and time when the eBook was last modified. @@ -96,14 +88,6 @@ public class ManagedEBook extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastModifiedDateTime; - /** - * The Information Url. - * The more information Url. - */ - @SerializedName("informationUrl") - @Expose - public String informationUrl; - /** * The Privacy Information Url. * The privacy statement Url. @@ -113,10 +97,20 @@ public class ManagedEBook extends Entity implements IJsonBackedObject { public String privacyInformationUrl; /** - * The Categories. - * The list of categories for this eBook. + * The Published Date Time. + * The date and time when the eBook was published. */ - public ManagedEBookCategoryCollectionPage categories; + @SerializedName("publishedDateTime") + @Expose + public java.util.Calendar publishedDateTime; + + /** + * The Publisher. + * Publisher. + */ + @SerializedName("publisher") + @Expose + public String publisher; /** * The Assignments. @@ -125,12 +119,10 @@ public class ManagedEBook extends Entity implements IJsonBackedObject { public ManagedEBookAssignmentCollectionPage assignments; /** - * The Install Summary. - * Mobile App Install Summary. + * The Categories. + * The list of categories for this eBook. */ - @SerializedName("installSummary") - @Expose - public EBookInstallSummary installSummary; + public ManagedEBookCategoryCollectionPage categories; /** * The Device States. @@ -138,6 +130,14 @@ public class ManagedEBook extends Entity implements IJsonBackedObject { */ public DeviceInstallStateCollectionPage deviceStates; + /** + * The Install Summary. + * Mobile App Install Summary. + */ + @SerializedName("installSummary") + @Expose + public EBookInstallSummary installSummary; + /** * The User State Summary. * The list of installation states for this eBook. @@ -184,22 +184,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("categories")) { - final ManagedEBookCategoryCollectionResponse response = new ManagedEBookCategoryCollectionResponse(); - if (json.has("categories@odata.nextLink")) { - response.nextLink = json.get("categories@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); - final ManagedEBookCategory[] array = new ManagedEBookCategory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBookCategory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - categories = new ManagedEBookCategoryCollectionPage(response, null); - } - if (json.has("assignments")) { final ManagedEBookAssignmentCollectionResponse response = new ManagedEBookAssignmentCollectionResponse(); if (json.has("assignments@odata.nextLink")) { @@ -216,6 +200,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { assignments = new ManagedEBookAssignmentCollectionPage(response, null); } + if (json.has("categories")) { + final ManagedEBookCategoryCollectionResponse response = new ManagedEBookCategoryCollectionResponse(); + if (json.has("categories@odata.nextLink")) { + response.nextLink = json.get("categories@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); + final ManagedEBookCategory[] array = new ManagedEBookCategory[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ManagedEBookCategory.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + categories = new ManagedEBookCategoryCollectionPage(response, null); + } + if (json.has("deviceStates")) { final DeviceInstallStateCollectionResponse response = new DeviceInstallStateCollectionResponse(); if (json.has("deviceStates@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java index 0873020e1f7..37e9e80ac5a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedEBookAssignment.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.generated.InstallIntent; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.Entity; @@ -28,14 +28,6 @@ public class ManagedEBookAssignment extends Entity implements IJsonBackedObject { - /** - * The Target. - * The assignment target for eBook. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - /** * The Install Intent. * The install intent for eBook. Possible values are: available, required, uninstall, availableWithoutEnrollment. @@ -44,6 +36,14 @@ public class ManagedEBookAssignment extends Entity implements IJsonBackedObject @Expose public InstallIntent installIntent; + /** + * The Target. + * The assignment target for eBook. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java index 9b1e96a0081..c8c0a60ace0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSLobApp.java @@ -28,14 +28,6 @@ public class ManagedIOSLobApp extends ManagedMobileLobApp implements IJsonBackedObject { - /** - * The Bundle Id. - * The Identity Name. - */ - @SerializedName("bundleId") - @Expose - public String bundleId; - /** * The Applicable Device Type. * The iOS architecture for which this app can run on. @@ -45,12 +37,20 @@ public class ManagedIOSLobApp extends ManagedMobileLobApp implements IJsonBacked public IosDeviceType applicableDeviceType; /** - * The Minimum Supported Operating System. - * The value for the minimum applicable operating system. + * The Build Number. + * The build number of managed iOS Line of Business (LoB) app. */ - @SerializedName("minimumSupportedOperatingSystem") + @SerializedName("buildNumber") @Expose - public IosMinimumOperatingSystem minimumSupportedOperatingSystem; + public String buildNumber; + + /** + * The Bundle Id. + * The Identity Name. + */ + @SerializedName("bundleId") + @Expose + public String bundleId; /** * The Expiration Date Time. @@ -61,28 +61,28 @@ public class ManagedIOSLobApp extends ManagedMobileLobApp implements IJsonBacked public java.util.Calendar expirationDateTime; /** - * The Version Number. - * The version number of managed iOS Line of Business (LoB) app. + * The Identity Version. + * The identity version. */ - @SerializedName("versionNumber") + @SerializedName("identityVersion") @Expose - public String versionNumber; + public String identityVersion; /** - * The Build Number. - * The build number of managed iOS Line of Business (LoB) app. + * The Minimum Supported Operating System. + * The value for the minimum applicable operating system. */ - @SerializedName("buildNumber") + @SerializedName("minimumSupportedOperatingSystem") @Expose - public String buildNumber; + public IosMinimumOperatingSystem minimumSupportedOperatingSystem; /** - * The Identity Version. - * The identity version. + * The Version Number. + * The version number of managed iOS Line of Business (LoB) app. */ - @SerializedName("identityVersion") + @SerializedName("versionNumber") @Expose - public String identityVersion; + public String versionNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java index ab0b9b30062..e7ea81da1b2 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagedIOSStoreApp.java @@ -29,12 +29,12 @@ public class ManagedIOSStoreApp extends ManagedApp implements IJsonBackedObject /** - * The Bundle Id. - * The app's Bundle ID. + * The Applicable Device Type. + * The iOS architecture for which this app can run on. */ - @SerializedName("bundleId") + @SerializedName("applicableDeviceType") @Expose - public String bundleId; + public IosDeviceType applicableDeviceType; /** * The App Store Url. @@ -45,12 +45,12 @@ public class ManagedIOSStoreApp extends ManagedApp implements IJsonBackedObject public String appStoreUrl; /** - * The Applicable Device Type. - * The iOS architecture for which this app can run on. + * The Bundle Id. + * The app's Bundle ID. */ - @SerializedName("applicableDeviceType") + @SerializedName("bundleId") @Expose - public IosDeviceType applicableDeviceType; + public String bundleId; /** * The Minimum Supported Operating System. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagementCertificateWithThumbprint.java b/src/main/java/com/microsoft/graph/models/extensions/ManagementCertificateWithThumbprint.java index b0ba2df60be..bfaa12a9179 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagementCertificateWithThumbprint.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagementCertificateWithThumbprint.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Thumbprint. - * The thumbprint of the management certificate - */ - @SerializedName("thumbprint") - @Expose - public String thumbprint; - /** * The Certificate. * The Base 64 encoded management certificate @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String certificate; + /** + * The Thumbprint. + * The thumbprint of the management certificate + */ + @SerializedName("thumbprint") + @Expose + public String thumbprint; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagementCondition.java b/src/main/java/com/microsoft/graph/models/extensions/ManagementCondition.java index 1f9b58d646b..215d90551dd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagementCondition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagementCondition.java @@ -31,20 +31,20 @@ public class ManagementCondition extends Entity implements IJsonBackedObject { /** - * The Unique Name. - * Unique name for the management condition. Used in management condition expressions. + * The Applicable Platforms. + * The applicable platforms for this management condition. */ - @SerializedName("uniqueName") + @SerializedName("applicablePlatforms") @Expose - public String uniqueName; + public java.util.List applicablePlatforms; /** - * The Display Name. - * The admin defined name of the management condition. + * The Created Date Time. + * The time the management condition was created. Generated service side. */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; /** * The Description. @@ -55,20 +55,12 @@ public class ManagementCondition extends Entity implements IJsonBackedObject { public String description; /** - * The Created Date Time. - * The time the management condition was created. Generated service side. - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Modified Date Time. - * The time the management condition was last modified. Updated service side. + * The Display Name. + * The admin defined name of the management condition. */ - @SerializedName("modifiedDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar modifiedDateTime; + public String displayName; /** * The ETag. @@ -79,12 +71,20 @@ public class ManagementCondition extends Entity implements IJsonBackedObject { public String eTag; /** - * The Applicable Platforms. - * The applicable platforms for this management condition. + * The Modified Date Time. + * The time the management condition was last modified. Updated service side. */ - @SerializedName("applicablePlatforms") + @SerializedName("modifiedDateTime") @Expose - public java.util.List applicablePlatforms; + public java.util.Calendar modifiedDateTime; + + /** + * The Unique Name. + * Unique name for the management condition. Used in management condition expressions. + */ + @SerializedName("uniqueName") + @Expose + public String uniqueName; /** * The Management Condition Statements. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ManagementConditionStatement.java b/src/main/java/com/microsoft/graph/models/extensions/ManagementConditionStatement.java index c74a92429c3..7db55175f6b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ManagementConditionStatement.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ManagementConditionStatement.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ManagementConditionExpression; import com.microsoft.graph.models.generated.DevicePlatformType; +import com.microsoft.graph.models.extensions.ManagementConditionExpression; import com.microsoft.graph.models.extensions.ManagementCondition; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.ManagementConditionCollectionResponse; @@ -32,20 +32,12 @@ public class ManagementConditionStatement extends Entity implements IJsonBackedO /** - * The Display Name. - * The admin defined name of the management condition statement. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Description. - * The admin defined description of the management condition statement. + * The Applicable Platforms. + * This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms. */ - @SerializedName("description") + @SerializedName("applicablePlatforms") @Expose - public String description; + public java.util.List applicablePlatforms; /** * The Created Date Time. @@ -56,20 +48,20 @@ public class ManagementConditionStatement extends Entity implements IJsonBackedO public java.util.Calendar createdDateTime; /** - * The Modified Date Time. - * The time the management condition statement was last modified. Updated service side. + * The Description. + * The admin defined description of the management condition statement. */ - @SerializedName("modifiedDateTime") + @SerializedName("description") @Expose - public java.util.Calendar modifiedDateTime; + public String description; /** - * The Expression. - * The management condition statement expression used to evaluate if a management condition statement was activated/deactivated. + * The Display Name. + * The admin defined name of the management condition statement. */ - @SerializedName("expression") + @SerializedName("displayName") @Expose - public ManagementConditionExpression expression; + public String displayName; /** * The ETag. @@ -80,12 +72,20 @@ public class ManagementConditionStatement extends Entity implements IJsonBackedO public String eTag; /** - * The Applicable Platforms. - * This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms. + * The Expression. + * The management condition statement expression used to evaluate if a management condition statement was activated/deactivated. */ - @SerializedName("applicablePlatforms") + @SerializedName("expression") @Expose - public java.util.List applicablePlatforms; + public ManagementConditionExpression expression; + + /** + * The Modified Date Time. + * The time the management condition statement was last modified. Updated service side. + */ + @SerializedName("modifiedDateTime") + @Expose + public java.util.Calendar modifiedDateTime; /** * The Management Conditions. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MarkContent.java b/src/main/java/com/microsoft/graph/models/extensions/MarkContent.java index 00877c03bc0..c2b73ca3975 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MarkContent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MarkContent.java @@ -26,6 +26,14 @@ public class MarkContent extends LabelActionBase implements IJsonBackedObject { + /** + * The Font Color. + * + */ + @SerializedName("fontColor") + @Expose + public String fontColor; + /** * The Font Size. * @@ -42,14 +50,6 @@ public class MarkContent extends LabelActionBase implements IJsonBackedObject { @Expose public String text; - /** - * The Font Color. - * - */ - @SerializedName("fontColor") - @Expose - public String fontColor; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MatchingDlpRule.java b/src/main/java/com/microsoft/graph/models/extensions/MatchingDlpRule.java index c8ad7550fbe..24fd6b2245b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MatchingDlpRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MatchingDlpRule.java @@ -38,20 +38,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Rule Id. + * The Actions. * */ - @SerializedName("ruleId") + @SerializedName("actions") @Expose - public String ruleId; + public java.util.List actions; /** - * The Rule Name. + * The Is Most Restrictive. * */ - @SerializedName("ruleName") + @SerializedName("isMostRestrictive") @Expose - public String ruleName; + public Boolean isMostRestrictive; /** * The Policy Id. @@ -69,14 +69,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String policyName; - /** - * The Is Most Restrictive. - * - */ - @SerializedName("isMostRestrictive") - @Expose - public Boolean isMostRestrictive; - /** * The Priority. * @@ -86,12 +78,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer priority; /** - * The Actions. + * The Rule Id. * */ - @SerializedName("actions") + @SerializedName("ruleId") @Expose - public java.util.List actions; + public String ruleId; /** * The Rule Mode. @@ -101,6 +93,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public RuleMode ruleMode; + /** + * The Rule Name. + * + */ + @SerializedName("ruleName") + @Expose + public String ruleName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MatchingLabel.java b/src/main/java/com/microsoft/graph/models/extensions/MatchingLabel.java index d64b34730fa..c598a30ca7b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MatchingLabel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MatchingLabel.java @@ -38,20 +38,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Application Mode. * */ - @SerializedName("id") + @SerializedName("applicationMode") @Expose - public String id; + public ApplicationMode applicationMode; /** - * The Name. + * The Description. * */ - @SerializedName("name") + @SerializedName("description") @Expose - public String name; + public String description; /** * The Display Name. @@ -62,60 +62,60 @@ public final AdditionalDataManager additionalDataManager() { public String displayName; /** - * The Description. + * The Id. * */ - @SerializedName("description") + @SerializedName("id") @Expose - public String description; + public String id; /** - * The Tool Tip. + * The Is Endpoint Protection Enabled. * */ - @SerializedName("toolTip") + @SerializedName("isEndpointProtectionEnabled") @Expose - public String toolTip; + public Boolean isEndpointProtectionEnabled; /** - * The Policy Tip. + * The Label Actions. * */ - @SerializedName("policyTip") + @SerializedName("labelActions") @Expose - public String policyTip; + public java.util.List labelActions; /** - * The Is Endpoint Protection Enabled. + * The Name. * */ - @SerializedName("isEndpointProtectionEnabled") + @SerializedName("name") @Expose - public Boolean isEndpointProtectionEnabled; + public String name; /** - * The Application Mode. + * The Policy Tip. * */ - @SerializedName("applicationMode") + @SerializedName("policyTip") @Expose - public ApplicationMode applicationMode; + public String policyTip; /** - * The Label Actions. + * The Priority. * */ - @SerializedName("labelActions") + @SerializedName("priority") @Expose - public java.util.List labelActions; + public Integer priority; /** - * The Priority. + * The Tool Tip. * */ - @SerializedName("priority") + @SerializedName("toolTip") @Expose - public Integer priority; + public String toolTip; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaInfo.java b/src/main/java/com/microsoft/graph/models/extensions/MediaInfo.java index b5fc8393064..21b1fd57f11 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaInfo.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Uri. - * Path to the prompt that will be played. Currently supports only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate. - */ - @SerializedName("uri") - @Expose - public String uri; - /** * The Resource Id. * Optional. Used to uniquely identity the resource. If passed in, the prompt uri will be cached against this resourceId as a key. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String resourceId; + /** + * The Uri. + * Path to the prompt that will be played. Currently supports only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate. + */ + @SerializedName("uri") + @Expose + public String uri; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaPrompt.java b/src/main/java/com/microsoft/graph/models/extensions/MediaPrompt.java index 754bcb0a75e..6680889a199 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaPrompt.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaPrompt.java @@ -27,14 +27,6 @@ public class MediaPrompt extends Prompt implements IJsonBackedObject { - /** - * The Media Info. - * The media information - */ - @SerializedName("mediaInfo") - @Expose - public MediaInfo mediaInfo; - /** * The Loop. * @@ -43,6 +35,14 @@ public class MediaPrompt extends Prompt implements IJsonBackedObject { @Expose public Integer loop; + /** + * The Media Info. + * The media information + */ + @SerializedName("mediaInfo") + @Expose + public MediaInfo mediaInfo; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MediaStream.java b/src/main/java/com/microsoft/graph/models/extensions/MediaStream.java index 7056b353e4b..7345d4c5200 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MediaStream.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MediaStream.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.Modality; import com.microsoft.graph.models.generated.MediaDirection; +import com.microsoft.graph.models.generated.Modality; import com.google.gson.JsonObject; @@ -38,12 +38,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Media Type. - * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. + * The Direction. + * The direction. The possible values are inactive, sendOnly, receiveOnly, sendReceive. */ - @SerializedName("mediaType") + @SerializedName("direction") @Expose - public Modality mediaType; + public MediaDirection direction; /** * The Label. @@ -54,20 +54,12 @@ public final AdditionalDataManager additionalDataManager() { public String label; /** - * The Source Id. - * The source ID. - */ - @SerializedName("sourceId") - @Expose - public String sourceId; - - /** - * The Direction. - * The direction. The possible values are inactive, sendOnly, receiveOnly, sendReceive. + * The Media Type. + * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. */ - @SerializedName("direction") + @SerializedName("mediaType") @Expose - public MediaDirection direction; + public Modality mediaType; /** * The Server Muted. @@ -77,6 +69,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean serverMuted; + /** + * The Source Id. + * The source ID. + */ + @SerializedName("sourceId") + @Expose + public String sourceId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MeetingActivityStatistics.java b/src/main/java/com/microsoft/graph/models/extensions/MeetingActivityStatistics.java index 204a40696b2..95c6b40cb79 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MeetingActivityStatistics.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MeetingActivityStatistics.java @@ -35,44 +35,44 @@ public class MeetingActivityStatistics extends ActivityStatistics implements IJs public javax.xml.datatype.Duration afterHours; /** - * The Organized. + * The Conflicting. * */ - @SerializedName("organized") + @SerializedName("conflicting") @Expose - public javax.xml.datatype.Duration organized; + public javax.xml.datatype.Duration conflicting; /** - * The Recurring. + * The Long. * */ - @SerializedName("recurring") + @SerializedName("long") @Expose - public javax.xml.datatype.Duration recurring; + public javax.xml.datatype.Duration msgraphLong; /** - * The Long. + * The Multitasking. * */ - @SerializedName("long") + @SerializedName("multitasking") @Expose - public javax.xml.datatype.Duration msgraphLong; + public javax.xml.datatype.Duration multitasking; /** - * The Conflicting. + * The Organized. * */ - @SerializedName("conflicting") + @SerializedName("organized") @Expose - public javax.xml.datatype.Duration conflicting; + public javax.xml.datatype.Duration organized; /** - * The Multitasking. + * The Recurring. * */ - @SerializedName("multitasking") + @SerializedName("recurring") @Expose - public javax.xml.datatype.Duration multitasking; + public javax.xml.datatype.Duration recurring; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MeetingCapability.java b/src/main/java/com/microsoft/graph/models/extensions/MeetingCapability.java index 2b93f93a582..66aede732a8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MeetingCapability.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MeetingCapability.java @@ -45,20 +45,20 @@ public final AdditionalDataManager additionalDataManager() { public Boolean allowAnonymousUsersToDialOut; /** - * The Auto Admitted Users. + * The Allow Anonymous Users To Start Meeting. * */ - @SerializedName("autoAdmittedUsers") + @SerializedName("allowAnonymousUsersToStartMeeting") @Expose - public AutoAdmittedUsersType autoAdmittedUsers; + public Boolean allowAnonymousUsersToStartMeeting; /** - * The Allow Anonymous Users To Start Meeting. + * The Auto Admitted Users. * */ - @SerializedName("allowAnonymousUsersToStartMeeting") + @SerializedName("autoAdmittedUsers") @Expose - public Boolean allowAnonymousUsersToStartMeeting; + public AutoAdmittedUsersType autoAdmittedUsers; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MeetingParticipants.java b/src/main/java/com/microsoft/graph/models/extensions/MeetingParticipants.java index 626a627ae72..d31634d5eb0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MeetingParticipants.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MeetingParticipants.java @@ -37,36 +37,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Organizer. + * The Attendees. * */ - @SerializedName("organizer") + @SerializedName("attendees") @Expose - public MeetingParticipantInfo organizer; + public java.util.List attendees; /** - * The Attendees. + * The Contributors. * */ - @SerializedName("attendees") + @SerializedName("contributors") @Expose - public java.util.List attendees; + public java.util.List contributors; /** - * The Producers. + * The Organizer. * */ - @SerializedName("producers") + @SerializedName("organizer") @Expose - public java.util.List producers; + public MeetingParticipantInfo organizer; /** - * The Contributors. + * The Producers. * */ - @SerializedName("contributors") + @SerializedName("producers") @Expose - public java.util.List contributors; + public java.util.List producers; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java index 91f75290248..360a1efecd4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestion.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.FreeBusyStatus; import com.microsoft.graph.models.extensions.AttendeeAvailability; import com.microsoft.graph.models.extensions.Location; import com.microsoft.graph.models.extensions.TimeSlot; +import com.microsoft.graph.models.generated.FreeBusyStatus; import com.google.gson.JsonObject; @@ -39,6 +39,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Attendee Availability. + * An array that shows the availability status of each attendee for this meeting suggestion. + */ + @SerializedName("attendeeAvailability") + @Expose + public java.util.List attendeeAvailability; + /** * The Confidence. * A percentage that represents the likelhood of all the attendees attending. @@ -48,36 +56,36 @@ public final AdditionalDataManager additionalDataManager() { public Double confidence; /** - * The Order. - * Order of meeting time suggestions sorted by their computed confidence value from high to low, then by chronology if there are suggestions with the same confidence. + * The Locations. + * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. */ - @SerializedName("order") + @SerializedName("locations") @Expose - public Integer order; + public java.util.List locations; /** - * The Organizer Availability. - * Availability of the meeting organizer for this meeting suggestion. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * The Meeting Time Slot. + * A time period suggested for the meeting. */ - @SerializedName("organizerAvailability") + @SerializedName("meetingTimeSlot") @Expose - public FreeBusyStatus organizerAvailability; + public TimeSlot meetingTimeSlot; /** - * The Attendee Availability. - * An array that shows the availability status of each attendee for this meeting suggestion. + * The Order. + * Order of meeting time suggestions sorted by their computed confidence value from high to low, then by chronology if there are suggestions with the same confidence. */ - @SerializedName("attendeeAvailability") + @SerializedName("order") @Expose - public java.util.List attendeeAvailability; + public Integer order; /** - * The Locations. - * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. + * The Organizer Availability. + * Availability of the meeting organizer for this meeting suggestion. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. */ - @SerializedName("locations") + @SerializedName("organizerAvailability") @Expose - public java.util.List locations; + public FreeBusyStatus organizerAvailability; /** * The Suggestion Reason. @@ -87,14 +95,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String suggestionReason; - /** - * The Meeting Time Slot. - * A time period suggested for the meeting. - */ - @SerializedName("meetingTimeSlot") - @Expose - public TimeSlot meetingTimeSlot; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java index c7e5cf8223b..0b96856091e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MeetingTimeSuggestionsResult.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Meeting Time Suggestions. - * An array of meeting suggestions. - */ - @SerializedName("meetingTimeSuggestions") - @Expose - public java.util.List meetingTimeSuggestions; - /** * The Empty Suggestions Reason. * A reason for not returning any meeting suggestions. The possible values are: attendeesUnavailable, attendeesUnavailableOrUnknown, locationsUnavailable, organizerUnavailable, or unknown. This property is an empty string if the meetingTimeSuggestions property does include any meeting suggestions. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String emptySuggestionsReason; + /** + * The Meeting Time Suggestions. + * An array of meeting suggestions. + */ + @SerializedName("meetingTimeSuggestions") + @Expose + public java.util.List meetingTimeSuggestions; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Mention.java b/src/main/java/com/microsoft/graph/models/extensions/Mention.java index 18ee5534eb4..83502559343 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Mention.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Mention.java @@ -28,20 +28,12 @@ public class Mention extends Entity implements IJsonBackedObject { /** - * The Mentioned. - * - */ - @SerializedName("mentioned") - @Expose - public EmailAddress mentioned; - - /** - * The Mention Text. + * The Application. * */ - @SerializedName("mentionText") + @SerializedName("application") @Expose - public String mentionText; + public String application; /** * The Client Reference. @@ -68,28 +60,36 @@ public class Mention extends Entity implements IJsonBackedObject { public java.util.Calendar createdDateTime; /** - * The Server Created Date Time. + * The Deep Link. * */ - @SerializedName("serverCreatedDateTime") + @SerializedName("deepLink") @Expose - public java.util.Calendar serverCreatedDateTime; + public String deepLink; /** - * The Deep Link. + * The Mentioned. * */ - @SerializedName("deepLink") + @SerializedName("mentioned") @Expose - public String deepLink; + public EmailAddress mentioned; /** - * The Application. + * The Mention Text. * */ - @SerializedName("application") + @SerializedName("mentionText") @Expose - public String application; + public String mentionText; + + /** + * The Server Created Date Time. + * + */ + @SerializedName("serverCreatedDateTime") + @Expose + public java.util.Calendar serverCreatedDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Message.java b/src/main/java/com/microsoft/graph/models/extensions/Message.java index cca8cf36574..2aaf097696e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Message.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Message.java @@ -8,29 +8,29 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.InternetMessageHeader; +import com.microsoft.graph.models.extensions.Recipient; import com.microsoft.graph.models.extensions.ItemBody; +import com.microsoft.graph.models.extensions.FollowupFlag; import com.microsoft.graph.models.generated.Importance; -import com.microsoft.graph.models.extensions.Recipient; -import com.microsoft.graph.models.extensions.MentionsPreview; import com.microsoft.graph.models.generated.InferenceClassificationType; -import com.microsoft.graph.models.extensions.FollowupFlag; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.InternetMessageHeader; +import com.microsoft.graph.models.extensions.MentionsPreview; import com.microsoft.graph.models.extensions.Attachment; import com.microsoft.graph.models.extensions.Extension; import com.microsoft.graph.models.extensions.Mention; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; import com.microsoft.graph.requests.extensions.MentionCollectionResponse; import com.microsoft.graph.requests.extensions.MentionCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.google.gson.JsonObject; @@ -49,212 +49,212 @@ public class Message extends OutlookItem implements IJsonBackedObject { /** - * The Received Date Time. - * The date and time the message was received. + * The Bcc Recipients. + * The Bcc: recipients for the message. */ - @SerializedName("receivedDateTime") + @SerializedName("bccRecipients") @Expose - public java.util.Calendar receivedDateTime; + public java.util.List bccRecipients; /** - * The Sent Date Time. - * The date and time the message was sent. + * The Body. + * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. */ - @SerializedName("sentDateTime") + @SerializedName("body") @Expose - public java.util.Calendar sentDateTime; + public ItemBody body; /** - * The Has Attachments. - * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. + * The Body Preview. + * The first 255 characters of the message body. It is in text format. */ - @SerializedName("hasAttachments") + @SerializedName("bodyPreview") @Expose - public Boolean hasAttachments; + public String bodyPreview; /** - * The Internet Message Id. - * The message ID in the format specified by RFC2822. + * The Cc Recipients. + * The Cc: recipients for the message. */ - @SerializedName("internetMessageId") + @SerializedName("ccRecipients") @Expose - public String internetMessageId; + public java.util.List ccRecipients; /** - * The Internet Message Headers. - * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only. + * The Conversation Id. + * The ID of the conversation the email belongs to. */ - @SerializedName("internetMessageHeaders") + @SerializedName("conversationId") @Expose - public java.util.List internetMessageHeaders; + public String conversationId; /** - * The Subject. - * The subject of the message. + * The Conversation Index. + * Indicates the position of the message within the conversation. */ - @SerializedName("subject") + @SerializedName("conversationIndex") @Expose - public String subject; + public byte[] conversationIndex; /** - * The Body. - * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. + * The Flag. + * The flag value that indicates the status, start date, due date, or completion date for the message. */ - @SerializedName("body") + @SerializedName("flag") @Expose - public ItemBody body; + public FollowupFlag flag; /** - * The Body Preview. - * The first 255 characters of the message body. It is in text format. + * The From. + * The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. */ - @SerializedName("bodyPreview") + @SerializedName("from") @Expose - public String bodyPreview; + public Recipient from; /** - * The Importance. - * The importance of the message: Low, Normal, High. + * The Has Attachments. + * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. */ - @SerializedName("importance") + @SerializedName("hasAttachments") @Expose - public Importance importance; + public Boolean hasAttachments; /** - * The Parent Folder Id. - * The unique identifier for the message's parent mailFolder. + * The Importance. + * The importance of the message: Low, Normal, High. */ - @SerializedName("parentFolderId") + @SerializedName("importance") @Expose - public String parentFolderId; + public Importance importance; /** - * The Sender. - * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + * The Inference Classification. + * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. */ - @SerializedName("sender") + @SerializedName("inferenceClassification") @Expose - public Recipient sender; + public InferenceClassificationType inferenceClassification; /** - * The From. - * The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + * The Internet Message Headers. + * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only. */ - @SerializedName("from") + @SerializedName("internetMessageHeaders") @Expose - public Recipient from; + public java.util.List internetMessageHeaders; /** - * The To Recipients. - * The To: recipients for the message. + * The Internet Message Id. + * The message ID in the format specified by RFC2822. */ - @SerializedName("toRecipients") + @SerializedName("internetMessageId") @Expose - public java.util.List toRecipients; + public String internetMessageId; /** - * The Cc Recipients. - * The Cc: recipients for the message. + * The Is Delivery Receipt Requested. + * Indicates whether a read receipt is requested for the message. */ - @SerializedName("ccRecipients") + @SerializedName("isDeliveryReceiptRequested") @Expose - public java.util.List ccRecipients; + public Boolean isDeliveryReceiptRequested; /** - * The Bcc Recipients. - * The Bcc: recipients for the message. + * The Is Draft. + * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. */ - @SerializedName("bccRecipients") + @SerializedName("isDraft") @Expose - public java.util.List bccRecipients; + public Boolean isDraft; /** - * The Reply To. - * The email addresses to use when replying. + * The Is Read. + * Indicates whether the message has been read. */ - @SerializedName("replyTo") + @SerializedName("isRead") @Expose - public java.util.List replyTo; + public Boolean isRead; /** - * The Conversation Id. - * The ID of the conversation the email belongs to. + * The Is Read Receipt Requested. + * Indicates whether a read receipt is requested for the message. */ - @SerializedName("conversationId") + @SerializedName("isReadReceiptRequested") @Expose - public String conversationId; + public Boolean isReadReceiptRequested; /** - * The Conversation Index. - * Indicates the position of the message within the conversation. + * The Mentions Preview. + * */ - @SerializedName("conversationIndex") + @SerializedName("mentionsPreview") @Expose - public byte[] conversationIndex; + public MentionsPreview mentionsPreview; /** - * The Unique Body. - * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. + * The Parent Folder Id. + * The unique identifier for the message's parent mailFolder. */ - @SerializedName("uniqueBody") + @SerializedName("parentFolderId") @Expose - public ItemBody uniqueBody; + public String parentFolderId; /** - * The Is Delivery Receipt Requested. - * Indicates whether a read receipt is requested for the message. + * The Received Date Time. + * The date and time the message was received. */ - @SerializedName("isDeliveryReceiptRequested") + @SerializedName("receivedDateTime") @Expose - public Boolean isDeliveryReceiptRequested; + public java.util.Calendar receivedDateTime; /** - * The Is Read Receipt Requested. - * Indicates whether a read receipt is requested for the message. + * The Reply To. + * The email addresses to use when replying. */ - @SerializedName("isReadReceiptRequested") + @SerializedName("replyTo") @Expose - public Boolean isReadReceiptRequested; + public java.util.List replyTo; /** - * The Is Read. - * Indicates whether the message has been read. + * The Sender. + * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. */ - @SerializedName("isRead") + @SerializedName("sender") @Expose - public Boolean isRead; + public Recipient sender; /** - * The Is Draft. - * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. + * The Sent Date Time. + * The date and time the message was sent. */ - @SerializedName("isDraft") + @SerializedName("sentDateTime") @Expose - public Boolean isDraft; + public java.util.Calendar sentDateTime; /** - * The Web Link. - * The URL to open the message in Outlook Web App.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. + * The Subject. + * The subject of the message. */ - @SerializedName("webLink") + @SerializedName("subject") @Expose - public String webLink; + public String subject; /** - * The Mentions Preview. - * + * The To Recipients. + * The To: recipients for the message. */ - @SerializedName("mentionsPreview") + @SerializedName("toRecipients") @Expose - public MentionsPreview mentionsPreview; + public java.util.List toRecipients; /** - * The Inference Classification. - * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. + * The Unique Body. + * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. */ - @SerializedName("inferenceClassification") + @SerializedName("uniqueBody") @Expose - public InferenceClassificationType inferenceClassification; + public ItemBody uniqueBody; /** * The Unsubscribe Data. @@ -273,24 +273,12 @@ public class Message extends OutlookItem implements IJsonBackedObject { public Boolean unsubscribeEnabled; /** - * The Flag. - * The flag value that indicates the status, start date, due date, or completion date for the message. + * The Web Link. + * The URL to open the message in Outlook Web App.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame. */ - @SerializedName("flag") + @SerializedName("webLink") @Expose - public FollowupFlag flag; - - /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the message. Nullable. - */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; - - /** - * The Multi Value Extended Properties. - * The collection of multi-value extended properties defined for the message. Nullable. - */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + public String webLink; /** * The Attachments. @@ -310,6 +298,18 @@ public class Message extends OutlookItem implements IJsonBackedObject { */ public MentionCollectionPage mentions; + /** + * The Multi Value Extended Properties. + * The collection of multi-value extended properties defined for the message. Nullable. + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + /** + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the message. Nullable. + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + /** * The raw representation of this class @@ -350,38 +350,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); - } - if (json.has("attachments")) { final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); if (json.has("attachments@odata.nextLink")) { @@ -429,5 +397,37 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); mentions = new MentionCollectionPage(response, null); } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java b/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java index 94cb9535b5e..50a8f01418f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageRule.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MessageRulePredicates; import com.microsoft.graph.models.extensions.MessageRuleActions; +import com.microsoft.graph.models.extensions.MessageRulePredicates; import com.microsoft.graph.models.extensions.Entity; @@ -29,20 +29,12 @@ public class MessageRule extends Entity implements IJsonBackedObject { /** - * The Display Name. - * The display name of the rule. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Sequence. - * Indicates the order in which the rule is executed, among other rules. + * The Actions. + * Actions to be taken on a message when the corresponding conditions are fulfilled. */ - @SerializedName("sequence") + @SerializedName("actions") @Expose - public Integer sequence; + public MessageRuleActions actions; /** * The Conditions. @@ -53,12 +45,12 @@ public class MessageRule extends Entity implements IJsonBackedObject { public MessageRulePredicates conditions; /** - * The Actions. - * Actions to be taken on a message when the corresponding conditions are fulfilled. + * The Display Name. + * The display name of the rule. */ - @SerializedName("actions") + @SerializedName("displayName") @Expose - public MessageRuleActions actions; + public String displayName; /** * The Exceptions. @@ -68,14 +60,6 @@ public class MessageRule extends Entity implements IJsonBackedObject { @Expose public MessageRulePredicates exceptions; - /** - * The Is Enabled. - * Indicates whether the rule is enabled to be applied to messages. - */ - @SerializedName("isEnabled") - @Expose - public Boolean isEnabled; - /** * The Has Error. * Indicates whether the rule is in an error condition. Read-only. @@ -84,6 +68,14 @@ public class MessageRule extends Entity implements IJsonBackedObject { @Expose public Boolean hasError; + /** + * The Is Enabled. + * Indicates whether the rule is enabled to be applied to messages. + */ + @SerializedName("isEnabled") + @Expose + public Boolean isEnabled; + /** * The Is Read Only. * Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. @@ -92,6 +84,14 @@ public class MessageRule extends Entity implements IJsonBackedObject { @Expose public Boolean isReadOnly; + /** + * The Sequence. + * Indicates the order in which the rule is executed, among other rules. + */ + @SerializedName("sequence") + @Expose + public Integer sequence; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java b/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java index 674ead18523..233267adfba 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageRuleActions.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.Importance; import com.microsoft.graph.models.extensions.Recipient; +import com.microsoft.graph.models.generated.Importance; import com.google.gson.JsonObject; @@ -38,12 +38,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Move To Folder. - * The ID of the folder that a message will be moved to. + * The Assign Categories. + * A list of categories to be assigned to a message. */ - @SerializedName("moveToFolder") + @SerializedName("assignCategories") @Expose - public String moveToFolder; + public java.util.List assignCategories; /** * The Copy To Folder. @@ -62,12 +62,20 @@ public final AdditionalDataManager additionalDataManager() { public Boolean delete; /** - * The Permanent Delete. - * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. + * The Forward As Attachment To. + * The email addresses of the recipients to which a message should be forwarded as an attachment. */ - @SerializedName("permanentDelete") + @SerializedName("forwardAsAttachmentTo") @Expose - public Boolean permanentDelete; + public java.util.List forwardAsAttachmentTo; + + /** + * The Forward To. + * The email addresses of the recipients to which a message should be forwarded. + */ + @SerializedName("forwardTo") + @Expose + public java.util.List forwardTo; /** * The Mark As Read. @@ -86,20 +94,20 @@ public final AdditionalDataManager additionalDataManager() { public Importance markImportance; /** - * The Forward To. - * The email addresses of the recipients to which a message should be forwarded. + * The Move To Folder. + * The ID of the folder that a message will be moved to. */ - @SerializedName("forwardTo") + @SerializedName("moveToFolder") @Expose - public java.util.List forwardTo; + public String moveToFolder; /** - * The Forward As Attachment To. - * The email addresses of the recipients to which a message should be forwarded as an attachment. + * The Permanent Delete. + * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. */ - @SerializedName("forwardAsAttachmentTo") + @SerializedName("permanentDelete") @Expose - public java.util.List forwardAsAttachmentTo; + public Boolean permanentDelete; /** * The Redirect To. @@ -109,14 +117,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List redirectTo; - /** - * The Assign Categories. - * A list of categories to be assigned to a message. - */ - @SerializedName("assignCategories") - @Expose - public java.util.List assignCategories; - /** * The Stop Processing Rules. * Indicates whether subsequent rules should be evaluated. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java b/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java index 6c1e1963182..e24e9ee11d6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MessageRulePredicates.java @@ -8,10 +8,10 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.MessageActionFlag; +import com.microsoft.graph.models.extensions.Recipient; import com.microsoft.graph.models.generated.Importance; +import com.microsoft.graph.models.generated.MessageActionFlag; import com.microsoft.graph.models.generated.Sensitivity; -import com.microsoft.graph.models.extensions.Recipient; import com.microsoft.graph.models.extensions.SizeRange; @@ -40,22 +40,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Categories. - * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. - */ - @SerializedName("categories") - @Expose - public java.util.List categories; - - /** - * The Subject Contains. - * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("subjectContains") - @Expose - public java.util.List subjectContains; - /** * The Body Contains. * Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply. @@ -73,52 +57,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List bodyOrSubjectContains; /** - * The Sender Contains. - * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("senderContains") - @Expose - public java.util.List senderContains; - - /** - * The Recipient Contains. - * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("recipientContains") - @Expose - public java.util.List recipientContains; - - /** - * The Header Contains. - * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("headerContains") - @Expose - public java.util.List headerContains; - - /** - * The Message Action Flag. - * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. - */ - @SerializedName("messageActionFlag") - @Expose - public MessageActionFlag messageActionFlag; - - /** - * The Importance. - * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. - */ - @SerializedName("importance") - @Expose - public Importance importance; - - /** - * The Sensitivity. - * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. + * The Categories. + * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. */ - @SerializedName("sensitivity") + @SerializedName("categories") @Expose - public Sensitivity sensitivity; + public java.util.List categories; /** * The From Addresses. @@ -129,60 +73,28 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List fromAddresses; /** - * The Sent To Addresses. - * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. - */ - @SerializedName("sentToAddresses") - @Expose - public java.util.List sentToAddresses; - - /** - * The Sent To Me. - * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("sentToMe") - @Expose - public Boolean sentToMe; - - /** - * The Sent Only To Me. - * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. - */ - @SerializedName("sentOnlyToMe") - @Expose - public Boolean sentOnlyToMe; - - /** - * The Sent Cc Me. - * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. - */ - @SerializedName("sentCcMe") - @Expose - public Boolean sentCcMe; - - /** - * The Sent To Or Cc Me. - * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. + * The Has Attachments. + * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. */ - @SerializedName("sentToOrCcMe") + @SerializedName("hasAttachments") @Expose - public Boolean sentToOrCcMe; + public Boolean hasAttachments; /** - * The Not Sent To Me. - * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. + * The Header Contains. + * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. */ - @SerializedName("notSentToMe") + @SerializedName("headerContains") @Expose - public Boolean notSentToMe; + public java.util.List headerContains; /** - * The Has Attachments. - * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. + * The Importance. + * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. */ - @SerializedName("hasAttachments") + @SerializedName("importance") @Expose - public Boolean hasAttachments; + public Importance importance; /** * The Is Approval Request. @@ -272,6 +184,94 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean isVoicemail; + /** + * The Message Action Flag. + * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. + */ + @SerializedName("messageActionFlag") + @Expose + public MessageActionFlag messageActionFlag; + + /** + * The Not Sent To Me. + * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("notSentToMe") + @Expose + public Boolean notSentToMe; + + /** + * The Recipient Contains. + * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("recipientContains") + @Expose + public java.util.List recipientContains; + + /** + * The Sender Contains. + * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("senderContains") + @Expose + public java.util.List senderContains; + + /** + * The Sensitivity. + * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. + */ + @SerializedName("sensitivity") + @Expose + public Sensitivity sensitivity; + + /** + * The Sent Cc Me. + * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentCcMe") + @Expose + public Boolean sentCcMe; + + /** + * The Sent Only To Me. + * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentOnlyToMe") + @Expose + public Boolean sentOnlyToMe; + + /** + * The Sent To Addresses. + * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. + */ + @SerializedName("sentToAddresses") + @Expose + public java.util.List sentToAddresses; + + /** + * The Sent To Me. + * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentToMe") + @Expose + public Boolean sentToMe; + + /** + * The Sent To Or Cc Me. + * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("sentToOrCcMe") + @Expose + public Boolean sentToOrCcMe; + + /** + * The Subject Contains. + * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. + */ + @SerializedName("subjectContains") + @Expose + public java.util.List subjectContains; + /** * The Within Size Range. * Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MetadataAction.java b/src/main/java/com/microsoft/graph/models/extensions/MetadataAction.java index a02f8833e2d..9d7222dc7bf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MetadataAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MetadataAction.java @@ -28,20 +28,20 @@ public class MetadataAction extends InformationProtectionAction implements IJson /** - * The Metadata To Remove. + * The Metadata To Add. * */ - @SerializedName("metadataToRemove") + @SerializedName("metadataToAdd") @Expose - public java.util.List metadataToRemove; + public java.util.List metadataToAdd; /** - * The Metadata To Add. + * The Metadata To Remove. * */ - @SerializedName("metadataToAdd") + @SerializedName("metadataToRemove") @Expose - public java.util.List metadataToAdd; + public java.util.List metadataToRemove; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MfaDetail.java b/src/main/java/com/microsoft/graph/models/extensions/MfaDetail.java index e7a513d7c02..32944fa5fd3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MfaDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MfaDetail.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Auth Method. + * The Auth Detail. * */ - @SerializedName("authMethod") + @SerializedName("authDetail") @Expose - public String authMethod; + public String authDetail; /** - * The Auth Detail. + * The Auth Method. * */ - @SerializedName("authDetail") + @SerializedName("authMethod") @Expose - public String authDetail; + public String authMethod; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftAuthenticatorAuthenticationMethodTarget.java b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftAuthenticatorAuthenticationMethodTarget.java index d6946570f16..44a5e8dfcd3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftAuthenticatorAuthenticationMethodTarget.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftAuthenticatorAuthenticationMethodTarget.java @@ -28,20 +28,20 @@ public class MicrosoftAuthenticatorAuthenticationMethodTarget extends Authentica /** - * The Shown Context. + * The Is Number Matching Required. * */ - @SerializedName("shownContext") + @SerializedName("isNumberMatchingRequired") @Expose - public EnumSet shownContext; + public Boolean isNumberMatchingRequired; /** - * The Is Number Matching Required. + * The Shown Context. * */ - @SerializedName("isNumberMatchingRequired") + @SerializedName("shownContext") @Expose - public Boolean isNumberMatchingRequired; + public EnumSet shownContext; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java index de329fe49c8..5a1350d61bf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MicrosoftStoreForBusinessApp.java @@ -32,52 +32,52 @@ public class MicrosoftStoreForBusinessApp extends MobileApp implements IJsonBack /** - * The Used License Count. - * The number of Microsoft Store for Business licenses in use. + * The License Type. + * The app license type. Possible values are: offline, online. */ - @SerializedName("usedLicenseCount") + @SerializedName("licenseType") @Expose - public Integer usedLicenseCount; + public MicrosoftStoreForBusinessLicenseType licenseType; /** - * The Total License Count. - * The total number of Microsoft Store for Business licenses. + * The Licensing Type. + * The supported License Type. */ - @SerializedName("totalLicenseCount") + @SerializedName("licensingType") @Expose - public Integer totalLicenseCount; + public VppLicensingType licensingType; /** - * The Product Key. - * The app product key + * The Package Identity Name. + * The app package identifier */ - @SerializedName("productKey") + @SerializedName("packageIdentityName") @Expose - public String productKey; + public String packageIdentityName; /** - * The License Type. - * The app license type. Possible values are: offline, online. + * The Product Key. + * The app product key */ - @SerializedName("licenseType") + @SerializedName("productKey") @Expose - public MicrosoftStoreForBusinessLicenseType licenseType; + public String productKey; /** - * The Package Identity Name. - * The app package identifier + * The Total License Count. + * The total number of Microsoft Store for Business licenses. */ - @SerializedName("packageIdentityName") + @SerializedName("totalLicenseCount") @Expose - public String packageIdentityName; + public Integer totalLicenseCount; /** - * The Licensing Type. - * The supported License Type. + * The Used License Count. + * The number of Microsoft Store for Business licenses in use. */ - @SerializedName("licensingType") + @SerializedName("usedLicenseCount") @Expose - public VppLicensingType licensingType; + public Integer usedLicenseCount; /** * The Contained Apps. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java b/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java index 0e477aae445..369c60ca715 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileApp.java @@ -10,23 +10,23 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.MimeContent; import com.microsoft.graph.models.generated.MobileAppPublishingState; -import com.microsoft.graph.models.extensions.MobileAppCategory; import com.microsoft.graph.models.extensions.MobileAppAssignment; -import com.microsoft.graph.models.extensions.MobileAppInstallSummary; +import com.microsoft.graph.models.extensions.MobileAppCategory; import com.microsoft.graph.models.extensions.MobileAppInstallStatus; -import com.microsoft.graph.models.extensions.UserAppInstallStatus; +import com.microsoft.graph.models.extensions.MobileAppInstallSummary; import com.microsoft.graph.models.extensions.MobileAppRelationship; +import com.microsoft.graph.models.extensions.UserAppInstallStatus; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; import com.microsoft.graph.requests.extensions.MobileAppAssignmentCollectionResponse; import com.microsoft.graph.requests.extensions.MobileAppAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppCategoryCollectionPage; import com.microsoft.graph.requests.extensions.MobileAppInstallStatusCollectionResponse; import com.microsoft.graph.requests.extensions.MobileAppInstallStatusCollectionPage; -import com.microsoft.graph.requests.extensions.UserAppInstallStatusCollectionResponse; -import com.microsoft.graph.requests.extensions.UserAppInstallStatusCollectionPage; import com.microsoft.graph.requests.extensions.MobileAppRelationshipCollectionResponse; import com.microsoft.graph.requests.extensions.MobileAppRelationshipCollectionPage; +import com.microsoft.graph.requests.extensions.UserAppInstallStatusCollectionResponse; +import com.microsoft.graph.requests.extensions.UserAppInstallStatusCollectionPage; import com.google.gson.JsonObject; @@ -45,12 +45,20 @@ public class MobileApp extends Entity implements IJsonBackedObject { /** - * The Display Name. - * The admin provided or imported title of the app. + * The Created Date Time. + * The date and time the app was created. */ - @SerializedName("displayName") + @SerializedName("createdDateTime") @Expose - public String displayName; + public java.util.Calendar createdDateTime; + + /** + * The Dependent App Count. + * The total number of dependencies the child app has. + */ + @SerializedName("dependentAppCount") + @Expose + public Integer dependentAppCount; /** * The Description. @@ -61,36 +69,36 @@ public class MobileApp extends Entity implements IJsonBackedObject { public String description; /** - * The Publisher. - * The publisher of the app. + * The Developer. + * The developer of the app. */ - @SerializedName("publisher") + @SerializedName("developer") @Expose - public String publisher; + public String developer; /** - * The Large Icon. - * The large icon, to be displayed in the app details and used for upload of the icon. + * The Display Name. + * The admin provided or imported title of the app. */ - @SerializedName("largeIcon") + @SerializedName("displayName") @Expose - public MimeContent largeIcon; + public String displayName; /** - * The Created Date Time. - * The date and time the app was created. + * The Information Url. + * The more information Url. */ - @SerializedName("createdDateTime") + @SerializedName("informationUrl") @Expose - public java.util.Calendar createdDateTime; + public String informationUrl; /** - * The Last Modified Date Time. - * The date and time the app was last modified. + * The Is Assigned. + * The value indicating whether the app is assigned to at least one group. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("isAssigned") @Expose - public java.util.Calendar lastModifiedDateTime; + public Boolean isAssigned; /** * The Is Featured. @@ -101,52 +109,52 @@ public class MobileApp extends Entity implements IJsonBackedObject { public Boolean isFeatured; /** - * The Privacy Information Url. - * The privacy statement Url. + * The Large Icon. + * The large icon, to be displayed in the app details and used for upload of the icon. */ - @SerializedName("privacyInformationUrl") + @SerializedName("largeIcon") @Expose - public String privacyInformationUrl; + public MimeContent largeIcon; /** - * The Information Url. - * The more information Url. + * The Last Modified Date Time. + * The date and time the app was last modified. */ - @SerializedName("informationUrl") + @SerializedName("lastModifiedDateTime") @Expose - public String informationUrl; + public java.util.Calendar lastModifiedDateTime; /** - * The Owner. - * The owner of the app. + * The Notes. + * Notes for the app. */ - @SerializedName("owner") + @SerializedName("notes") @Expose - public String owner; + public String notes; /** - * The Developer. - * The developer of the app. + * The Owner. + * The owner of the app. */ - @SerializedName("developer") + @SerializedName("owner") @Expose - public String developer; + public String owner; /** - * The Notes. - * Notes for the app. + * The Privacy Information Url. + * The privacy statement Url. */ - @SerializedName("notes") + @SerializedName("privacyInformationUrl") @Expose - public String notes; + public String privacyInformationUrl; /** - * The Upload State. - * The upload state. Possible values are: 0 - `Not Ready`, 1 - `Ready`, 2 - `Processing`. + * The Publisher. + * The publisher of the app. */ - @SerializedName("uploadState") + @SerializedName("publisher") @Expose - public Integer uploadState; + public String publisher; /** * The Publishing State. @@ -156,14 +164,6 @@ public class MobileApp extends Entity implements IJsonBackedObject { @Expose public MobileAppPublishingState publishingState; - /** - * The Is Assigned. - * The value indicating whether the app is assigned to at least one group. - */ - @SerializedName("isAssigned") - @Expose - public Boolean isAssigned; - /** * The Role Scope Tag Ids. * List of scope tag ids for this mobile app. @@ -173,12 +173,18 @@ public class MobileApp extends Entity implements IJsonBackedObject { public java.util.List roleScopeTagIds; /** - * The Dependent App Count. - * The total number of dependencies the child app has. + * The Upload State. + * The upload state. Possible values are: 0 - `Not Ready`, 1 - `Ready`, 2 - `Processing`. */ - @SerializedName("dependentAppCount") + @SerializedName("uploadState") @Expose - public Integer dependentAppCount; + public Integer uploadState; + + /** + * The Assignments. + * The list of group assignments for this mobile app. + */ + public MobileAppAssignmentCollectionPage assignments; /** * The Categories. @@ -187,10 +193,10 @@ public class MobileApp extends Entity implements IJsonBackedObject { public MobileAppCategoryCollectionPage categories; /** - * The Assignments. - * The list of group assignments for this mobile app. + * The Device Statuses. + * The list of installation states for this mobile app. */ - public MobileAppAssignmentCollectionPage assignments; + public MobileAppInstallStatusCollectionPage deviceStatuses; /** * The Install Summary. @@ -201,10 +207,10 @@ public class MobileApp extends Entity implements IJsonBackedObject { public MobileAppInstallSummary installSummary; /** - * The Device Statuses. - * The list of installation states for this mobile app. + * The Relationships. + * List of relationships for this mobile app. */ - public MobileAppInstallStatusCollectionPage deviceStatuses; + public MobileAppRelationshipCollectionPage relationships; /** * The User Statuses. @@ -212,12 +218,6 @@ public class MobileApp extends Entity implements IJsonBackedObject { */ public UserAppInstallStatusCollectionPage userStatuses; - /** - * The Relationships. - * List of relationships for this mobile app. - */ - public MobileAppRelationshipCollectionPage relationships; - /** * The raw representation of this class @@ -258,22 +258,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("categories")) { - final MobileAppCategoryCollectionResponse response = new MobileAppCategoryCollectionResponse(); - if (json.has("categories@odata.nextLink")) { - response.nextLink = json.get("categories@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); - final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - categories = new MobileAppCategoryCollectionPage(response, null); - } - if (json.has("assignments")) { final MobileAppAssignmentCollectionResponse response = new MobileAppAssignmentCollectionResponse(); if (json.has("assignments@odata.nextLink")) { @@ -290,36 +274,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { assignments = new MobileAppAssignmentCollectionPage(response, null); } - if (json.has("deviceStatuses")) { - final MobileAppInstallStatusCollectionResponse response = new MobileAppInstallStatusCollectionResponse(); - if (json.has("deviceStatuses@odata.nextLink")) { - response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); + if (json.has("categories")) { + final MobileAppCategoryCollectionResponse response = new MobileAppCategoryCollectionResponse(); + if (json.has("categories@odata.nextLink")) { + response.nextLink = json.get("categories@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); - final MobileAppInstallStatus[] array = new MobileAppInstallStatus[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("categories").toString(), JsonObject[].class); + final MobileAppCategory[] array = new MobileAppCategory[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppInstallStatus.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppCategory.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - deviceStatuses = new MobileAppInstallStatusCollectionPage(response, null); + categories = new MobileAppCategoryCollectionPage(response, null); } - if (json.has("userStatuses")) { - final UserAppInstallStatusCollectionResponse response = new UserAppInstallStatusCollectionResponse(); - if (json.has("userStatuses@odata.nextLink")) { - response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); + if (json.has("deviceStatuses")) { + final MobileAppInstallStatusCollectionResponse response = new MobileAppInstallStatusCollectionResponse(); + if (json.has("deviceStatuses@odata.nextLink")) { + response.nextLink = json.get("deviceStatuses@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); - final UserAppInstallStatus[] array = new UserAppInstallStatus[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("deviceStatuses").toString(), JsonObject[].class); + final MobileAppInstallStatus[] array = new MobileAppInstallStatus[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserAppInstallStatus.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppInstallStatus.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - userStatuses = new UserAppInstallStatusCollectionPage(response, null); + deviceStatuses = new MobileAppInstallStatusCollectionPage(response, null); } if (json.has("relationships")) { @@ -337,5 +321,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); relationships = new MobileAppRelationshipCollectionPage(response, null); } + + if (json.has("userStatuses")) { + final UserAppInstallStatusCollectionResponse response = new UserAppInstallStatusCollectionResponse(); + if (json.has("userStatuses@odata.nextLink")) { + response.nextLink = json.get("userStatuses@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("userStatuses").toString(), JsonObject[].class); + final UserAppInstallStatus[] array = new UserAppInstallStatus[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), UserAppInstallStatus.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + userStatuses = new UserAppInstallStatusCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java index 04e46dc6152..fe146c66d05 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppAssignment.java @@ -9,9 +9,9 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.InstallIntent; -import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.MobileAppAssignmentSettings; import com.microsoft.graph.models.generated.DeviceAndAppManagementAssignmentSource; +import com.microsoft.graph.models.extensions.DeviceAndAppManagementAssignmentTarget; import com.microsoft.graph.models.extensions.Entity; @@ -38,14 +38,6 @@ public class MobileAppAssignment extends Entity implements IJsonBackedObject { @Expose public InstallIntent intent; - /** - * The Target. - * The target group assignment defined by the admin. - */ - @SerializedName("target") - @Expose - public DeviceAndAppManagementAssignmentTarget target; - /** * The Settings. * The settings for target assignment defined by the admin. @@ -70,6 +62,14 @@ public class MobileAppAssignment extends Entity implements IJsonBackedObject { @Expose public String sourceId; + /** + * The Target. + * The target group assignment defined by the admin. + */ + @SerializedName("target") + @Expose + public DeviceAndAppManagementAssignmentTarget target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java index 91a358432ac..bfa075ce77c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContent.java @@ -8,13 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MobileAppContentFile; import com.microsoft.graph.models.extensions.MobileContainedApp; +import com.microsoft.graph.models.extensions.MobileAppContentFile; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionResponse; -import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionPage; import com.microsoft.graph.requests.extensions.MobileContainedAppCollectionResponse; import com.microsoft.graph.requests.extensions.MobileContainedAppCollectionPage; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionResponse; +import com.microsoft.graph.requests.extensions.MobileAppContentFileCollectionPage; import com.google.gson.JsonObject; @@ -32,18 +32,18 @@ public class MobileAppContent extends Entity implements IJsonBackedObject { - /** - * The Files. - * The list of files for this app content version. - */ - public MobileAppContentFileCollectionPage files; - /** * The Contained Apps. * The collection of contained apps in a MobileLobApp acting as a package. */ public MobileContainedAppCollectionPage containedApps; + /** + * The Files. + * The list of files for this app content version. + */ + public MobileAppContentFileCollectionPage files; + /** * The raw representation of this class @@ -84,22 +84,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("files")) { - final MobileAppContentFileCollectionResponse response = new MobileAppContentFileCollectionResponse(); - if (json.has("files@odata.nextLink")) { - response.nextLink = json.get("files@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("files").toString(), JsonObject[].class); - final MobileAppContentFile[] array = new MobileAppContentFile[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContentFile.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - files = new MobileAppContentFileCollectionPage(response, null); - } - if (json.has("containedApps")) { final MobileContainedAppCollectionResponse response = new MobileContainedAppCollectionResponse(); if (json.has("containedApps@odata.nextLink")) { @@ -115,5 +99,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); containedApps = new MobileContainedAppCollectionPage(response, null); } + + if (json.has("files")) { + final MobileAppContentFileCollectionResponse response = new MobileAppContentFileCollectionResponse(); + if (json.has("files@odata.nextLink")) { + response.nextLink = json.get("files@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("files").toString(), JsonObject[].class); + final MobileAppContentFile[] array = new MobileAppContentFile[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MobileAppContentFile.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + files = new MobileAppContentFileCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java index 41ac0f1f987..c3fe6df43af 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppContentFile.java @@ -36,12 +36,12 @@ public class MobileAppContentFile extends Entity implements IJsonBackedObject { public String azureStorageUri; /** - * The Is Committed. - * A value indicating whether the file is committed. + * The Azure Storage Uri Expiration Date Time. + * The time the Azure storage Uri expires. */ - @SerializedName("isCommitted") + @SerializedName("azureStorageUriExpirationDateTime") @Expose - public Boolean isCommitted; + public java.util.Calendar azureStorageUriExpirationDateTime; /** * The Created Date Time. @@ -52,36 +52,28 @@ public class MobileAppContentFile extends Entity implements IJsonBackedObject { public java.util.Calendar createdDateTime; /** - * The Name. - * the file name. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Size. - * The size of the file prior to encryption. + * The Is Committed. + * A value indicating whether the file is committed. */ - @SerializedName("size") + @SerializedName("isCommitted") @Expose - public Long size; + public Boolean isCommitted; /** - * The Size Encrypted. - * The size of the file after encryption. + * The Is Dependency. + * Whether the content file is a dependency for the main content file. */ - @SerializedName("sizeEncrypted") + @SerializedName("isDependency") @Expose - public Long sizeEncrypted; + public Boolean isDependency; /** - * The Azure Storage Uri Expiration Date Time. - * The time the Azure storage Uri expires. + * The Is Framework File. + * A value indicating whether the file is a framework file. */ - @SerializedName("azureStorageUriExpirationDateTime") + @SerializedName("isFrameworkFile") @Expose - public java.util.Calendar azureStorageUriExpirationDateTime; + public Boolean isFrameworkFile; /** * The Manifest. @@ -92,28 +84,36 @@ public class MobileAppContentFile extends Entity implements IJsonBackedObject { public byte[] manifest; /** - * The Upload State. - * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. + * The Name. + * the file name. */ - @SerializedName("uploadState") + @SerializedName("name") @Expose - public MobileAppContentFileUploadState uploadState; + public String name; /** - * The Is Framework File. - * A value indicating whether the file is a framework file. + * The Size. + * The size of the file prior to encryption. */ - @SerializedName("isFrameworkFile") + @SerializedName("size") @Expose - public Boolean isFrameworkFile; + public Long size; /** - * The Is Dependency. - * Whether the content file is a dependency for the main content file. + * The Size Encrypted. + * The size of the file after encryption. */ - @SerializedName("isDependency") + @SerializedName("sizeEncrypted") @Expose - public Boolean isDependency; + public Long sizeEncrypted; + + /** + * The Upload State. + * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. + */ + @SerializedName("uploadState") + @Expose + public MobileAppContentFileUploadState uploadState; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallStatus.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallStatus.java index 3c801cad72d..97df4c69604 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallStatus.java @@ -29,14 +29,6 @@ public class MobileAppInstallStatus extends Entity implements IJsonBackedObject { - /** - * The Device Name. - * Device name - */ - @SerializedName("deviceName") - @Expose - public String deviceName; - /** * The Device Id. * Device ID @@ -46,20 +38,28 @@ public class MobileAppInstallStatus extends Entity implements IJsonBackedObject public String deviceId; /** - * The Last Sync Date Time. - * Last sync date time + * The Device Name. + * Device name */ - @SerializedName("lastSyncDateTime") + @SerializedName("deviceName") @Expose - public java.util.Calendar lastSyncDateTime; + public String deviceName; /** - * The Mobile App Install Status Value. - * The install state of the app. + * The Display Version. + * Human readable version of the application */ - @SerializedName("mobileAppInstallStatusValue") + @SerializedName("displayVersion") @Expose - public ResultantAppState mobileAppInstallStatusValue; + public String displayVersion; + + /** + * The Error Code. + * The error code for install or uninstall failures. + */ + @SerializedName("errorCode") + @Expose + public Integer errorCode; /** * The Install State. @@ -78,20 +78,20 @@ public class MobileAppInstallStatus extends Entity implements IJsonBackedObject public ResultantAppStateDetail installStateDetail; /** - * The Error Code. - * The error code for install or uninstall failures. + * The Last Sync Date Time. + * Last sync date time */ - @SerializedName("errorCode") + @SerializedName("lastSyncDateTime") @Expose - public Integer errorCode; + public java.util.Calendar lastSyncDateTime; /** - * The Os Version. - * OS Version + * The Mobile App Install Status Value. + * The install state of the app. */ - @SerializedName("osVersion") + @SerializedName("mobileAppInstallStatusValue") @Expose - public String osVersion; + public ResultantAppState mobileAppInstallStatusValue; /** * The Os Description. @@ -101,6 +101,14 @@ public class MobileAppInstallStatus extends Entity implements IJsonBackedObject @Expose public String osDescription; + /** + * The Os Version. + * OS Version + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + /** * The User Name. * Device User Name @@ -117,14 +125,6 @@ public class MobileAppInstallStatus extends Entity implements IJsonBackedObject @Expose public String userPrincipalName; - /** - * The Display Version. - * Human readable version of the application - */ - @SerializedName("displayVersion") - @Expose - public String displayVersion; - /** * The App. * The navigation link to the mobile app. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallSummary.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallSummary.java index 19374b6141c..4bdfede5d97 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallSummary.java @@ -26,14 +26,6 @@ public class MobileAppInstallSummary extends Entity implements IJsonBackedObject { - /** - * The Installed Device Count. - * Number of Devices that have successfully installed this app. - */ - @SerializedName("installedDeviceCount") - @Expose - public Integer installedDeviceCount; - /** * The Failed Device Count. * Number of Devices that have failed to install this app. @@ -43,28 +35,20 @@ public class MobileAppInstallSummary extends Entity implements IJsonBackedObject public Integer failedDeviceCount; /** - * The Not Applicable Device Count. - * Number of Devices that are not applicable for this app. - */ - @SerializedName("notApplicableDeviceCount") - @Expose - public Integer notApplicableDeviceCount; - - /** - * The Not Installed Device Count. - * Number of Devices that does not have this app installed. + * The Failed User Count. + * Number of Users that have 1 or more device that failed to install this app. */ - @SerializedName("notInstalledDeviceCount") + @SerializedName("failedUserCount") @Expose - public Integer notInstalledDeviceCount; + public Integer failedUserCount; /** - * The Pending Install Device Count. - * Number of Devices that have been notified to install this app. + * The Installed Device Count. + * Number of Devices that have successfully installed this app. */ - @SerializedName("pendingInstallDeviceCount") + @SerializedName("installedDeviceCount") @Expose - public Integer pendingInstallDeviceCount; + public Integer installedDeviceCount; /** * The Installed User Count. @@ -75,12 +59,12 @@ public class MobileAppInstallSummary extends Entity implements IJsonBackedObject public Integer installedUserCount; /** - * The Failed User Count. - * Number of Users that have 1 or more device that failed to install this app. + * The Not Applicable Device Count. + * Number of Devices that are not applicable for this app. */ - @SerializedName("failedUserCount") + @SerializedName("notApplicableDeviceCount") @Expose - public Integer failedUserCount; + public Integer notApplicableDeviceCount; /** * The Not Applicable User Count. @@ -90,6 +74,14 @@ public class MobileAppInstallSummary extends Entity implements IJsonBackedObject @Expose public Integer notApplicableUserCount; + /** + * The Not Installed Device Count. + * Number of Devices that does not have this app installed. + */ + @SerializedName("notInstalledDeviceCount") + @Expose + public Integer notInstalledDeviceCount; + /** * The Not Installed User Count. * Number of Users that have 1 or more devices that did not install this app. @@ -98,6 +90,14 @@ public class MobileAppInstallSummary extends Entity implements IJsonBackedObject @Expose public Integer notInstalledUserCount; + /** + * The Pending Install Device Count. + * Number of Devices that have been notified to install this app. + */ + @SerializedName("pendingInstallDeviceCount") + @Expose + public Integer pendingInstallDeviceCount; + /** * The Pending Install User Count. * Number of Users that have 1 or more device that have been notified to install this app and have 0 devices with failures. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallTimeSettings.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallTimeSettings.java index a6898c0141e..b7ae0c90963 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallTimeSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppInstallTimeSettings.java @@ -36,12 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Use Local Time. - * Whether the local device time or UTC time should be used when determining the available and deadline times. + * The Deadline Date Time. + * The time at which the app should be installed. */ - @SerializedName("useLocalTime") + @SerializedName("deadlineDateTime") @Expose - public Boolean useLocalTime; + public java.util.Calendar deadlineDateTime; /** * The Start Date Time. @@ -52,12 +52,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar startDateTime; /** - * The Deadline Date Time. - * The time at which the app should be installed. + * The Use Local Time. + * Whether the local device time or UTC time should be used when determining the available and deadline times. */ - @SerializedName("deadlineDateTime") + @SerializedName("useLocalTime") @Expose - public java.util.Calendar deadlineDateTime; + public Boolean useLocalTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndState.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndState.java index bda0455e172..21f81a8c42c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndState.java @@ -35,14 +35,6 @@ public class MobileAppIntentAndState extends Entity implements IJsonBackedObject @Expose public String managedDeviceIdentifier; - /** - * The User Id. - * Identifier for the user that tried to enroll the device. - */ - @SerializedName("userId") - @Expose - public String userId; - /** * The Mobile App List. * The list of payload intents and states for the tenant. @@ -51,6 +43,14 @@ public class MobileAppIntentAndState extends Entity implements IJsonBackedObject @Expose public java.util.List mobileAppList; + /** + * The User Id. + * Identifier for the user that tried to enroll the device. + */ + @SerializedName("userId") + @Expose + public String userId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndStateDetail.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndStateDetail.java index 1c1545e9fb1..03e97a73f37 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndStateDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppIntentAndStateDetail.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.MobileAppIntent; import com.microsoft.graph.models.generated.ResultantAppState; +import com.microsoft.graph.models.generated.MobileAppIntent; import com.microsoft.graph.models.extensions.MobileAppSupportedDeviceType; @@ -54,14 +54,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; - /** - * The Mobile App Intent. - * Mobile App Intent. - */ - @SerializedName("mobileAppIntent") - @Expose - public MobileAppIntent mobileAppIntent; - /** * The Display Version. * Human readable version of the application @@ -78,6 +70,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public ResultantAppState installState; + /** + * The Mobile App Intent. + * Mobile App Intent. + */ + @SerializedName("mobileAppIntent") + @Expose + public MobileAppIntent mobileAppIntent; + /** * The Supported Device Types. * The supported platforms for the app. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationship.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationship.java index 36481dd8538..9d7793ce940 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationship.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationship.java @@ -26,14 +26,6 @@ public class MobileAppRelationship extends Entity implements IJsonBackedObject { - /** - * The Target Id. - * The target mobile app's app id. - */ - @SerializedName("targetId") - @Expose - public String targetId; - /** * The Target Display Name. * The target mobile app's display name. @@ -42,6 +34,14 @@ public class MobileAppRelationship extends Entity implements IJsonBackedObject { @Expose public String targetDisplayName; + /** + * The Target Id. + * The target mobile app's app id. + */ + @SerializedName("targetId") + @Expose + public String targetId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationshipState.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationshipState.java index bbf9ffb77d6..23cecb32d52 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationshipState.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppRelationshipState.java @@ -37,30 +37,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Source Ids. - * The collection of source mobile app's ids. - */ - @SerializedName("sourceIds") - @Expose - public java.util.List sourceIds; - - /** - * The Target Id. - * The related target app's id. - */ - @SerializedName("targetId") - @Expose - public String targetId; - - /** - * The Target Display Name. - * The related target app's display name. - */ - @SerializedName("targetDisplayName") - @Expose - public String targetDisplayName; - /** * The Device Id. * The corresponding device id. @@ -69,6 +45,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String deviceId; + /** + * The Error Code. + * The error code for install or uninstall failures of target app. + */ + @SerializedName("errorCode") + @Expose + public Integer errorCode; + /** * The Install State. * The install state of the app of target app. @@ -86,12 +70,28 @@ public final AdditionalDataManager additionalDataManager() { public ResultantAppStateDetail installStateDetail; /** - * The Error Code. - * The error code for install or uninstall failures of target app. + * The Source Ids. + * The collection of source mobile app's ids. */ - @SerializedName("errorCode") + @SerializedName("sourceIds") @Expose - public Integer errorCode; + public java.util.List sourceIds; + + /** + * The Target Display Name. + * The related target app's display name. + */ + @SerializedName("targetDisplayName") + @Expose + public String targetDisplayName; + + /** + * The Target Id. + * The related target app's id. + */ + @SerializedName("targetId") + @Expose + public String targetId; /** * The Target Last Sync Date Time. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppSupportedDeviceType.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppSupportedDeviceType.java index 525d6c6467e..e9bad307535 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppSupportedDeviceType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppSupportedDeviceType.java @@ -37,12 +37,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Type. - * Device type + * The Maximum Operating System Version. + * Maximum OS version */ - @SerializedName("type") + @SerializedName("maximumOperatingSystemVersion") @Expose - public DeviceType type; + public String maximumOperatingSystemVersion; /** * The Minimum Operating System Version. @@ -53,12 +53,12 @@ public final AdditionalDataManager additionalDataManager() { public String minimumOperatingSystemVersion; /** - * The Maximum Operating System Version. - * Maximum OS version + * The Type. + * Device type */ - @SerializedName("maximumOperatingSystemVersion") + @SerializedName("type") @Expose - public String maximumOperatingSystemVersion; + public DeviceType type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppPolicyCreationHistory.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppPolicyCreationHistory.java index d06e6acb1e9..d3877fffecf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppPolicyCreationHistory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppPolicyCreationHistory.java @@ -27,14 +27,6 @@ public class MobileAppTroubleshootingAppPolicyCreationHistory extends MobileAppTroubleshootingHistoryItem implements IJsonBackedObject { - /** - * The Run State. - * Status of the item. - */ - @SerializedName("runState") - @Expose - public RunState runState; - /** * The Error Code. * Error code for the failure, empty if no failure. @@ -43,6 +35,14 @@ public class MobileAppTroubleshootingAppPolicyCreationHistory extends MobileAppT @Expose public String errorCode; + /** + * The Run State. + * Status of the item. + */ + @SerializedName("runState") + @Expose + public RunState runState; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppStateHistory.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppStateHistory.java index 06fc7da1550..c213ec30382 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppStateHistory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppStateHistory.java @@ -36,14 +36,6 @@ public class MobileAppTroubleshootingAppStateHistory extends MobileAppTroublesho @Expose public MobileAppActionType actionType; - /** - * The Run State. - * Status of the item. - */ - @SerializedName("runState") - @Expose - public RunState runState; - /** * The Error Code. * Error code for the failure, empty if no failure. @@ -52,6 +44,14 @@ public class MobileAppTroubleshootingAppStateHistory extends MobileAppTroublesho @Expose public String errorCode; + /** + * The Run State. + * Status of the item. + */ + @SerializedName("runState") + @Expose + public RunState runState; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppTargetHistory.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppTargetHistory.java index e793a02c7ff..b2b029a13fc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppTargetHistory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingAppTargetHistory.java @@ -28,12 +28,12 @@ public class MobileAppTroubleshootingAppTargetHistory extends MobileAppTroublesh /** - * The Security Group Id. - * AAD security group id to which it was targeted. + * The Error Code. + * Error code for the failure, empty if no failure. */ - @SerializedName("securityGroupId") + @SerializedName("errorCode") @Expose - public String securityGroupId; + public String errorCode; /** * The Run State. @@ -44,12 +44,12 @@ public class MobileAppTroubleshootingAppTargetHistory extends MobileAppTroublesh public RunState runState; /** - * The Error Code. - * Error code for the failure, empty if no failure. + * The Security Group Id. + * AAD security group id to which it was targeted. */ - @SerializedName("errorCode") + @SerializedName("securityGroupId") @Expose - public String errorCode; + public String securityGroupId; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingEvent.java b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingEvent.java index 1382c9711eb..3cf359e3c50 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileAppTroubleshootingEvent.java @@ -30,22 +30,6 @@ public class MobileAppTroubleshootingEvent extends DeviceManagementTroubleshootingEvent implements IJsonBackedObject { - /** - * The Managed Device Identifier. - * Device identifier created or collected by Intune. - */ - @SerializedName("managedDeviceIdentifier") - @Expose - public String managedDeviceIdentifier; - - /** - * The User Id. - * Identifier for the user that tried to enroll the device. - */ - @SerializedName("userId") - @Expose - public String userId; - /** * The Application Id. * Intune application identifier. @@ -62,6 +46,22 @@ public class MobileAppTroubleshootingEvent extends DeviceManagementTroubleshooti @Expose public java.util.List history; + /** + * The Managed Device Identifier. + * Device identifier created or collected by Intune. + */ + @SerializedName("managedDeviceIdentifier") + @Expose + public String managedDeviceIdentifier; + + /** + * The User Id. + * Identifier for the user that tried to enroll the device. + */ + @SerializedName("userId") + @Expose + public String userId; + /** * The App Log Collection Requests. * The collection property of AppLogUploadRequest. diff --git a/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java b/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java index abba0891fde..aa3d355cbab 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java +++ b/src/main/java/com/microsoft/graph/models/extensions/MobileThreatDefenseConnector.java @@ -28,44 +28,44 @@ public class MobileThreatDefenseConnector extends Entity implements IJsonBackedO /** - * The Last Heartbeat Date Time. - * DateTime of last Heartbeat recieved from the Data Sync Partner + * The Allow Partner To Collect IOSApplication Metadata. + * For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about installed applications from Intune */ - @SerializedName("lastHeartbeatDateTime") + @SerializedName("allowPartnerToCollectIOSApplicationMetadata") @Expose - public java.util.Calendar lastHeartbeatDateTime; + public Boolean allowPartnerToCollectIOSApplicationMetadata; /** - * The Partner State. - * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + * The Android Device Blocked On Missing Partner Data. + * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant */ - @SerializedName("partnerState") + @SerializedName("androidDeviceBlockedOnMissingPartnerData") @Expose - public MobileThreatPartnerTenantState partnerState; + public Boolean androidDeviceBlockedOnMissingPartnerData; /** - * The Android Mobile Application Management Enabled. - * For Android, set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. + * The Android Enabled. + * For Android, set whether data from the data sync partner should be used during compliance evaluations */ - @SerializedName("androidMobileApplicationManagementEnabled") + @SerializedName("androidEnabled") @Expose - public Boolean androidMobileApplicationManagementEnabled; + public Boolean androidEnabled; /** - * The Ios Mobile Application Management Enabled. - * For IOS, get or set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. + * The Android Mobile Application Management Enabled. + * For Android, set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. */ - @SerializedName("iosMobileApplicationManagementEnabled") + @SerializedName("androidMobileApplicationManagementEnabled") @Expose - public Boolean iosMobileApplicationManagementEnabled; + public Boolean androidMobileApplicationManagementEnabled; /** - * The Android Enabled. - * For Android, set whether data from the data sync partner should be used during compliance evaluations + * The Ios Device Blocked On Missing Partner Data. + * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant */ - @SerializedName("androidEnabled") + @SerializedName("iosDeviceBlockedOnMissingPartnerData") @Expose - public Boolean androidEnabled; + public Boolean iosDeviceBlockedOnMissingPartnerData; /** * The Ios Enabled. @@ -76,52 +76,52 @@ public class MobileThreatDefenseConnector extends Entity implements IJsonBackedO public Boolean iosEnabled; /** - * The Windows Enabled. - * For Windows, get or set whether data from the data sync partner should be used during compliance evaluations + * The Ios Mobile Application Management Enabled. + * For IOS, get or set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. */ - @SerializedName("windowsEnabled") + @SerializedName("iosMobileApplicationManagementEnabled") @Expose - public Boolean windowsEnabled; + public Boolean iosMobileApplicationManagementEnabled; /** - * The Mac Enabled. - * For Mac, get or set whether data from the data sync partner should be used during compliance evaluations + * The Last Heartbeat Date Time. + * DateTime of last Heartbeat recieved from the Data Sync Partner */ - @SerializedName("macEnabled") + @SerializedName("lastHeartbeatDateTime") @Expose - public Boolean macEnabled; + public java.util.Calendar lastHeartbeatDateTime; /** - * The Android Device Blocked On Missing Partner Data. - * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * The Mac Device Blocked On Missing Partner Data. + * For Mac, get or set whether Intune must receive data from the data sync partner prior to marking a device compliant */ - @SerializedName("androidDeviceBlockedOnMissingPartnerData") + @SerializedName("macDeviceBlockedOnMissingPartnerData") @Expose - public Boolean androidDeviceBlockedOnMissingPartnerData; + public Boolean macDeviceBlockedOnMissingPartnerData; /** - * The Ios Device Blocked On Missing Partner Data. - * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * The Mac Enabled. + * For Mac, get or set whether data from the data sync partner should be used during compliance evaluations */ - @SerializedName("iosDeviceBlockedOnMissingPartnerData") + @SerializedName("macEnabled") @Expose - public Boolean iosDeviceBlockedOnMissingPartnerData; + public Boolean macEnabled; /** - * The Windows Device Blocked On Missing Partner Data. - * For Windows, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * The Partner State. + * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. */ - @SerializedName("windowsDeviceBlockedOnMissingPartnerData") + @SerializedName("partnerState") @Expose - public Boolean windowsDeviceBlockedOnMissingPartnerData; + public MobileThreatPartnerTenantState partnerState; /** - * The Mac Device Blocked On Missing Partner Data. - * For Mac, get or set whether Intune must receive data from the data sync partner prior to marking a device compliant + * The Partner Unresponsiveness Threshold In Days. + * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration */ - @SerializedName("macDeviceBlockedOnMissingPartnerData") + @SerializedName("partnerUnresponsivenessThresholdInDays") @Expose - public Boolean macDeviceBlockedOnMissingPartnerData; + public Integer partnerUnresponsivenessThresholdInDays; /** * The Partner Unsupported Os Version Blocked. @@ -132,20 +132,20 @@ public class MobileThreatDefenseConnector extends Entity implements IJsonBackedO public Boolean partnerUnsupportedOsVersionBlocked; /** - * The Partner Unresponsiveness Threshold In Days. - * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration + * The Windows Device Blocked On Missing Partner Data. + * For Windows, set whether Intune must receive data from the data sync partner prior to marking a device compliant */ - @SerializedName("partnerUnresponsivenessThresholdInDays") + @SerializedName("windowsDeviceBlockedOnMissingPartnerData") @Expose - public Integer partnerUnresponsivenessThresholdInDays; + public Boolean windowsDeviceBlockedOnMissingPartnerData; /** - * The Allow Partner To Collect IOSApplication Metadata. - * For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about installed applications from Intune + * The Windows Enabled. + * For Windows, get or set whether data from the data sync partner should be used during compliance evaluations */ - @SerializedName("allowPartnerToCollectIOSApplicationMetadata") + @SerializedName("windowsEnabled") @Expose - public Boolean allowPartnerToCollectIOSApplicationMetadata; + public Boolean windowsEnabled; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ModifiedProperty.java b/src/main/java/com/microsoft/graph/models/extensions/ModifiedProperty.java index 56a6935033a..88eac8b267e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ModifiedProperty.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ModifiedProperty.java @@ -43,14 +43,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String displayName; - /** - * The Old Value. - * Indicates the previous value (before the update) for the property. - */ - @SerializedName("oldValue") - @Expose - public String oldValue; - /** * The New Value. * Indicates the updated value for the propery. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String newValue; + /** + * The Old Value. + * Indicates the previous value (before the update) for the property. + */ + @SerializedName("oldValue") + @Expose + public String oldValue; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/NamedLocation.java b/src/main/java/com/microsoft/graph/models/extensions/NamedLocation.java index f71082dc4a7..8bfa708b98a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NamedLocation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NamedLocation.java @@ -26,14 +26,6 @@ public class NamedLocation extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * Human-readable name of the location. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Created Date Time. * The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. @@ -42,6 +34,14 @@ public class NamedLocation extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar createdDateTime; + /** + * The Display Name. + * Human-readable name of the location. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Modified Date Time. * The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. diff --git a/src/main/java/com/microsoft/graph/models/extensions/NdesConnector.java b/src/main/java/com/microsoft/graph/models/extensions/NdesConnector.java index af35173142a..3c9fffab05c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NdesConnector.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NdesConnector.java @@ -27,6 +27,14 @@ public class NdesConnector extends Entity implements IJsonBackedObject { + /** + * The Display Name. + * The friendly name of the Ndes Connector. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Last Connection Date Time. * Last connection time for the Ndes Connector @@ -43,14 +51,6 @@ public class NdesConnector extends Entity implements IJsonBackedObject { @Expose public NdesConnectorState state; - /** - * The Display Name. - * The friendly name of the Ndes Connector. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv4ConfigurationManagementCondition.java b/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv4ConfigurationManagementCondition.java index 7b3cb16dd99..515cab933dc 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv4ConfigurationManagementCondition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv4ConfigurationManagementCondition.java @@ -27,20 +27,12 @@ public class NetworkIPv4ConfigurationManagementCondition extends NetworkManageme /** - * The Ip V4Prefix. - * The IPv4 subnet to be connected to. e.g. 10.0.0.0/8 - */ - @SerializedName("ipV4Prefix") - @Expose - public String ipV4Prefix; - - /** - * The Ip V4Gateway. - * The IPv4 gateway address. e.g. 10.0.0.0 + * The Dns Suffix List. + * Valid DNS suffixes for the current network. e.g. seattle.contoso.com */ - @SerializedName("ipV4Gateway") + @SerializedName("dnsSuffixList") @Expose - public String ipV4Gateway; + public java.util.List dnsSuffixList; /** * The Ip V4DHCPServer. @@ -59,12 +51,20 @@ public class NetworkIPv4ConfigurationManagementCondition extends NetworkManageme public java.util.List ipV4DNSServerList; /** - * The Dns Suffix List. - * Valid DNS suffixes for the current network. e.g. seattle.contoso.com + * The Ip V4Gateway. + * The IPv4 gateway address. e.g. 10.0.0.0 */ - @SerializedName("dnsSuffixList") + @SerializedName("ipV4Gateway") @Expose - public java.util.List dnsSuffixList; + public String ipV4Gateway; + + /** + * The Ip V4Prefix. + * The IPv4 subnet to be connected to. e.g. 10.0.0.0/8 + */ + @SerializedName("ipV4Prefix") + @Expose + public String ipV4Prefix; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv6ConfigurationManagementCondition.java b/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv6ConfigurationManagementCondition.java index cfe6e3bfa9a..bcaad339b15 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv6ConfigurationManagementCondition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NetworkIPv6ConfigurationManagementCondition.java @@ -27,20 +27,12 @@ public class NetworkIPv6ConfigurationManagementCondition extends NetworkManageme /** - * The Ip V6Prefix. - * The IPv6 subnet to be connected to. e.g. 2001:db8::/32 - */ - @SerializedName("ipV6Prefix") - @Expose - public String ipV6Prefix; - - /** - * The Ip V6Gateway. - * The IPv6 gateway address to. e.g 2001:db8::1 + * The Dns Suffix List. + * Valid DNS suffixes for the current network. e.g. seattle.contoso.com */ - @SerializedName("ipV6Gateway") + @SerializedName("dnsSuffixList") @Expose - public String ipV6Gateway; + public java.util.List dnsSuffixList; /** * The Ip V6DNSServer List. @@ -51,12 +43,20 @@ public class NetworkIPv6ConfigurationManagementCondition extends NetworkManageme public java.util.List ipV6DNSServerList; /** - * The Dns Suffix List. - * Valid DNS suffixes for the current network. e.g. seattle.contoso.com + * The Ip V6Gateway. + * The IPv6 gateway address to. e.g 2001:db8::1 */ - @SerializedName("dnsSuffixList") + @SerializedName("ipV6Gateway") @Expose - public java.util.List dnsSuffixList; + public String ipV6Gateway; + + /** + * The Ip V6Prefix. + * The IPv6 subnet to be connected to. e.g. 2001:db8::/32 + */ + @SerializedName("ipV6Prefix") + @Expose + public String ipV6Prefix; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/NetworkLocationDetail.java b/src/main/java/com/microsoft/graph/models/extensions/NetworkLocationDetail.java index 54318f06304..94f5fffd163 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NetworkLocationDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NetworkLocationDetail.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Network Type. + * The Network Names. * */ - @SerializedName("networkType") + @SerializedName("networkNames") @Expose - public NetworkType networkType; + public java.util.List networkNames; /** - * The Network Names. + * The Network Type. * */ - @SerializedName("networkNames") + @SerializedName("networkType") @Expose - public java.util.List networkNames; + public NetworkType networkType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Note.java b/src/main/java/com/microsoft/graph/models/extensions/Note.java new file mode 100644 index 00000000000..12b3abdcbb9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/extensions/Note.java @@ -0,0 +1,202 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +package com.microsoft.graph.models.extensions; +import com.microsoft.graph.serializer.ISerializer; +import com.microsoft.graph.serializer.IJsonBackedObject; +import com.microsoft.graph.serializer.AdditionalDataManager; +import java.util.Arrays; +import java.util.EnumSet; +import com.microsoft.graph.models.extensions.ItemBody; +import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.OutlookItem; +import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; +import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; + + +import com.google.gson.JsonObject; +import com.google.gson.JsonElement; +import com.google.gson.annotations.SerializedName; +import com.google.gson.annotations.Expose; +import java.util.HashMap; +import java.util.Map; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Note. + */ +public class Note extends OutlookItem implements IJsonBackedObject { + + + /** + * The Body. + * + */ + @SerializedName("body") + @Expose + public ItemBody body; + + /** + * The Has Attachments. + * + */ + @SerializedName("hasAttachments") + @Expose + public Boolean hasAttachments; + + /** + * The Is Deleted. + * + */ + @SerializedName("isDeleted") + @Expose + public Boolean isDeleted; + + /** + * The Subject. + * + */ + @SerializedName("subject") + @Expose + public String subject; + + /** + * The Attachments. + * + */ + public AttachmentCollectionPage attachments; + + /** + * The Extensions. + * + */ + public ExtensionCollectionPage extensions; + + /** + * The Multi Value Extended Properties. + * + */ + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + + /** + * The Single Value Extended Properties. + * + */ + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + + + /** + * The raw representation of this class + */ + private JsonObject rawObject; + + /** + * The serializer + */ + private ISerializer serializer; + + /** + * Gets the raw representation of this class + * + * @return the raw representation of this class + */ + public JsonObject getRawObject() { + return rawObject; + } + + /** + * Gets serializer + * + * @return the serializer + */ + protected ISerializer getSerializer() { + return serializer; + } + + /** + * Sets the raw JSON object + * + * @param serializer the serializer + * @param json the JSON object to set this object to + */ + public void setRawObject(final ISerializer serializer, final JsonObject json) { + this.serializer = serializer; + rawObject = json; + + + if (json.has("attachments")) { + final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); + if (json.has("attachments@odata.nextLink")) { + response.nextLink = json.get("attachments@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); + final Attachment[] array = new Attachment[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + attachments = new AttachmentCollectionPage(response, null); + } + + if (json.has("extensions")) { + final ExtensionCollectionResponse response = new ExtensionCollectionResponse(); + if (json.has("extensions@odata.nextLink")) { + response.nextLink = json.get("extensions@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class); + final Extension[] array = new Extension[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + extensions = new ExtensionCollectionPage(response, null); + } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } + } +} diff --git a/src/main/java/com/microsoft/graph/models/extensions/Notebook.java b/src/main/java/com/microsoft/graph/models/extensions/Notebook.java index 1ba20ddbefc..9446ce7c82d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Notebook.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Notebook.java @@ -8,15 +8,15 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.OnenoteUserRole; import com.microsoft.graph.models.extensions.NotebookLinks; -import com.microsoft.graph.models.extensions.OnenoteSection; +import com.microsoft.graph.models.generated.OnenoteUserRole; import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.models.extensions.OnenoteSection; import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; import com.microsoft.graph.requests.extensions.SectionGroupCollectionResponse; import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; import com.google.gson.JsonObject; @@ -42,14 +42,6 @@ public class Notebook extends OnenoteEntityHierarchyModel implements IJsonBacked @Expose public Boolean isDefault; - /** - * The User Role. - * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. - */ - @SerializedName("userRole") - @Expose - public OnenoteUserRole userRole; - /** * The Is Shared. * Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. @@ -59,12 +51,12 @@ public class Notebook extends OnenoteEntityHierarchyModel implements IJsonBacked public Boolean isShared; /** - * The Sections Url. - * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. + * The Links. + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. */ - @SerializedName("sectionsUrl") + @SerializedName("links") @Expose - public String sectionsUrl; + public NotebookLinks links; /** * The Section Groups Url. @@ -75,18 +67,20 @@ public class Notebook extends OnenoteEntityHierarchyModel implements IJsonBacked public String sectionGroupsUrl; /** - * The Links. - * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * The Sections Url. + * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. */ - @SerializedName("links") + @SerializedName("sectionsUrl") @Expose - public NotebookLinks links; + public String sectionsUrl; /** - * The Sections. - * The sections in the notebook. Read-only. Nullable. + * The User Role. + * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. */ - public OnenoteSectionCollectionPage sections; + @SerializedName("userRole") + @Expose + public OnenoteUserRole userRole; /** * The Section Groups. @@ -94,6 +88,12 @@ public class Notebook extends OnenoteEntityHierarchyModel implements IJsonBacked */ public SectionGroupCollectionPage sectionGroups; + /** + * The Sections. + * The sections in the notebook. Read-only. Nullable. + */ + public OnenoteSectionCollectionPage sections; + /** * The raw representation of this class @@ -134,22 +134,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("sections")) { - final OnenoteSectionCollectionResponse response = new OnenoteSectionCollectionResponse(); - if (json.has("sections@odata.nextLink")) { - response.nextLink = json.get("sections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); - final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sections = new OnenoteSectionCollectionPage(response, null); - } - if (json.has("sectionGroups")) { final SectionGroupCollectionResponse response = new SectionGroupCollectionResponse(); if (json.has("sectionGroups@odata.nextLink")) { @@ -165,5 +149,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); sectionGroups = new SectionGroupCollectionPage(response, null); } + + if (json.has("sections")) { + final OnenoteSectionCollectionResponse response = new OnenoteSectionCollectionResponse(); + if (json.has("sections@odata.nextLink")) { + response.nextLink = json.get("sections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); + final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sections = new OnenoteSectionCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Notification.java b/src/main/java/com/microsoft/graph/models/extensions/Notification.java index e8d31e73772..3e53b969f87 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Notification.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Notification.java @@ -30,12 +30,12 @@ public class Notification extends Entity implements IJsonBackedObject { /** - * The Target Host Name. + * The Display Time To Live. * */ - @SerializedName("targetHostName") + @SerializedName("displayTimeToLive") @Expose - public String targetHostName; + public Integer displayTimeToLive; /** * The Expiration Date Time. @@ -46,20 +46,20 @@ public class Notification extends Entity implements IJsonBackedObject { public java.util.Calendar expirationDateTime; /** - * The Payload. + * The Group Name. * */ - @SerializedName("payload") + @SerializedName("groupName") @Expose - public PayloadTypes payload; + public String groupName; /** - * The Display Time To Live. + * The Payload. * */ - @SerializedName("displayTimeToLive") + @SerializedName("payload") @Expose - public Integer displayTimeToLive; + public PayloadTypes payload; /** * The Priority. @@ -70,12 +70,12 @@ public class Notification extends Entity implements IJsonBackedObject { public Priority priority; /** - * The Group Name. + * The Target Host Name. * */ - @SerializedName("groupName") + @SerializedName("targetHostName") @Expose - public String groupName; + public String targetHostName; /** * The Target Policy. diff --git a/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java b/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java index e3ad960fb6e..987c087f253 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NotificationMessageTemplate.java @@ -31,20 +31,12 @@ public class NotificationMessageTemplate extends Entity implements IJsonBackedOb /** - * The Last Modified Date Time. - * DateTime the object was last modified. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Display Name. - * Display name for the Notification Message Template. + * The Branding Options. + * The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation. */ - @SerializedName("displayName") + @SerializedName("brandingOptions") @Expose - public String displayName; + public EnumSet brandingOptions; /** * The Default Locale. @@ -55,12 +47,20 @@ public class NotificationMessageTemplate extends Entity implements IJsonBackedOb public String defaultLocale; /** - * The Branding Options. - * The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation. + * The Display Name. + * Display name for the Notification Message Template. */ - @SerializedName("brandingOptions") + @SerializedName("displayName") @Expose - public EnumSet brandingOptions; + public String displayName; + + /** + * The Last Modified Date Time. + * DateTime the object was last modified. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; /** * The Role Scope Tag Ids. diff --git a/src/main/java/com/microsoft/graph/models/extensions/NotifyUserAction.java b/src/main/java/com/microsoft/graph/models/extensions/NotifyUserAction.java index 9dc42478dab..19ef27b4d29 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/NotifyUserAction.java +++ b/src/main/java/com/microsoft/graph/models/extensions/NotifyUserAction.java @@ -28,20 +28,20 @@ public class NotifyUserAction extends DlpActionInfo implements IJsonBackedObject /** - * The Recipients. + * The Action Last Modified Date Time. * */ - @SerializedName("recipients") + @SerializedName("actionLastModifiedDateTime") @Expose - public java.util.List recipients; + public java.util.Calendar actionLastModifiedDateTime; /** - * The Action Last Modified Date Time. + * The Email Text. * */ - @SerializedName("actionLastModifiedDateTime") + @SerializedName("emailText") @Expose - public java.util.Calendar actionLastModifiedDateTime; + public String emailText; /** * The Override Option. @@ -52,20 +52,20 @@ public class NotifyUserAction extends DlpActionInfo implements IJsonBackedObject public OverrideOption overrideOption; /** - * The Email Text. + * The Policy Tip. * */ - @SerializedName("emailText") + @SerializedName("policyTip") @Expose - public String emailText; + public String policyTip; /** - * The Policy Tip. + * The Recipients. * */ - @SerializedName("policyTip") + @SerializedName("recipients") @Expose - public String policyTip; + public java.util.List recipients; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ObjectIdentity.java b/src/main/java/com/microsoft/graph/models/extensions/ObjectIdentity.java index f91510fc944..3a87d6c784f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ObjectIdentity.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ObjectIdentity.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Sign In Type. - * Specifies the user sign-in types in your directory, such as emailAddress, userName or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. - */ - @SerializedName("signInType") - @Expose - public String signInType; - /** * The Issuer. * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String issuerAssignedId; + /** + * The Sign In Type. + * Specifies the user sign-in types in your directory, such as emailAddress, userName or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. + */ + @SerializedName("signInType") + @Expose + public String signInType; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OfferShiftRequest.java b/src/main/java/com/microsoft/graph/models/extensions/OfferShiftRequest.java index b3098964616..2fa3d0faf62 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OfferShiftRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OfferShiftRequest.java @@ -26,14 +26,6 @@ public class OfferShiftRequest extends ScheduleChangeRequest implements IJsonBackedObject { - /** - * The Recipient Action Message. - * Custom message sent by recipient of the offer shift request. - */ - @SerializedName("recipientActionMessage") - @Expose - public String recipientActionMessage; - /** * The Recipient Action Date Time. * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' @@ -43,12 +35,12 @@ public class OfferShiftRequest extends ScheduleChangeRequest implements IJsonBac public java.util.Calendar recipientActionDateTime; /** - * The Sender Shift Id. - * User ID of the sender of the offer shift request. + * The Recipient Action Message. + * Custom message sent by recipient of the offer shift request. */ - @SerializedName("senderShiftId") + @SerializedName("recipientActionMessage") @Expose - public String senderShiftId; + public String recipientActionMessage; /** * The Recipient User Id. @@ -58,6 +50,14 @@ public class OfferShiftRequest extends ScheduleChangeRequest implements IJsonBac @Expose public String recipientUserId; + /** + * The Sender Shift Id. + * User ID of the sender of the offer shift request. + */ + @SerializedName("senderShiftId") + @Expose + public String senderShiftId; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationCounts.java b/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationCounts.java index 92a46e77ac3..8282ecc35ac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationCounts.java @@ -27,52 +27,52 @@ public class Office365ActivationCounts extends Entity implements IJsonBackedObje /** - * The Report Refresh Date. + * The Android. * */ - @SerializedName("reportRefreshDate") + @SerializedName("android") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long android; /** - * The Product Type. + * The Ios. * */ - @SerializedName("productType") + @SerializedName("ios") @Expose - public String productType; + public Long ios; /** - * The Windows. + * The Mac. * */ - @SerializedName("windows") + @SerializedName("mac") @Expose - public Long windows; + public Long mac; /** - * The Mac. + * The Product Type. * */ - @SerializedName("mac") + @SerializedName("productType") @Expose - public Long mac; + public String productType; /** - * The Android. + * The Report Refresh Date. * */ - @SerializedName("android") + @SerializedName("reportRefreshDate") @Expose - public Long android; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Ios. + * The Windows. * */ - @SerializedName("ios") + @SerializedName("windows") @Expose - public Long ios; + public Long windows; /** * The Windows10Mobile. diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserCounts.java b/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserCounts.java index a7ab54663e9..e37165e193b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserCounts.java @@ -27,36 +27,36 @@ public class Office365ActivationsUserCounts extends Entity implements IJsonBacke /** - * The Report Refresh Date. + * The Activated. * */ - @SerializedName("reportRefreshDate") + @SerializedName("activated") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long activated; /** - * The Product Type. + * The Assigned. * */ - @SerializedName("productType") + @SerializedName("assigned") @Expose - public String productType; + public Long assigned; /** - * The Assigned. + * The Product Type. * */ - @SerializedName("assigned") + @SerializedName("productType") @Expose - public Long assigned; + public String productType; /** - * The Activated. + * The Report Refresh Date. * */ - @SerializedName("activated") + @SerializedName("reportRefreshDate") @Expose - public Long activated; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** * The Shared Computer Activation. diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserDetail.java b/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserDetail.java index 6bc36ec129e..1a3c9ba41fb 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365ActivationsUserDetail.java @@ -28,36 +28,36 @@ public class Office365ActivationsUserDetail extends Entity implements IJsonBacke /** - * The Report Refresh Date. + * The Display Name. * */ - @SerializedName("reportRefreshDate") + @SerializedName("displayName") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public String displayName; /** - * The User Principal Name. + * The Report Refresh Date. * */ - @SerializedName("userPrincipalName") + @SerializedName("reportRefreshDate") @Expose - public String userPrincipalName; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Display Name. + * The User Activation Counts. * */ - @SerializedName("displayName") + @SerializedName("userActivationCounts") @Expose - public String displayName; + public java.util.List userActivationCounts; /** - * The User Activation Counts. + * The User Principal Name. * */ - @SerializedName("userActivationCounts") + @SerializedName("userPrincipalName") @Expose - public java.util.List userActivationCounts; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserCounts.java b/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserCounts.java index 6d03e5e2030..3ecc174a1f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserCounts.java @@ -27,12 +27,12 @@ public class Office365ActiveUserCounts extends Entity implements IJsonBackedObje /** - * The Report Refresh Date. + * The Exchange. * */ - @SerializedName("reportRefreshDate") + @SerializedName("exchange") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long exchange; /** * The Office365. @@ -43,68 +43,68 @@ public class Office365ActiveUserCounts extends Entity implements IJsonBackedObje public Long office365; /** - * The Exchange. + * The One Drive. * */ - @SerializedName("exchange") + @SerializedName("oneDrive") @Expose - public Long exchange; + public Long oneDrive; /** - * The One Drive. + * The Report Date. * */ - @SerializedName("oneDrive") + @SerializedName("reportDate") @Expose - public Long oneDrive; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Share Point. + * The Report Period. * */ - @SerializedName("sharePoint") + @SerializedName("reportPeriod") @Expose - public Long sharePoint; + public String reportPeriod; /** - * The Skype For Business. + * The Report Refresh Date. * */ - @SerializedName("skypeForBusiness") + @SerializedName("reportRefreshDate") @Expose - public Long skypeForBusiness; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Yammer. + * The Share Point. * */ - @SerializedName("yammer") + @SerializedName("sharePoint") @Expose - public Long yammer; + public Long sharePoint; /** - * The Teams. + * The Skype For Business. * */ - @SerializedName("teams") + @SerializedName("skypeForBusiness") @Expose - public Long teams; + public Long skypeForBusiness; /** - * The Report Date. + * The Teams. * */ - @SerializedName("reportDate") + @SerializedName("teams") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public Long teams; /** - * The Report Period. + * The Yammer. * */ - @SerializedName("reportPeriod") + @SerializedName("yammer") @Expose - public String reportPeriod; + public Long yammer; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserDetail.java b/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserDetail.java index 1f92ce8f4bb..957eda5269c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365ActiveUserDetail.java @@ -27,20 +27,20 @@ public class Office365ActiveUserDetail extends Entity implements IJsonBackedObje /** - * The Report Refresh Date. + * The Assigned Products. * */ - @SerializedName("reportRefreshDate") + @SerializedName("assignedProducts") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public java.util.List assignedProducts; /** - * The User Principal Name. + * The Deleted Date. * */ - @SerializedName("userPrincipalName") + @SerializedName("deletedDate") @Expose - public String userPrincipalName; + public com.microsoft.graph.models.extensions.DateOnly deletedDate; /** * The Display Name. @@ -51,20 +51,20 @@ public class Office365ActiveUserDetail extends Entity implements IJsonBackedObje public String displayName; /** - * The Is Deleted. + * The Exchange Last Activity Date. * */ - @SerializedName("isDeleted") + @SerializedName("exchangeLastActivityDate") @Expose - public Boolean isDeleted; + public com.microsoft.graph.models.extensions.DateOnly exchangeLastActivityDate; /** - * The Deleted Date. + * The Exchange License Assign Date. * */ - @SerializedName("deletedDate") + @SerializedName("exchangeLicenseAssignDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly deletedDate; + public com.microsoft.graph.models.extensions.DateOnly exchangeLicenseAssignDate; /** * The Has Exchange License. @@ -99,28 +99,28 @@ public class Office365ActiveUserDetail extends Entity implements IJsonBackedObje public Boolean hasSkypeForBusinessLicense; /** - * The Has Yammer License. + * The Has Teams License. * */ - @SerializedName("hasYammerLicense") + @SerializedName("hasTeamsLicense") @Expose - public Boolean hasYammerLicense; + public Boolean hasTeamsLicense; /** - * The Has Teams License. + * The Has Yammer License. * */ - @SerializedName("hasTeamsLicense") + @SerializedName("hasYammerLicense") @Expose - public Boolean hasTeamsLicense; + public Boolean hasYammerLicense; /** - * The Exchange Last Activity Date. + * The Is Deleted. * */ - @SerializedName("exchangeLastActivityDate") + @SerializedName("isDeleted") @Expose - public com.microsoft.graph.models.extensions.DateOnly exchangeLastActivityDate; + public Boolean isDeleted; /** * The One Drive Last Activity Date. @@ -131,92 +131,92 @@ public class Office365ActiveUserDetail extends Entity implements IJsonBackedObje public com.microsoft.graph.models.extensions.DateOnly oneDriveLastActivityDate; /** - * The Share Point Last Activity Date. + * The One Drive License Assign Date. * */ - @SerializedName("sharePointLastActivityDate") + @SerializedName("oneDriveLicenseAssignDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly sharePointLastActivityDate; + public com.microsoft.graph.models.extensions.DateOnly oneDriveLicenseAssignDate; /** - * The Skype For Business Last Activity Date. + * The Report Refresh Date. * */ - @SerializedName("skypeForBusinessLastActivityDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly skypeForBusinessLastActivityDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Yammer Last Activity Date. + * The Share Point Last Activity Date. * */ - @SerializedName("yammerLastActivityDate") + @SerializedName("sharePointLastActivityDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly yammerLastActivityDate; + public com.microsoft.graph.models.extensions.DateOnly sharePointLastActivityDate; /** - * The Teams Last Activity Date. + * The Share Point License Assign Date. * */ - @SerializedName("teamsLastActivityDate") + @SerializedName("sharePointLicenseAssignDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly teamsLastActivityDate; + public com.microsoft.graph.models.extensions.DateOnly sharePointLicenseAssignDate; /** - * The Exchange License Assign Date. + * The Skype For Business Last Activity Date. * */ - @SerializedName("exchangeLicenseAssignDate") + @SerializedName("skypeForBusinessLastActivityDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly exchangeLicenseAssignDate; + public com.microsoft.graph.models.extensions.DateOnly skypeForBusinessLastActivityDate; /** - * The One Drive License Assign Date. + * The Skype For Business License Assign Date. * */ - @SerializedName("oneDriveLicenseAssignDate") + @SerializedName("skypeForBusinessLicenseAssignDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly oneDriveLicenseAssignDate; + public com.microsoft.graph.models.extensions.DateOnly skypeForBusinessLicenseAssignDate; /** - * The Share Point License Assign Date. + * The Teams Last Activity Date. * */ - @SerializedName("sharePointLicenseAssignDate") + @SerializedName("teamsLastActivityDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly sharePointLicenseAssignDate; + public com.microsoft.graph.models.extensions.DateOnly teamsLastActivityDate; /** - * The Skype For Business License Assign Date. + * The Teams License Assign Date. * */ - @SerializedName("skypeForBusinessLicenseAssignDate") + @SerializedName("teamsLicenseAssignDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly skypeForBusinessLicenseAssignDate; + public com.microsoft.graph.models.extensions.DateOnly teamsLicenseAssignDate; /** - * The Yammer License Assign Date. + * The User Principal Name. * */ - @SerializedName("yammerLicenseAssignDate") + @SerializedName("userPrincipalName") @Expose - public com.microsoft.graph.models.extensions.DateOnly yammerLicenseAssignDate; + public String userPrincipalName; /** - * The Teams License Assign Date. + * The Yammer Last Activity Date. * */ - @SerializedName("teamsLicenseAssignDate") + @SerializedName("yammerLastActivityDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly teamsLicenseAssignDate; + public com.microsoft.graph.models.extensions.DateOnly yammerLastActivityDate; /** - * The Assigned Products. + * The Yammer License Assign Date. * */ - @SerializedName("assignedProducts") + @SerializedName("yammerLicenseAssignDate") @Expose - public java.util.List assignedProducts; + public com.microsoft.graph.models.extensions.DateOnly yammerLicenseAssignDate; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityCounts.java b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityCounts.java index 8921ec173b3..34b8628b28f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityCounts.java @@ -27,36 +27,36 @@ public class Office365GroupsActivityCounts extends Entity implements IJsonBacked /** - * The Report Refresh Date. + * The Exchange Emails Received. * */ - @SerializedName("reportRefreshDate") + @SerializedName("exchangeEmailsReceived") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long exchangeEmailsReceived; /** - * The Exchange Emails Received. + * The Report Date. * */ - @SerializedName("exchangeEmailsReceived") + @SerializedName("reportDate") @Expose - public Long exchangeEmailsReceived; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Yammer Messages Posted. + * The Report Period. * */ - @SerializedName("yammerMessagesPosted") + @SerializedName("reportPeriod") @Expose - public Long yammerMessagesPosted; + public String reportPeriod; /** - * The Yammer Messages Read. + * The Report Refresh Date. * */ - @SerializedName("yammerMessagesRead") + @SerializedName("reportRefreshDate") @Expose - public Long yammerMessagesRead; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** * The Yammer Messages Liked. @@ -67,20 +67,20 @@ public class Office365GroupsActivityCounts extends Entity implements IJsonBacked public Long yammerMessagesLiked; /** - * The Report Date. + * The Yammer Messages Posted. * */ - @SerializedName("reportDate") + @SerializedName("yammerMessagesPosted") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public Long yammerMessagesPosted; /** - * The Report Period. + * The Yammer Messages Read. * */ - @SerializedName("reportPeriod") + @SerializedName("yammerMessagesRead") @Expose - public String reportPeriod; + public Long yammerMessagesRead; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityDetail.java b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityDetail.java index a03d69d0591..bec31dc6293 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityDetail.java @@ -27,52 +27,52 @@ public class Office365GroupsActivityDetail extends Entity implements IJsonBacked /** - * The Report Refresh Date. + * The Exchange Mailbox Storage Used In Bytes. * */ - @SerializedName("reportRefreshDate") + @SerializedName("exchangeMailboxStorageUsedInBytes") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long exchangeMailboxStorageUsedInBytes; /** - * The Group Id. + * The Exchange Mailbox Total Item Count. * */ - @SerializedName("groupId") + @SerializedName("exchangeMailboxTotalItemCount") @Expose - public String groupId; + public Long exchangeMailboxTotalItemCount; /** - * The Group Display Name. + * The Exchange Received Email Count. * */ - @SerializedName("groupDisplayName") + @SerializedName("exchangeReceivedEmailCount") @Expose - public String groupDisplayName; + public Long exchangeReceivedEmailCount; /** - * The Is Deleted. + * The External Member Count. * */ - @SerializedName("isDeleted") + @SerializedName("externalMemberCount") @Expose - public Boolean isDeleted; + public Long externalMemberCount; /** - * The Owner Principal Name. + * The Group Display Name. * */ - @SerializedName("ownerPrincipalName") + @SerializedName("groupDisplayName") @Expose - public String ownerPrincipalName; + public String groupDisplayName; /** - * The Last Activity Date. + * The Group Id. * */ - @SerializedName("lastActivityDate") + @SerializedName("groupId") @Expose - public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; + public String groupId; /** * The Group Type. @@ -83,100 +83,100 @@ public class Office365GroupsActivityDetail extends Entity implements IJsonBacked public String groupType; /** - * The Member Count. + * The Is Deleted. * */ - @SerializedName("memberCount") + @SerializedName("isDeleted") @Expose - public Long memberCount; + public Boolean isDeleted; /** - * The External Member Count. + * The Last Activity Date. * */ - @SerializedName("externalMemberCount") + @SerializedName("lastActivityDate") @Expose - public Long externalMemberCount; + public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; /** - * The Exchange Received Email Count. + * The Member Count. * */ - @SerializedName("exchangeReceivedEmailCount") + @SerializedName("memberCount") @Expose - public Long exchangeReceivedEmailCount; + public Long memberCount; /** - * The Share Point Active File Count. + * The Owner Principal Name. * */ - @SerializedName("sharePointActiveFileCount") + @SerializedName("ownerPrincipalName") @Expose - public Long sharePointActiveFileCount; + public String ownerPrincipalName; /** - * The Yammer Posted Message Count. + * The Report Period. * */ - @SerializedName("yammerPostedMessageCount") + @SerializedName("reportPeriod") @Expose - public Long yammerPostedMessageCount; + public String reportPeriod; /** - * The Yammer Read Message Count. + * The Report Refresh Date. * */ - @SerializedName("yammerReadMessageCount") + @SerializedName("reportRefreshDate") @Expose - public Long yammerReadMessageCount; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Yammer Liked Message Count. + * The Share Point Active File Count. * */ - @SerializedName("yammerLikedMessageCount") + @SerializedName("sharePointActiveFileCount") @Expose - public Long yammerLikedMessageCount; + public Long sharePointActiveFileCount; /** - * The Exchange Mailbox Total Item Count. + * The Share Point Site Storage Used In Bytes. * */ - @SerializedName("exchangeMailboxTotalItemCount") + @SerializedName("sharePointSiteStorageUsedInBytes") @Expose - public Long exchangeMailboxTotalItemCount; + public Long sharePointSiteStorageUsedInBytes; /** - * The Exchange Mailbox Storage Used In Bytes. + * The Share Point Total File Count. * */ - @SerializedName("exchangeMailboxStorageUsedInBytes") + @SerializedName("sharePointTotalFileCount") @Expose - public Long exchangeMailboxStorageUsedInBytes; + public Long sharePointTotalFileCount; /** - * The Share Point Total File Count. + * The Yammer Liked Message Count. * */ - @SerializedName("sharePointTotalFileCount") + @SerializedName("yammerLikedMessageCount") @Expose - public Long sharePointTotalFileCount; + public Long yammerLikedMessageCount; /** - * The Share Point Site Storage Used In Bytes. + * The Yammer Posted Message Count. * */ - @SerializedName("sharePointSiteStorageUsedInBytes") + @SerializedName("yammerPostedMessageCount") @Expose - public Long sharePointSiteStorageUsedInBytes; + public Long yammerPostedMessageCount; /** - * The Report Period. + * The Yammer Read Message Count. * */ - @SerializedName("reportPeriod") + @SerializedName("yammerReadMessageCount") @Expose - public String reportPeriod; + public Long yammerReadMessageCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityFileCounts.java b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityFileCounts.java index 2075072ea14..2f140565b0f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityFileCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityFileCounts.java @@ -27,44 +27,44 @@ public class Office365GroupsActivityFileCounts extends Entity implements IJsonBa /** - * The Report Refresh Date. + * The Active. * */ - @SerializedName("reportRefreshDate") + @SerializedName("active") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long active; /** - * The Total. + * The Report Date. * */ - @SerializedName("total") + @SerializedName("reportDate") @Expose - public Long total; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Active. + * The Report Period. * */ - @SerializedName("active") + @SerializedName("reportPeriod") @Expose - public Long active; + public String reportPeriod; /** - * The Report Date. + * The Report Refresh Date. * */ - @SerializedName("reportDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Total. * */ - @SerializedName("reportPeriod") + @SerializedName("total") @Expose - public String reportPeriod; + public Long total; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityGroupCounts.java b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityGroupCounts.java index 2f8b0f21bfd..ea26c77711f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityGroupCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityGroupCounts.java @@ -27,44 +27,44 @@ public class Office365GroupsActivityGroupCounts extends Entity implements IJsonB /** - * The Report Refresh Date. + * The Active. * */ - @SerializedName("reportRefreshDate") + @SerializedName("active") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long active; /** - * The Total. + * The Report Date. * */ - @SerializedName("total") + @SerializedName("reportDate") @Expose - public Long total; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Active. + * The Report Period. * */ - @SerializedName("active") + @SerializedName("reportPeriod") @Expose - public Long active; + public String reportPeriod; /** - * The Report Date. + * The Report Refresh Date. * */ - @SerializedName("reportDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Total. * */ - @SerializedName("reportPeriod") + @SerializedName("total") @Expose - public String reportPeriod; + public Long total; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityStorage.java b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityStorage.java index 0884e2872ba..b35750a7b52 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityStorage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365GroupsActivityStorage.java @@ -27,44 +27,44 @@ public class Office365GroupsActivityStorage extends Entity implements IJsonBacke /** - * The Report Refresh Date. + * The Mailbox Storage Used In Bytes. * */ - @SerializedName("reportRefreshDate") + @SerializedName("mailboxStorageUsedInBytes") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long mailboxStorageUsedInBytes; /** - * The Mailbox Storage Used In Bytes. + * The Report Date. * */ - @SerializedName("mailboxStorageUsedInBytes") + @SerializedName("reportDate") @Expose - public Long mailboxStorageUsedInBytes; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Site Storage Used In Bytes. + * The Report Period. * */ - @SerializedName("siteStorageUsedInBytes") + @SerializedName("reportPeriod") @Expose - public Long siteStorageUsedInBytes; + public String reportPeriod; /** - * The Report Date. + * The Report Refresh Date. * */ - @SerializedName("reportDate") + @SerializedName("reportRefreshDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Period. + * The Site Storage Used In Bytes. * */ - @SerializedName("reportPeriod") + @SerializedName("siteStorageUsedInBytes") @Expose - public String reportPeriod; + public Long siteStorageUsedInBytes; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Office365ServicesUserCounts.java b/src/main/java/com/microsoft/graph/models/extensions/Office365ServicesUserCounts.java index 44a8337cac1..6fe25332086 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Office365ServicesUserCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Office365ServicesUserCounts.java @@ -26,14 +26,6 @@ public class Office365ServicesUserCounts extends Entity implements IJsonBackedObject { - /** - * The Report Refresh Date. - * - */ - @SerializedName("reportRefreshDate") - @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; - /** * The Exchange Active. * @@ -50,6 +42,22 @@ public class Office365ServicesUserCounts extends Entity implements IJsonBackedOb @Expose public Long exchangeInactive; + /** + * The Office365Active. + * + */ + @SerializedName("office365Active") + @Expose + public Long office365Active; + + /** + * The Office365Inactive. + * + */ + @SerializedName("office365Inactive") + @Expose + public Long office365Inactive; + /** * The One Drive Active. * @@ -66,6 +74,22 @@ public class Office365ServicesUserCounts extends Entity implements IJsonBackedOb @Expose public Long oneDriveInactive; + /** + * The Report Period. + * + */ + @SerializedName("reportPeriod") + @Expose + public String reportPeriod; + + /** + * The Report Refresh Date. + * + */ + @SerializedName("reportRefreshDate") + @Expose + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + /** * The Share Point Active. * @@ -98,22 +122,6 @@ public class Office365ServicesUserCounts extends Entity implements IJsonBackedOb @Expose public Long skypeForBusinessInactive; - /** - * The Yammer Active. - * - */ - @SerializedName("yammerActive") - @Expose - public Long yammerActive; - - /** - * The Yammer Inactive. - * - */ - @SerializedName("yammerInactive") - @Expose - public Long yammerInactive; - /** * The Teams Active. * @@ -131,28 +139,20 @@ public class Office365ServicesUserCounts extends Entity implements IJsonBackedOb public Long teamsInactive; /** - * The Office365Active. - * - */ - @SerializedName("office365Active") - @Expose - public Long office365Active; - - /** - * The Office365Inactive. + * The Yammer Active. * */ - @SerializedName("office365Inactive") + @SerializedName("yammerActive") @Expose - public Long office365Inactive; + public Long yammerActive; /** - * The Report Period. + * The Yammer Inactive. * */ - @SerializedName("reportPeriod") + @SerializedName("yammerInactive") @Expose - public String reportPeriod; + public Long yammerInactive; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OfficeClientCheckinStatus.java b/src/main/java/com/microsoft/graph/models/extensions/OfficeClientCheckinStatus.java index 42503c51c40..1ca4b98d4c3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OfficeClientCheckinStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OfficeClientCheckinStatus.java @@ -36,12 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The User Principal Name. + * The Applied Policies. * */ - @SerializedName("userPrincipalName") + @SerializedName("appliedPolicies") @Expose - public String userPrincipalName; + public java.util.List appliedPolicies; + + /** + * The Checkin Date Time. + * + */ + @SerializedName("checkinDateTime") + @Expose + public java.util.Calendar checkinDateTime; /** * The Device Name. @@ -68,12 +76,12 @@ public final AdditionalDataManager additionalDataManager() { public String devicePlatformVersion; /** - * The Was Successful. + * The Error Message. * */ - @SerializedName("wasSuccessful") + @SerializedName("errorMessage") @Expose - public Boolean wasSuccessful; + public String errorMessage; /** * The User Id. @@ -84,28 +92,20 @@ public final AdditionalDataManager additionalDataManager() { public String userId; /** - * The Checkin Date Time. - * - */ - @SerializedName("checkinDateTime") - @Expose - public java.util.Calendar checkinDateTime; - - /** - * The Error Message. + * The User Principal Name. * */ - @SerializedName("errorMessage") + @SerializedName("userPrincipalName") @Expose - public String errorMessage; + public String userPrincipalName; /** - * The Applied Policies. + * The Was Successful. * */ - @SerializedName("appliedPolicies") + @SerializedName("wasSuccessful") @Expose - public java.util.List appliedPolicies; + public Boolean wasSuccessful; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OfficeClientConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/OfficeClientConfiguration.java index 3f4d78389c9..990fa1d9da0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OfficeClientConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OfficeClientConfiguration.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OfficeUserCheckinSummary; import com.microsoft.graph.models.extensions.OfficeClientCheckinStatus; +import com.microsoft.graph.models.extensions.OfficeUserCheckinSummary; import com.microsoft.graph.models.extensions.OfficeClientConfigurationAssignment; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.OfficeClientConfigurationAssignmentCollectionResponse; @@ -31,6 +31,14 @@ public class OfficeClientConfiguration extends Entity implements IJsonBackedObject { + /** + * The Checkin Statuses. + * + */ + @SerializedName("checkinStatuses") + @Expose + public java.util.List checkinStatuses; + /** * The Description. * @@ -63,14 +71,6 @@ public class OfficeClientConfiguration extends Entity implements IJsonBackedObje @Expose public OfficeUserCheckinSummary userCheckinSummary; - /** - * The Checkin Statuses. - * - */ - @SerializedName("checkinStatuses") - @Expose - public java.util.List checkinStatuses; - /** * The Assignments. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java b/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java index e10fc01d805..6248dac666b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OfficeGraphInsights.java @@ -8,14 +8,14 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Trending; import com.microsoft.graph.models.extensions.SharedInsight; +import com.microsoft.graph.models.extensions.Trending; import com.microsoft.graph.models.extensions.UsedInsight; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.TrendingCollectionResponse; -import com.microsoft.graph.requests.extensions.TrendingCollectionPage; import com.microsoft.graph.requests.extensions.SharedInsightCollectionResponse; import com.microsoft.graph.requests.extensions.SharedInsightCollectionPage; +import com.microsoft.graph.requests.extensions.TrendingCollectionResponse; +import com.microsoft.graph.requests.extensions.TrendingCollectionPage; import com.microsoft.graph.requests.extensions.UsedInsightCollectionResponse; import com.microsoft.graph.requests.extensions.UsedInsightCollectionPage; @@ -35,18 +35,18 @@ public class OfficeGraphInsights extends Entity implements IJsonBackedObject { - /** - * The Trending. - * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. - */ - public TrendingCollectionPage trending; - /** * The Shared. * Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. */ public SharedInsightCollectionPage shared; + /** + * The Trending. + * Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. + */ + public TrendingCollectionPage trending; + /** * The Used. * Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. @@ -93,22 +93,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("trending")) { - final TrendingCollectionResponse response = new TrendingCollectionResponse(); - if (json.has("trending@odata.nextLink")) { - response.nextLink = json.get("trending@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("trending").toString(), JsonObject[].class); - final Trending[] array = new Trending[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Trending.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - trending = new TrendingCollectionPage(response, null); - } - if (json.has("shared")) { final SharedInsightCollectionResponse response = new SharedInsightCollectionResponse(); if (json.has("shared@odata.nextLink")) { @@ -125,6 +109,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { shared = new SharedInsightCollectionPage(response, null); } + if (json.has("trending")) { + final TrendingCollectionResponse response = new TrendingCollectionResponse(); + if (json.has("trending@odata.nextLink")) { + response.nextLink = json.get("trending@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("trending").toString(), JsonObject[].class); + final Trending[] array = new Trending[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Trending.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + trending = new TrendingCollectionPage(response, null); + } + if (json.has("used")) { final UsedInsightCollectionResponse response = new UsedInsightCollectionResponse(); if (json.has("used@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/OfficeSuiteApp.java b/src/main/java/com/microsoft/graph/models/extensions/OfficeSuiteApp.java index 4a9787f34ef..e9ed90ba006 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OfficeSuiteApp.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OfficeSuiteApp.java @@ -8,11 +8,11 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.OfficeProductId; import com.microsoft.graph.models.extensions.ExcludedApps; -import com.microsoft.graph.models.generated.OfficeUpdateChannel; -import com.microsoft.graph.models.generated.WindowsArchitecture; import com.microsoft.graph.models.generated.OfficeSuiteInstallProgressDisplayLevel; +import com.microsoft.graph.models.generated.WindowsArchitecture; +import com.microsoft.graph.models.generated.OfficeProductId; +import com.microsoft.graph.models.generated.OfficeUpdateChannel; import com.microsoft.graph.models.extensions.MobileApp; @@ -39,14 +39,6 @@ public class OfficeSuiteApp extends MobileApp implements IJsonBackedObject { @Expose public Boolean autoAcceptEula; - /** - * The Product Ids. - * The Product Ids that represent the Office365 Suite SKU. - */ - @SerializedName("productIds") - @Expose - public java.util.List productIds; - /** * The Excluded Apps. * The property to represent the apps which are excluded from the selected Office365 Product Id. @@ -56,44 +48,44 @@ public class OfficeSuiteApp extends MobileApp implements IJsonBackedObject { public ExcludedApps excludedApps; /** - * The Use Shared Computer Activation. - * The property to represent that whether the shared computer activation is used not for Office365 app suite. + * The Install Progress Display Level. + * To specify the level of display for the Installation Progress Setup UI on the Device. */ - @SerializedName("useSharedComputerActivation") + @SerializedName("installProgressDisplayLevel") @Expose - public Boolean useSharedComputerActivation; + public OfficeSuiteInstallProgressDisplayLevel installProgressDisplayLevel; /** - * The Update Channel. - * The property to represent the Office365 Update Channel. + * The Locales To Install. + * The property to represent the locales which are installed when the apps from Office365 is installed. It uses standard RFC 6033. Ref: https://technet.microsoft.com/en-us/library/cc179219(v=office.16).aspx */ - @SerializedName("updateChannel") + @SerializedName("localesToInstall") @Expose - public OfficeUpdateChannel updateChannel; + public java.util.List localesToInstall; /** - * The Office Platform Architecture. - * The property to represent the Office365 app suite version. + * The Office Configuration Xml. + * The property to represent the XML configuration file that can be specified for Office ProPlus Apps. Takes precedence over all other properties. When present, the XML configuration file will be used to create the app. */ - @SerializedName("officePlatformArchitecture") + @SerializedName("officeConfigurationXml") @Expose - public EnumSet officePlatformArchitecture; + public byte[] officeConfigurationXml; /** - * The Locales To Install. - * The property to represent the locales which are installed when the apps from Office365 is installed. It uses standard RFC 6033. Ref: https://technet.microsoft.com/en-us/library/cc179219(v=office.16).aspx + * The Office Platform Architecture. + * The property to represent the Office365 app suite version. */ - @SerializedName("localesToInstall") + @SerializedName("officePlatformArchitecture") @Expose - public java.util.List localesToInstall; + public EnumSet officePlatformArchitecture; /** - * The Install Progress Display Level. - * To specify the level of display for the Installation Progress Setup UI on the Device. + * The Product Ids. + * The Product Ids that represent the Office365 Suite SKU. */ - @SerializedName("installProgressDisplayLevel") + @SerializedName("productIds") @Expose - public OfficeSuiteInstallProgressDisplayLevel installProgressDisplayLevel; + public java.util.List productIds; /** * The Should Uninstall Older Versions Of Office. @@ -111,6 +103,14 @@ public class OfficeSuiteApp extends MobileApp implements IJsonBackedObject { @Expose public String targetVersion; + /** + * The Update Channel. + * The property to represent the Office365 Update Channel. + */ + @SerializedName("updateChannel") + @Expose + public OfficeUpdateChannel updateChannel; + /** * The Update Version. * The property to represent the update version in which the specific target version is available for the Office365 app suite. @@ -120,12 +120,12 @@ public class OfficeSuiteApp extends MobileApp implements IJsonBackedObject { public String updateVersion; /** - * The Office Configuration Xml. - * The property to represent the XML configuration file that can be specified for Office ProPlus Apps. Takes precedence over all other properties. When present, the XML configuration file will be used to create the app. + * The Use Shared Computer Activation. + * The property to represent that whether the shared computer activation is used not for Office365 app suite. */ - @SerializedName("officeConfigurationXml") + @SerializedName("useSharedComputerActivation") @Expose - public byte[] officeConfigurationXml; + public Boolean useSharedComputerActivation; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OfficeUserCheckinSummary.java b/src/main/java/com/microsoft/graph/models/extensions/OfficeUserCheckinSummary.java index 8136cb2aa23..b8e2247bc44 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OfficeUserCheckinSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OfficeUserCheckinSummary.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Succeeded User Count. + * The Failed User Count. * */ - @SerializedName("succeededUserCount") + @SerializedName("failedUserCount") @Expose - public Integer succeededUserCount; + public Integer failedUserCount; /** - * The Failed User Count. + * The Succeeded User Count. * */ - @SerializedName("failedUserCount") + @SerializedName("succeededUserCount") @Expose - public Integer failedUserCount; + public Integer succeededUserCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java index 25ae1e241b9..661dd04604d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSetting.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Display Name. - * Display Name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * Description. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String description; + /** + * The Display Name. + * Display Name. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Oma Uri. * OMA. diff --git a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java index 3b17b7906da..2374699e5d9 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OmaSettingInteger.java @@ -26,14 +26,6 @@ public class OmaSettingInteger extends OmaSetting implements IJsonBackedObject { - /** - * The Value. - * Value. - */ - @SerializedName("value") - @Expose - public Integer value; - /** * The Is Read Only. * By setting to true, the CSP (configuration service provider) specified in the OMA-URI will perform a get, instead of set @@ -42,6 +34,14 @@ public class OmaSettingInteger extends OmaSetting implements IJsonBackedObject { @Expose public Boolean isReadOnly; + /** + * The Value. + * Value. + */ + @SerializedName("value") + @Expose + public Integer value; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgent.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgent.java index b1e02daa39f..61d316f3074 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgent.java @@ -32,20 +32,20 @@ public class OnPremisesAgent extends Entity implements IJsonBackedObject { /** - * The Machine Name. + * The External Ip. * */ - @SerializedName("machineName") + @SerializedName("externalIp") @Expose - public String machineName; + public String externalIp; /** - * The External Ip. + * The Machine Name. * */ - @SerializedName("externalIp") + @SerializedName("machineName") @Expose - public String externalIp; + public String machineName; /** * The Status. diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgentGroup.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgentGroup.java index f1f356e0e81..e9cb45e339a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgentGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesAgentGroup.java @@ -42,20 +42,20 @@ public class OnPremisesAgentGroup extends Entity implements IJsonBackedObject { public String displayName; /** - * The Publishing Type. + * The Is Default. * */ - @SerializedName("publishingType") + @SerializedName("isDefault") @Expose - public OnPremisesPublishingType publishingType; + public Boolean isDefault; /** - * The Is Default. + * The Publishing Type. * */ - @SerializedName("isDefault") + @SerializedName("publishingType") @Expose - public Boolean isDefault; + public OnPremisesPublishingType publishingType; /** * The Agents. diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java index 64e6759cace..f46846ab105 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesConditionalAccessSettings.java @@ -34,14 +34,6 @@ public class OnPremisesConditionalAccessSettings extends Entity implements IJson @Expose public Boolean enabled; - /** - * The Included Groups. - * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. - */ - @SerializedName("includedGroups") - @Expose - public java.util.List includedGroups; - /** * The Excluded Groups. * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. @@ -50,6 +42,14 @@ public class OnPremisesConditionalAccessSettings extends Entity implements IJson @Expose public java.util.List excludedGroups; + /** + * The Included Groups. + * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. + */ + @SerializedName("includedGroups") + @Expose + public java.util.List includedGroups; + /** * The Override Default Rule. * Override the default access rule when allowing a device to ensure access is granted. diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java index 7999eedb9e7..2c35f71a9d5 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesExtensionAttributes.java @@ -43,6 +43,54 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String extensionAttribute1; + /** + * The Extension Attribute10. + * Tenth customizable extension attribute. + */ + @SerializedName("extensionAttribute10") + @Expose + public String extensionAttribute10; + + /** + * The Extension Attribute11. + * Eleventh customizable extension attribute. + */ + @SerializedName("extensionAttribute11") + @Expose + public String extensionAttribute11; + + /** + * The Extension Attribute12. + * Twelfth customizable extension attribute. + */ + @SerializedName("extensionAttribute12") + @Expose + public String extensionAttribute12; + + /** + * The Extension Attribute13. + * Thirteenth customizable extension attribute. + */ + @SerializedName("extensionAttribute13") + @Expose + public String extensionAttribute13; + + /** + * The Extension Attribute14. + * Fourteenth customizable extension attribute. + */ + @SerializedName("extensionAttribute14") + @Expose + public String extensionAttribute14; + + /** + * The Extension Attribute15. + * Fifteenth customizable extension attribute. + */ + @SerializedName("extensionAttribute15") + @Expose + public String extensionAttribute15; + /** * The Extension Attribute2. * Second customizable extension attribute. @@ -107,54 +155,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String extensionAttribute9; - /** - * The Extension Attribute10. - * Tenth customizable extension attribute. - */ - @SerializedName("extensionAttribute10") - @Expose - public String extensionAttribute10; - - /** - * The Extension Attribute11. - * Eleventh customizable extension attribute. - */ - @SerializedName("extensionAttribute11") - @Expose - public String extensionAttribute11; - - /** - * The Extension Attribute12. - * Twelfth customizable extension attribute. - */ - @SerializedName("extensionAttribute12") - @Expose - public String extensionAttribute12; - - /** - * The Extension Attribute13. - * Thirteenth customizable extension attribute. - */ - @SerializedName("extensionAttribute13") - @Expose - public String extensionAttribute13; - - /** - * The Extension Attribute14. - * Fourteenth customizable extension attribute. - */ - @SerializedName("extensionAttribute14") - @Expose - public String extensionAttribute14; - - /** - * The Extension Attribute15. - * Fifteenth customizable extension attribute. - */ - @SerializedName("extensionAttribute15") - @Expose - public String extensionAttribute15; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java index 25d3b219244..128c32be4e6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesProvisioningError.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Value. - * Value of the property causing the error. - */ - @SerializedName("value") - @Expose - public String value; - /** * The Category. * Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property. @@ -51,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String category; + /** + * The Occurred Date Time. + * The date and time at which the error occurred. + */ + @SerializedName("occurredDateTime") + @Expose + public java.util.Calendar occurredDateTime; + /** * The Property Causing Error. * Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public String propertyCausingError; /** - * The Occurred Date Time. - * The date and time at which the error occurred. + * The Value. + * Value of the property causing the error. */ - @SerializedName("occurredDateTime") + @SerializedName("value") @Expose - public java.util.Calendar occurredDateTime; + public String value; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishing.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishing.java index c24249b1adb..d5648982475 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishing.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishing.java @@ -9,10 +9,10 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.generated.ExternalAuthenticationType; +import com.microsoft.graph.models.extensions.OnPremisesPublishingSingleSignOn; +import com.microsoft.graph.models.extensions.VerifiedCustomDomainCertificatesMetadata; import com.microsoft.graph.models.extensions.KeyCredential; import com.microsoft.graph.models.extensions.PasswordCredential; -import com.microsoft.graph.models.extensions.VerifiedCustomDomainCertificatesMetadata; -import com.microsoft.graph.models.extensions.OnPremisesPublishingSingleSignOn; import com.google.gson.JsonObject; @@ -41,140 +41,140 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The External Url. + * The Alternate Url. * */ - @SerializedName("externalUrl") + @SerializedName("alternateUrl") @Expose - public String externalUrl; + public String alternateUrl; /** - * The Internal Url. + * The Application Server Timeout. * */ - @SerializedName("internalUrl") + @SerializedName("applicationServerTimeout") @Expose - public String internalUrl; + public String applicationServerTimeout; /** - * The External Authentication Type. + * The Application Type. * */ - @SerializedName("externalAuthenticationType") + @SerializedName("applicationType") @Expose - public ExternalAuthenticationType externalAuthenticationType; + public String applicationType; /** - * The Is Translate Host Header Enabled. + * The External Authentication Type. * */ - @SerializedName("isTranslateHostHeaderEnabled") + @SerializedName("externalAuthenticationType") @Expose - public Boolean isTranslateHostHeaderEnabled; + public ExternalAuthenticationType externalAuthenticationType; /** - * The Is Translate Links In Body Enabled. + * The External Url. * */ - @SerializedName("isTranslateLinksInBodyEnabled") + @SerializedName("externalUrl") @Expose - public Boolean isTranslateLinksInBodyEnabled; + public String externalUrl; /** - * The Is On Prem Publishing Enabled. + * The Internal Url. * */ - @SerializedName("isOnPremPublishingEnabled") + @SerializedName("internalUrl") @Expose - public Boolean isOnPremPublishingEnabled; + public String internalUrl; /** - * The Application Server Timeout. + * The Is Http Only Cookie Enabled. * */ - @SerializedName("applicationServerTimeout") + @SerializedName("isHttpOnlyCookieEnabled") @Expose - public String applicationServerTimeout; + public Boolean isHttpOnlyCookieEnabled; /** - * The Verified Custom Domain Key Credential. + * The Is On Prem Publishing Enabled. * */ - @SerializedName("verifiedCustomDomainKeyCredential") + @SerializedName("isOnPremPublishingEnabled") @Expose - public KeyCredential verifiedCustomDomainKeyCredential; + public Boolean isOnPremPublishingEnabled; /** - * The Verified Custom Domain Password Credential. + * The Is Persistent Cookie Enabled. * */ - @SerializedName("verifiedCustomDomainPasswordCredential") + @SerializedName("isPersistentCookieEnabled") @Expose - public PasswordCredential verifiedCustomDomainPasswordCredential; + public Boolean isPersistentCookieEnabled; /** - * The Verified Custom Domain Certificates Metadata. + * The Is Secure Cookie Enabled. * */ - @SerializedName("verifiedCustomDomainCertificatesMetadata") + @SerializedName("isSecureCookieEnabled") @Expose - public VerifiedCustomDomainCertificatesMetadata verifiedCustomDomainCertificatesMetadata; + public Boolean isSecureCookieEnabled; /** - * The Single Sign On Settings. + * The Is Translate Host Header Enabled. * */ - @SerializedName("singleSignOnSettings") + @SerializedName("isTranslateHostHeaderEnabled") @Expose - public OnPremisesPublishingSingleSignOn singleSignOnSettings; + public Boolean isTranslateHostHeaderEnabled; /** - * The Application Type. + * The Is Translate Links In Body Enabled. * */ - @SerializedName("applicationType") + @SerializedName("isTranslateLinksInBodyEnabled") @Expose - public String applicationType; + public Boolean isTranslateLinksInBodyEnabled; /** - * The Is Http Only Cookie Enabled. + * The Single Sign On Settings. * */ - @SerializedName("isHttpOnlyCookieEnabled") + @SerializedName("singleSignOnSettings") @Expose - public Boolean isHttpOnlyCookieEnabled; + public OnPremisesPublishingSingleSignOn singleSignOnSettings; /** - * The Is Secure Cookie Enabled. + * The Use Alternate Url For Translation And Redirect. * */ - @SerializedName("isSecureCookieEnabled") + @SerializedName("useAlternateUrlForTranslationAndRedirect") @Expose - public Boolean isSecureCookieEnabled; + public Boolean useAlternateUrlForTranslationAndRedirect; /** - * The Is Persistent Cookie Enabled. + * The Verified Custom Domain Certificates Metadata. * */ - @SerializedName("isPersistentCookieEnabled") + @SerializedName("verifiedCustomDomainCertificatesMetadata") @Expose - public Boolean isPersistentCookieEnabled; + public VerifiedCustomDomainCertificatesMetadata verifiedCustomDomainCertificatesMetadata; /** - * The Alternate Url. + * The Verified Custom Domain Key Credential. * */ - @SerializedName("alternateUrl") + @SerializedName("verifiedCustomDomainKeyCredential") @Expose - public String alternateUrl; + public KeyCredential verifiedCustomDomainKeyCredential; /** - * The Use Alternate Url For Translation And Redirect. + * The Verified Custom Domain Password Credential. * */ - @SerializedName("useAlternateUrlForTranslationAndRedirect") + @SerializedName("verifiedCustomDomainPasswordCredential") @Expose - public Boolean useAlternateUrlForTranslationAndRedirect; + public PasswordCredential verifiedCustomDomainPasswordCredential; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingProfile.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingProfile.java index 1913be850c7..45d2839b83e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingProfile.java @@ -9,22 +9,22 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.HybridAgentUpdaterConfiguration; -import com.microsoft.graph.models.extensions.OnPremisesAgent; import com.microsoft.graph.models.extensions.OnPremisesAgentGroup; -import com.microsoft.graph.models.extensions.PublishedResource; -import com.microsoft.graph.models.extensions.Connector; +import com.microsoft.graph.models.extensions.OnPremisesAgent; import com.microsoft.graph.models.extensions.ConnectorGroup; +import com.microsoft.graph.models.extensions.Connector; +import com.microsoft.graph.models.extensions.PublishedResource; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.OnPremisesAgentCollectionResponse; -import com.microsoft.graph.requests.extensions.OnPremisesAgentCollectionPage; import com.microsoft.graph.requests.extensions.OnPremisesAgentGroupCollectionResponse; import com.microsoft.graph.requests.extensions.OnPremisesAgentGroupCollectionPage; -import com.microsoft.graph.requests.extensions.PublishedResourceCollectionResponse; -import com.microsoft.graph.requests.extensions.PublishedResourceCollectionPage; -import com.microsoft.graph.requests.extensions.ConnectorCollectionResponse; -import com.microsoft.graph.requests.extensions.ConnectorCollectionPage; +import com.microsoft.graph.requests.extensions.OnPremisesAgentCollectionResponse; +import com.microsoft.graph.requests.extensions.OnPremisesAgentCollectionPage; import com.microsoft.graph.requests.extensions.ConnectorGroupCollectionResponse; import com.microsoft.graph.requests.extensions.ConnectorGroupCollectionPage; +import com.microsoft.graph.requests.extensions.ConnectorCollectionResponse; +import com.microsoft.graph.requests.extensions.ConnectorCollectionPage; +import com.microsoft.graph.requests.extensions.PublishedResourceCollectionResponse; +import com.microsoft.graph.requests.extensions.PublishedResourceCollectionPage; import com.google.gson.JsonObject; @@ -42,14 +42,6 @@ public class OnPremisesPublishingProfile extends Entity implements IJsonBackedObject { - /** - * The Is Enabled. - * - */ - @SerializedName("isEnabled") - @Expose - public Boolean isEnabled; - /** * The Hybrid Agent Updater Configuration. * @@ -59,10 +51,12 @@ public class OnPremisesPublishingProfile extends Entity implements IJsonBackedOb public HybridAgentUpdaterConfiguration hybridAgentUpdaterConfiguration; /** - * The Agents. + * The Is Enabled. * */ - public OnPremisesAgentCollectionPage agents; + @SerializedName("isEnabled") + @Expose + public Boolean isEnabled; /** * The Agent Groups. @@ -71,10 +65,16 @@ public class OnPremisesPublishingProfile extends Entity implements IJsonBackedOb public OnPremisesAgentGroupCollectionPage agentGroups; /** - * The Published Resources. + * The Agents. * */ - public PublishedResourceCollectionPage publishedResources; + public OnPremisesAgentCollectionPage agents; + + /** + * The Connector Groups. + * + */ + public ConnectorGroupCollectionPage connectorGroups; /** * The Connectors. @@ -83,10 +83,10 @@ public class OnPremisesPublishingProfile extends Entity implements IJsonBackedOb public ConnectorCollectionPage connectors; /** - * The Connector Groups. + * The Published Resources. * */ - public ConnectorGroupCollectionPage connectorGroups; + public PublishedResourceCollectionPage publishedResources; /** @@ -128,22 +128,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("agents")) { - final OnPremisesAgentCollectionResponse response = new OnPremisesAgentCollectionResponse(); - if (json.has("agents@odata.nextLink")) { - response.nextLink = json.get("agents@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("agents").toString(), JsonObject[].class); - final OnPremisesAgent[] array = new OnPremisesAgent[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnPremisesAgent.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - agents = new OnPremisesAgentCollectionPage(response, null); - } - if (json.has("agentGroups")) { final OnPremisesAgentGroupCollectionResponse response = new OnPremisesAgentGroupCollectionResponse(); if (json.has("agentGroups@odata.nextLink")) { @@ -160,20 +144,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { agentGroups = new OnPremisesAgentGroupCollectionPage(response, null); } - if (json.has("publishedResources")) { - final PublishedResourceCollectionResponse response = new PublishedResourceCollectionResponse(); - if (json.has("publishedResources@odata.nextLink")) { - response.nextLink = json.get("publishedResources@odata.nextLink").getAsString(); + if (json.has("agents")) { + final OnPremisesAgentCollectionResponse response = new OnPremisesAgentCollectionResponse(); + if (json.has("agents@odata.nextLink")) { + response.nextLink = json.get("agents@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("publishedResources").toString(), JsonObject[].class); - final PublishedResource[] array = new PublishedResource[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("agents").toString(), JsonObject[].class); + final OnPremisesAgent[] array = new OnPremisesAgent[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PublishedResource.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnPremisesAgent.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - publishedResources = new PublishedResourceCollectionPage(response, null); + agents = new OnPremisesAgentCollectionPage(response, null); + } + + if (json.has("connectorGroups")) { + final ConnectorGroupCollectionResponse response = new ConnectorGroupCollectionResponse(); + if (json.has("connectorGroups@odata.nextLink")) { + response.nextLink = json.get("connectorGroups@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("connectorGroups").toString(), JsonObject[].class); + final ConnectorGroup[] array = new ConnectorGroup[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConnectorGroup.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + connectorGroups = new ConnectorGroupCollectionPage(response, null); } if (json.has("connectors")) { @@ -192,20 +192,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { connectors = new ConnectorCollectionPage(response, null); } - if (json.has("connectorGroups")) { - final ConnectorGroupCollectionResponse response = new ConnectorGroupCollectionResponse(); - if (json.has("connectorGroups@odata.nextLink")) { - response.nextLink = json.get("connectorGroups@odata.nextLink").getAsString(); + if (json.has("publishedResources")) { + final PublishedResourceCollectionResponse response = new PublishedResourceCollectionResponse(); + if (json.has("publishedResources@odata.nextLink")) { + response.nextLink = json.get("publishedResources@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("connectorGroups").toString(), JsonObject[].class); - final ConnectorGroup[] array = new ConnectorGroup[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("publishedResources").toString(), JsonObject[].class); + final PublishedResource[] array = new PublishedResource[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), ConnectorGroup.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PublishedResource.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - connectorGroups = new ConnectorGroupCollectionPage(response, null); + publishedResources = new PublishedResourceCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingSingleSignOn.java b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingSingleSignOn.java index 4009e4e6359..1b612034e4d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingSingleSignOn.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnPremisesPublishingSingleSignOn.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.SingleSignOnMode; import com.microsoft.graph.models.extensions.KerberosSignOnSettings; +import com.microsoft.graph.models.generated.SingleSignOnMode; import com.google.gson.JsonObject; @@ -38,20 +38,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Single Sign On Mode. + * The Kerberos Sign On Settings. * */ - @SerializedName("SingleSignOnMode") + @SerializedName("KerberosSignOnSettings") @Expose - public SingleSignOnMode singleSignOnMode; + public KerberosSignOnSettings kerberosSignOnSettings; /** - * The Kerberos Sign On Settings. + * The Single Sign On Mode. * */ - @SerializedName("KerberosSignOnSettings") + @SerializedName("SingleSignOnMode") @Expose - public KerberosSignOnSettings kerberosSignOnSettings; + public SingleSignOnMode singleSignOnMode; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OneDriveActivityUserDetail.java b/src/main/java/com/microsoft/graph/models/extensions/OneDriveActivityUserDetail.java index ded706a24c5..7fadc69997b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OneDriveActivityUserDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OneDriveActivityUserDetail.java @@ -27,20 +27,20 @@ public class OneDriveActivityUserDetail extends Entity implements IJsonBackedObj /** - * The Report Refresh Date. + * The Assigned Products. * */ - @SerializedName("reportRefreshDate") + @SerializedName("assignedProducts") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public java.util.List assignedProducts; /** - * The User Principal Name. + * The Deleted Date. * */ - @SerializedName("userPrincipalName") + @SerializedName("deletedDate") @Expose - public String userPrincipalName; + public com.microsoft.graph.models.extensions.DateOnly deletedDate; /** * The Is Deleted. @@ -51,36 +51,36 @@ public class OneDriveActivityUserDetail extends Entity implements IJsonBackedObj public Boolean isDeleted; /** - * The Deleted Date. + * The Last Activity Date. * */ - @SerializedName("deletedDate") + @SerializedName("lastActivityDate") @Expose - public com.microsoft.graph.models.extensions.DateOnly deletedDate; + public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; /** - * The Last Activity Date. + * The Report Period. * */ - @SerializedName("lastActivityDate") + @SerializedName("reportPeriod") @Expose - public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; + public String reportPeriod; /** - * The Viewed Or Edited File Count. + * The Report Refresh Date. * */ - @SerializedName("viewedOrEditedFileCount") + @SerializedName("reportRefreshDate") @Expose - public Long viewedOrEditedFileCount; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Synced File Count. + * The Shared Externally File Count. * */ - @SerializedName("syncedFileCount") + @SerializedName("sharedExternallyFileCount") @Expose - public Long syncedFileCount; + public Long sharedExternallyFileCount; /** * The Shared Internally File Count. @@ -91,28 +91,28 @@ public class OneDriveActivityUserDetail extends Entity implements IJsonBackedObj public Long sharedInternallyFileCount; /** - * The Shared Externally File Count. + * The Synced File Count. * */ - @SerializedName("sharedExternallyFileCount") + @SerializedName("syncedFileCount") @Expose - public Long sharedExternallyFileCount; + public Long syncedFileCount; /** - * The Assigned Products. + * The User Principal Name. * */ - @SerializedName("assignedProducts") + @SerializedName("userPrincipalName") @Expose - public java.util.List assignedProducts; + public String userPrincipalName; /** - * The Report Period. + * The Viewed Or Edited File Count. * */ - @SerializedName("reportPeriod") + @SerializedName("viewedOrEditedFileCount") @Expose - public String reportPeriod; + public Long viewedOrEditedFileCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountCounts.java b/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountCounts.java index f1b112369cd..7a09416b585 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountCounts.java @@ -27,52 +27,52 @@ public class OneDriveUsageAccountCounts extends Entity implements IJsonBackedObj /** - * The Report Refresh Date. + * The Active. * */ - @SerializedName("reportRefreshDate") + @SerializedName("active") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long active; /** - * The Site Type. + * The Report Date. * */ - @SerializedName("siteType") + @SerializedName("reportDate") @Expose - public String siteType; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Total. + * The Report Period. * */ - @SerializedName("total") + @SerializedName("reportPeriod") @Expose - public Long total; + public String reportPeriod; /** - * The Active. + * The Report Refresh Date. * */ - @SerializedName("active") + @SerializedName("reportRefreshDate") @Expose - public Long active; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Date. + * The Site Type. * */ - @SerializedName("reportDate") + @SerializedName("siteType") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public String siteType; /** - * The Report Period. + * The Total. * */ - @SerializedName("reportPeriod") + @SerializedName("total") @Expose - public String reportPeriod; + public Long total; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountDetail.java b/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountDetail.java index f8c2e982bbf..f49566aa775 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountDetail.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageAccountDetail.java @@ -27,76 +27,76 @@ public class OneDriveUsageAccountDetail extends Entity implements IJsonBackedObj /** - * The Report Refresh Date. + * The Active File Count. * */ - @SerializedName("reportRefreshDate") + @SerializedName("activeFileCount") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long activeFileCount; /** - * The Site Url. + * The File Count. * */ - @SerializedName("siteUrl") + @SerializedName("fileCount") @Expose - public String siteUrl; + public Long fileCount; /** - * The Owner Display Name. + * The Is Deleted. * */ - @SerializedName("ownerDisplayName") + @SerializedName("isDeleted") @Expose - public String ownerDisplayName; + public Boolean isDeleted; /** - * The Owner Principal Name. + * The Last Activity Date. * */ - @SerializedName("ownerPrincipalName") + @SerializedName("lastActivityDate") @Expose - public String ownerPrincipalName; + public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; /** - * The Is Deleted. + * The Owner Display Name. * */ - @SerializedName("isDeleted") + @SerializedName("ownerDisplayName") @Expose - public Boolean isDeleted; + public String ownerDisplayName; /** - * The Last Activity Date. + * The Owner Principal Name. * */ - @SerializedName("lastActivityDate") + @SerializedName("ownerPrincipalName") @Expose - public com.microsoft.graph.models.extensions.DateOnly lastActivityDate; + public String ownerPrincipalName; /** - * The File Count. + * The Report Period. * */ - @SerializedName("fileCount") + @SerializedName("reportPeriod") @Expose - public Long fileCount; + public String reportPeriod; /** - * The Active File Count. + * The Report Refresh Date. * */ - @SerializedName("activeFileCount") + @SerializedName("reportRefreshDate") @Expose - public Long activeFileCount; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Storage Used In Bytes. + * The Site Url. * */ - @SerializedName("storageUsedInBytes") + @SerializedName("siteUrl") @Expose - public Long storageUsedInBytes; + public String siteUrl; /** * The Storage Allocated In Bytes. @@ -107,12 +107,12 @@ public class OneDriveUsageAccountDetail extends Entity implements IJsonBackedObj public Long storageAllocatedInBytes; /** - * The Report Period. + * The Storage Used In Bytes. * */ - @SerializedName("reportPeriod") + @SerializedName("storageUsedInBytes") @Expose - public String reportPeriod; + public Long storageUsedInBytes; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageFileCounts.java b/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageFileCounts.java index 4da232fb8bf..dcf34476d12 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageFileCounts.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OneDriveUsageFileCounts.java @@ -27,52 +27,52 @@ public class OneDriveUsageFileCounts extends Entity implements IJsonBackedObject /** - * The Report Refresh Date. + * The Active. * */ - @SerializedName("reportRefreshDate") + @SerializedName("active") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; + public Long active; /** - * The Site Type. + * The Report Date. * */ - @SerializedName("siteType") + @SerializedName("reportDate") @Expose - public String siteType; + public com.microsoft.graph.models.extensions.DateOnly reportDate; /** - * The Total. + * The Report Period. * */ - @SerializedName("total") + @SerializedName("reportPeriod") @Expose - public Long total; + public String reportPeriod; /** - * The Active. + * The Report Refresh Date. * */ - @SerializedName("active") + @SerializedName("reportRefreshDate") @Expose - public Long active; + public com.microsoft.graph.models.extensions.DateOnly reportRefreshDate; /** - * The Report Date. + * The Site Type. * */ - @SerializedName("reportDate") + @SerializedName("siteType") @Expose - public com.microsoft.graph.models.extensions.DateOnly reportDate; + public String siteType; /** - * The Report Period. + * The Total. * */ - @SerializedName("reportPeriod") + @SerializedName("total") @Expose - public String reportPeriod; + public Long total; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Onenote.java b/src/main/java/com/microsoft/graph/models/extensions/Onenote.java index 0d8c7875fb7..d2fe1833828 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Onenote.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Onenote.java @@ -9,24 +9,24 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.Notebook; -import com.microsoft.graph.models.extensions.OnenoteSection; -import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.models.extensions.OnenoteOperation; import com.microsoft.graph.models.extensions.OnenotePage; import com.microsoft.graph.models.extensions.OnenoteResource; -import com.microsoft.graph.models.extensions.OnenoteOperation; +import com.microsoft.graph.models.extensions.SectionGroup; +import com.microsoft.graph.models.extensions.OnenoteSection; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.NotebookCollectionResponse; import com.microsoft.graph.requests.extensions.NotebookCollectionPage; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; +import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionPage; import com.microsoft.graph.requests.extensions.OnenotePageCollectionResponse; import com.microsoft.graph.requests.extensions.OnenotePageCollectionPage; import com.microsoft.graph.requests.extensions.OnenoteResourceCollectionResponse; import com.microsoft.graph.requests.extensions.OnenoteResourceCollectionPage; -import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.OnenoteOperationCollectionPage; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.SectionGroupCollectionPage; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionResponse; +import com.microsoft.graph.requests.extensions.OnenoteSectionCollectionPage; import com.google.gson.JsonObject; @@ -51,16 +51,10 @@ public class Onenote extends Entity implements IJsonBackedObject { public NotebookCollectionPage notebooks; /** - * The Sections. - * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. - */ - public OnenoteSectionCollectionPage sections; - - /** - * The Section Groups. - * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * The Operations. + * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. */ - public SectionGroupCollectionPage sectionGroups; + public OnenoteOperationCollectionPage operations; /** * The Pages. @@ -75,10 +69,16 @@ public class Onenote extends Entity implements IJsonBackedObject { public OnenoteResourceCollectionPage resources; /** - * The Operations. - * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * The Section Groups. + * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. */ - public OnenoteOperationCollectionPage operations; + public SectionGroupCollectionPage sectionGroups; + + /** + * The Sections. + * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + */ + public OnenoteSectionCollectionPage sections; /** @@ -136,36 +136,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { notebooks = new NotebookCollectionPage(response, null); } - if (json.has("sections")) { - final OnenoteSectionCollectionResponse response = new OnenoteSectionCollectionResponse(); - if (json.has("sections@odata.nextLink")) { - response.nextLink = json.get("sections@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); - final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - sections = new OnenoteSectionCollectionPage(response, null); - } - - if (json.has("sectionGroups")) { - final SectionGroupCollectionResponse response = new SectionGroupCollectionResponse(); - if (json.has("sectionGroups@odata.nextLink")) { - response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); + if (json.has("operations")) { + final OnenoteOperationCollectionResponse response = new OnenoteOperationCollectionResponse(); + if (json.has("operations@odata.nextLink")) { + response.nextLink = json.get("operations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); - final SectionGroup[] array = new SectionGroup[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); + final OnenoteOperation[] array = new OnenoteOperation[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteOperation.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - sectionGroups = new SectionGroupCollectionPage(response, null); + operations = new OnenoteOperationCollectionPage(response, null); } if (json.has("pages")) { @@ -200,20 +184,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { resources = new OnenoteResourceCollectionPage(response, null); } - if (json.has("operations")) { - final OnenoteOperationCollectionResponse response = new OnenoteOperationCollectionResponse(); - if (json.has("operations@odata.nextLink")) { - response.nextLink = json.get("operations@odata.nextLink").getAsString(); + if (json.has("sectionGroups")) { + final SectionGroupCollectionResponse response = new SectionGroupCollectionResponse(); + if (json.has("sectionGroups@odata.nextLink")) { + response.nextLink = json.get("sectionGroups@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); - final OnenoteOperation[] array = new OnenoteOperation[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sectionGroups").toString(), JsonObject[].class); + final SectionGroup[] array = new SectionGroup[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteOperation.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SectionGroup.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - operations = new OnenoteOperationCollectionPage(response, null); + sectionGroups = new SectionGroupCollectionPage(response, null); + } + + if (json.has("sections")) { + final OnenoteSectionCollectionResponse response = new OnenoteSectionCollectionResponse(); + if (json.has("sections@odata.nextLink")) { + response.nextLink = json.get("sections@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("sections").toString(), JsonObject[].class); + final OnenoteSection[] array = new OnenoteSection[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OnenoteSection.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + sections = new OnenoteSectionCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java index c93899e85ac..b6e06400809 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteEntityHierarchyModel.java @@ -27,14 +27,6 @@ public class OnenoteEntityHierarchyModel extends OnenoteEntitySchemaObjectModel implements IJsonBackedObject { - /** - * The Display Name. - * The name of the notebook. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Created By. * Identity of the user, device, and application which created the item. Read-only. @@ -43,6 +35,14 @@ public class OnenoteEntityHierarchyModel extends OnenoteEntitySchemaObjectModel @Expose public IdentitySet createdBy; + /** + * The Display Name. + * The name of the notebook. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The Last Modified By. * Identity of the user, device, and application which created the item. Read-only. diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java index 7ca7aaa4cc9..526367b8753 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteOperation.java @@ -27,22 +27,6 @@ public class OnenoteOperation extends Operation implements IJsonBackedObject { - /** - * The Resource Location. - * The resource URI for the object. For example, the resource URI for a copied page or section. - */ - @SerializedName("resourceLocation") - @Expose - public String resourceLocation; - - /** - * The Resource Id. - * The resource id. - */ - @SerializedName("resourceId") - @Expose - public String resourceId; - /** * The Error. * The error returned by the operation. @@ -59,6 +43,22 @@ public class OnenoteOperation extends Operation implements IJsonBackedObject { @Expose public String percentComplete; + /** + * The Resource Id. + * The resource id. + */ + @SerializedName("resourceId") + @Expose + public String resourceId; + + /** + * The Resource Location. + * The resource URI for the object. For example, the resource URI for a copied page or section. + */ + @SerializedName("resourceLocation") + @Expose + public String resourceLocation; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java index a6e480791f5..4d7f5d36f3f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePage.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.PageLinks; -import com.microsoft.graph.models.extensions.OnenoteSection; import com.microsoft.graph.models.extensions.Notebook; +import com.microsoft.graph.models.extensions.OnenoteSection; import com.microsoft.graph.models.extensions.OnenoteEntitySchemaObjectModel; @@ -30,12 +30,12 @@ public class OnenotePage extends OnenoteEntitySchemaObjectModel implements IJson /** - * The Title. - * The title of the page. + * The Content Url. + * The URL for the page's HTML content. Read-only. */ - @SerializedName("title") + @SerializedName("contentUrl") @Expose - public String title; + public String contentUrl; /** * The Created By App Id. @@ -45,22 +45,6 @@ public class OnenotePage extends OnenoteEntitySchemaObjectModel implements IJson @Expose public String createdByAppId; - /** - * The Links. - * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only. - */ - @SerializedName("links") - @Expose - public PageLinks links; - - /** - * The Content Url. - * The URL for the page's HTML content. Read-only. - */ - @SerializedName("contentUrl") - @Expose - public String contentUrl; - /** * The Last Modified Date Time. * The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. @@ -77,6 +61,14 @@ public class OnenotePage extends OnenoteEntitySchemaObjectModel implements IJson @Expose public Integer level; + /** + * The Links. + * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only. + */ + @SerializedName("links") + @Expose + public PageLinks links; + /** * The Order. * The order of the page within its parent section. Read-only. @@ -86,20 +78,20 @@ public class OnenotePage extends OnenoteEntitySchemaObjectModel implements IJson public Integer order; /** - * The User Tags. - * + * The Title. + * The title of the page. */ - @SerializedName("userTags") + @SerializedName("title") @Expose - public java.util.List userTags; + public String title; /** - * The Parent Section. - * The section that contains the page. Read-only. + * The User Tags. + * */ - @SerializedName("parentSection") + @SerializedName("userTags") @Expose - public OnenoteSection parentSection; + public java.util.List userTags; /** * The Parent Notebook. @@ -109,6 +101,14 @@ public class OnenotePage extends OnenoteEntitySchemaObjectModel implements IJson @Expose public Notebook parentNotebook; + /** + * The Parent Section. + * The section that contains the page. Read-only. + */ + @SerializedName("parentSection") + @Expose + public OnenoteSection parentSection; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java index 54ee070f345..8ad6ecbfe15 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePagePreview.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Preview Text. + * The Links. * */ - @SerializedName("previewText") + @SerializedName("links") @Expose - public String previewText; + public OnenotePagePreviewLinks links; /** - * The Links. + * The Preview Text. * */ - @SerializedName("links") + @SerializedName("previewText") @Expose - public OnenotePagePreviewLinks links; + public String previewText; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java b/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java index fa2f55231ce..226dbeba79c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenotePatchContentCommand.java @@ -45,14 +45,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public OnenotePatchActionType action; - /** - * The Target. - * The element to update. Must be the #&lt;data-id&gt; or the generated &lt;id&gt; of the element, or the body or title keyword. - */ - @SerializedName("target") - @Expose - public String target; - /** * The Content. * A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part. @@ -69,6 +61,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public OnenotePatchInsertPosition position; + /** + * The Target. + * The element to update. Must be the #&lt;data-id&gt; or the generated &lt;id&gt; of the element, or the body or title keyword. + */ + @SerializedName("target") + @Expose + public String target; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java index d324272a911..9468972b0a3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnenoteSection.java @@ -9,9 +9,9 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.SectionLinks; +import com.microsoft.graph.models.extensions.OnenotePage; import com.microsoft.graph.models.extensions.Notebook; import com.microsoft.graph.models.extensions.SectionGroup; -import com.microsoft.graph.models.extensions.OnenotePage; import com.microsoft.graph.models.extensions.OnenoteEntityHierarchyModel; import com.microsoft.graph.requests.extensions.OnenotePageCollectionResponse; import com.microsoft.graph.requests.extensions.OnenotePageCollectionPage; @@ -56,6 +56,12 @@ public class OnenoteSection extends OnenoteEntityHierarchyModel implements IJson @Expose public String pagesUrl; + /** + * The Pages. + * The collection of pages in the section. Read-only. Nullable. + */ + public OnenotePageCollectionPage pages; + /** * The Parent Notebook. * The notebook that contains the section. Read-only. @@ -72,12 +78,6 @@ public class OnenoteSection extends OnenoteEntityHierarchyModel implements IJson @Expose public SectionGroup parentSectionGroup; - /** - * The Pages. - * The collection of pages in the section. Read-only. Nullable. - */ - public OnenotePageCollectionPage pages; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnlineMeeting.java b/src/main/java/com/microsoft/graph/models/extensions/OnlineMeeting.java index cba9647a91a..7eaf1f5c494 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnlineMeeting.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnlineMeeting.java @@ -8,12 +8,13 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.MeetingParticipants; import com.microsoft.graph.models.generated.AccessLevel; -import com.microsoft.graph.models.generated.MeetingCapabilities; import com.microsoft.graph.models.extensions.AudioConferencing; +import com.microsoft.graph.models.generated.MeetingCapabilities; import com.microsoft.graph.models.extensions.ChatInfo; import com.microsoft.graph.models.extensions.ItemBody; +import com.microsoft.graph.models.extensions.LobbyBypassSettings; +import com.microsoft.graph.models.extensions.MeetingParticipants; import com.microsoft.graph.models.extensions.Entity; @@ -33,20 +34,52 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { /** - * The Creation Date Time. - * The meeting creation time in UTC. Read-only. + * The Access Level. + * */ - @SerializedName("creationDateTime") + @SerializedName("accessLevel") @Expose - public java.util.Calendar creationDateTime; + public AccessLevel accessLevel; /** - * The Start Date Time. - * The meeting start time in UTC. + * The Audio Conferencing. + * The phone access (dial-in) information for an online meeting. Read-only. */ - @SerializedName("startDateTime") + @SerializedName("audioConferencing") @Expose - public java.util.Calendar startDateTime; + public AudioConferencing audioConferencing; + + /** + * The Canceled Date Time. + * + */ + @SerializedName("canceledDateTime") + @Expose + public java.util.Calendar canceledDateTime; + + /** + * The Capabilities. + * + */ + @SerializedName("capabilities") + @Expose + public java.util.List capabilities; + + /** + * The Chat Info. + * The chat information associated with this online meeting. + */ + @SerializedName("chatInfo") + @Expose + public ChatInfo chatInfo; + + /** + * The Creation Date Time. + * The meeting creation time in UTC. Read-only. + */ + @SerializedName("creationDateTime") + @Expose + public java.util.Calendar creationDateTime; /** * The End Date Time. @@ -57,12 +90,12 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { public java.util.Calendar endDateTime; /** - * The Canceled Date Time. + * The Entry Exit Announcement. * */ - @SerializedName("canceledDateTime") + @SerializedName("entryExitAnnouncement") @Expose - public java.util.Calendar canceledDateTime; + public Boolean entryExitAnnouncement; /** * The Expiration Date Time. @@ -73,84 +106,84 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { public java.util.Calendar expirationDateTime; /** - * The Entry Exit Announcement. + * The External Id. * */ - @SerializedName("entryExitAnnouncement") + @SerializedName("externalId") @Expose - public Boolean entryExitAnnouncement; + public String externalId; /** - * The Join Url. + * The Is Broadcast. * */ - @SerializedName("joinUrl") + @SerializedName("isBroadcast") @Expose - public String joinUrl; + public Boolean isBroadcast; /** - * The Subject. - * The subject of the online meeting. + * The Is Cancelled. + * */ - @SerializedName("subject") + @SerializedName("isCancelled") @Expose - public String subject; + public Boolean isCancelled; /** - * The Is Cancelled. + * The Is Entry Exit Announced. * */ - @SerializedName("isCancelled") + @SerializedName("isEntryExitAnnounced") @Expose - public Boolean isCancelled; + public Boolean isEntryExitAnnounced; /** - * The Participants. - * The participants associated with the online meeting. This includes the organizer and the attendees. + * The Join Information. + * The join information in the language and locale variant specified in the Accept-Language request HTTP header. Read-only. */ - @SerializedName("participants") + @SerializedName("joinInformation") @Expose - public MeetingParticipants participants; + public ItemBody joinInformation; /** - * The Is Broadcast. + * The Join Url. * */ - @SerializedName("isBroadcast") + @SerializedName("joinUrl") @Expose - public Boolean isBroadcast; + public String joinUrl; /** - * The Access Level. + * The Lobby Bypass Settings. * */ - @SerializedName("accessLevel") + @SerializedName("lobbyBypassSettings") @Expose - public AccessLevel accessLevel; + public LobbyBypassSettings lobbyBypassSettings; /** - * The Capabilities. - * + * The Participants. + * The participants associated with the online meeting. This includes the organizer and the attendees. */ - @SerializedName("capabilities") + @SerializedName("participants") @Expose - public java.util.List capabilities; + public MeetingParticipants participants; /** - * The Audio Conferencing. - * The phone access (dial-in) information for an online meeting. Read-only. + * The Start Date Time. + * The meeting start time in UTC. */ - @SerializedName("audioConferencing") + @SerializedName("startDateTime") @Expose - public AudioConferencing audioConferencing; + public java.util.Calendar startDateTime; /** - * The Chat Info. - * The chat information associated with this online meeting. + * The Subject. + * The subject of the online meeting. */ - @SerializedName("chatInfo") + @SerializedName("subject") @Expose - public ChatInfo chatInfo; + public String subject; /** * The Video Teleconference Id. @@ -160,22 +193,6 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { @Expose public String videoTeleconferenceId; - /** - * The External Id. - * - */ - @SerializedName("externalId") - @Expose - public String externalId; - - /** - * The Join Information. - * The join information in the language and locale variant specified in the Accept-Language request HTTP header. Read-only. - */ - @SerializedName("joinInformation") - @Expose - public ItemBody joinInformation; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OnlineMeetingInfo.java b/src/main/java/com/microsoft/graph/models/extensions/OnlineMeetingInfo.java index a50aaf650de..c9542e755ac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OnlineMeetingInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OnlineMeetingInfo.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Join Url. - * The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. - */ - @SerializedName("joinUrl") - @Expose - public String joinUrl; - /** * The Conference Id. * The ID of the conference. @@ -53,20 +45,20 @@ public final AdditionalDataManager additionalDataManager() { public String conferenceId; /** - * The Toll Number. - * The toll number that can be used to join the conference. + * The Join Url. + * The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. */ - @SerializedName("tollNumber") + @SerializedName("joinUrl") @Expose - public String tollNumber; + public String joinUrl; /** - * The Toll Free Numbers. - * The toll free numbers that can be used to join the conference. + * The Phones. + * All of the phone numbers associated with this conference. */ - @SerializedName("tollFreeNumbers") + @SerializedName("phones") @Expose - public java.util.List tollFreeNumbers; + public java.util.List phones; /** * The Quick Dial. @@ -77,12 +69,20 @@ public final AdditionalDataManager additionalDataManager() { public String quickDial; /** - * The Phones. - * All of the phone numbers associated with this conference. + * The Toll Free Numbers. + * The toll free numbers that can be used to join the conference. */ - @SerializedName("phones") + @SerializedName("tollFreeNumbers") @Expose - public java.util.List phones; + public java.util.List tollFreeNumbers; + + /** + * The Toll Number. + * The toll number that can be used to join the conference. + */ + @SerializedName("tollNumber") + @Expose + public String tollNumber; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OpenIdConnectProvider.java b/src/main/java/com/microsoft/graph/models/extensions/OpenIdConnectProvider.java index 0fa6f7c0c8d..363c72db201 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OpenIdConnectProvider.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OpenIdConnectProvider.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.OpenIdConnectResponseTypes; -import com.microsoft.graph.models.generated.OpenIdConnectResponseMode; import com.microsoft.graph.models.extensions.ClaimsMapping; +import com.microsoft.graph.models.generated.OpenIdConnectResponseMode; +import com.microsoft.graph.models.generated.OpenIdConnectResponseTypes; import com.microsoft.graph.models.extensions.IdentityProvider; @@ -30,20 +30,12 @@ public class OpenIdConnectProvider extends IdentityProvider implements IJsonBack /** - * The Scope. - * - */ - @SerializedName("scope") - @Expose - public String scope; - - /** - * The Metadata Url. + * The Claims Mapping. * */ - @SerializedName("metadataUrl") + @SerializedName("claimsMapping") @Expose - public String metadataUrl; + public ClaimsMapping claimsMapping; /** * The Domain Hint. @@ -54,12 +46,12 @@ public class OpenIdConnectProvider extends IdentityProvider implements IJsonBack public String domainHint; /** - * The Response Type. + * The Metadata Url. * */ - @SerializedName("responseType") + @SerializedName("metadataUrl") @Expose - public EnumSet responseType; + public String metadataUrl; /** * The Response Mode. @@ -70,12 +62,20 @@ public class OpenIdConnectProvider extends IdentityProvider implements IJsonBack public OpenIdConnectResponseMode responseMode; /** - * The Claims Mapping. + * The Response Type. * */ - @SerializedName("claimsMapping") + @SerializedName("responseType") @Expose - public ClaimsMapping claimsMapping; + public EnumSet responseType; + + /** + * The Scope. + * + */ + @SerializedName("scope") + @Expose + public String scope; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OpenShift.java b/src/main/java/com/microsoft/graph/models/extensions/OpenShift.java index 43a44f4c96f..b4e412101d3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OpenShift.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OpenShift.java @@ -27,14 +27,6 @@ public class OpenShift extends ChangeTrackedEntity implements IJsonBackedObject { - /** - * The Shared Open Shift. - * A published open shift. - */ - @SerializedName("sharedOpenShift") - @Expose - public OpenShiftItem sharedOpenShift; - /** * The Draft Open Shift. * An unpublished open shift. @@ -43,6 +35,14 @@ public class OpenShift extends ChangeTrackedEntity implements IJsonBackedObject @Expose public OpenShiftItem draftOpenShift; + /** + * The Is Staged For Deletion. + * + */ + @SerializedName("isStagedForDeletion") + @Expose + public Boolean isStagedForDeletion; + /** * The Scheduling Group Id. * ID for the scheduling group that the open shift belongs to. @@ -52,12 +52,12 @@ public class OpenShift extends ChangeTrackedEntity implements IJsonBackedObject public String schedulingGroupId; /** - * The Is Staged For Deletion. - * + * The Shared Open Shift. + * A published open shift. */ - @SerializedName("isStagedForDeletion") + @SerializedName("sharedOpenShift") @Expose - public Boolean isStagedForDeletion; + public OpenShiftItem sharedOpenShift; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OperatingSystemVersionRange.java b/src/main/java/com/microsoft/graph/models/extensions/OperatingSystemVersionRange.java index 565530bbe6f..afeacdcc77c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OperatingSystemVersionRange.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OperatingSystemVersionRange.java @@ -43,14 +43,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String description; - /** - * The Lowest Version. - * The lowest inclusive version that this range contains. - */ - @SerializedName("lowestVersion") - @Expose - public String lowestVersion; - /** * The Highest Version. * The highest inclusive version that this range contains. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String highestVersion; + /** + * The Lowest Version. + * The lowest inclusive version that this range contains. + */ + @SerializedName("lowestVersion") + @Expose + public String lowestVersion; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Operation.java b/src/main/java/com/microsoft/graph/models/extensions/Operation.java index a023bba787a..4daa4c2fd78 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Operation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Operation.java @@ -27,14 +27,6 @@ public class Operation extends Entity implements IJsonBackedObject { - /** - * The Status. - * The current status of the operation: notStarted, running, completed, failed - */ - @SerializedName("status") - @Expose - public OperationStatus status; - /** * The Created Date Time. * The start time of the operation. @@ -51,6 +43,14 @@ public class Operation extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar lastActionDateTime; + /** + * The Status. + * The current status of the operation: notStarted, running, completed, failed + */ + @SerializedName("status") + @Expose + public OperationStatus status; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OptionalClaim.java b/src/main/java/com/microsoft/graph/models/extensions/OptionalClaim.java index b53813e7b53..76e812e8fd1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OptionalClaim.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OptionalClaim.java @@ -36,20 +36,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Name. - * The name of the optional claim. - */ - @SerializedName("name") - @Expose - public String name; - - /** - * The Source. - * The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object. + * The Additional Properties. + * Additional properties of the claim. If a property exists in this collection, it modifies the behavior of the optional claim specified in the name property. */ - @SerializedName("source") + @SerializedName("additionalProperties") @Expose - public String source; + public java.util.List additionalProperties; /** * The Essential. @@ -60,12 +52,20 @@ public final AdditionalDataManager additionalDataManager() { public Boolean essential; /** - * The Additional Properties. - * Additional properties of the claim. If a property exists in this collection, it modifies the behavior of the optional claim specified in the name property. + * The Name. + * The name of the optional claim. */ - @SerializedName("additionalProperties") + @SerializedName("name") @Expose - public java.util.List additionalProperties; + public String name; + + /** + * The Source. + * The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object. + */ + @SerializedName("source") + @Expose + public String source; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OptionalClaims.java b/src/main/java/com/microsoft/graph/models/extensions/OptionalClaims.java index 4c03781c99d..35e14240132 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OptionalClaims.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OptionalClaims.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Id Token. - * The optional claims returned in the JWT ID token. - */ - @SerializedName("idToken") - @Expose - public java.util.List idToken; - /** * The Access Token. * The optional claims returned in the JWT access token. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List accessToken; + /** + * The Id Token. + * The optional claims returned in the JWT ID token. + */ + @SerializedName("idToken") + @Expose + public java.util.List idToken; + /** * The Saml2Token. * The optional claims returned in the SAML token. diff --git a/src/main/java/com/microsoft/graph/models/extensions/OrgContact.java b/src/main/java/com/microsoft/graph/models/extensions/OrgContact.java index 1067747e493..8b7a14a9348 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OrgContact.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OrgContact.java @@ -95,14 +95,6 @@ public class OrgContact extends DirectoryObject implements IJsonBackedObject { @Expose public String mailNickname; - /** - * The On Premises Sync Enabled. - * - */ - @SerializedName("onPremisesSyncEnabled") - @Expose - public Boolean onPremisesSyncEnabled; - /** * The On Premises Last Sync Date Time. * @@ -119,6 +111,14 @@ public class OrgContact extends DirectoryObject implements IJsonBackedObject { @Expose public java.util.List onPremisesProvisioningErrors; + /** + * The On Premises Sync Enabled. + * + */ + @SerializedName("onPremisesSyncEnabled") + @Expose + public Boolean onPremisesSyncEnabled; + /** * The Phones. * @@ -144,18 +144,18 @@ public class OrgContact extends DirectoryObject implements IJsonBackedObject { public String surname; /** - * The Manager. + * The Direct Reports. * */ - @SerializedName("manager") - @Expose - public DirectoryObject manager; + public DirectoryObjectCollectionPage directReports; /** - * The Direct Reports. + * The Manager. * */ - public DirectoryObjectCollectionPage directReports; + @SerializedName("manager") + @Expose + public DirectoryObject manager; /** * The Member Of. diff --git a/src/main/java/com/microsoft/graph/models/extensions/Organization.java b/src/main/java/com/microsoft/graph/models/extensions/Organization.java index 3a4c8966f67..3b2e4204a79 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Organization.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Organization.java @@ -13,8 +13,8 @@ import com.microsoft.graph.models.extensions.PrivacyProfile; import com.microsoft.graph.models.extensions.ProvisionedPlan; import com.microsoft.graph.models.extensions.VerifiedDomain; -import com.microsoft.graph.models.generated.MdmAuthority; import com.microsoft.graph.models.extensions.CertificateConnectorSetting; +import com.microsoft.graph.models.generated.MdmAuthority; import com.microsoft.graph.models.extensions.OrganizationalBranding; import com.microsoft.graph.models.extensions.CertificateBasedAuthConfiguration; import com.microsoft.graph.models.extensions.Extension; @@ -219,14 +219,6 @@ public class Organization extends DirectoryObject implements IJsonBackedObject { @Expose public java.util.List verifiedDomains; - /** - * The Mobile Device Management Authority. - * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. - */ - @SerializedName("mobileDeviceManagementAuthority") - @Expose - public MdmAuthority mobileDeviceManagementAuthority; - /** * The Certificate Connector Setting. * Certificate connector setting. @@ -235,6 +227,14 @@ public class Organization extends DirectoryObject implements IJsonBackedObject { @Expose public CertificateConnectorSetting certificateConnectorSetting; + /** + * The Mobile Device Management Authority. + * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. + */ + @SerializedName("mobileDeviceManagementAuthority") + @Expose + public MdmAuthority mobileDeviceManagementAuthority; + /** * The Brandings. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/OrganizationSettings.java b/src/main/java/com/microsoft/graph/models/extensions/OrganizationSettings.java index f9156a989e9..6f9490dad93 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OrganizationSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OrganizationSettings.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.ProfileCardProperty; import com.microsoft.graph.models.extensions.ItemInsightsSettings; +import com.microsoft.graph.models.extensions.ProfileCardProperty; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.ProfileCardPropertyCollectionResponse; import com.microsoft.graph.requests.extensions.ProfileCardPropertyCollectionPage; @@ -30,12 +30,6 @@ public class OrganizationSettings extends Entity implements IJsonBackedObject { - /** - * The Profile Card Properties. - * - */ - public ProfileCardPropertyCollectionPage profileCardProperties; - /** * The Item Insights. * @@ -44,6 +38,12 @@ public class OrganizationSettings extends Entity implements IJsonBackedObject { @Expose public ItemInsightsSettings itemInsights; + /** + * The Profile Card Properties. + * + */ + public ProfileCardPropertyCollectionPage profileCardProperties; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OsVersionCount.java b/src/main/java/com/microsoft/graph/models/extensions/OsVersionCount.java index 96b94356970..5ce481a9342 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OsVersionCount.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OsVersionCount.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Os Version. - * OS version - */ - @SerializedName("osVersion") - @Expose - public String osVersion; - /** * The Device Count. * Count of devices with malware for the OS version @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar lastUpdateDateTime; + /** + * The Os Version. + * OS version + */ + @SerializedName("osVersion") + @Expose + public String osVersion; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutOfBoxExperienceSettings.java b/src/main/java/com/microsoft/graph/models/extensions/OutOfBoxExperienceSettings.java index c7d998ff71a..7261a9613f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutOfBoxExperienceSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutOfBoxExperienceSettings.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.WindowsUserType; import com.microsoft.graph.models.generated.WindowsDeviceUsageType; +import com.microsoft.graph.models.generated.WindowsUserType; import com.google.gson.JsonObject; @@ -38,36 +38,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Hide Privacy Settings. - * Show or hide privacy settings to user + * The Device Usage Type. + * AAD join authentication type */ - @SerializedName("hidePrivacySettings") + @SerializedName("deviceUsageType") @Expose - public Boolean hidePrivacySettings; + public WindowsDeviceUsageType deviceUsageType; /** - * The Hide EULA. - * Show or hide EULA to user + * The Hide Escape Link. + * If set to true, then the user can't start over with different account, on company sign-in */ - @SerializedName("hideEULA") + @SerializedName("hideEscapeLink") @Expose - public Boolean hideEULA; + public Boolean hideEscapeLink; /** - * The User Type. - * Type of user + * The Hide EULA. + * Show or hide EULA to user */ - @SerializedName("userType") + @SerializedName("hideEULA") @Expose - public WindowsUserType userType; + public Boolean hideEULA; /** - * The Device Usage Type. - * AAD join authentication type + * The Hide Privacy Settings. + * Show or hide privacy settings to user */ - @SerializedName("deviceUsageType") + @SerializedName("hidePrivacySettings") @Expose - public WindowsDeviceUsageType deviceUsageType; + public Boolean hidePrivacySettings; /** * The Skip Keyboard Selection Page. @@ -78,12 +78,12 @@ public final AdditionalDataManager additionalDataManager() { public Boolean skipKeyboardSelectionPage; /** - * The Hide Escape Link. - * If set to true, then the user can't start over with different account, on company sign-in + * The User Type. + * Type of user */ - @SerializedName("hideEscapeLink") + @SerializedName("userType") @Expose - public Boolean hideEscapeLink; + public WindowsUserType userType; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java index 3c499ddc626..f4a7fa9529c 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookCategory.java @@ -27,14 +27,6 @@ public class OutlookCategory extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Color. * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. @@ -43,6 +35,14 @@ public class OutlookCategory extends Entity implements IJsonBackedObject { @Expose public CategoryColor color; + /** + * The Display Name. + * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java index b8aa51332f3..b50a52b4950 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookGeoCoordinates.java @@ -35,6 +35,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Accuracy. + * The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. + */ + @SerializedName("accuracy") + @Expose + public Double accuracy; + /** * The Altitude. * The altitude of the location. @@ -43,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Double altitude; + /** + * The Altitude Accuracy. + * The accuracy of the altitude. + */ + @SerializedName("altitudeAccuracy") + @Expose + public Double altitudeAccuracy; + /** * The Latitude. * The latitude of the location. @@ -59,22 +75,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Double longitude; - /** - * The Accuracy. - * The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. - */ - @SerializedName("accuracy") - @Expose - public Double accuracy; - - /** - * The Altitude Accuracy. - * The accuracy of the altitude. - */ - @SerializedName("altitudeAccuracy") - @Expose - public Double altitudeAccuracy; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java index cba42c32a9f..130a7afe68a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookItem.java @@ -27,20 +27,12 @@ public class OutlookItem extends Entity implements IJsonBackedObject { /** - * The Created Date Time. - * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' - */ - @SerializedName("createdDateTime") - @Expose - public java.util.Calendar createdDateTime; - - /** - * The Last Modified Date Time. - * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Categories. + * The categories associated with the item */ - @SerializedName("lastModifiedDateTime") + @SerializedName("categories") @Expose - public java.util.Calendar lastModifiedDateTime; + public java.util.List categories; /** * The Change Key. @@ -51,12 +43,20 @@ public class OutlookItem extends Entity implements IJsonBackedObject { public String changeKey; /** - * The Categories. - * The categories associated with the item + * The Created Date Time. + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("categories") + @SerializedName("createdDateTime") @Expose - public java.util.List categories; + public java.util.Calendar createdDateTime; + + /** + * The Last Modified Date Time. + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookTask.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookTask.java index 16f606ef803..1acdb9ea9f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookTask.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookTask.java @@ -14,16 +14,16 @@ import com.microsoft.graph.models.extensions.PatternedRecurrence; import com.microsoft.graph.models.generated.Sensitivity; import com.microsoft.graph.models.generated.TaskStatus; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.google.gson.JsonObject; @@ -162,10 +162,10 @@ public class OutlookTask extends OutlookItem implements IJsonBackedObject { public String subject; /** - * The Single Value Extended Properties. + * The Attachments. * */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + public AttachmentCollectionPage attachments; /** * The Multi Value Extended Properties. @@ -174,10 +174,10 @@ public class OutlookTask extends OutlookItem implements IJsonBackedObject { public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; /** - * The Attachments. + * The Single Value Extended Properties. * */ - public AttachmentCollectionPage attachments; + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** @@ -219,20 +219,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("attachments")) { + final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); + if (json.has("attachments@odata.nextLink")) { + response.nextLink = json.get("attachments@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); + final Attachment[] array = new Attachment[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + attachments = new AttachmentCollectionPage(response, null); } if (json.has("multiValueExtendedProperties")) { @@ -251,20 +251,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); } - if (json.has("attachments")) { - final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); - if (json.has("attachments@odata.nextLink")) { - response.nextLink = json.get("attachments@odata.nextLink").getAsString(); + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); - final Attachment[] array = new Attachment[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - attachments = new AttachmentCollectionPage(response, null); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskFolder.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskFolder.java index b408a1b267c..2ea0d9d373d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskFolder.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskFolder.java @@ -8,16 +8,16 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OutlookTask; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.OutlookTask; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.OutlookTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.OutlookTaskCollectionPage; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.OutlookTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.OutlookTaskCollectionPage; import com.google.gson.JsonObject; @@ -44,20 +44,20 @@ public class OutlookTaskFolder extends Entity implements IJsonBackedObject { public String changeKey; /** - * The Name. + * The Is Default Folder. * */ - @SerializedName("name") + @SerializedName("isDefaultFolder") @Expose - public String name; + public Boolean isDefaultFolder; /** - * The Is Default Folder. + * The Name. * */ - @SerializedName("isDefaultFolder") + @SerializedName("name") @Expose - public Boolean isDefaultFolder; + public String name; /** * The Parent Group Key. @@ -68,10 +68,10 @@ public class OutlookTaskFolder extends Entity implements IJsonBackedObject { public java.util.UUID parentGroupKey; /** - * The Tasks. + * The Multi Value Extended Properties. * */ - public OutlookTaskCollectionPage tasks; + public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; /** * The Single Value Extended Properties. @@ -80,10 +80,10 @@ public class OutlookTaskFolder extends Entity implements IJsonBackedObject { public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** - * The Multi Value Extended Properties. + * The Tasks. * */ - public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; + public OutlookTaskCollectionPage tasks; /** @@ -125,20 +125,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("tasks")) { - final OutlookTaskCollectionResponse response = new OutlookTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final OutlookTask[] array = new OutlookTask[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OutlookTask.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - tasks = new OutlookTaskCollectionPage(response, null); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); } if (json.has("singleValueExtendedProperties")) { @@ -157,20 +157,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); } - if (json.has("multiValueExtendedProperties")) { - final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("tasks")) { + final OutlookTaskCollectionResponse response = new OutlookTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final OutlookTask[] array = new OutlookTask[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OutlookTask.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + tasks = new OutlookTaskCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskGroup.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskGroup.java index 54cb0fe4e33..d183b81c720 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskGroup.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookTaskGroup.java @@ -37,6 +37,14 @@ public class OutlookTaskGroup extends Entity implements IJsonBackedObject { @Expose public String changeKey; + /** + * The Group Key. + * + */ + @SerializedName("groupKey") + @Expose + public java.util.UUID groupKey; + /** * The Is Default Group. * @@ -53,14 +61,6 @@ public class OutlookTaskGroup extends Entity implements IJsonBackedObject { @Expose public String name; - /** - * The Group Key. - * - */ - @SerializedName("groupKey") - @Expose - public java.util.UUID groupKey; - /** * The Task Folders. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java b/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java index 0bad56950b3..72c8b0740f3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OutlookUser.java @@ -9,16 +9,16 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.OutlookCategory; -import com.microsoft.graph.models.extensions.OutlookTaskGroup; import com.microsoft.graph.models.extensions.OutlookTaskFolder; +import com.microsoft.graph.models.extensions.OutlookTaskGroup; import com.microsoft.graph.models.extensions.OutlookTask; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.OutlookCategoryCollectionResponse; import com.microsoft.graph.requests.extensions.OutlookCategoryCollectionPage; -import com.microsoft.graph.requests.extensions.OutlookTaskGroupCollectionResponse; -import com.microsoft.graph.requests.extensions.OutlookTaskGroupCollectionPage; import com.microsoft.graph.requests.extensions.OutlookTaskFolderCollectionResponse; import com.microsoft.graph.requests.extensions.OutlookTaskFolderCollectionPage; +import com.microsoft.graph.requests.extensions.OutlookTaskGroupCollectionResponse; +import com.microsoft.graph.requests.extensions.OutlookTaskGroupCollectionPage; import com.microsoft.graph.requests.extensions.OutlookTaskCollectionResponse; import com.microsoft.graph.requests.extensions.OutlookTaskCollectionPage; @@ -45,16 +45,16 @@ public class OutlookUser extends Entity implements IJsonBackedObject { public OutlookCategoryCollectionPage masterCategories; /** - * The Task Groups. + * The Task Folders. * */ - public OutlookTaskGroupCollectionPage taskGroups; + public OutlookTaskFolderCollectionPage taskFolders; /** - * The Task Folders. + * The Task Groups. * */ - public OutlookTaskFolderCollectionPage taskFolders; + public OutlookTaskGroupCollectionPage taskGroups; /** * The Tasks. @@ -118,22 +118,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { masterCategories = new OutlookCategoryCollectionPage(response, null); } - if (json.has("taskGroups")) { - final OutlookTaskGroupCollectionResponse response = new OutlookTaskGroupCollectionResponse(); - if (json.has("taskGroups@odata.nextLink")) { - response.nextLink = json.get("taskGroups@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taskGroups").toString(), JsonObject[].class); - final OutlookTaskGroup[] array = new OutlookTaskGroup[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), OutlookTaskGroup.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - taskGroups = new OutlookTaskGroupCollectionPage(response, null); - } - if (json.has("taskFolders")) { final OutlookTaskFolderCollectionResponse response = new OutlookTaskFolderCollectionResponse(); if (json.has("taskFolders@odata.nextLink")) { @@ -150,6 +134,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { taskFolders = new OutlookTaskFolderCollectionPage(response, null); } + if (json.has("taskGroups")) { + final OutlookTaskGroupCollectionResponse response = new OutlookTaskGroupCollectionResponse(); + if (json.has("taskGroups@odata.nextLink")) { + response.nextLink = json.get("taskGroups@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("taskGroups").toString(), JsonObject[].class); + final OutlookTaskGroup[] array = new OutlookTaskGroup[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), OutlookTaskGroup.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + taskGroups = new OutlookTaskGroupCollectionPage(response, null); + } + if (json.has("tasks")) { final OutlookTaskCollectionResponse response = new OutlookTaskCollectionResponse(); if (json.has("tasks@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/OverallPrintUsageSummary.java b/src/main/java/com/microsoft/graph/models/extensions/OverallPrintUsageSummary.java index 86bd0645b85..7076decabb1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/OverallPrintUsageSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/OverallPrintUsageSummary.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.UserPrintUsageSummary; import com.microsoft.graph.models.extensions.PrinterUsageSummary; +import com.microsoft.graph.models.extensions.UserPrintUsageSummary; import com.google.gson.JsonObject; @@ -38,20 +38,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Top Users. + * The Active Printers Count. * */ - @SerializedName("topUsers") + @SerializedName("activePrintersCount") @Expose - public java.util.List topUsers; + public Integer activePrintersCount; /** - * The Top Printers. + * The Active Users Count. * */ - @SerializedName("topPrinters") + @SerializedName("activeUsersCount") @Expose - public java.util.List topPrinters; + public Integer activeUsersCount; /** * The Days In Period. @@ -62,36 +62,36 @@ public final AdditionalDataManager additionalDataManager() { public Integer daysInPeriod; /** - * The Active Users Count. + * The Top Printers. * */ - @SerializedName("activeUsersCount") + @SerializedName("topPrinters") @Expose - public Integer activeUsersCount; + public java.util.List topPrinters; /** - * The Active Printers Count. + * The Top Users. * */ - @SerializedName("activePrintersCount") + @SerializedName("topUsers") @Expose - public Integer activePrintersCount; + public java.util.List topUsers; /** - * The Total Jobs Processed. + * The Total Incomplete Jobs. * */ - @SerializedName("totalJobsProcessed") + @SerializedName("totalIncompleteJobs") @Expose - public Integer totalJobsProcessed; + public Integer totalIncompleteJobs; /** - * The Total Incomplete Jobs. + * The Total Jobs Processed. * */ - @SerializedName("totalIncompleteJobs") + @SerializedName("totalJobsProcessed") @Expose - public Integer totalIncompleteJobs; + public Integer totalJobsProcessed; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ParseExpressionResponse.java b/src/main/java/com/microsoft/graph/models/extensions/ParseExpressionResponse.java index 4fa5c1cc7c9..190dc2f2dd6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ParseExpressionResponse.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ParseExpressionResponse.java @@ -46,20 +46,20 @@ public final AdditionalDataManager additionalDataManager() { public PublicError error; /** - * The Evaluation Succeeded. + * The Evaluation Result. * */ - @SerializedName("evaluationSucceeded") + @SerializedName("evaluationResult") @Expose - public Boolean evaluationSucceeded; + public java.util.List evaluationResult; /** - * The Evaluation Result. + * The Evaluation Succeeded. * */ - @SerializedName("evaluationResult") + @SerializedName("evaluationSucceeded") @Expose - public java.util.List evaluationResult; + public Boolean evaluationSucceeded; /** * The Parsed Expression. diff --git a/src/main/java/com/microsoft/graph/models/extensions/Participant.java b/src/main/java/com/microsoft/graph/models/extensions/Participant.java index 8d76a493cf8..3d29106e2c4 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Participant.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Participant.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.ParticipantInfo; -import com.microsoft.graph.models.extensions.RecordingInfo; import com.microsoft.graph.models.extensions.MediaStream; +import com.microsoft.graph.models.extensions.RecordingInfo; import com.microsoft.graph.models.extensions.Entity; @@ -38,12 +38,20 @@ public class Participant extends Entity implements IJsonBackedObject { public ParticipantInfo info; /** - * The Recording Info. - * Information about whether the participant has recording capability. + * The Is In Lobby. + * true if the participant is in lobby. */ - @SerializedName("recordingInfo") + @SerializedName("isInLobby") @Expose - public RecordingInfo recordingInfo; + public Boolean isInLobby; + + /** + * The Is Muted. + * true if the participant is muted (client or server muted). + */ + @SerializedName("isMuted") + @Expose + public Boolean isMuted; /** * The Media Streams. @@ -62,20 +70,12 @@ public class Participant extends Entity implements IJsonBackedObject { public String metadata; /** - * The Is Muted. - * true if the participant is muted (client or server muted). - */ - @SerializedName("isMuted") - @Expose - public Boolean isMuted; - - /** - * The Is In Lobby. - * true if the participant is in lobby. + * The Recording Info. + * Information about whether the participant has recording capability. */ - @SerializedName("isInLobby") + @SerializedName("recordingInfo") @Expose - public Boolean isInLobby; + public RecordingInfo recordingInfo; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ParticipantInfo.java b/src/main/java/com/microsoft/graph/models/extensions/ParticipantInfo.java index 349ed5853b1..15b82e23d9b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ParticipantInfo.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ParticipantInfo.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.generated.EndpointType; +import com.microsoft.graph.models.extensions.IdentitySet; import com.google.gson.JsonObject; @@ -38,12 +38,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Identity. - * The identitySet associated with this participant. Read-only. + * The Country Code. + * The ISO 3166-1 Alpha-2 country code of the participant's best estimated physical location at the start of the call. Read-only. */ - @SerializedName("identity") + @SerializedName("countryCode") @Expose - public IdentitySet identity; + public String countryCode; /** * The Endpoint Type. @@ -54,12 +54,12 @@ public final AdditionalDataManager additionalDataManager() { public EndpointType endpointType; /** - * The Region. - * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location. Read-only. + * The Identity. + * The identitySet associated with this participant. Read-only. */ - @SerializedName("region") + @SerializedName("identity") @Expose - public String region; + public IdentitySet identity; /** * The Language Id. @@ -70,12 +70,12 @@ public final AdditionalDataManager additionalDataManager() { public String languageId; /** - * The Country Code. - * The ISO 3166-1 Alpha-2 country code of the participant's best estimated physical location at the start of the call. Read-only. + * The Region. + * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location. Read-only. */ - @SerializedName("countryCode") + @SerializedName("region") @Expose - public String countryCode; + public String region; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PasswordAuthenticationMethod.java b/src/main/java/com/microsoft/graph/models/extensions/PasswordAuthenticationMethod.java index cc41ea4331c..c41292bafcf 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PasswordAuthenticationMethod.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PasswordAuthenticationMethod.java @@ -27,20 +27,20 @@ public class PasswordAuthenticationMethod extends AuthenticationMethod implement /** - * The Password. + * The Creation Date Time. * */ - @SerializedName("password") + @SerializedName("creationDateTime") @Expose - public String password; + public java.util.Calendar creationDateTime; /** - * The Creation Date Time. + * The Password. * */ - @SerializedName("creationDateTime") + @SerializedName("password") @Expose - public java.util.Calendar creationDateTime; + public String password; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PasswordCredential.java b/src/main/java/com/microsoft/graph/models/extensions/PasswordCredential.java index 40287278c3e..10b99d17d88 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PasswordCredential.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PasswordCredential.java @@ -43,6 +43,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public byte[] customKeyIdentifier; + /** + * The Display Name. + * Friendly name for the password. Optional. + */ + @SerializedName("displayName") + @Expose + public String displayName; + /** * The End Date Time. * The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional. @@ -52,20 +60,20 @@ public final AdditionalDataManager additionalDataManager() { public java.util.Calendar endDateTime; /** - * The Key Id. - * The unique identifier for the password. + * The Hint. + * Contains the first three characters of the password. Read-only. */ - @SerializedName("keyId") + @SerializedName("hint") @Expose - public java.util.UUID keyId; + public String hint; /** - * The Start Date Time. - * The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional. + * The Key Id. + * The unique identifier for the password. */ - @SerializedName("startDateTime") + @SerializedName("keyId") @Expose - public java.util.Calendar startDateTime; + public java.util.UUID keyId; /** * The Secret Text. @@ -76,20 +84,12 @@ public final AdditionalDataManager additionalDataManager() { public String secretText; /** - * The Hint. - * Contains the first three characters of the password. Read-only. - */ - @SerializedName("hint") - @Expose - public String hint; - - /** - * The Display Name. - * Friendly name for the password. Optional. + * The Start Date Time. + * The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional. */ - @SerializedName("displayName") + @SerializedName("startDateTime") @Expose - public String displayName; + public java.util.Calendar startDateTime; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java b/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java index 5e1fbb93aad..f29b5c27ad6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PasswordProfile.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Password. - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. - */ - @SerializedName("password") - @Expose - public String password; - /** * The Force Change Password Next Sign In. * true if the user must change her password on the next login; otherwise false. @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean forceChangePasswordNextSignInWithMfa; + /** + * The Password. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + */ + @SerializedName("password") + @Expose + public String password; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnCredentialSet.java b/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnCredentialSet.java index 54d877efc28..507b1b996e6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnCredentialSet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnCredentialSet.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Id. + * The Credentials. * */ - @SerializedName("id") + @SerializedName("credentials") @Expose - public String id; + public java.util.List credentials; /** - * The Credentials. + * The Id. * */ - @SerializedName("credentials") + @SerializedName("id") @Expose - public java.util.List credentials; + public String id; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnField.java b/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnField.java index af8aec4394c..16103921d97 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnField.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PasswordSingleSignOnField.java @@ -35,14 +35,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Field Id. - * - */ - @SerializedName("fieldId") - @Expose - public String fieldId; - /** * The Customized Label. * @@ -59,6 +51,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String defaultLabel; + /** + * The Field Id. + * + */ + @SerializedName("fieldId") + @Expose + public String fieldId; + /** * The Type. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/PaymentTerm.java b/src/main/java/com/microsoft/graph/models/extensions/PaymentTerm.java index 2d1be71cd1f..200a9b081a3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PaymentTerm.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PaymentTerm.java @@ -27,28 +27,20 @@ public class PaymentTerm extends Entity implements IJsonBackedObject { /** - * The Code. - * - */ - @SerializedName("code") - @Expose - public String code; - - /** - * The Display Name. + * The Calculate Discount On Credit Memos. * */ - @SerializedName("displayName") + @SerializedName("calculateDiscountOnCreditMemos") @Expose - public String displayName; + public Boolean calculateDiscountOnCreditMemos; /** - * The Due Date Calculation. + * The Code. * */ - @SerializedName("dueDateCalculation") + @SerializedName("code") @Expose - public String dueDateCalculation; + public String code; /** * The Discount Date Calculation. @@ -67,12 +59,20 @@ public class PaymentTerm extends Entity implements IJsonBackedObject { public java.math.BigDecimal discountPercent; /** - * The Calculate Discount On Credit Memos. + * The Display Name. * */ - @SerializedName("calculateDiscountOnCreditMemos") + @SerializedName("displayName") @Expose - public Boolean calculateDiscountOnCreditMemos; + public String displayName; + + /** + * The Due Date Calculation. + * + */ + @SerializedName("dueDateCalculation") + @Expose + public String dueDateCalculation; /** * The Last Modified Date Time. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantConditionSet.java b/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantConditionSet.java index 1881108e9bb..60e53899720 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantConditionSet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantConditionSet.java @@ -28,68 +28,68 @@ public class PermissionGrantConditionSet extends Entity implements IJsonBackedOb /** - * The Permission Classification. + * The Client Application Ids. * */ - @SerializedName("permissionClassification") + @SerializedName("clientApplicationIds") @Expose - public String permissionClassification; + public java.util.List clientApplicationIds; /** - * The Permission Type. + * The Client Application Publisher Ids. * */ - @SerializedName("permissionType") + @SerializedName("clientApplicationPublisherIds") @Expose - public PermissionType permissionType; + public java.util.List clientApplicationPublisherIds; /** - * The Resource Application. + * The Client Applications From Verified Publisher Only. * */ - @SerializedName("resourceApplication") + @SerializedName("clientApplicationsFromVerifiedPublisherOnly") @Expose - public String resourceApplication; + public Boolean clientApplicationsFromVerifiedPublisherOnly; /** - * The Permissions. + * The Client Application Tenant Ids. * */ - @SerializedName("permissions") + @SerializedName("clientApplicationTenantIds") @Expose - public java.util.List permissions; + public java.util.List clientApplicationTenantIds; /** - * The Client Application Ids. + * The Permission Classification. * */ - @SerializedName("clientApplicationIds") + @SerializedName("permissionClassification") @Expose - public java.util.List clientApplicationIds; + public String permissionClassification; /** - * The Client Application Tenant Ids. + * The Permissions. * */ - @SerializedName("clientApplicationTenantIds") + @SerializedName("permissions") @Expose - public java.util.List clientApplicationTenantIds; + public java.util.List permissions; /** - * The Client Application Publisher Ids. + * The Permission Type. * */ - @SerializedName("clientApplicationPublisherIds") + @SerializedName("permissionType") @Expose - public java.util.List clientApplicationPublisherIds; + public PermissionType permissionType; /** - * The Client Applications From Verified Publisher Only. + * The Resource Application. * */ - @SerializedName("clientApplicationsFromVerifiedPublisherOnly") + @SerializedName("resourceApplication") @Expose - public Boolean clientApplicationsFromVerifiedPublisherOnly; + public String resourceApplication; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantPolicy.java b/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantPolicy.java index 4ce4822c64f..aad259cf92a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantPolicy.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PermissionGrantPolicy.java @@ -30,16 +30,16 @@ public class PermissionGrantPolicy extends PolicyBase implements IJsonBackedObje /** - * The Includes. + * The Excludes. * */ - public PermissionGrantConditionSetCollectionPage includes; + public PermissionGrantConditionSetCollectionPage excludes; /** - * The Excludes. + * The Includes. * */ - public PermissionGrantConditionSetCollectionPage excludes; + public PermissionGrantConditionSetCollectionPage includes; /** @@ -81,36 +81,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("includes")) { + if (json.has("excludes")) { final PermissionGrantConditionSetCollectionResponse response = new PermissionGrantConditionSetCollectionResponse(); - if (json.has("includes@odata.nextLink")) { - response.nextLink = json.get("includes@odata.nextLink").getAsString(); + if (json.has("excludes@odata.nextLink")) { + response.nextLink = json.get("excludes@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("includes").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("excludes").toString(), JsonObject[].class); final PermissionGrantConditionSet[] array = new PermissionGrantConditionSet[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), PermissionGrantConditionSet.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - includes = new PermissionGrantConditionSetCollectionPage(response, null); + excludes = new PermissionGrantConditionSetCollectionPage(response, null); } - if (json.has("excludes")) { + if (json.has("includes")) { final PermissionGrantConditionSetCollectionResponse response = new PermissionGrantConditionSetCollectionResponse(); - if (json.has("excludes@odata.nextLink")) { - response.nextLink = json.get("excludes@odata.nextLink").getAsString(); + if (json.has("includes@odata.nextLink")) { + response.nextLink = json.get("includes@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("excludes").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("includes").toString(), JsonObject[].class); final PermissionGrantConditionSet[] array = new PermissionGrantConditionSet[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), PermissionGrantConditionSet.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - excludes = new PermissionGrantConditionSetCollectionPage(response, null); + includes = new PermissionGrantConditionSetCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/Person.java b/src/main/java/com/microsoft/graph/models/extensions/Person.java index c7b240d9237..99d8eec6d7e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Person.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Person.java @@ -11,8 +11,8 @@ import com.microsoft.graph.models.extensions.RankedEmailAddress; import com.microsoft.graph.models.extensions.Phone; import com.microsoft.graph.models.extensions.Location; -import com.microsoft.graph.models.extensions.Website; import com.microsoft.graph.models.extensions.PersonDataSource; +import com.microsoft.graph.models.extensions.Website; import com.microsoft.graph.models.extensions.Entity; @@ -31,30 +31,6 @@ public class Person extends Entity implements IJsonBackedObject { - /** - * The Display Name. - * The person's display name. - */ - @SerializedName("displayName") - @Expose - public String displayName; - - /** - * The Given Name. - * The person's given name. - */ - @SerializedName("givenName") - @Expose - public String givenName; - - /** - * The Surname. - * The person's surname. - */ - @SerializedName("surname") - @Expose - public String surname; - /** * The Birthday. * The person's birthday. @@ -64,20 +40,28 @@ public class Person extends Entity implements IJsonBackedObject { public String birthday; /** - * The Person Notes. - * Free-form notes that the user has taken about this person. + * The Company Name. + * The name of the person's company. */ - @SerializedName("personNotes") + @SerializedName("companyName") @Expose - public String personNotes; + public String companyName; /** - * The Is Favorite. - * true if the user has flagged this person as a favorite. + * The Department. + * The person's department. */ - @SerializedName("isFavorite") + @SerializedName("department") @Expose - public Boolean isFavorite; + public String department; + + /** + * The Display Name. + * The person's display name. + */ + @SerializedName("displayName") + @Expose + public String displayName; /** * The Email Addresses. @@ -88,68 +72,68 @@ public class Person extends Entity implements IJsonBackedObject { public java.util.List emailAddresses; /** - * The Phones. - * The person's phone numbers. + * The Given Name. + * The person's given name. */ - @SerializedName("phones") + @SerializedName("givenName") @Expose - public java.util.List phones; + public String givenName; /** - * The Postal Addresses. - * The person's addresses. + * The Is Favorite. + * true if the user has flagged this person as a favorite. */ - @SerializedName("postalAddresses") + @SerializedName("isFavorite") @Expose - public java.util.List postalAddresses; + public Boolean isFavorite; /** - * The Websites. - * The person's websites. + * The Mailbox Type. + * */ - @SerializedName("websites") + @SerializedName("mailboxType") @Expose - public java.util.List websites; + public String mailboxType; /** - * The Title. - * + * The Office Location. + * The location of the person's office. */ - @SerializedName("title") + @SerializedName("officeLocation") @Expose - public String title; + public String officeLocation; /** - * The Company Name. - * The name of the person's company. + * The Person Notes. + * Free-form notes that the user has taken about this person. */ - @SerializedName("companyName") + @SerializedName("personNotes") @Expose - public String companyName; + public String personNotes; /** - * The Yomi Company. - * The phonetic Japanese name of the person's company. + * The Person Type. + * The type of person. */ - @SerializedName("yomiCompany") + @SerializedName("personType") @Expose - public String yomiCompany; + public String personType; /** - * The Department. - * The person's department. + * The Phones. + * The person's phone numbers. */ - @SerializedName("department") + @SerializedName("phones") @Expose - public String department; + public java.util.List phones; /** - * The Office Location. - * The location of the person's office. + * The Postal Addresses. + * The person's addresses. */ - @SerializedName("officeLocation") + @SerializedName("postalAddresses") @Expose - public String officeLocation; + public java.util.List postalAddresses; /** * The Profession. @@ -168,20 +152,20 @@ public class Person extends Entity implements IJsonBackedObject { public java.util.List sources; /** - * The Mailbox Type. - * + * The Surname. + * The person's surname. */ - @SerializedName("mailboxType") + @SerializedName("surname") @Expose - public String mailboxType; + public String surname; /** - * The Person Type. - * The type of person. + * The Title. + * */ - @SerializedName("personType") + @SerializedName("title") @Expose - public String personType; + public String title; /** * The User Principal Name. @@ -191,6 +175,22 @@ public class Person extends Entity implements IJsonBackedObject { @Expose public String userPrincipalName; + /** + * The Websites. + * The person's websites. + */ + @SerializedName("websites") + @Expose + public java.util.List websites; + + /** + * The Yomi Company. + * The phonetic Japanese name of the person's company. + */ + @SerializedName("yomiCompany") + @Expose + public String yomiCompany; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PersonAnniversary.java b/src/main/java/com/microsoft/graph/models/extensions/PersonAnniversary.java index bd2e4fbe1e2..80295429400 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PersonAnniversary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PersonAnniversary.java @@ -28,20 +28,20 @@ public class PersonAnniversary extends ItemFacet implements IJsonBackedObject { /** - * The Type. + * The Date. * */ - @SerializedName("type") + @SerializedName("date") @Expose - public AnniversaryType type; + public com.microsoft.graph.models.extensions.DateOnly date; /** - * The Date. + * The Type. * */ - @SerializedName("date") + @SerializedName("type") @Expose - public com.microsoft.graph.models.extensions.DateOnly date; + public AnniversaryType type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PersonInterest.java b/src/main/java/com/microsoft/graph/models/extensions/PersonInterest.java index 0c1de47561b..fb3592140e8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PersonInterest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PersonInterest.java @@ -34,6 +34,14 @@ public class PersonInterest extends ItemFacet implements IJsonBackedObject { @Expose public java.util.List categories; + /** + * The Collaboration Tags. + * + */ + @SerializedName("collaborationTags") + @Expose + public java.util.List collaborationTags; + /** * The Description. * @@ -58,14 +66,6 @@ public class PersonInterest extends ItemFacet implements IJsonBackedObject { @Expose public String webUrl; - /** - * The Collaboration Tags. - * - */ - @SerializedName("collaborationTags") - @Expose - public java.util.List collaborationTags; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PersonName.java b/src/main/java/com/microsoft/graph/models/extensions/PersonName.java index eedfe29d43b..5be61e0547d 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PersonName.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PersonName.java @@ -52,20 +52,20 @@ public class PersonName extends ItemFacet implements IJsonBackedObject { public String initials; /** - * The Last. + * The Language Tag. * */ - @SerializedName("last") + @SerializedName("languageTag") @Expose - public String last; + public String languageTag; /** - * The Language Tag. + * The Last. * */ - @SerializedName("languageTag") + @SerializedName("last") @Expose - public String languageTag; + public String last; /** * The Maiden. @@ -91,6 +91,14 @@ public class PersonName extends ItemFacet implements IJsonBackedObject { @Expose public String nickname; + /** + * The Pronunciation. + * + */ + @SerializedName("pronunciation") + @Expose + public YomiPersonName pronunciation; + /** * The Suffix. * @@ -107,14 +115,6 @@ public class PersonName extends ItemFacet implements IJsonBackedObject { @Expose public String title; - /** - * The Pronunciation. - * - */ - @SerializedName("pronunciation") - @Expose - public YomiPersonName pronunciation; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PersonResponsibility.java b/src/main/java/com/microsoft/graph/models/extensions/PersonResponsibility.java index 1c01ede27f5..718a946242e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PersonResponsibility.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PersonResponsibility.java @@ -26,6 +26,14 @@ public class PersonResponsibility extends ItemFacet implements IJsonBackedObject { + /** + * The Collaboration Tags. + * + */ + @SerializedName("collaborationTags") + @Expose + public java.util.List collaborationTags; + /** * The Description. * @@ -50,14 +58,6 @@ public class PersonResponsibility extends ItemFacet implements IJsonBackedObject @Expose public String webUrl; - /** - * The Collaboration Tags. - * - */ - @SerializedName("collaborationTags") - @Expose - public java.util.List collaborationTags; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Phone.java b/src/main/java/com/microsoft/graph/models/extensions/Phone.java index 02dbb3395a8..060adc984f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Phone.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Phone.java @@ -36,14 +36,6 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } - /** - * The Type. - * The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. - */ - @SerializedName("type") - @Expose - public PhoneType type; - /** * The Number. * The phone number. @@ -52,6 +44,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String number; + /** + * The Type. + * The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + */ + @SerializedName("type") + @Expose + public PhoneType type; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java b/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java index e26c5c290d6..c258d94f0d6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PhysicalAddress.java @@ -37,36 +37,36 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Type. - * + * The City. + * The city. */ - @SerializedName("type") + @SerializedName("city") @Expose - public PhysicalAddressType type; + public String city; /** - * The Post Office Box. - * + * The Country Or Region. + * The country or region. It's a free-format string value, for example, 'United States'. */ - @SerializedName("postOfficeBox") + @SerializedName("countryOrRegion") @Expose - public String postOfficeBox; + public String countryOrRegion; /** - * The Street. - * The street. + * The Postal Code. + * The postal code. */ - @SerializedName("street") + @SerializedName("postalCode") @Expose - public String street; + public String postalCode; /** - * The City. - * The city. + * The Post Office Box. + * */ - @SerializedName("city") + @SerializedName("postOfficeBox") @Expose - public String city; + public String postOfficeBox; /** * The State. @@ -77,20 +77,20 @@ public final AdditionalDataManager additionalDataManager() { public String state; /** - * The Country Or Region. - * The country or region. It's a free-format string value, for example, 'United States'. + * The Street. + * The street. */ - @SerializedName("countryOrRegion") + @SerializedName("street") @Expose - public String countryOrRegion; + public String street; /** - * The Postal Code. - * The postal code. + * The Type. + * */ - @SerializedName("postalCode") + @SerializedName("type") @Expose - public String postalCode; + public PhysicalAddressType type; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Picture.java b/src/main/java/com/microsoft/graph/models/extensions/Picture.java index f5f616ad42a..4a195f55f69 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Picture.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Picture.java @@ -27,12 +27,12 @@ public class Picture extends Entity implements IJsonBackedObject { /** - * The Width. + * The Content Type. * */ - @SerializedName("width") + @SerializedName("contentType") @Expose - public Integer width; + public String contentType; /** * The Height. @@ -43,12 +43,12 @@ public class Picture extends Entity implements IJsonBackedObject { public Integer height; /** - * The Content Type. + * The Width. * */ - @SerializedName("contentType") + @SerializedName("width") @Expose - public String contentType; + public Integer width; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Place.java b/src/main/java/com/microsoft/graph/models/extensions/Place.java index 6d3eae2efb6..701b538bbd1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Place.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Place.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.OutlookGeoCoordinates; import com.microsoft.graph.models.extensions.PhysicalAddress; +import com.microsoft.graph.models.extensions.OutlookGeoCoordinates; import com.microsoft.graph.models.extensions.Entity; @@ -28,6 +28,14 @@ public class Place extends Entity implements IJsonBackedObject { + /** + * The Address. + * The street address of the place. + */ + @SerializedName("address") + @Expose + public PhysicalAddress address; + /** * The Display Name. * The name associated with the place. @@ -52,14 +60,6 @@ public class Place extends Entity implements IJsonBackedObject { @Expose public String phone; - /** - * The Address. - * The street address of the place. - */ - @SerializedName("address") - @Expose - public PhysicalAddress address; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Planner.java b/src/main/java/com/microsoft/graph/models/extensions/Planner.java index 31e97e66525..2412f9e2220 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Planner.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Planner.java @@ -8,16 +8,16 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.models.extensions.PlannerPlan; import com.microsoft.graph.models.extensions.PlannerBucket; +import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.models.extensions.PlannerTask; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; import com.microsoft.graph.requests.extensions.PlannerBucketCollectionResponse; import com.microsoft.graph.requests.extensions.PlannerBucketCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; import com.google.gson.JsonObject; @@ -36,10 +36,10 @@ public class Planner extends Entity implements IJsonBackedObject { /** - * The Tasks. - * Read-only. Nullable. Returns a collection of the specified tasks + * The Buckets. + * Read-only. Nullable. Returns a collection of the specified buckets */ - public PlannerTaskCollectionPage tasks; + public PlannerBucketCollectionPage buckets; /** * The Plans. @@ -48,10 +48,10 @@ public class Planner extends Entity implements IJsonBackedObject { public PlannerPlanCollectionPage plans; /** - * The Buckets. - * Read-only. Nullable. Returns a collection of the specified buckets + * The Tasks. + * Read-only. Nullable. Returns a collection of the specified tasks */ - public PlannerBucketCollectionPage buckets; + public PlannerTaskCollectionPage tasks; /** @@ -93,20 +93,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("tasks")) { - final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + if (json.has("buckets")) { + final PlannerBucketCollectionResponse response = new PlannerBucketCollectionResponse(); + if (json.has("buckets@odata.nextLink")) { + response.nextLink = json.get("buckets@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final PlannerTask[] array = new PlannerTask[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("buckets").toString(), JsonObject[].class); + final PlannerBucket[] array = new PlannerBucket[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerBucket.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - tasks = new PlannerTaskCollectionPage(response, null); + buckets = new PlannerBucketCollectionPage(response, null); } if (json.has("plans")) { @@ -125,20 +125,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { plans = new PlannerPlanCollectionPage(response, null); } - if (json.has("buckets")) { - final PlannerBucketCollectionResponse response = new PlannerBucketCollectionResponse(); - if (json.has("buckets@odata.nextLink")) { - response.nextLink = json.get("buckets@odata.nextLink").getAsString(); + if (json.has("tasks")) { + final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("buckets").toString(), JsonObject[].class); - final PlannerBucket[] array = new PlannerBucket[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final PlannerTask[] array = new PlannerTask[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerBucket.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - buckets = new PlannerBucketCollectionPage(response, null); + tasks = new PlannerTaskCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java index 27a7cd33161..88c5b403fe7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java @@ -27,14 +27,6 @@ public class PlannerAssignedToTaskBoardTaskFormat extends PlannerDelta implements IJsonBackedObject { - /** - * The Unassigned Order Hint. - * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. - */ - @SerializedName("unassignedOrderHint") - @Expose - public String unassignedOrderHint; - /** * The Order Hints By Assignee. * Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here. @@ -43,6 +35,14 @@ public class PlannerAssignedToTaskBoardTaskFormat extends PlannerDelta implement @Expose public PlannerOrderHintsByAssignee orderHintsByAssignee; + /** + * The Unassigned Order Hint. + * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + */ + @SerializedName("unassignedOrderHint") + @Expose + public String unassignedOrderHint; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java index bf1f0bdc15a..b1c33791ae3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerBucket.java @@ -37,14 +37,6 @@ public class PlannerBucket extends PlannerDelta implements IJsonBackedObject { @Expose public String name; - /** - * The Plan Id. - * Plan ID to which the bucket belongs. - */ - @SerializedName("planId") - @Expose - public String planId; - /** * The Order Hint. * Hint used to order items of this type in a list view. The format is defined as outlined here. @@ -53,6 +45,14 @@ public class PlannerBucket extends PlannerDelta implements IJsonBackedObject { @Expose public String orderHint; + /** + * The Plan Id. + * Plan ID to which the bucket belongs. + */ + @SerializedName("planId") + @Expose + public String planId; + /** * The Tasks. * Read-only. Nullable. The collection of tasks in the bucket. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java index 052ec9e6e91..7e59c94d63b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerChecklistItem.java @@ -44,22 +44,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public Boolean isChecked; - /** - * The Title. - * Title of the checklist item - */ - @SerializedName("title") - @Expose - public String title; - - /** - * The Order Hint. - * Used to set the relative order of items in the checklist. The format is defined as outlined here. - */ - @SerializedName("orderHint") - @Expose - public String orderHint; - /** * The Last Modified By. * Read-only. User ID by which this is last modified. @@ -76,6 +60,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar lastModifiedDateTime; + /** + * The Order Hint. + * Used to set the relative order of items in the checklist. The format is defined as outlined here. + */ + @SerializedName("orderHint") + @Expose + public String orderHint; + + /** + * The Title. + * Title of the checklist item + */ + @SerializedName("title") + @Expose + public String title; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java index 237395afa61..92f7aa7ab19 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerExternalReference.java @@ -44,22 +44,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String alias; - /** - * The Type. - * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. - */ - @SerializedName("type") - @Expose - public String type; - - /** - * The Preview Priority. - * Used to set the relative priority order in which the reference will be shown as a preview on the task. - */ - @SerializedName("previewPriority") - @Expose - public String previewPriority; - /** * The Last Modified By. * Read-only. User ID by which this is last modified. @@ -76,6 +60,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.Calendar lastModifiedDateTime; + /** + * The Preview Priority. + * Used to set the relative priority order in which the reference will be shown as a preview on the task. + */ + @SerializedName("previewPriority") + @Expose + public String previewPriority; + + /** + * The Type. + * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. + */ + @SerializedName("type") + @Expose + public String type; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java index 3bee8e59e9a..6650b8904f6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlan.java @@ -8,16 +8,16 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.extensions.PlannerPlanContextCollection; -import com.microsoft.graph.models.extensions.PlannerTask; +import com.microsoft.graph.models.extensions.IdentitySet; import com.microsoft.graph.models.extensions.PlannerBucket; import com.microsoft.graph.models.extensions.PlannerPlanDetails; +import com.microsoft.graph.models.extensions.PlannerTask; import com.microsoft.graph.models.extensions.PlannerDelta; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; import com.microsoft.graph.requests.extensions.PlannerBucketCollectionResponse; import com.microsoft.graph.requests.extensions.PlannerBucketCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; import com.google.gson.JsonObject; @@ -35,6 +35,14 @@ public class PlannerPlan extends PlannerDelta implements IJsonBackedObject { + /** + * The Contexts. + * + */ + @SerializedName("contexts") + @Expose + public PlannerPlanContextCollection contexts; + /** * The Created By. * Read-only. The user who created the plan. @@ -67,20 +75,6 @@ public class PlannerPlan extends PlannerDelta implements IJsonBackedObject { @Expose public String title; - /** - * The Contexts. - * - */ - @SerializedName("contexts") - @Expose - public PlannerPlanContextCollection contexts; - - /** - * The Tasks. - * Read-only. Nullable. Collection of tasks in the plan. - */ - public PlannerTaskCollectionPage tasks; - /** * The Buckets. * Read-only. Nullable. Collection of buckets in the plan. @@ -95,6 +89,12 @@ public class PlannerPlan extends PlannerDelta implements IJsonBackedObject { @Expose public PlannerPlanDetails details; + /** + * The Tasks. + * Read-only. Nullable. Collection of tasks in the plan. + */ + public PlannerTaskCollectionPage tasks; + /** * The raw representation of this class @@ -135,22 +135,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("tasks")) { - final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final PlannerTask[] array = new PlannerTask[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - tasks = new PlannerTaskCollectionPage(response, null); - } - if (json.has("buckets")) { final PlannerBucketCollectionResponse response = new PlannerBucketCollectionResponse(); if (json.has("buckets@odata.nextLink")) { @@ -166,5 +150,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); buckets = new PlannerBucketCollectionPage(response, null); } + + if (json.has("tasks")) { + final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final PlannerTask[] array = new PlannerTask[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + tasks = new PlannerTaskCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java index c38decede8e..4f39d2f4796 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerPlanDetails.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PlannerUserIds; import com.microsoft.graph.models.extensions.PlannerCategoryDescriptions; import com.microsoft.graph.models.extensions.PlannerPlanContextDetailsCollection; +import com.microsoft.graph.models.extensions.PlannerUserIds; import com.microsoft.graph.models.extensions.PlannerDelta; @@ -29,14 +29,6 @@ public class PlannerPlanDetails extends PlannerDelta implements IJsonBackedObject { - /** - * The Shared With. - * Set of user ids that this plan is shared with. If you are leveraging Microsoft 365 groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group. - */ - @SerializedName("sharedWith") - @Expose - public PlannerUserIds sharedWith; - /** * The Category Descriptions. * An object that specifies the descriptions of the six categories that can be associated with tasks in the plan @@ -53,6 +45,14 @@ public class PlannerPlanDetails extends PlannerDelta implements IJsonBackedObjec @Expose public PlannerPlanContextDetailsCollection contextDetails; + /** + * The Shared With. + * Set of user ids that this plan is shared with. If you are leveraging Microsoft 365 groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group. + */ + @SerializedName("sharedWith") + @Expose + public PlannerUserIds sharedWith; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java index 7d63a35d61b..3497e49d0b6 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerTask.java @@ -8,14 +8,14 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IdentitySet; -import com.microsoft.graph.models.generated.PlannerPreviewType; import com.microsoft.graph.models.extensions.PlannerAppliedCategories; import com.microsoft.graph.models.extensions.PlannerAssignments; -import com.microsoft.graph.models.extensions.PlannerTaskDetails; +import com.microsoft.graph.models.extensions.IdentitySet; +import com.microsoft.graph.models.generated.PlannerPreviewType; import com.microsoft.graph.models.extensions.PlannerAssignedToTaskBoardTaskFormat; -import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; import com.microsoft.graph.models.extensions.PlannerBucketTaskBoardTaskFormat; +import com.microsoft.graph.models.extensions.PlannerTaskDetails; +import com.microsoft.graph.models.extensions.PlannerProgressTaskBoardTaskFormat; import com.microsoft.graph.models.extensions.PlannerDelta; @@ -35,76 +35,84 @@ public class PlannerTask extends PlannerDelta implements IJsonBackedObject { /** - * The Created By. - * Identity of the user that created the task. + * The Active Checklist Item Count. + * Number of checklist items with value set to false, representing incomplete items. */ - @SerializedName("createdBy") + @SerializedName("activeChecklistItemCount") @Expose - public IdentitySet createdBy; + public Integer activeChecklistItemCount; /** - * The Plan Id. - * Plan ID to which the task belongs. + * The Applied Categories. + * The categories to which the task has been applied. See applied Categories for possible values. */ - @SerializedName("planId") + @SerializedName("appliedCategories") @Expose - public String planId; + public PlannerAppliedCategories appliedCategories; /** - * The Bucket Id. - * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. + * The Assignee Priority. + * Hint used to order items of this type in a list view. The format is defined as outlined here. */ - @SerializedName("bucketId") + @SerializedName("assigneePriority") @Expose - public String bucketId; + public String assigneePriority; /** - * The Title. - * Title of the task. + * The Assignments. + * The set of assignees the task is assigned to. */ - @SerializedName("title") + @SerializedName("assignments") @Expose - public String title; + public PlannerAssignments assignments; /** - * The Order Hint. - * Hint used to order items of this type in a list view. The format is defined as outlined here. + * The Bucket Id. + * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. */ - @SerializedName("orderHint") + @SerializedName("bucketId") @Expose - public String orderHint; + public String bucketId; /** - * The Assignee Priority. - * Hint used to order items of this type in a list view. The format is defined as outlined here. + * The Checklist Item Count. + * Number of checklist items that are present on the task. */ - @SerializedName("assigneePriority") + @SerializedName("checklistItemCount") @Expose - public String assigneePriority; + public Integer checklistItemCount; /** - * The Percent Complete. - * Percentage of task completion. When set to 100, the task is considered completed. + * The Completed By. + * Identity of the user that completed the task. */ - @SerializedName("percentComplete") + @SerializedName("completedBy") @Expose - public Integer percentComplete; + public IdentitySet completedBy; /** - * The Priority. - * + * The Completed Date Time. + * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("priority") + @SerializedName("completedDateTime") @Expose - public Integer priority; + public java.util.Calendar completedDateTime; /** - * The Start Date Time. - * Date and time at which the task starts. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Conversation Thread Id. + * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. */ - @SerializedName("startDateTime") + @SerializedName("conversationThreadId") @Expose - public java.util.Calendar startDateTime; + public String conversationThreadId; + + /** + * The Created By. + * Identity of the user that created the task. + */ + @SerializedName("createdBy") + @Expose + public IdentitySet createdBy; /** * The Created Date Time. @@ -131,92 +139,92 @@ public class PlannerTask extends PlannerDelta implements IJsonBackedObject { public Boolean hasDescription; /** - * The Preview Type. - * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference. + * The Order Hint. + * Hint used to order items of this type in a list view. The format is defined as outlined here. */ - @SerializedName("previewType") + @SerializedName("orderHint") @Expose - public PlannerPreviewType previewType; + public String orderHint; /** - * The Completed Date Time. - * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Percent Complete. + * Percentage of task completion. When set to 100, the task is considered completed. */ - @SerializedName("completedDateTime") + @SerializedName("percentComplete") @Expose - public java.util.Calendar completedDateTime; + public Integer percentComplete; /** - * The Completed By. - * Identity of the user that completed the task. + * The Plan Id. + * Plan ID to which the task belongs. */ - @SerializedName("completedBy") + @SerializedName("planId") @Expose - public IdentitySet completedBy; + public String planId; /** - * The Reference Count. - * Number of external references that exist on the task. + * The Preview Type. + * This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference. */ - @SerializedName("referenceCount") + @SerializedName("previewType") @Expose - public Integer referenceCount; + public PlannerPreviewType previewType; /** - * The Checklist Item Count. - * Number of checklist items that are present on the task. + * The Priority. + * */ - @SerializedName("checklistItemCount") + @SerializedName("priority") @Expose - public Integer checklistItemCount; + public Integer priority; /** - * The Active Checklist Item Count. - * Number of checklist items with value set to false, representing incomplete items. + * The Reference Count. + * Number of external references that exist on the task. */ - @SerializedName("activeChecklistItemCount") + @SerializedName("referenceCount") @Expose - public Integer activeChecklistItemCount; + public Integer referenceCount; /** - * The Applied Categories. - * The categories to which the task has been applied. See applied Categories for possible values. + * The Start Date Time. + * Date and time at which the task starts. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("appliedCategories") + @SerializedName("startDateTime") @Expose - public PlannerAppliedCategories appliedCategories; + public java.util.Calendar startDateTime; /** - * The Assignments. - * The set of assignees the task is assigned to. + * The Title. + * Title of the task. */ - @SerializedName("assignments") + @SerializedName("title") @Expose - public PlannerAssignments assignments; + public String title; /** - * The Conversation Thread Id. - * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. + * The Assigned To Task Board Format. + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. */ - @SerializedName("conversationThreadId") + @SerializedName("assignedToTaskBoardFormat") @Expose - public String conversationThreadId; + public PlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat; /** - * The Details. - * Read-only. Nullable. Additional details about the task. + * The Bucket Task Board Format. + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. */ - @SerializedName("details") + @SerializedName("bucketTaskBoardFormat") @Expose - public PlannerTaskDetails details; + public PlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat; /** - * The Assigned To Task Board Format. - * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. + * The Details. + * Read-only. Nullable. Additional details about the task. */ - @SerializedName("assignedToTaskBoardFormat") + @SerializedName("details") @Expose - public PlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat; + public PlannerTaskDetails details; /** * The Progress Task Board Format. @@ -226,14 +234,6 @@ public class PlannerTask extends PlannerDelta implements IJsonBackedObject { @Expose public PlannerProgressTaskBoardTaskFormat progressTaskBoardFormat; - /** - * The Bucket Task Board Format. - * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. - */ - @SerializedName("bucketTaskBoardFormat") - @Expose - public PlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java index 728da89a2b8..4b87c3f526f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerTaskDetails.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PlannerChecklistItems; import com.microsoft.graph.models.generated.PlannerPreviewType; import com.microsoft.graph.models.extensions.PlannerExternalReferences; -import com.microsoft.graph.models.extensions.PlannerChecklistItems; import com.microsoft.graph.models.extensions.PlannerDelta; @@ -29,6 +29,14 @@ public class PlannerTaskDetails extends PlannerDelta implements IJsonBackedObject { + /** + * The Checklist. + * The collection of checklist items on the task. + */ + @SerializedName("checklist") + @Expose + public PlannerChecklistItems checklist; + /** * The Description. * Description of the task @@ -53,14 +61,6 @@ public class PlannerTaskDetails extends PlannerDelta implements IJsonBackedObjec @Expose public PlannerExternalReferences references; - /** - * The Checklist. - * The collection of checklist items on the task. - */ - @SerializedName("checklist") - @Expose - public PlannerChecklistItems checklist; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java b/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java index d39ce4bb913..4b93759b173 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PlannerUser.java @@ -10,15 +10,15 @@ import java.util.EnumSet; import com.microsoft.graph.models.extensions.PlannerFavoritePlanReferenceCollection; import com.microsoft.graph.models.extensions.PlannerRecentPlanReferenceCollection; -import com.microsoft.graph.models.extensions.PlannerTask; -import com.microsoft.graph.models.extensions.PlannerPlan; import com.microsoft.graph.models.extensions.PlannerDelta; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionResponse; -import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; +import com.microsoft.graph.models.extensions.PlannerPlan; +import com.microsoft.graph.models.extensions.PlannerTask; import com.microsoft.graph.requests.extensions.PlannerDeltaCollectionResponse; import com.microsoft.graph.requests.extensions.PlannerDeltaCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerPlanCollectionPage; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionResponse; +import com.microsoft.graph.requests.extensions.PlannerTaskCollectionPage; import com.google.gson.JsonObject; @@ -53,16 +53,10 @@ public class PlannerUser extends PlannerDelta implements IJsonBackedObject { public PlannerRecentPlanReferenceCollection recentPlanReferences; /** - * The Tasks. - * Read-only. Nullable. Returns the plannerPlans shared with the user. - */ - public PlannerTaskCollectionPage tasks; - - /** - * The Plans. - * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * The All. + * */ - public PlannerPlanCollectionPage plans; + public PlannerDeltaCollectionPage all; /** * The Favorite Plans. @@ -70,6 +64,12 @@ public class PlannerUser extends PlannerDelta implements IJsonBackedObject { */ public PlannerPlanCollectionPage favoritePlans; + /** + * The Plans. + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + */ + public PlannerPlanCollectionPage plans; + /** * The Recent Plans. * @@ -77,10 +77,10 @@ public class PlannerUser extends PlannerDelta implements IJsonBackedObject { public PlannerPlanCollectionPage recentPlans; /** - * The All. - * + * The Tasks. + * Read-only. Nullable. Returns the plannerPlans shared with the user. */ - public PlannerDeltaCollectionPage all; + public PlannerTaskCollectionPage tasks; /** @@ -122,52 +122,52 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("tasks")) { - final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); - if (json.has("tasks@odata.nextLink")) { - response.nextLink = json.get("tasks@odata.nextLink").getAsString(); + if (json.has("all")) { + final PlannerDeltaCollectionResponse response = new PlannerDeltaCollectionResponse(); + if (json.has("all@odata.nextLink")) { + response.nextLink = json.get("all@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); - final PlannerTask[] array = new PlannerTask[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("all").toString(), JsonObject[].class); + final PlannerDelta[] array = new PlannerDelta[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerDelta.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - tasks = new PlannerTaskCollectionPage(response, null); + all = new PlannerDeltaCollectionPage(response, null); } - if (json.has("plans")) { + if (json.has("favoritePlans")) { final PlannerPlanCollectionResponse response = new PlannerPlanCollectionResponse(); - if (json.has("plans@odata.nextLink")) { - response.nextLink = json.get("plans@odata.nextLink").getAsString(); + if (json.has("favoritePlans@odata.nextLink")) { + response.nextLink = json.get("favoritePlans@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("favoritePlans").toString(), JsonObject[].class); final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - plans = new PlannerPlanCollectionPage(response, null); + favoritePlans = new PlannerPlanCollectionPage(response, null); } - if (json.has("favoritePlans")) { + if (json.has("plans")) { final PlannerPlanCollectionResponse response = new PlannerPlanCollectionResponse(); - if (json.has("favoritePlans@odata.nextLink")) { - response.nextLink = json.get("favoritePlans@odata.nextLink").getAsString(); + if (json.has("plans@odata.nextLink")) { + response.nextLink = json.get("plans@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("favoritePlans").toString(), JsonObject[].class); + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("plans").toString(), JsonObject[].class); final PlannerPlan[] array = new PlannerPlan[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerPlan.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - favoritePlans = new PlannerPlanCollectionPage(response, null); + plans = new PlannerPlanCollectionPage(response, null); } if (json.has("recentPlans")) { @@ -186,20 +186,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { recentPlans = new PlannerPlanCollectionPage(response, null); } - if (json.has("all")) { - final PlannerDeltaCollectionResponse response = new PlannerDeltaCollectionResponse(); - if (json.has("all@odata.nextLink")) { - response.nextLink = json.get("all@odata.nextLink").getAsString(); + if (json.has("tasks")) { + final PlannerTaskCollectionResponse response = new PlannerTaskCollectionResponse(); + if (json.has("tasks@odata.nextLink")) { + response.nextLink = json.get("tasks@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("all").toString(), JsonObject[].class); - final PlannerDelta[] array = new PlannerDelta[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("tasks").toString(), JsonObject[].class); + final PlannerTask[] array = new PlannerTask[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerDelta.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PlannerTask.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - all = new PlannerDeltaCollectionPage(response, null); + tasks = new PlannerTaskCollectionPage(response, null); } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PolicyRoot.java b/src/main/java/com/microsoft/graph/models/extensions/PolicyRoot.java index 0b40913abc7..2dfbf75f879 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PolicyRoot.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PolicyRoot.java @@ -19,8 +19,8 @@ import com.microsoft.graph.models.extensions.TokenLifetimePolicy; import com.microsoft.graph.models.extensions.AdminConsentRequestPolicy; import com.microsoft.graph.models.extensions.DirectoryRoleAccessReviewPolicy; -import com.microsoft.graph.models.extensions.IdentitySecurityDefaultsEnforcementPolicy; import com.microsoft.graph.models.extensions.ConditionalAccessPolicy; +import com.microsoft.graph.models.extensions.IdentitySecurityDefaultsEnforcementPolicy; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.ActivityBasedTimeoutPolicyCollectionResponse; import com.microsoft.graph.requests.extensions.ActivityBasedTimeoutPolicyCollectionPage; @@ -130,18 +130,18 @@ public class PolicyRoot extends Entity implements IJsonBackedObject { public DirectoryRoleAccessReviewPolicy directoryRoleAccessReviewPolicy; /** - * The Identity Security Defaults Enforcement Policy. + * The Conditional Access Policies. * */ - @SerializedName("identitySecurityDefaultsEnforcementPolicy") - @Expose - public IdentitySecurityDefaultsEnforcementPolicy identitySecurityDefaultsEnforcementPolicy; + public ConditionalAccessPolicyCollectionPage conditionalAccessPolicies; /** - * The Conditional Access Policies. + * The Identity Security Defaults Enforcement Policy. * */ - public ConditionalAccessPolicyCollectionPage conditionalAccessPolicies; + @SerializedName("identitySecurityDefaultsEnforcementPolicy") + @Expose + public IdentitySecurityDefaultsEnforcementPolicy identitySecurityDefaultsEnforcementPolicy; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PolicySet.java b/src/main/java/com/microsoft/graph/models/extensions/PolicySet.java index 57d176a6184..7b0061feaf1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PolicySet.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PolicySet.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.PolicySetStatus; import com.microsoft.graph.models.generated.ErrorCode; +import com.microsoft.graph.models.generated.PolicySetStatus; import com.microsoft.graph.models.extensions.PolicySetAssignment; import com.microsoft.graph.models.extensions.PolicySetItem; import com.microsoft.graph.models.extensions.Entity; @@ -42,22 +42,6 @@ public class PolicySet extends Entity implements IJsonBackedObject { @Expose public java.util.Calendar createdDateTime; - /** - * The Last Modified Date Time. - * Last modified time of the PolicySet. - */ - @SerializedName("lastModifiedDateTime") - @Expose - public java.util.Calendar lastModifiedDateTime; - - /** - * The Display Name. - * DisplayName of the PolicySet. - */ - @SerializedName("displayName") - @Expose - public String displayName; - /** * The Description. * Description of the PolicySet. @@ -67,12 +51,12 @@ public class PolicySet extends Entity implements IJsonBackedObject { public String description; /** - * The Status. - * Validation/assignment status of the PolicySet. + * The Display Name. + * DisplayName of the PolicySet. */ - @SerializedName("status") + @SerializedName("displayName") @Expose - public PolicySetStatus status; + public String displayName; /** * The Error Code. @@ -90,6 +74,14 @@ public class PolicySet extends Entity implements IJsonBackedObject { @Expose public java.util.List guidedDeploymentTags; + /** + * The Last Modified Date Time. + * Last modified time of the PolicySet. + */ + @SerializedName("lastModifiedDateTime") + @Expose + public java.util.Calendar lastModifiedDateTime; + /** * The Role Scope Tags. * RoleScopeTags of the PolicySet @@ -98,6 +90,14 @@ public class PolicySet extends Entity implements IJsonBackedObject { @Expose public java.util.List roleScopeTags; + /** + * The Status. + * Validation/assignment status of the PolicySet. + */ + @SerializedName("status") + @Expose + public PolicySetStatus status; + /** * The Assignments. * Assignments of the PolicySet. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PolicySetItem.java b/src/main/java/com/microsoft/graph/models/extensions/PolicySetItem.java index 107db717746..e826c39281e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PolicySetItem.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PolicySetItem.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.PolicySetStatus; import com.microsoft.graph.models.generated.ErrorCode; +import com.microsoft.graph.models.generated.PolicySetStatus; import com.microsoft.graph.models.extensions.Entity; @@ -37,60 +37,60 @@ public class PolicySetItem extends Entity implements IJsonBackedObject { public java.util.Calendar createdDateTime; /** - * The Last Modified Date Time. - * Last modified time of the PolicySetItem. + * The Display Name. + * DisplayName of the PolicySetItem. */ - @SerializedName("lastModifiedDateTime") + @SerializedName("displayName") @Expose - public java.util.Calendar lastModifiedDateTime; + public String displayName; /** - * The Payload Id. - * PayloadId of the PolicySetItem. + * The Error Code. + * Error code if any occured. */ - @SerializedName("payloadId") + @SerializedName("errorCode") @Expose - public String payloadId; + public ErrorCode errorCode; /** - * The Item Type. - * policySetType of the PolicySetItem. + * The Guided Deployment Tags. + * Tags of the guided deployment */ - @SerializedName("itemType") + @SerializedName("guidedDeploymentTags") @Expose - public String itemType; + public java.util.List guidedDeploymentTags; /** - * The Display Name. - * DisplayName of the PolicySetItem. + * The Item Type. + * policySetType of the PolicySetItem. */ - @SerializedName("displayName") + @SerializedName("itemType") @Expose - public String displayName; + public String itemType; /** - * The Status. - * Status of the PolicySetItem. + * The Last Modified Date Time. + * Last modified time of the PolicySetItem. */ - @SerializedName("status") + @SerializedName("lastModifiedDateTime") @Expose - public PolicySetStatus status; + public java.util.Calendar lastModifiedDateTime; /** - * The Error Code. - * Error code if any occured. + * The Payload Id. + * PayloadId of the PolicySetItem. */ - @SerializedName("errorCode") + @SerializedName("payloadId") @Expose - public ErrorCode errorCode; + public String payloadId; /** - * The Guided Deployment Tags. - * Tags of the guided deployment + * The Status. + * Status of the PolicySetItem. */ - @SerializedName("guidedDeploymentTags") + @SerializedName("status") @Expose - public java.util.List guidedDeploymentTags; + public PolicySetStatus status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Post.java b/src/main/java/com/microsoft/graph/models/extensions/Post.java index 1a0adb69943..3d05a003794 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Post.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Post.java @@ -11,23 +11,23 @@ import com.microsoft.graph.models.extensions.ItemBody; import com.microsoft.graph.models.extensions.Recipient; import com.microsoft.graph.models.generated.Importance; -import com.microsoft.graph.models.extensions.Post; -import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; -import com.microsoft.graph.models.extensions.Extension; import com.microsoft.graph.models.extensions.Attachment; +import com.microsoft.graph.models.extensions.Extension; +import com.microsoft.graph.models.extensions.Post; import com.microsoft.graph.models.extensions.Mention; +import com.microsoft.graph.models.extensions.MultiValueLegacyExtendedProperty; +import com.microsoft.graph.models.extensions.SingleValueLegacyExtendedProperty; import com.microsoft.graph.models.extensions.OutlookItem; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; -import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; -import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; -import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; import com.microsoft.graph.requests.extensions.AttachmentCollectionResponse; import com.microsoft.graph.requests.extensions.AttachmentCollectionPage; +import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse; +import com.microsoft.graph.requests.extensions.ExtensionCollectionPage; import com.microsoft.graph.requests.extensions.MentionCollectionResponse; import com.microsoft.graph.requests.extensions.MentionCollectionPage; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.MultiValueLegacyExtendedPropertyCollectionPage; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionResponse; +import com.microsoft.graph.requests.extensions.SingleValueLegacyExtendedPropertyCollectionPage; import com.google.gson.JsonObject; @@ -54,20 +54,20 @@ public class Post extends OutlookItem implements IJsonBackedObject { public ItemBody body; /** - * The Received Date Time. - * Specifies when the post was received. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' + * The Conversation Id. + * Unique ID of the conversation. Read-only. */ - @SerializedName("receivedDateTime") + @SerializedName("conversationId") @Expose - public java.util.Calendar receivedDateTime; + public String conversationId; /** - * The Has Attachments. - * Indicates whether the post has at least one attachment. This is a default property. + * The Conversation Thread Id. + * Unique ID of the conversation thread. Read-only. */ - @SerializedName("hasAttachments") + @SerializedName("conversationThreadId") @Expose - public Boolean hasAttachments; + public String conversationThreadId; /** * The From. @@ -78,20 +78,20 @@ public class Post extends OutlookItem implements IJsonBackedObject { public Recipient from; /** - * The Sender. - * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. + * The Has Attachments. + * Indicates whether the post has at least one attachment. This is a default property. */ - @SerializedName("sender") + @SerializedName("hasAttachments") @Expose - public Recipient sender; + public Boolean hasAttachments; /** - * The Conversation Thread Id. - * Unique ID of the conversation thread. Read-only. + * The Importance. + * */ - @SerializedName("conversationThreadId") + @SerializedName("importance") @Expose - public String conversationThreadId; + public Importance importance; /** * The New Participants. @@ -102,20 +102,32 @@ public class Post extends OutlookItem implements IJsonBackedObject { public java.util.List newParticipants; /** - * The Conversation Id. - * Unique ID of the conversation. Read-only. + * The Received Date Time. + * Specifies when the post was received. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' */ - @SerializedName("conversationId") + @SerializedName("receivedDateTime") @Expose - public String conversationId; + public java.util.Calendar receivedDateTime; /** - * The Importance. - * + * The Sender. + * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. */ - @SerializedName("importance") + @SerializedName("sender") @Expose - public Importance importance; + public Recipient sender; + + /** + * The Attachments. + * Read-only. Nullable. + */ + public AttachmentCollectionPage attachments; + + /** + * The Extensions. + * The collection of open extensions defined for the post. Read-only. Nullable. + */ + public ExtensionCollectionPage extensions; /** * The In Reply To. @@ -126,10 +138,10 @@ public class Post extends OutlookItem implements IJsonBackedObject { public Post inReplyTo; /** - * The Single Value Extended Properties. - * The collection of single-value extended properties defined for the post. Read-only. Nullable. + * The Mentions. + * */ - public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; + public MentionCollectionPage mentions; /** * The Multi Value Extended Properties. @@ -138,22 +150,10 @@ public class Post extends OutlookItem implements IJsonBackedObject { public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties; /** - * The Extensions. - * The collection of open extensions defined for the post. Read-only. Nullable. - */ - public ExtensionCollectionPage extensions; - - /** - * The Attachments. - * Read-only. Nullable. - */ - public AttachmentCollectionPage attachments; - - /** - * The Mentions. - * + * The Single Value Extended Properties. + * The collection of single-value extended properties defined for the post. Read-only. Nullable. */ - public MentionCollectionPage mentions; + public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties; /** @@ -195,36 +195,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("singleValueExtendedProperties")) { - final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("singleValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); - final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); - } - - if (json.has("multiValueExtendedProperties")) { - final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); - if (json.has("multiValueExtendedProperties@odata.nextLink")) { - response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + if (json.has("attachments")) { + final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); + if (json.has("attachments@odata.nextLink")) { + response.nextLink = json.get("attachments@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); - final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); + final Attachment[] array = new Attachment[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + attachments = new AttachmentCollectionPage(response, null); } if (json.has("extensions")) { @@ -243,22 +227,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { extensions = new ExtensionCollectionPage(response, null); } - if (json.has("attachments")) { - final AttachmentCollectionResponse response = new AttachmentCollectionResponse(); - if (json.has("attachments@odata.nextLink")) { - response.nextLink = json.get("attachments@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("attachments").toString(), JsonObject[].class); - final Attachment[] array = new Attachment[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Attachment.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - attachments = new AttachmentCollectionPage(response, null); - } - if (json.has("mentions")) { final MentionCollectionResponse response = new MentionCollectionResponse(); if (json.has("mentions@odata.nextLink")) { @@ -274,5 +242,37 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); mentions = new MentionCollectionPage(response, null); } + + if (json.has("multiValueExtendedProperties")) { + final MultiValueLegacyExtendedPropertyCollectionResponse response = new MultiValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("multiValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("multiValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("multiValueExtendedProperties").toString(), JsonObject[].class); + final MultiValueLegacyExtendedProperty[] array = new MultiValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), MultiValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + multiValueExtendedProperties = new MultiValueLegacyExtendedPropertyCollectionPage(response, null); + } + + if (json.has("singleValueExtendedProperties")) { + final SingleValueLegacyExtendedPropertyCollectionResponse response = new SingleValueLegacyExtendedPropertyCollectionResponse(); + if (json.has("singleValueExtendedProperties@odata.nextLink")) { + response.nextLink = json.get("singleValueExtendedProperties@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("singleValueExtendedProperties").toString(), JsonObject[].class); + final SingleValueLegacyExtendedProperty[] array = new SingleValueLegacyExtendedProperty[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), SingleValueLegacyExtendedProperty.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + singleValueExtendedProperties = new SingleValueLegacyExtendedPropertyCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PostalAddressType.java b/src/main/java/com/microsoft/graph/models/extensions/PostalAddressType.java index b3e797c6a75..134d45309c1 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PostalAddressType.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PostalAddressType.java @@ -36,44 +36,44 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Street. + * The City. * */ - @SerializedName("street") + @SerializedName("city") @Expose - public String street; + public String city; /** - * The City. + * The Country Letter Code. * */ - @SerializedName("city") + @SerializedName("countryLetterCode") @Expose - public String city; + public String countryLetterCode; /** - * The State. + * The Postal Code. * */ - @SerializedName("state") + @SerializedName("postalCode") @Expose - public String state; + public String postalCode; /** - * The Country Letter Code. + * The State. * */ - @SerializedName("countryLetterCode") + @SerializedName("state") @Expose - public String countryLetterCode; + public String state; /** - * The Postal Code. + * The Street. * */ - @SerializedName("postalCode") + @SerializedName("street") @Expose - public String postalCode; + public String street; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Presence.java b/src/main/java/com/microsoft/graph/models/extensions/Presence.java index 194de3e93d2..23dd689460b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Presence.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Presence.java @@ -27,20 +27,20 @@ public class Presence extends Entity implements IJsonBackedObject { /** - * The Availability. + * The Activity. * */ - @SerializedName("availability") + @SerializedName("activity") @Expose - public String availability; + public String activity; /** - * The Activity. + * The Availability. * */ - @SerializedName("activity") + @SerializedName("availability") @Expose - public String activity; + public String availability; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Print.java b/src/main/java/com/microsoft/graph/models/extensions/Print.java index f08f5bb7d1b..a1f84b68c20 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Print.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Print.java @@ -9,26 +9,26 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.PrintSettings; -import com.microsoft.graph.models.extensions.PrintService; -import com.microsoft.graph.models.extensions.Printer; import com.microsoft.graph.models.extensions.PrintConnector; +import com.microsoft.graph.models.extensions.PrintOperation; +import com.microsoft.graph.models.extensions.Printer; import com.microsoft.graph.models.extensions.PrinterShare; import com.microsoft.graph.models.extensions.ReportRoot; -import com.microsoft.graph.models.extensions.PrintOperation; +import com.microsoft.graph.models.extensions.PrintService; import com.microsoft.graph.models.extensions.PrintTaskDefinition; import com.microsoft.graph.models.extensions.Entity; -import com.microsoft.graph.requests.extensions.PrintServiceCollectionResponse; -import com.microsoft.graph.requests.extensions.PrintServiceCollectionPage; -import com.microsoft.graph.requests.extensions.PrinterCollectionResponse; -import com.microsoft.graph.requests.extensions.PrinterCollectionPage; import com.microsoft.graph.requests.extensions.PrintConnectorCollectionResponse; import com.microsoft.graph.requests.extensions.PrintConnectorCollectionPage; +import com.microsoft.graph.requests.extensions.PrintOperationCollectionResponse; +import com.microsoft.graph.requests.extensions.PrintOperationCollectionPage; +import com.microsoft.graph.requests.extensions.PrinterCollectionResponse; +import com.microsoft.graph.requests.extensions.PrinterCollectionPage; import com.microsoft.graph.requests.extensions.PrinterShareCollectionResponse; import com.microsoft.graph.requests.extensions.PrinterShareCollectionPage; import com.microsoft.graph.requests.extensions.ReportRootCollectionResponse; import com.microsoft.graph.requests.extensions.ReportRootCollectionPage; -import com.microsoft.graph.requests.extensions.PrintOperationCollectionResponse; -import com.microsoft.graph.requests.extensions.PrintOperationCollectionPage; +import com.microsoft.graph.requests.extensions.PrintServiceCollectionResponse; +import com.microsoft.graph.requests.extensions.PrintServiceCollectionPage; import com.microsoft.graph.requests.extensions.PrintTaskDefinitionCollectionResponse; import com.microsoft.graph.requests.extensions.PrintTaskDefinitionCollectionPage; @@ -57,28 +57,22 @@ public class Print extends Entity implements IJsonBackedObject { public PrintSettings settings; /** - * The Services. - * - */ - public PrintServiceCollectionPage services; - - /** - * The Printers. + * The Connectors. * */ - public PrinterCollectionPage printers; + public PrintConnectorCollectionPage connectors; /** - * The Connectors. + * The Operations. * */ - public PrintConnectorCollectionPage connectors; + public PrintOperationCollectionPage operations; /** - * The Shares. + * The Printers. * */ - public PrinterShareCollectionPage shares; + public PrinterCollectionPage printers; /** * The Printer Shares. @@ -93,10 +87,16 @@ public class Print extends Entity implements IJsonBackedObject { public ReportRootCollectionPage reports; /** - * The Operations. + * The Services. * */ - public PrintOperationCollectionPage operations; + public PrintServiceCollectionPage services; + + /** + * The Shares. + * + */ + public PrinterShareCollectionPage shares; /** * The Task Definitions. @@ -144,38 +144,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("services")) { - final PrintServiceCollectionResponse response = new PrintServiceCollectionResponse(); - if (json.has("services@odata.nextLink")) { - response.nextLink = json.get("services@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("services").toString(), JsonObject[].class); - final PrintService[] array = new PrintService[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintService.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - services = new PrintServiceCollectionPage(response, null); - } - - if (json.has("printers")) { - final PrinterCollectionResponse response = new PrinterCollectionResponse(); - if (json.has("printers@odata.nextLink")) { - response.nextLink = json.get("printers@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("printers").toString(), JsonObject[].class); - final Printer[] array = new Printer[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), Printer.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - printers = new PrinterCollectionPage(response, null); - } - if (json.has("connectors")) { final PrintConnectorCollectionResponse response = new PrintConnectorCollectionResponse(); if (json.has("connectors@odata.nextLink")) { @@ -192,20 +160,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { connectors = new PrintConnectorCollectionPage(response, null); } - if (json.has("shares")) { - final PrinterShareCollectionResponse response = new PrinterShareCollectionResponse(); - if (json.has("shares@odata.nextLink")) { - response.nextLink = json.get("shares@odata.nextLink").getAsString(); + if (json.has("operations")) { + final PrintOperationCollectionResponse response = new PrintOperationCollectionResponse(); + if (json.has("operations@odata.nextLink")) { + response.nextLink = json.get("operations@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("shares").toString(), JsonObject[].class); - final PrinterShare[] array = new PrinterShare[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); + final PrintOperation[] array = new PrintOperation[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrinterShare.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintOperation.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - shares = new PrinterShareCollectionPage(response, null); + operations = new PrintOperationCollectionPage(response, null); + } + + if (json.has("printers")) { + final PrinterCollectionResponse response = new PrinterCollectionResponse(); + if (json.has("printers@odata.nextLink")) { + response.nextLink = json.get("printers@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("printers").toString(), JsonObject[].class); + final Printer[] array = new Printer[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), Printer.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + printers = new PrinterCollectionPage(response, null); } if (json.has("printerShares")) { @@ -240,20 +224,36 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { reports = new ReportRootCollectionPage(response, null); } - if (json.has("operations")) { - final PrintOperationCollectionResponse response = new PrintOperationCollectionResponse(); - if (json.has("operations@odata.nextLink")) { - response.nextLink = json.get("operations@odata.nextLink").getAsString(); + if (json.has("services")) { + final PrintServiceCollectionResponse response = new PrintServiceCollectionResponse(); + if (json.has("services@odata.nextLink")) { + response.nextLink = json.get("services@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("operations").toString(), JsonObject[].class); - final PrintOperation[] array = new PrintOperation[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("services").toString(), JsonObject[].class); + final PrintService[] array = new PrintService[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintOperation.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintService.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - operations = new PrintOperationCollectionPage(response, null); + services = new PrintServiceCollectionPage(response, null); + } + + if (json.has("shares")) { + final PrinterShareCollectionResponse response = new PrinterShareCollectionResponse(); + if (json.has("shares@odata.nextLink")) { + response.nextLink = json.get("shares@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("shares").toString(), JsonObject[].class); + final PrinterShare[] array = new PrinterShare[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrinterShare.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + shares = new PrinterShareCollectionPage(response, null); } if (json.has("taskDefinitions")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintConnector.java b/src/main/java/com/microsoft/graph/models/extensions/PrintConnector.java index 7ea6d17d747..7bda1844fb3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintConnector.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintConnector.java @@ -29,52 +29,52 @@ public class PrintConnector extends Entity implements IJsonBackedObject { /** - * The Name. + * The App Version. * */ - @SerializedName("name") + @SerializedName("appVersion") @Expose - public String name; + public String appVersion; /** - * The Fully Qualified Domain Name. + * The Device Health. * */ - @SerializedName("fullyQualifiedDomainName") + @SerializedName("deviceHealth") @Expose - public String fullyQualifiedDomainName; + public DeviceHealth deviceHealth; /** - * The Operating System. + * The Fully Qualified Domain Name. * */ - @SerializedName("operatingSystem") + @SerializedName("fullyQualifiedDomainName") @Expose - public String operatingSystem; + public String fullyQualifiedDomainName; /** - * The App Version. + * The Location. * */ - @SerializedName("appVersion") + @SerializedName("location") @Expose - public String appVersion; + public PrinterLocation location; /** - * The Device Health. + * The Name. * */ - @SerializedName("deviceHealth") + @SerializedName("name") @Expose - public DeviceHealth deviceHealth; + public String name; /** - * The Location. + * The Operating System. * */ - @SerializedName("location") + @SerializedName("operatingSystem") @Expose - public PrinterLocation location; + public String operatingSystem; /** * The Registered Date Time. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintDocument.java b/src/main/java/com/microsoft/graph/models/extensions/PrintDocument.java index 39f9d4f9daf..84694681725 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintDocument.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintDocument.java @@ -28,12 +28,12 @@ public class PrintDocument extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Configuration. * */ - @SerializedName("displayName") + @SerializedName("configuration") @Expose - public String displayName; + public PrinterDocumentConfiguration configuration; /** * The Content Type. @@ -44,20 +44,20 @@ public class PrintDocument extends Entity implements IJsonBackedObject { public String contentType; /** - * The Size. + * The Display Name. * */ - @SerializedName("size") + @SerializedName("displayName") @Expose - public Long size; + public String displayName; /** - * The Configuration. + * The Size. * */ - @SerializedName("configuration") + @SerializedName("size") @Expose - public PrinterDocumentConfiguration configuration; + public Long size; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintJob.java b/src/main/java/com/microsoft/graph/models/extensions/PrintJob.java index 331812dad48..97d5babca21 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintJob.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintJob.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PrintJobStatus; import com.microsoft.graph.models.extensions.UserIdentity; +import com.microsoft.graph.models.extensions.PrintJobStatus; import com.microsoft.graph.models.extensions.PrintDocument; import com.microsoft.graph.models.extensions.PrintTask; import com.microsoft.graph.models.extensions.Entity; @@ -34,6 +34,14 @@ public class PrintJob extends Entity implements IJsonBackedObject { + /** + * The Created By. + * + */ + @SerializedName("createdBy") + @Expose + public UserIdentity createdBy; + /** * The Created Date Time. * @@ -50,14 +58,6 @@ public class PrintJob extends Entity implements IJsonBackedObject { @Expose public PrintJobStatus status; - /** - * The Created By. - * - */ - @SerializedName("createdBy") - @Expose - public UserIdentity createdBy; - /** * The Documents. * diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintJobStatus.java b/src/main/java/com/microsoft/graph/models/extensions/PrintJobStatus.java index dfa26c0aad1..4f853482f8e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintJobStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintJobStatus.java @@ -36,6 +36,14 @@ public final AdditionalDataManager additionalDataManager() { return additionalDataManager; } + /** + * The Acquired By Printer. + * + */ + @SerializedName("acquiredByPrinter") + @Expose + public Boolean acquiredByPrinter; + /** * The Processing State. * @@ -52,14 +60,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public String processingStateDescription; - /** - * The Acquired By Printer. - * - */ - @SerializedName("acquiredByPrinter") - @Expose - public Boolean acquiredByPrinter; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintMargin.java b/src/main/java/com/microsoft/graph/models/extensions/PrintMargin.java index 42140a2c737..4d4fd6374ec 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintMargin.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintMargin.java @@ -36,20 +36,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Top. + * The Bottom. * */ - @SerializedName("top") + @SerializedName("bottom") @Expose - public Integer top; + public Integer bottom; /** - * The Bottom. + * The Left. * */ - @SerializedName("bottom") + @SerializedName("left") @Expose - public Integer bottom; + public Integer left; /** * The Right. @@ -60,12 +60,12 @@ public final AdditionalDataManager additionalDataManager() { public Integer right; /** - * The Left. + * The Top. * */ - @SerializedName("left") + @SerializedName("top") @Expose - public Integer left; + public Integer top; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintOperation.java b/src/main/java/com/microsoft/graph/models/extensions/PrintOperation.java index 3a4155dbe23..4282f511e9f 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintOperation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintOperation.java @@ -28,20 +28,20 @@ public class PrintOperation extends Entity implements IJsonBackedObject { /** - * The Status. + * The Created Date Time. * */ - @SerializedName("status") + @SerializedName("createdDateTime") @Expose - public PrintOperationStatus status; + public java.util.Calendar createdDateTime; /** - * The Created Date Time. + * The Status. * */ - @SerializedName("createdDateTime") + @SerializedName("status") @Expose - public java.util.Calendar createdDateTime; + public PrintOperationStatus status; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintOperationStatus.java b/src/main/java/com/microsoft/graph/models/extensions/PrintOperationStatus.java index 5ed9d849b18..4fa713bff81 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintOperationStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintOperationStatus.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The State. + * The Description. * */ - @SerializedName("state") + @SerializedName("description") @Expose - public PrintOperationProcessingState state; + public String description; /** - * The Description. + * The State. * */ - @SerializedName("description") + @SerializedName("state") @Expose - public String description; + public PrintOperationProcessingState state; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintTask.java b/src/main/java/com/microsoft/graph/models/extensions/PrintTask.java index 9dccae4fcdf..7c836fb5b42 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintTask.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintTask.java @@ -30,20 +30,20 @@ public class PrintTask extends Entity implements IJsonBackedObject { /** - * The Status. + * The Parent Url. * */ - @SerializedName("status") + @SerializedName("parentUrl") @Expose - public PrintTaskStatus status; + public String parentUrl; /** - * The Parent Url. + * The Status. * */ - @SerializedName("parentUrl") + @SerializedName("status") @Expose - public String parentUrl; + public PrintTaskStatus status; /** * The Definition. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintTaskDefinition.java b/src/main/java/com/microsoft/graph/models/extensions/PrintTaskDefinition.java index 57389ed84ca..d9baec352b0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintTaskDefinition.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintTaskDefinition.java @@ -31,20 +31,20 @@ public class PrintTaskDefinition extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Created By. * */ - @SerializedName("displayName") + @SerializedName("createdBy") @Expose - public String displayName; + public AppIdentity createdBy; /** - * The Created By. + * The Display Name. * */ - @SerializedName("createdBy") + @SerializedName("displayName") @Expose - public AppIdentity createdBy; + public String displayName; /** * The Tasks. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintTaskStatus.java b/src/main/java/com/microsoft/graph/models/extensions/PrintTaskStatus.java index 3e69427af74..f7f2b6802ac 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintTaskStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintTaskStatus.java @@ -37,20 +37,20 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The State. + * The Description. * */ - @SerializedName("state") + @SerializedName("description") @Expose - public PrintTaskProcessingState state; + public String description; /** - * The Description. + * The State. * */ - @SerializedName("description") + @SerializedName("state") @Expose - public String description; + public PrintTaskProcessingState state; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByPrinter.java b/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByPrinter.java index 19326283116..e3c6589cb61 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByPrinter.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByPrinter.java @@ -27,44 +27,44 @@ public class PrintUsageSummaryByPrinter extends Entity implements IJsonBackedObj /** - * The Printer Id. + * The Completed Black And White Job Count. * */ - @SerializedName("printerId") + @SerializedName("completedBlackAndWhiteJobCount") @Expose - public String printerId; + public Long completedBlackAndWhiteJobCount; /** - * The Usage Date. + * The Completed Color Job Count. * */ - @SerializedName("usageDate") + @SerializedName("completedColorJobCount") @Expose - public com.microsoft.graph.models.extensions.DateOnly usageDate; + public Long completedColorJobCount; /** - * The Completed Black And White Job Count. + * The Incomplete Job Count. * */ - @SerializedName("completedBlackAndWhiteJobCount") + @SerializedName("incompleteJobCount") @Expose - public Long completedBlackAndWhiteJobCount; + public Long incompleteJobCount; /** - * The Completed Color Job Count. + * The Printer Id. * */ - @SerializedName("completedColorJobCount") + @SerializedName("printerId") @Expose - public Long completedColorJobCount; + public String printerId; /** - * The Incomplete Job Count. + * The Usage Date. * */ - @SerializedName("incompleteJobCount") + @SerializedName("usageDate") @Expose - public Long incompleteJobCount; + public com.microsoft.graph.models.extensions.DateOnly usageDate; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByUser.java b/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByUser.java index 2476232dce9..a7fd64b16fd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByUser.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrintUsageSummaryByUser.java @@ -27,44 +27,44 @@ public class PrintUsageSummaryByUser extends Entity implements IJsonBackedObject /** - * The User Principal Name. + * The Completed Black And White Job Count. * */ - @SerializedName("userPrincipalName") + @SerializedName("completedBlackAndWhiteJobCount") @Expose - public String userPrincipalName; + public Long completedBlackAndWhiteJobCount; /** - * The Usage Date. + * The Completed Color Job Count. * */ - @SerializedName("usageDate") + @SerializedName("completedColorJobCount") @Expose - public com.microsoft.graph.models.extensions.DateOnly usageDate; + public Long completedColorJobCount; /** - * The Completed Black And White Job Count. + * The Incomplete Job Count. * */ - @SerializedName("completedBlackAndWhiteJobCount") + @SerializedName("incompleteJobCount") @Expose - public Long completedBlackAndWhiteJobCount; + public Long incompleteJobCount; /** - * The Completed Color Job Count. + * The Usage Date. * */ - @SerializedName("completedColorJobCount") + @SerializedName("usageDate") @Expose - public Long completedColorJobCount; + public com.microsoft.graph.models.extensions.DateOnly usageDate; /** - * The Incomplete Job Count. + * The User Principal Name. * */ - @SerializedName("incompleteJobCount") + @SerializedName("userPrincipalName") @Expose - public Long incompleteJobCount; + public String userPrincipalName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Printer.java b/src/main/java/com/microsoft/graph/models/extensions/Printer.java index ea650f7b61a..d2cc1f34161 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Printer.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Printer.java @@ -8,16 +8,16 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PrintUserIdentity; import com.microsoft.graph.models.extensions.PrintIdentity; -import com.microsoft.graph.models.extensions.PrinterShare; +import com.microsoft.graph.models.extensions.PrintUserIdentity; import com.microsoft.graph.models.extensions.PrintConnector; +import com.microsoft.graph.models.extensions.PrinterShare; import com.microsoft.graph.models.extensions.PrintTaskTrigger; import com.microsoft.graph.models.extensions.PrinterBase; -import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionResponse; -import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionPage; import com.microsoft.graph.requests.extensions.PrintIdentityCollectionResponse; import com.microsoft.graph.requests.extensions.PrintIdentityCollectionPage; +import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionResponse; +import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionPage; import com.microsoft.graph.requests.extensions.PrintConnectorCollectionResponse; import com.microsoft.graph.requests.extensions.PrintConnectorCollectionPage; import com.microsoft.graph.requests.extensions.PrintTaskTriggerCollectionResponse; @@ -40,12 +40,12 @@ public class Printer extends PrinterBase implements IJsonBackedObject { /** - * The Registered Date Time. + * The Accepting Jobs. * */ - @SerializedName("registeredDateTime") + @SerializedName("acceptingJobs") @Expose - public java.util.Calendar registeredDateTime; + public Boolean acceptingJobs; /** * The Is Shared. @@ -56,12 +56,18 @@ public class Printer extends PrinterBase implements IJsonBackedObject { public Boolean isShared; /** - * The Accepting Jobs. + * The Registered Date Time. * */ - @SerializedName("acceptingJobs") + @SerializedName("registeredDateTime") @Expose - public Boolean acceptingJobs; + public java.util.Calendar registeredDateTime; + + /** + * The Allowed Groups. + * + */ + public PrintIdentityCollectionPage allowedGroups; /** * The Allowed Users. @@ -70,10 +76,10 @@ public class Printer extends PrinterBase implements IJsonBackedObject { public PrintUserIdentityCollectionPage allowedUsers; /** - * The Allowed Groups. + * The Connectors. * */ - public PrintIdentityCollectionPage allowedGroups; + public PrintConnectorCollectionPage connectors; /** * The Share. @@ -83,12 +89,6 @@ public class Printer extends PrinterBase implements IJsonBackedObject { @Expose public PrinterShare share; - /** - * The Connectors. - * - */ - public PrintConnectorCollectionPage connectors; - /** * The Task Triggers. * @@ -135,22 +135,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("allowedUsers")) { - final PrintUserIdentityCollectionResponse response = new PrintUserIdentityCollectionResponse(); - if (json.has("allowedUsers@odata.nextLink")) { - response.nextLink = json.get("allowedUsers@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("allowedUsers").toString(), JsonObject[].class); - final PrintUserIdentity[] array = new PrintUserIdentity[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintUserIdentity.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - allowedUsers = new PrintUserIdentityCollectionPage(response, null); - } - if (json.has("allowedGroups")) { final PrintIdentityCollectionResponse response = new PrintIdentityCollectionResponse(); if (json.has("allowedGroups@odata.nextLink")) { @@ -167,6 +151,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { allowedGroups = new PrintIdentityCollectionPage(response, null); } + if (json.has("allowedUsers")) { + final PrintUserIdentityCollectionResponse response = new PrintUserIdentityCollectionResponse(); + if (json.has("allowedUsers@odata.nextLink")) { + response.nextLink = json.get("allowedUsers@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("allowedUsers").toString(), JsonObject[].class); + final PrintUserIdentity[] array = new PrintUserIdentity[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintUserIdentity.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + allowedUsers = new PrintUserIdentityCollectionPage(response, null); + } + if (json.has("connectors")) { final PrintConnectorCollectionResponse response = new PrintConnectorCollectionResponse(); if (json.has("connectors@odata.nextLink")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterBase.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterBase.java index 589116794c5..60c55c4bb6a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterBase.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterBase.java @@ -8,9 +8,9 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; +import com.microsoft.graph.models.extensions.PrinterCapabilities; import com.microsoft.graph.models.extensions.PrinterDefaults; import com.microsoft.graph.models.extensions.PrinterLocation; -import com.microsoft.graph.models.extensions.PrinterCapabilities; import com.microsoft.graph.models.extensions.PrinterStatus; import com.microsoft.graph.models.extensions.PrintJob; import com.microsoft.graph.models.extensions.Entity; @@ -34,60 +34,60 @@ public class PrinterBase extends Entity implements IJsonBackedObject { /** - * The Name. + * The Capabilities. * */ - @SerializedName("name") + @SerializedName("capabilities") @Expose - public String name; + public PrinterCapabilities capabilities; /** - * The Manufacturer. + * The Defaults. * */ - @SerializedName("manufacturer") + @SerializedName("defaults") @Expose - public String manufacturer; + public PrinterDefaults defaults; /** - * The Model. + * The Is Accepting Jobs. * */ - @SerializedName("model") + @SerializedName("isAcceptingJobs") @Expose - public String model; + public Boolean isAcceptingJobs; /** - * The Is Accepting Jobs. + * The Location. * */ - @SerializedName("isAcceptingJobs") + @SerializedName("location") @Expose - public Boolean isAcceptingJobs; + public PrinterLocation location; /** - * The Defaults. + * The Manufacturer. * */ - @SerializedName("defaults") + @SerializedName("manufacturer") @Expose - public PrinterDefaults defaults; + public String manufacturer; /** - * The Location. + * The Model. * */ - @SerializedName("location") + @SerializedName("model") @Expose - public PrinterLocation location; + public String model; /** - * The Capabilities. + * The Name. * */ - @SerializedName("capabilities") + @SerializedName("name") @Expose - public PrinterCapabilities capabilities; + public String name; /** * The Status. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterCapabilities.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterCapabilities.java index a05e317691d..276e5b7a850 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterCapabilities.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterCapabilities.java @@ -8,19 +8,19 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.PrinterFeedDirection; -import com.microsoft.graph.models.generated.PrintQuality; -import com.microsoft.graph.models.generated.PrintDuplexMode; +import com.microsoft.graph.models.generated.PrintColorMode; import com.microsoft.graph.models.extensions.IntegerRange; +import com.microsoft.graph.models.generated.PrintDuplexMode; +import com.microsoft.graph.models.generated.PrinterFeedDirection; import com.microsoft.graph.models.generated.PrintFinishing; -import com.microsoft.graph.models.generated.PrintOrientation; import com.microsoft.graph.models.generated.PrintMultipageLayout; -import com.microsoft.graph.models.generated.PrintColorMode; +import com.microsoft.graph.models.generated.PrintOrientation; +import com.microsoft.graph.models.generated.PrintQuality; import com.microsoft.graph.models.generated.PrintScaling; -import com.microsoft.graph.models.generated.PrintMediaType; +import com.microsoft.graph.models.generated.PrintColorConfiguration; import com.microsoft.graph.models.generated.PrintDuplexConfiguration; +import com.microsoft.graph.models.generated.PrintMediaType; import com.microsoft.graph.models.generated.PrintPresentationDirection; -import com.microsoft.graph.models.generated.PrintColorConfiguration; import com.google.gson.JsonObject; @@ -49,44 +49,44 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Content Types. + * The Bottom Margins. * */ - @SerializedName("contentTypes") + @SerializedName("bottomMargins") @Expose - public java.util.List contentTypes; + public java.util.List bottomMargins; /** - * The Is Color Printing Supported. + * The Collation. * */ - @SerializedName("isColorPrintingSupported") + @SerializedName("collation") @Expose - public Boolean isColorPrintingSupported; + public Boolean collation; /** - * The Feed Directions. + * The Color Modes. * */ - @SerializedName("feedDirections") + @SerializedName("colorModes") @Expose - public java.util.List feedDirections; + public java.util.List colorModes; /** - * The Is Page Range Supported. + * The Content Types. * */ - @SerializedName("isPageRangeSupported") + @SerializedName("contentTypes") @Expose - public Boolean isPageRangeSupported; + public java.util.List contentTypes; /** - * The Qualities. + * The Copies Per Job. * */ - @SerializedName("qualities") + @SerializedName("copiesPerJob") @Expose - public java.util.List qualities; + public IntegerRange copiesPerJob; /** * The Dpis. @@ -105,12 +105,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List duplexModes; /** - * The Copies Per Job. + * The Feed Directions. * */ - @SerializedName("copiesPerJob") + @SerializedName("feedDirections") @Expose - public IntegerRange copiesPerJob; + public java.util.List feedDirections; /** * The Finishings. @@ -121,60 +121,60 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List finishings; /** - * The Media Colors. + * The Input Bins. * */ - @SerializedName("mediaColors") + @SerializedName("inputBins") @Expose - public java.util.List mediaColors; + public java.util.List inputBins; /** - * The Media Types. + * The Is Color Printing Supported. * */ - @SerializedName("mediaTypes") + @SerializedName("isColorPrintingSupported") @Expose - public java.util.List mediaTypes; + public Boolean isColorPrintingSupported; /** - * The Media Sizes. + * The Is Page Range Supported. * */ - @SerializedName("mediaSizes") + @SerializedName("isPageRangeSupported") @Expose - public java.util.List mediaSizes; + public Boolean isPageRangeSupported; /** - * The Pages Per Sheet. + * The Left Margins. * */ - @SerializedName("pagesPerSheet") + @SerializedName("leftMargins") @Expose - public java.util.List pagesPerSheet; + public java.util.List leftMargins; /** - * The Orientations. + * The Media Colors. * */ - @SerializedName("orientations") + @SerializedName("mediaColors") @Expose - public java.util.List orientations; + public java.util.List mediaColors; /** - * The Output Bins. + * The Media Sizes. * */ - @SerializedName("outputBins") + @SerializedName("mediaSizes") @Expose - public java.util.List outputBins; + public java.util.List mediaSizes; /** - * The Supports Fit Pdf To Page. + * The Media Types. * */ - @SerializedName("supportsFitPdfToPage") + @SerializedName("mediaTypes") @Expose - public Boolean supportsFitPdfToPage; + public java.util.List mediaTypes; /** * The Multipage Layouts. @@ -185,36 +185,36 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List multipageLayouts; /** - * The Color Modes. + * The Orientations. * */ - @SerializedName("colorModes") + @SerializedName("orientations") @Expose - public java.util.List colorModes; + public java.util.List orientations; /** - * The Input Bins. + * The Output Bins. * */ - @SerializedName("inputBins") + @SerializedName("outputBins") @Expose - public java.util.List inputBins; + public java.util.List outputBins; /** - * The Top Margins. + * The Pages Per Sheet. * */ - @SerializedName("topMargins") + @SerializedName("pagesPerSheet") @Expose - public java.util.List topMargins; + public java.util.List pagesPerSheet; /** - * The Bottom Margins. + * The Qualities. * */ - @SerializedName("bottomMargins") + @SerializedName("qualities") @Expose - public java.util.List bottomMargins; + public java.util.List qualities; /** * The Right Margins. @@ -225,28 +225,20 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List rightMargins; /** - * The Left Margins. - * - */ - @SerializedName("leftMargins") - @Expose - public java.util.List leftMargins; - - /** - * The Collation. + * The Scalings. * */ - @SerializedName("collation") + @SerializedName("scalings") @Expose - public Boolean collation; + public java.util.List scalings; /** - * The Scalings. + * The Supported Color Configurations. * */ - @SerializedName("scalings") + @SerializedName("supportedColorConfigurations") @Expose - public java.util.List scalings; + public java.util.List supportedColorConfigurations; /** * The Supported Copies Per Job. @@ -264,6 +256,14 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List supportedDocumentMimeTypes; + /** + * The Supported Duplex Configurations. + * + */ + @SerializedName("supportedDuplexConfigurations") + @Expose + public java.util.List supportedDuplexConfigurations; + /** * The Supported Finishings. * @@ -280,22 +280,6 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List supportedMediaColors; - /** - * The Supported Media Types. - * - */ - @SerializedName("supportedMediaTypes") - @Expose - public java.util.List supportedMediaTypes; - - /** - * The Supported Duplex Configurations. - * - */ - @SerializedName("supportedDuplexConfigurations") - @Expose - public java.util.List supportedDuplexConfigurations; - /** * The Supported Media Sizes. * @@ -305,12 +289,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List supportedMediaSizes; /** - * The Supported Pages Per Sheet. + * The Supported Media Types. * */ - @SerializedName("supportedPagesPerSheet") + @SerializedName("supportedMediaTypes") @Expose - public IntegerRange supportedPagesPerSheet; + public java.util.List supportedMediaTypes; /** * The Supported Orientations. @@ -329,20 +313,20 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List supportedOutputBins; /** - * The Supported Presentation Directions. + * The Supported Pages Per Sheet. * */ - @SerializedName("supportedPresentationDirections") + @SerializedName("supportedPagesPerSheet") @Expose - public java.util.List supportedPresentationDirections; + public IntegerRange supportedPagesPerSheet; /** - * The Supported Color Configurations. + * The Supported Presentation Directions. * */ - @SerializedName("supportedColorConfigurations") + @SerializedName("supportedPresentationDirections") @Expose - public java.util.List supportedColorConfigurations; + public java.util.List supportedPresentationDirections; /** * The Supported Print Qualities. @@ -352,6 +336,22 @@ public final AdditionalDataManager additionalDataManager() { @Expose public java.util.List supportedPrintQualities; + /** + * The Supports Fit Pdf To Page. + * + */ + @SerializedName("supportsFitPdfToPage") + @Expose + public Boolean supportsFitPdfToPage; + + /** + * The Top Margins. + * + */ + @SerializedName("topMargins") + @Expose + public java.util.List topMargins; + /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterDefaults.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterDefaults.java index 8b7576e8438..21e30f8c037 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterDefaults.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterDefaults.java @@ -8,16 +8,16 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.PrintFinishing; -import com.microsoft.graph.models.generated.PrintOrientation; -import com.microsoft.graph.models.generated.PrintMultipageLayout; import com.microsoft.graph.models.generated.PrintColorMode; -import com.microsoft.graph.models.generated.PrintQuality; +import com.microsoft.graph.models.generated.PrintDuplexConfiguration; import com.microsoft.graph.models.generated.PrintDuplexMode; -import com.microsoft.graph.models.generated.PrintScaling; +import com.microsoft.graph.models.generated.PrintFinishing; +import com.microsoft.graph.models.generated.PrintMultipageLayout; +import com.microsoft.graph.models.generated.PrintOrientation; import com.microsoft.graph.models.generated.PrintPresentationDirection; import com.microsoft.graph.models.generated.PrintColorConfiguration; -import com.microsoft.graph.models.generated.PrintDuplexConfiguration; +import com.microsoft.graph.models.generated.PrintQuality; +import com.microsoft.graph.models.generated.PrintScaling; import com.google.gson.JsonObject; @@ -46,12 +46,12 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Copies Per Job. + * The Color Mode. * */ - @SerializedName("copiesPerJob") + @SerializedName("colorMode") @Expose - public Integer copiesPerJob; + public PrintColorMode colorMode; /** * The Content Type. @@ -62,60 +62,52 @@ public final AdditionalDataManager additionalDataManager() { public String contentType; /** - * The Finishings. - * - */ - @SerializedName("finishings") - @Expose - public java.util.List finishings; - - /** - * The Media Color. + * The Copies Per Job. * */ - @SerializedName("mediaColor") + @SerializedName("copiesPerJob") @Expose - public String mediaColor; + public Integer copiesPerJob; /** - * The Media Type. + * The Document Mime Type. * */ - @SerializedName("mediaType") + @SerializedName("documentMimeType") @Expose - public String mediaType; + public String documentMimeType; /** - * The Media Size. + * The Dpi. * */ - @SerializedName("mediaSize") + @SerializedName("dpi") @Expose - public String mediaSize; + public Integer dpi; /** - * The Pages Per Sheet. + * The Duplex Configuration. * */ - @SerializedName("pagesPerSheet") + @SerializedName("duplexConfiguration") @Expose - public Integer pagesPerSheet; + public PrintDuplexConfiguration duplexConfiguration; /** - * The Orientation. + * The Duplex Mode. * */ - @SerializedName("orientation") + @SerializedName("duplexMode") @Expose - public PrintOrientation orientation; + public PrintDuplexMode duplexMode; /** - * The Output Bin. + * The Finishings. * */ - @SerializedName("outputBin") + @SerializedName("finishings") @Expose - public String outputBin; + public java.util.List finishings; /** * The Fit Pdf To Page. @@ -126,60 +118,60 @@ public final AdditionalDataManager additionalDataManager() { public Boolean fitPdfToPage; /** - * The Multipage Layout. + * The Media Color. * */ - @SerializedName("multipageLayout") + @SerializedName("mediaColor") @Expose - public PrintMultipageLayout multipageLayout; + public String mediaColor; /** - * The Color Mode. + * The Media Size. * */ - @SerializedName("colorMode") + @SerializedName("mediaSize") @Expose - public PrintColorMode colorMode; + public String mediaSize; /** - * The Quality. + * The Media Type. * */ - @SerializedName("quality") + @SerializedName("mediaType") @Expose - public PrintQuality quality; + public String mediaType; /** - * The Duplex Mode. + * The Multipage Layout. * */ - @SerializedName("duplexMode") + @SerializedName("multipageLayout") @Expose - public PrintDuplexMode duplexMode; + public PrintMultipageLayout multipageLayout; /** - * The Dpi. + * The Orientation. * */ - @SerializedName("dpi") + @SerializedName("orientation") @Expose - public Integer dpi; + public PrintOrientation orientation; /** - * The Scaling. + * The Output Bin. * */ - @SerializedName("scaling") + @SerializedName("outputBin") @Expose - public PrintScaling scaling; + public String outputBin; /** - * The Document Mime Type. + * The Pages Per Sheet. * */ - @SerializedName("documentMimeType") + @SerializedName("pagesPerSheet") @Expose - public String documentMimeType; + public Integer pagesPerSheet; /** * The Pdf Fit To Page. @@ -214,12 +206,20 @@ public final AdditionalDataManager additionalDataManager() { public PrintQuality printQuality; /** - * The Duplex Configuration. + * The Quality. * */ - @SerializedName("duplexConfiguration") + @SerializedName("quality") @Expose - public PrintDuplexConfiguration duplexConfiguration; + public PrintQuality quality; + + /** + * The Scaling. + * + */ + @SerializedName("scaling") + @Expose + public PrintScaling scaling; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterDocumentConfiguration.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterDocumentConfiguration.java index f2ffaac16da..115fbe715dd 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterDocumentConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterDocumentConfiguration.java @@ -8,15 +8,15 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.IntegerRange; -import com.microsoft.graph.models.generated.PrintQuality; -import com.microsoft.graph.models.generated.PrinterFeedDirection; -import com.microsoft.graph.models.generated.PrintOrientation; -import com.microsoft.graph.models.generated.PrintDuplexMode; import com.microsoft.graph.models.generated.PrintColorMode; -import com.microsoft.graph.models.extensions.PrintMargin; +import com.microsoft.graph.models.generated.PrintDuplexMode; +import com.microsoft.graph.models.generated.PrinterFeedDirection; import com.microsoft.graph.models.generated.PrintFinishing; +import com.microsoft.graph.models.extensions.PrintMargin; import com.microsoft.graph.models.generated.PrintMultipageLayout; +import com.microsoft.graph.models.generated.PrintOrientation; +import com.microsoft.graph.models.extensions.IntegerRange; +import com.microsoft.graph.models.generated.PrintQuality; import com.microsoft.graph.models.generated.PrintScaling; @@ -46,68 +46,68 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Page Ranges. + * The Collate. * */ - @SerializedName("pageRanges") + @SerializedName("collate") @Expose - public java.util.List pageRanges; + public Boolean collate; /** - * The Quality. + * The Color Mode. * */ - @SerializedName("quality") + @SerializedName("colorMode") @Expose - public PrintQuality quality; + public PrintColorMode colorMode; /** - * The Dpi. + * The Copies. * */ - @SerializedName("dpi") + @SerializedName("copies") @Expose - public Integer dpi; + public Integer copies; /** - * The Feed Direction. + * The Dpi. * */ - @SerializedName("feedDirection") + @SerializedName("dpi") @Expose - public PrinterFeedDirection feedDirection; + public Integer dpi; /** - * The Orientation. + * The Duplex Mode. * */ - @SerializedName("orientation") + @SerializedName("duplexMode") @Expose - public PrintOrientation orientation; + public PrintDuplexMode duplexMode; /** - * The Duplex Mode. + * The Feed Direction. * */ - @SerializedName("duplexMode") + @SerializedName("feedDirection") @Expose - public PrintDuplexMode duplexMode; + public PrinterFeedDirection feedDirection; /** - * The Copies. + * The Finishings. * */ - @SerializedName("copies") + @SerializedName("finishings") @Expose - public Integer copies; + public java.util.List finishings; /** - * The Color Mode. + * The Fit Pdf To Page. * */ - @SerializedName("colorMode") + @SerializedName("fitPdfToPage") @Expose - public PrintColorMode colorMode; + public Boolean fitPdfToPage; /** * The Input Bin. @@ -118,12 +118,12 @@ public final AdditionalDataManager additionalDataManager() { public String inputBin; /** - * The Output Bin. + * The Margin. * */ - @SerializedName("outputBin") + @SerializedName("margin") @Expose - public String outputBin; + public PrintMargin margin; /** * The Media Size. @@ -134,68 +134,68 @@ public final AdditionalDataManager additionalDataManager() { public String mediaSize; /** - * The Margin. + * The Media Type. * */ - @SerializedName("margin") + @SerializedName("mediaType") @Expose - public PrintMargin margin; + public String mediaType; /** - * The Media Type. + * The Multipage Layout. * */ - @SerializedName("mediaType") + @SerializedName("multipageLayout") @Expose - public String mediaType; + public PrintMultipageLayout multipageLayout; /** - * The Finishings. + * The Orientation. * */ - @SerializedName("finishings") + @SerializedName("orientation") @Expose - public java.util.List finishings; + public PrintOrientation orientation; /** - * The Pages Per Sheet. + * The Output Bin. * */ - @SerializedName("pagesPerSheet") + @SerializedName("outputBin") @Expose - public Integer pagesPerSheet; + public String outputBin; /** - * The Multipage Layout. + * The Page Ranges. * */ - @SerializedName("multipageLayout") + @SerializedName("pageRanges") @Expose - public PrintMultipageLayout multipageLayout; + public java.util.List pageRanges; /** - * The Collate. + * The Pages Per Sheet. * */ - @SerializedName("collate") + @SerializedName("pagesPerSheet") @Expose - public Boolean collate; + public Integer pagesPerSheet; /** - * The Scaling. + * The Quality. * */ - @SerializedName("scaling") + @SerializedName("quality") @Expose - public PrintScaling scaling; + public PrintQuality quality; /** - * The Fit Pdf To Page. + * The Scaling. * */ - @SerializedName("fitPdfToPage") + @SerializedName("scaling") @Expose - public Boolean fitPdfToPage; + public PrintScaling scaling; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterLocation.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterLocation.java index fea00e8a13d..825d1b06b19 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterLocation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterLocation.java @@ -36,124 +36,124 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Latitude. + * The Altitude In Meters. * */ - @SerializedName("latitude") + @SerializedName("altitudeInMeters") @Expose - public float latitude; + public Integer altitudeInMeters; /** - * The Longitude. + * The Building. * */ - @SerializedName("longitude") + @SerializedName("building") @Expose - public float longitude; + public String building; /** - * The Altitude In Meters. + * The City. * */ - @SerializedName("altitudeInMeters") + @SerializedName("city") @Expose - public Integer altitudeInMeters; + public String city; /** - * The Street Address. + * The Country Or Region. * */ - @SerializedName("streetAddress") + @SerializedName("countryOrRegion") @Expose - public String streetAddress; + public String countryOrRegion; /** - * The Subunit. + * The Floor Description. * */ - @SerializedName("subunit") + @SerializedName("floorDescription") @Expose - public java.util.List subunit; + public String floorDescription; /** - * The City. + * The Floor Number. * */ - @SerializedName("city") + @SerializedName("floorNumber") @Expose - public String city; + public Integer floorNumber; /** - * The Postal Code. + * The Latitude. * */ - @SerializedName("postalCode") + @SerializedName("latitude") @Expose - public String postalCode; + public float latitude; /** - * The Country Or Region. + * The Longitude. * */ - @SerializedName("countryOrRegion") + @SerializedName("longitude") @Expose - public String countryOrRegion; + public float longitude; /** - * The Site. + * The Organization. * */ - @SerializedName("site") + @SerializedName("organization") @Expose - public String site; + public java.util.List organization; /** - * The Building. + * The Postal Code. * */ - @SerializedName("building") + @SerializedName("postalCode") @Expose - public String building; + public String postalCode; /** - * The Floor Number. + * The Room Description. * */ - @SerializedName("floorNumber") + @SerializedName("roomDescription") @Expose - public Integer floorNumber; + public String roomDescription; /** - * The Floor Description. + * The Room Number. * */ - @SerializedName("floorDescription") + @SerializedName("roomNumber") @Expose - public String floorDescription; + public Integer roomNumber; /** - * The Room Number. + * The Site. * */ - @SerializedName("roomNumber") + @SerializedName("site") @Expose - public Integer roomNumber; + public String site; /** - * The Room Description. + * The State Or Province. * */ - @SerializedName("roomDescription") + @SerializedName("stateOrProvince") @Expose - public String roomDescription; + public String stateOrProvince; /** - * The Organization. + * The Street Address. * */ - @SerializedName("organization") + @SerializedName("streetAddress") @Expose - public java.util.List organization; + public String streetAddress; /** * The Subdivision. @@ -164,12 +164,12 @@ public final AdditionalDataManager additionalDataManager() { public java.util.List subdivision; /** - * The State Or Province. + * The Subunit. * */ - @SerializedName("stateOrProvince") + @SerializedName("subunit") @Expose - public String stateOrProvince; + public java.util.List subunit; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterShare.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterShare.java index feb6e27bfd7..fa74f3fdc99 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterShare.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterShare.java @@ -8,14 +8,14 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.Printer; -import com.microsoft.graph.models.extensions.PrintUserIdentity; import com.microsoft.graph.models.extensions.PrintIdentity; +import com.microsoft.graph.models.extensions.PrintUserIdentity; +import com.microsoft.graph.models.extensions.Printer; import com.microsoft.graph.models.extensions.PrinterBase; -import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionResponse; -import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionPage; import com.microsoft.graph.requests.extensions.PrintIdentityCollectionResponse; import com.microsoft.graph.requests.extensions.PrintIdentityCollectionPage; +import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionResponse; +import com.microsoft.graph.requests.extensions.PrintUserIdentityCollectionPage; import com.google.gson.JsonObject; @@ -50,12 +50,10 @@ public class PrinterShare extends PrinterBase implements IJsonBackedObject { public java.util.Calendar createdDateTime; /** - * The Printer. + * The Allowed Groups. * */ - @SerializedName("printer") - @Expose - public Printer printer; + public PrintIdentityCollectionPage allowedGroups; /** * The Allowed Users. @@ -64,10 +62,12 @@ public class PrinterShare extends PrinterBase implements IJsonBackedObject { public PrintUserIdentityCollectionPage allowedUsers; /** - * The Allowed Groups. + * The Printer. * */ - public PrintIdentityCollectionPage allowedGroups; + @SerializedName("printer") + @Expose + public Printer printer; /** @@ -109,22 +109,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { rawObject = json; - if (json.has("allowedUsers")) { - final PrintUserIdentityCollectionResponse response = new PrintUserIdentityCollectionResponse(); - if (json.has("allowedUsers@odata.nextLink")) { - response.nextLink = json.get("allowedUsers@odata.nextLink").getAsString(); - } - - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("allowedUsers").toString(), JsonObject[].class); - final PrintUserIdentity[] array = new PrintUserIdentity[sourceArray.length]; - for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintUserIdentity.class); - array[i].setRawObject(serializer, sourceArray[i]); - } - response.value = Arrays.asList(array); - allowedUsers = new PrintUserIdentityCollectionPage(response, null); - } - if (json.has("allowedGroups")) { final PrintIdentityCollectionResponse response = new PrintIdentityCollectionResponse(); if (json.has("allowedGroups@odata.nextLink")) { @@ -140,5 +124,21 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { response.value = Arrays.asList(array); allowedGroups = new PrintIdentityCollectionPage(response, null); } + + if (json.has("allowedUsers")) { + final PrintUserIdentityCollectionResponse response = new PrintUserIdentityCollectionResponse(); + if (json.has("allowedUsers@odata.nextLink")) { + response.nextLink = json.get("allowedUsers@odata.nextLink").getAsString(); + } + + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("allowedUsers").toString(), JsonObject[].class); + final PrintUserIdentity[] array = new PrintUserIdentity[sourceArray.length]; + for (int i = 0; i < sourceArray.length; i++) { + array[i] = serializer.deserializeObject(sourceArray[i].toString(), PrintUserIdentity.class); + array[i].setRawObject(serializer, sourceArray[i]); + } + response.value = Arrays.asList(array); + allowedUsers = new PrintUserIdentityCollectionPage(response, null); + } } } diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterStatus.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterStatus.java index 01de31a47cb..057858e6e0b 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterStatus.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterStatus.java @@ -46,20 +46,20 @@ public final AdditionalDataManager additionalDataManager() { public PrinterProcessingState processingState; /** - * The Processing State Reasons. + * The Processing State Description. * */ - @SerializedName("processingStateReasons") + @SerializedName("processingStateDescription") @Expose - public java.util.List processingStateReasons; + public String processingStateDescription; /** - * The Processing State Description. + * The Processing State Reasons. * */ - @SerializedName("processingStateDescription") + @SerializedName("processingStateReasons") @Expose - public String processingStateDescription; + public java.util.List processingStateReasons; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrinterUsageSummary.java b/src/main/java/com/microsoft/graph/models/extensions/PrinterUsageSummary.java index 5f66af147b4..61a7c658e1e 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrinterUsageSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrinterUsageSummary.java @@ -37,52 +37,52 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Printer Id. + * The Completed Job Count. * */ - @SerializedName("printerId") + @SerializedName("completedJobCount") @Expose - public String printerId; + public Integer completedJobCount; /** - * The Printer Display Name. + * The Incomplete Job Count. * */ - @SerializedName("printerDisplayName") + @SerializedName("incompleteJobCount") @Expose - public String printerDisplayName; + public Integer incompleteJobCount; /** - * The Printer Manufacturer. + * The Printer Display Name. * */ - @SerializedName("printerManufacturer") + @SerializedName("printerDisplayName") @Expose - public String printerManufacturer; + public String printerDisplayName; /** - * The Printer Model. + * The Printer Id. * */ - @SerializedName("printerModel") + @SerializedName("printerId") @Expose - public String printerModel; + public String printerId; /** - * The Completed Job Count. + * The Printer Manufacturer. * */ - @SerializedName("completedJobCount") + @SerializedName("printerManufacturer") @Expose - public Integer completedJobCount; + public String printerManufacturer; /** - * The Incomplete Job Count. + * The Printer Model. * */ - @SerializedName("incompleteJobCount") + @SerializedName("printerModel") @Expose - public Integer incompleteJobCount; + public String printerModel; /** * The Printer. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedAccess.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedAccess.java index 7eb58d57f83..67ad2b237e8 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedAccess.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedAccess.java @@ -9,19 +9,19 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.GovernanceResource; -import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; -import com.microsoft.graph.models.extensions.GovernanceRoleAssignment; import com.microsoft.graph.models.extensions.GovernanceRoleAssignmentRequest; +import com.microsoft.graph.models.extensions.GovernanceRoleAssignment; +import com.microsoft.graph.models.extensions.GovernanceRoleDefinition; import com.microsoft.graph.models.extensions.GovernanceRoleSetting; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.GovernanceResourceCollectionResponse; import com.microsoft.graph.requests.extensions.GovernanceResourceCollectionPage; -import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionResponse; -import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionPage; -import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionResponse; -import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionPage; import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentRequestCollectionResponse; import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentRequestCollectionPage; +import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionResponse; +import com.microsoft.graph.requests.extensions.GovernanceRoleAssignmentCollectionPage; +import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionResponse; +import com.microsoft.graph.requests.extensions.GovernanceRoleDefinitionCollectionPage; import com.microsoft.graph.requests.extensions.GovernanceRoleSettingCollectionResponse; import com.microsoft.graph.requests.extensions.GovernanceRoleSettingCollectionPage; @@ -56,10 +56,10 @@ public class PrivilegedAccess extends Entity implements IJsonBackedObject { public GovernanceResourceCollectionPage resources; /** - * The Role Definitions. + * The Role Assignment Requests. * */ - public GovernanceRoleDefinitionCollectionPage roleDefinitions; + public GovernanceRoleAssignmentRequestCollectionPage roleAssignmentRequests; /** * The Role Assignments. @@ -68,10 +68,10 @@ public class PrivilegedAccess extends Entity implements IJsonBackedObject { public GovernanceRoleAssignmentCollectionPage roleAssignments; /** - * The Role Assignment Requests. + * The Role Definitions. * */ - public GovernanceRoleAssignmentRequestCollectionPage roleAssignmentRequests; + public GovernanceRoleDefinitionCollectionPage roleDefinitions; /** * The Role Settings. @@ -135,20 +135,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { resources = new GovernanceResourceCollectionPage(response, null); } - if (json.has("roleDefinitions")) { - final GovernanceRoleDefinitionCollectionResponse response = new GovernanceRoleDefinitionCollectionResponse(); - if (json.has("roleDefinitions@odata.nextLink")) { - response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); + if (json.has("roleAssignmentRequests")) { + final GovernanceRoleAssignmentRequestCollectionResponse response = new GovernanceRoleAssignmentRequestCollectionResponse(); + if (json.has("roleAssignmentRequests@odata.nextLink")) { + response.nextLink = json.get("roleAssignmentRequests@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); - final GovernanceRoleDefinition[] array = new GovernanceRoleDefinition[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignmentRequests").toString(), JsonObject[].class); + final GovernanceRoleAssignmentRequest[] array = new GovernanceRoleAssignmentRequest[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleDefinition.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleAssignmentRequest.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - roleDefinitions = new GovernanceRoleDefinitionCollectionPage(response, null); + roleAssignmentRequests = new GovernanceRoleAssignmentRequestCollectionPage(response, null); } if (json.has("roleAssignments")) { @@ -167,20 +167,20 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) { roleAssignments = new GovernanceRoleAssignmentCollectionPage(response, null); } - if (json.has("roleAssignmentRequests")) { - final GovernanceRoleAssignmentRequestCollectionResponse response = new GovernanceRoleAssignmentRequestCollectionResponse(); - if (json.has("roleAssignmentRequests@odata.nextLink")) { - response.nextLink = json.get("roleAssignmentRequests@odata.nextLink").getAsString(); + if (json.has("roleDefinitions")) { + final GovernanceRoleDefinitionCollectionResponse response = new GovernanceRoleDefinitionCollectionResponse(); + if (json.has("roleDefinitions@odata.nextLink")) { + response.nextLink = json.get("roleDefinitions@odata.nextLink").getAsString(); } - final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleAssignmentRequests").toString(), JsonObject[].class); - final GovernanceRoleAssignmentRequest[] array = new GovernanceRoleAssignmentRequest[sourceArray.length]; + final JsonObject[] sourceArray = serializer.deserializeObject(json.get("roleDefinitions").toString(), JsonObject[].class); + final GovernanceRoleDefinition[] array = new GovernanceRoleDefinition[sourceArray.length]; for (int i = 0; i < sourceArray.length; i++) { - array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleAssignmentRequest.class); + array[i] = serializer.deserializeObject(sourceArray[i].toString(), GovernanceRoleDefinition.class); array[i].setRawObject(serializer, sourceArray[i]); } response.value = Arrays.asList(array); - roleAssignmentRequests = new GovernanceRoleAssignmentRequestCollectionPage(response, null); + roleDefinitions = new GovernanceRoleDefinitionCollectionPage(response, null); } if (json.has("roleSettings")) { diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedApproval.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedApproval.java index 1a764bb00c2..776b1b85730 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedApproval.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedApproval.java @@ -30,20 +30,20 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { /** - * The User Id. + * The Approval Duration. * */ - @SerializedName("userId") + @SerializedName("approvalDuration") @Expose - public String userId; + public javax.xml.datatype.Duration approvalDuration; /** - * The Role Id. + * The Approval State. * */ - @SerializedName("roleId") + @SerializedName("approvalState") @Expose - public String roleId; + public ApprovalState approvalState; /** * The Approval Type. @@ -54,20 +54,20 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { public String approvalType; /** - * The Approval State. + * The Approver Reason. * */ - @SerializedName("approvalState") + @SerializedName("approverReason") @Expose - public ApprovalState approvalState; + public String approverReason; /** - * The Approval Duration. + * The End Date Time. * */ - @SerializedName("approvalDuration") + @SerializedName("endDateTime") @Expose - public javax.xml.datatype.Duration approvalDuration; + public java.util.Calendar endDateTime; /** * The Requestor Reason. @@ -78,12 +78,12 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { public String requestorReason; /** - * The Approver Reason. + * The Role Id. * */ - @SerializedName("approverReason") + @SerializedName("roleId") @Expose - public String approverReason; + public String roleId; /** * The Start Date Time. @@ -94,12 +94,12 @@ public class PrivilegedApproval extends Entity implements IJsonBackedObject { public java.util.Calendar startDateTime; /** - * The End Date Time. + * The User Id. * */ - @SerializedName("endDateTime") + @SerializedName("userId") @Expose - public java.util.Calendar endDateTime; + public String userId; /** * The Request. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedOperationEvent.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedOperationEvent.java index 4fdf54b7b65..8a0fdd137f3 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedOperationEvent.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedOperationEvent.java @@ -27,116 +27,116 @@ public class PrivilegedOperationEvent extends Entity implements IJsonBackedObjec /** - * The User Id. + * The Additional Information. * */ - @SerializedName("userId") + @SerializedName("additionalInformation") @Expose - public String userId; + public String additionalInformation; /** - * The User Name. + * The Creation Date Time. * */ - @SerializedName("userName") + @SerializedName("creationDateTime") @Expose - public String userName; + public java.util.Calendar creationDateTime; /** - * The User Mail. + * The Expiration Date Time. * */ - @SerializedName("userMail") + @SerializedName("expirationDateTime") @Expose - public String userMail; + public java.util.Calendar expirationDateTime; /** - * The Role Id. + * The Reference Key. * */ - @SerializedName("roleId") + @SerializedName("referenceKey") @Expose - public String roleId; + public String referenceKey; /** - * The Role Name. + * The Reference System. * */ - @SerializedName("roleName") + @SerializedName("referenceSystem") @Expose - public String roleName; + public String referenceSystem; /** - * The Expiration Date Time. + * The Requestor Id. * */ - @SerializedName("expirationDateTime") + @SerializedName("requestorId") @Expose - public java.util.Calendar expirationDateTime; + public String requestorId; /** - * The Creation Date Time. + * The Requestor Name. * */ - @SerializedName("creationDateTime") + @SerializedName("requestorName") @Expose - public java.util.Calendar creationDateTime; + public String requestorName; /** - * The Requestor Id. + * The Request Type. * */ - @SerializedName("requestorId") + @SerializedName("requestType") @Expose - public String requestorId; + public String requestType; /** - * The Requestor Name. + * The Role Id. * */ - @SerializedName("requestorName") + @SerializedName("roleId") @Expose - public String requestorName; + public String roleId; /** - * The Tenant Id. + * The Role Name. * */ - @SerializedName("tenantId") + @SerializedName("roleName") @Expose - public String tenantId; + public String roleName; /** - * The Request Type. + * The Tenant Id. * */ - @SerializedName("requestType") + @SerializedName("tenantId") @Expose - public String requestType; + public String tenantId; /** - * The Additional Information. + * The User Id. * */ - @SerializedName("additionalInformation") + @SerializedName("userId") @Expose - public String additionalInformation; + public String userId; /** - * The Reference Key. + * The User Mail. * */ - @SerializedName("referenceKey") + @SerializedName("userMail") @Expose - public String referenceKey; + public String userMail; /** - * The Reference System. + * The User Name. * */ - @SerializedName("referenceSystem") + @SerializedName("userName") @Expose - public String referenceSystem; + public String userName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRole.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRole.java index c7407e1f9ad..2f00526acd0 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRole.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRole.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.extensions.PrivilegedRoleSettings; import com.microsoft.graph.models.extensions.PrivilegedRoleAssignment; +import com.microsoft.graph.models.extensions.PrivilegedRoleSettings; import com.microsoft.graph.models.extensions.PrivilegedRoleSummary; import com.microsoft.graph.models.extensions.Entity; import com.microsoft.graph.requests.extensions.PrivilegedRoleAssignmentCollectionResponse; @@ -40,18 +40,18 @@ public class PrivilegedRole extends Entity implements IJsonBackedObject { public String name; /** - * The Settings. + * The Assignments. * */ - @SerializedName("settings") - @Expose - public PrivilegedRoleSettings settings; + public PrivilegedRoleAssignmentCollectionPage assignments; /** - * The Assignments. + * The Settings. * */ - public PrivilegedRoleAssignmentCollectionPage assignments; + @SerializedName("settings") + @Expose + public PrivilegedRoleSettings settings; /** * The Summary. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignment.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignment.java index f750f2cceeb..d0540a941a7 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignment.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignment.java @@ -28,44 +28,44 @@ public class PrivilegedRoleAssignment extends Entity implements IJsonBackedObjec /** - * The User Id. + * The Expiration Date Time. * */ - @SerializedName("userId") + @SerializedName("expirationDateTime") @Expose - public String userId; + public java.util.Calendar expirationDateTime; /** - * The Role Id. + * The Is Elevated. * */ - @SerializedName("roleId") + @SerializedName("isElevated") @Expose - public String roleId; + public Boolean isElevated; /** - * The Is Elevated. + * The Result Message. * */ - @SerializedName("isElevated") + @SerializedName("resultMessage") @Expose - public Boolean isElevated; + public String resultMessage; /** - * The Expiration Date Time. + * The Role Id. * */ - @SerializedName("expirationDateTime") + @SerializedName("roleId") @Expose - public java.util.Calendar expirationDateTime; + public String roleId; /** - * The Result Message. + * The User Id. * */ - @SerializedName("resultMessage") + @SerializedName("userId") @Expose - public String resultMessage; + public String userId; /** * The Role Info. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignmentRequest.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignmentRequest.java index 6a257bf73b7..23f1b367929 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignmentRequest.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleAssignmentRequest.java @@ -29,52 +29,52 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack /** - * The Schedule. + * The Assignment State. * */ - @SerializedName("schedule") + @SerializedName("assignmentState") @Expose - public GovernanceSchedule schedule; + public String assignmentState; /** - * The User Id. + * The Duration. * */ - @SerializedName("userId") + @SerializedName("duration") @Expose - public String userId; + public String duration; /** - * The Role Id. + * The Reason. * */ - @SerializedName("roleId") + @SerializedName("reason") @Expose - public String roleId; + public String reason; /** - * The Type. + * The Requested Date Time. * */ - @SerializedName("type") + @SerializedName("requestedDateTime") @Expose - public String type; + public java.util.Calendar requestedDateTime; /** - * The Assignment State. + * The Role Id. * */ - @SerializedName("assignmentState") + @SerializedName("roleId") @Expose - public String assignmentState; + public String roleId; /** - * The Requested Date Time. + * The Schedule. * */ - @SerializedName("requestedDateTime") + @SerializedName("schedule") @Expose - public java.util.Calendar requestedDateTime; + public GovernanceSchedule schedule; /** * The Status. @@ -85,36 +85,36 @@ public class PrivilegedRoleAssignmentRequest extends Entity implements IJsonBack public String status; /** - * The Duration. + * The Ticket Number. * */ - @SerializedName("duration") + @SerializedName("ticketNumber") @Expose - public String duration; + public String ticketNumber; /** - * The Reason. + * The Ticket System. * */ - @SerializedName("reason") + @SerializedName("ticketSystem") @Expose - public String reason; + public String ticketSystem; /** - * The Ticket Number. + * The Type. * */ - @SerializedName("ticketNumber") + @SerializedName("type") @Expose - public String ticketNumber; + public String type; /** - * The Ticket System. + * The User Id. * */ - @SerializedName("ticketSystem") + @SerializedName("userId") @Expose - public String ticketSystem; + public String userId; /** * The Role Info. diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSettings.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSettings.java index c32ee9fdb9c..65183c08cff 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSettings.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSettings.java @@ -27,52 +27,52 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject /** - * The Approver Ids. + * The Approval On Elevation. * */ - @SerializedName("approverIds") + @SerializedName("approvalOnElevation") @Expose - public java.util.List approverIds; + public Boolean approvalOnElevation; /** - * The Min Elevation Duration. + * The Approver Ids. * */ - @SerializedName("minElevationDuration") + @SerializedName("approverIds") @Expose - public javax.xml.datatype.Duration minElevationDuration; + public java.util.List approverIds; /** - * The Max Elavation Duration. + * The Elevation Duration. * */ - @SerializedName("maxElavationDuration") + @SerializedName("elevationDuration") @Expose - public javax.xml.datatype.Duration maxElavationDuration; + public javax.xml.datatype.Duration elevationDuration; /** - * The Elevation Duration. + * The Is Mfa On Elevation Configurable. * */ - @SerializedName("elevationDuration") + @SerializedName("isMfaOnElevationConfigurable") @Expose - public javax.xml.datatype.Duration elevationDuration; + public Boolean isMfaOnElevationConfigurable; /** - * The Notification To User On Elevation. + * The Last Global Admin. * */ - @SerializedName("notificationToUserOnElevation") + @SerializedName("lastGlobalAdmin") @Expose - public Boolean notificationToUserOnElevation; + public Boolean lastGlobalAdmin; /** - * The Ticketing Info On Elevation. + * The Max Elavation Duration. * */ - @SerializedName("ticketingInfoOnElevation") + @SerializedName("maxElavationDuration") @Expose - public Boolean ticketingInfoOnElevation; + public javax.xml.datatype.Duration maxElavationDuration; /** * The Mfa On Elevation. @@ -83,28 +83,28 @@ public class PrivilegedRoleSettings extends Entity implements IJsonBackedObject public Boolean mfaOnElevation; /** - * The Last Global Admin. + * The Min Elevation Duration. * */ - @SerializedName("lastGlobalAdmin") + @SerializedName("minElevationDuration") @Expose - public Boolean lastGlobalAdmin; + public javax.xml.datatype.Duration minElevationDuration; /** - * The Is Mfa On Elevation Configurable. + * The Notification To User On Elevation. * */ - @SerializedName("isMfaOnElevationConfigurable") + @SerializedName("notificationToUserOnElevation") @Expose - public Boolean isMfaOnElevationConfigurable; + public Boolean notificationToUserOnElevation; /** - * The Approval On Elevation. + * The Ticketing Info On Elevation. * */ - @SerializedName("approvalOnElevation") + @SerializedName("ticketingInfoOnElevation") @Expose - public Boolean approvalOnElevation; + public Boolean ticketingInfoOnElevation; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSummary.java b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSummary.java index e71d782e4a6..1dadb11de7a 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSummary.java +++ b/src/main/java/com/microsoft/graph/models/extensions/PrivilegedRoleSummary.java @@ -28,44 +28,44 @@ public class PrivilegedRoleSummary extends Entity implements IJsonBackedObject { /** - * The Status. + * The Elevated Count. * */ - @SerializedName("status") + @SerializedName("elevatedCount") @Expose - public RoleSummaryStatus status; + public Integer elevatedCount; /** - * The Users Count. + * The Managed Count. * */ - @SerializedName("usersCount") + @SerializedName("managedCount") @Expose - public Integer usersCount; + public Integer managedCount; /** - * The Managed Count. + * The Mfa Enabled. * */ - @SerializedName("managedCount") + @SerializedName("mfaEnabled") @Expose - public Integer managedCount; + public Boolean mfaEnabled; /** - * The Elevated Count. + * The Status. * */ - @SerializedName("elevatedCount") + @SerializedName("status") @Expose - public Integer elevatedCount; + public RoleSummaryStatus status; /** - * The Mfa Enabled. + * The Users Count. * */ - @SerializedName("mfaEnabled") + @SerializedName("usersCount") @Expose - public Boolean mfaEnabled; + public Integer usersCount; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/ProfileCardProperty.java b/src/main/java/com/microsoft/graph/models/extensions/ProfileCardProperty.java index 58b840c4115..019b713d172 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ProfileCardProperty.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ProfileCardProperty.java @@ -28,20 +28,20 @@ public class ProfileCardProperty extends Entity implements IJsonBackedObject { /** - * The Directory Property Name. + * The Annotations. * */ - @SerializedName("directoryPropertyName") + @SerializedName("annotations") @Expose - public String directoryPropertyName; + public java.util.List annotations; /** - * The Annotations. + * The Directory Property Name. * */ - @SerializedName("annotations") + @SerializedName("directoryPropertyName") @Expose - public java.util.List annotations; + public String directoryPropertyName; /** diff --git a/src/main/java/com/microsoft/graph/models/extensions/Program.java b/src/main/java/com/microsoft/graph/models/extensions/Program.java index a35f5a39491..53caa563a69 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Program.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Program.java @@ -30,20 +30,20 @@ public class Program extends Entity implements IJsonBackedObject { /** - * The Display Name. + * The Description. * */ - @SerializedName("displayName") + @SerializedName("description") @Expose - public String displayName; + public String description; /** - * The Description. + * The Display Name. * */ - @SerializedName("description") + @SerializedName("displayName") @Expose - public String description; + public String displayName; /** * The Controls. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ProgramControl.java b/src/main/java/com/microsoft/graph/models/extensions/ProgramControl.java index cd0ebef168d..e482128ccae 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ProgramControl.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ProgramControl.java @@ -38,20 +38,20 @@ public class ProgramControl extends Entity implements IJsonBackedObject { public String controlId; /** - * The Program Id. + * The Control Type Id. * */ - @SerializedName("programId") + @SerializedName("controlTypeId") @Expose - public String programId; + public String controlTypeId; /** - * The Control Type Id. + * The Created Date Time. * */ - @SerializedName("controlTypeId") + @SerializedName("createdDateTime") @Expose - public String controlTypeId; + public java.util.Calendar createdDateTime; /** * The Display Name. @@ -62,20 +62,20 @@ public class ProgramControl extends Entity implements IJsonBackedObject { public String displayName; /** - * The Status. + * The Owner. * */ - @SerializedName("status") + @SerializedName("owner") @Expose - public String status; + public UserIdentity owner; /** - * The Owner. + * The Program Id. * */ - @SerializedName("owner") + @SerializedName("programId") @Expose - public UserIdentity owner; + public String programId; /** * The Resource. @@ -86,12 +86,12 @@ public class ProgramControl extends Entity implements IJsonBackedObject { public ProgramResource resource; /** - * The Created Date Time. + * The Status. * */ - @SerializedName("createdDateTime") + @SerializedName("status") @Expose - public java.util.Calendar createdDateTime; + public String status; /** * The Program. diff --git a/src/main/java/com/microsoft/graph/models/extensions/ProjectParticipation.java b/src/main/java/com/microsoft/graph/models/extensions/ProjectParticipation.java index f185e3ce2b7..daecbc06566 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/ProjectParticipation.java +++ b/src/main/java/com/microsoft/graph/models/extensions/ProjectParticipation.java @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.EnumSet; import com.microsoft.graph.models.extensions.CompanyDetail; -import com.microsoft.graph.models.extensions.PositionDetail; import com.microsoft.graph.models.extensions.RelatedPerson; +import com.microsoft.graph.models.extensions.PositionDetail; import com.microsoft.graph.models.extensions.ItemFacet; @@ -46,12 +46,20 @@ public class ProjectParticipation extends ItemFacet implements IJsonBackedObject public CompanyDetail client; /** - * The Display Name. + * The Collaboration Tags. * */ - @SerializedName("displayName") + @SerializedName("collaborationTags") @Expose - public String displayName; + public java.util.List collaborationTags; + + /** + * The Colleagues. + * + */ + @SerializedName("colleagues") + @Expose + public java.util.List colleagues; /** * The Detail. @@ -62,12 +70,12 @@ public class ProjectParticipation extends ItemFacet implements IJsonBackedObject public PositionDetail detail; /** - * The Colleagues. + * The Display Name. * */ - @SerializedName("colleagues") + @SerializedName("displayName") @Expose - public java.util.List colleagues; + public String displayName; /** * The Sponsors. @@ -77,14 +85,6 @@ public class ProjectParticipation extends ItemFacet implements IJsonBackedObject @Expose public java.util.List sponsors; - /** - * The Collaboration Tags. - * - */ - @SerializedName("collaborationTags") - @Expose - public java.util.List collaborationTags; - /** * The raw representation of this class diff --git a/src/main/java/com/microsoft/graph/models/extensions/Property.java b/src/main/java/com/microsoft/graph/models/extensions/Property.java index d0d69a7d82b..117f6f8e4de 100644 --- a/src/main/java/com/microsoft/graph/models/extensions/Property.java +++ b/src/main/java/com/microsoft/graph/models/extensions/Property.java @@ -8,8 +8,8 @@ import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.Arrays; import java.util.EnumSet; -import com.microsoft.graph.models.generated.PropertyType; import com.microsoft.graph.models.generated.Label; +import com.microsoft.graph.models.generated.PropertyType; import com.google.gson.JsonObject; @@ -38,76 +38,76 @@ public final AdditionalDataManager additionalDataManager() { } /** - * The Name. + * The Aliases. * */ - @SerializedName("name") + @SerializedName("aliases") @Expose - public String name; + public java.util.List aliases; /** - * The Type. + * The Is Content. * */ - @SerializedName("type") + @SerializedName("isContent") @Expose - public PropertyType type; + public Boolean isContent; /** - * The Is Searchable. + * The Is Queryable. * */ - @SerializedName("isSearchable") + @SerializedName("isQueryable") @Expose - public Boolean isSearchable; + public Boolean isQueryable; /** - * The Is Retrievable. + * The Is Refinable. * */ - @SerializedName("isRetrievable") + @SerializedName("isRefinable") @Expose - public Boolean isRetrievable; + public Boolean isRefinable; /** - * The Is Queryable. + * The Is Retrievable. * */ - @SerializedName("isQueryable") + @SerializedName("isRetrievable") @Expose - public Boolean isQueryable; + public Boolean isRetrievable; /** - * The Is Content. + * The Is Searchable. * */ - @SerializedName("isContent") + @SerializedName("isSearchable") @Expose - public Boolean isContent; + public Boolean isSearchable; /** - * The Is Refinable. + * The Labels. * */ - @SerializedName("isRefinable") + @SerializedName("labels") @Expose - public Boolean isRefinable; + public java.util.List