From 8b1780790495099b45136ea4cdcc324b997b14d3 Mon Sep 17 00:00:00 2001
From: Caleb Kiage <747955+calebkiage@users.noreply.github.com>
Date: Mon, 25 Sep 2023 17:22:57 +0300
Subject: [PATCH] Update generated code. (#346)
Schema version: microsoftgraph/msgraph-metadata@d4a0afa
Generator version: microsoft/kiota@750efb2f2
---
.../ConversationMemberItemRequestBuilder.cs | 10 +-
.../Item/Messages/MessagesRequestBuilder.cs | 8 +-
.../Item/Answer/AnswerPostRequestBody.cs | 2 +-
.../Item/Transfer/TransferPostRequestBody.cs | 2 +-
.../DeviceAppManagementRequestBuilder.cs | 20 +-
.../ManagedAppPolicyItemRequestBuilder.cs | 10 +-
.../TargetApps/TargetAppsRequestBuilder.cs | 4 +-
.../ManagedAppPoliciesRequestBuilder.cs | 10 +-
.../TargetApps/TargetAppsRequestBuilder.cs | 4 +-
.../TargetApps/TargetAppsRequestBuilder.cs | 4 +-
...anagedAppRegistrationItemRequestBuilder.cs | 10 +-
.../ManagedAppStatusItemRequestBuilder.cs | 10 +-
.../Assignments/AssignmentsRequestBuilder.cs | 8 +-
...anagedEBookAssignmentItemRequestBuilder.cs | 26 +-
.../Item/ManagedEBookItemRequestBuilder.cs | 10 +-
.../MobileAppConfigurationsRequestBuilder.cs | 10 +-
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphAndroidLobAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphAndroidStoreAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 6 +-
.../GraphIosLobAppRequestBuilder.cs} | 32 +-
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphIosStoreAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphIosVppAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphMacOSDmgAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphMacOSLobAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
...GraphManagedAndroidLobAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphManagedIOSLobAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
...rosoftStoreForBusinessAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphWin32LobAppRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphWindowsAppXRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphWindowsMobileMSIRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
...GraphWindowsUniversalAppXRequestBuilder.cs | 245 ++++++++++++
.../Count/CountRequestBuilder.cs | 119 ++++++
.../GraphWindowsWebAppRequestBuilder.cs | 245 ++++++++++++
.../GraphAndroidLobAppRequestBuilder.cs | 147 ++++++++
.../GraphAndroidStoreAppRequestBuilder.cs | 147 ++++++++
.../GraphIosLobAppRequestBuilder.cs} | 30 +-
.../GraphIosStoreAppRequestBuilder.cs | 147 ++++++++
.../GraphIosVppAppRequestBuilder.cs | 147 ++++++++
.../GraphMacOSDmgAppRequestBuilder.cs | 147 ++++++++
.../GraphMacOSLobAppRequestBuilder.cs | 147 ++++++++
...GraphManagedAndroidLobAppRequestBuilder.cs | 147 ++++++++
.../GraphManagedIOSLobAppRequestBuilder.cs | 147 ++++++++
...rosoftStoreForBusinessAppRequestBuilder.cs | 147 ++++++++
.../GraphWin32LobAppRequestBuilder.cs | 147 ++++++++
.../GraphWindowsAppXRequestBuilder.cs | 147 ++++++++
.../GraphWindowsMobileMSIRequestBuilder.cs | 147 ++++++++
...GraphWindowsUniversalAppXRequestBuilder.cs | 147 ++++++++
.../GraphWindowsWebAppRequestBuilder.cs | 147 ++++++++
.../Item/MobileAppItemRequestBuilder.cs | 262 ++++++++++++-
.../MobileApps/MobileAppsRequestBuilder.cs | 354 +++++++++++++++++-
.../DeviceCompliancePoliciesRequestBuilder.cs | 10 +-
...eviceCompliancePolicyItemRequestBuilder.cs | 18 +-
.../DeviceConfigurationsRequestBuilder.cs | 18 +-
.../DeviceConfigurationItemRequestBuilder.cs | 26 +-
...eEnrollmentConfigurationsRequestBuilder.cs | 18 +-
...rollmentConfigurationItemRequestBuilder.cs | 18 +-
.../DeviceManagementRequestBuilder.cs | 34 +-
.../Item/RoleDefinitionItemRequestBuilder.cs | 10 +-
.../RoleDefinitionsRequestBuilder.cs | 18 +-
.../Count/CountRequestBuilder.cs | 119 ++++++
...tupProcessPerformanceItemRequestBuilder.cs | 290 ++++++++++++++
...StartupProcessPerformanceRequestBuilder.cs | 336 +++++++++++++++++
.../Items/Item/DriveItemItemRequestBuilder.cs | 8 +-
.../Beta_Dist/Beta_DistPostRequestBody.cs | 2 +-
.../Beta_Inv/Beta_InvPostRequestBody.cs | 2 +-
.../Functions/Round/RoundPostRequestBody.cs | 2 +-
.../RoundDown/RoundDownPostRequestBody.cs | 2 +-
.../RoundUp/RoundUpPostRequestBody.cs | 2 +-
.../Functions/Trunc/TruncPostRequestBody.cs | 2 +-
.../RangeNamespace/RangeRequestBuilder.cs | 8 +-
.../Workbook/Tables/TablesRequestBuilder.cs | 4 +-
.../Worksheets/Add/AddRequestBuilder.cs | 6 +-
.../Item/Charts/ChartsRequestBuilder.cs | 4 +-
.../Item/Series/SeriesRequestBuilder.cs | 4 +-
.../RangeNamespace/RangeRequestBuilder.cs | 8 +-
.../Worksheets/WorksheetsRequestBuilder.cs | 4 +-
src/generated/GraphClient.cs | 1 +
.../AcceptedSenders/Ref/RefRequestBuilder.cs | 6 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Item/ConversationItemRequestBuilder.cs | 4 +-
.../Threads/Item/Posts/PostsRequestBuilder.cs | 10 +-
.../Threads/Item/Reply/ReplyRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../RejectedSenders/Ref/RefRequestBuilder.cs | 6 +-
.../Item/Lists/Item/ListItemRequestBuilder.cs | 10 +-
.../Item/Members/MembersRequestBuilder.cs | 8 +-
.../Item/Messages/MessagesRequestBuilder.cs | 8 +-
.../Item/Team/Clone/CloneRequestBuilder.cs | 6 +-
.../Members/MembersRequestBuilder.cs | 8 +-
.../Messages/MessagesRequestBuilder.cs | 8 +-
.../Shifts/Item/ShiftItemRequestBuilder.cs | 6 +-
.../Team/Unarchive/UnarchiveRequestBuilder.cs | 6 +-
.../ConversationThreadItemRequestBuilder.cs | 14 +-
.../Threads/Item/Posts/PostsRequestBuilder.cs | 10 +-
.../Threads/Item/Reply/ReplyRequestBuilder.cs | 8 +-
.../Item/NamedLocationItemRequestBuilder.cs | 18 +-
...ReviewHistoryInstanceItemRequestBuilder.cs | 8 +-
.../Item/AccessPackageItemRequestBuilder.cs | 10 +-
.../ResourceRequestsRequestBuilder.cs | 6 +-
.../LastModifiedByRequestBuilder.cs | 8 +-
.../LastModifiedByRequestBuilder.cs | 8 +-
.../LastModifiedByRequestBuilder.cs | 8 +-
.../LastModifiedByRequestBuilder.cs | 8 +-
.../Item/History/HistoryRequestBuilder.cs | 10 +-
src/generated/Models/AccessPackageAnswer.cs | 2 +-
.../Models/AccessPackageAnswerChoice.cs | 2 +-
.../Models/AccessPackageApprovalStage.cs | 2 +-
...AccessPackageAssignmentApprovalSettings.cs | 2 +-
.../Models/AccessPackageAssignmentRequest.cs | 2 +-
...essPackageAssignmentRequestRequirements.cs | 2 +-
...ccessPackageAssignmentRequestorSettings.cs | 2 +-
.../AccessPackageAssignmentReviewSettings.cs | 2 +-
.../AccessPackageAutomaticRequestSettings.cs | 2 +-
src/generated/Models/AccessPackageCatalog.cs | 2 +-
.../Models/AccessPackageLocalizedText.cs | 2 +-
.../Models/AccessPackageResourceRequest.cs | 2 +-
src/generated/Models/AccessPackageSubject.cs | 4 +-
.../Models/AccessReviewHistoryDefinition.cs | 10 +-
.../Models/AccessReviewHistoryInstance.cs | 8 +-
...ccessReviewInstanceDecisionItemResource.cs | 2 +-
.../AccessReviewNotificationRecipientItem.cs | 2 +-
.../Models/AccessReviewScheduleDefinition.cs | 2 +-
.../Models/AccessReviewScheduleSettings.cs | 2 +-
.../Models/AccessReviewStageSettings.cs | 16 +-
src/generated/Models/ActionResultPart.cs | 2 +-
src/generated/Models/AddIn.cs | 2 +-
src/generated/Models/Admin.cs | 2 +-
src/generated/Models/AdministrativeUnit.cs | 2 +-
src/generated/Models/AggregationOption.cs | 2 +-
src/generated/Models/AgreementFileData.cs | 2 +-
src/generated/Models/Album.cs | 2 +-
src/generated/Models/AlertDetection.cs | 2 +-
src/generated/Models/AlertHistoryState.cs | 2 +-
src/generated/Models/AlertTrigger.cs | 2 +-
src/generated/Models/AlteredQueryToken.cs | 2 +-
src/generated/Models/AlternativeSecurityId.cs | 2 +-
.../AndroidGeneralDeviceConfiguration.cs | 2 +-
.../Models/AndroidLobAppCollectionResponse.cs | 43 +++
.../AndroidStoreAppCollectionResponse.cs | 43 +++
...idWorkProfileGeneralDeviceConfiguration.cs | 2 +-
src/generated/Models/ApiApplication.cs | 2 +-
.../Models/AppConfigurationSettingItem.cs | 2 +-
.../Models/AppConsentRequestScope.cs | 2 +-
src/generated/Models/AppIdentity.cs | 2 +-
src/generated/Models/AppListItem.cs | 2 +-
.../Models/AppLogCollectionDownloadDetails.cs | 2 +-
.../Models/AppManagementConfiguration.cs | 2 +-
src/generated/Models/AppRole.cs | 2 +-
src/generated/Models/AppScope.cs | 2 +-
src/generated/Models/Application.cs | 6 +-
.../Models/ApplicationServicePrincipal.cs | 2 +-
.../Models/AppliedConditionalAccessPolicy.cs | 4 +-
src/generated/Models/ApprovalSettings.cs | 2 +-
src/generated/Models/ApprovalStage.cs | 2 +-
src/generated/Models/ArchivedPrintJob.cs | 2 +-
src/generated/Models/AssignedLabel.cs | 2 +-
src/generated/Models/AssignedLicense.cs | 2 +-
src/generated/Models/AssignedPlan.cs | 2 +-
src/generated/Models/AssignedTrainingInfo.cs | 2 +-
src/generated/Models/AttachmentInfo.cs | 2 +-
src/generated/Models/AttachmentItem.cs | 2 +-
.../Models/AttackSimulationRepeatOffender.cs | 2 +-
.../AttackSimulationSimulationUserCoverage.cs | 2 +-
.../AttackSimulationTrainingUserCoverage.cs | 2 +-
src/generated/Models/AttackSimulationUser.cs | 2 +-
src/generated/Models/AttendanceInterval.cs | 2 +-
src/generated/Models/Attendee.cs | 2 +-
src/generated/Models/AttendeeAvailability.cs | 2 +-
src/generated/Models/AttributeDefinition.cs | 2 +-
.../AttributeDefinitionMetadataEntry.cs | 2 +-
src/generated/Models/AttributeMapping.cs | 2 +-
.../Models/AttributeMappingParameterSchema.cs | 2 +-
.../Models/AttributeMappingSource.cs | 4 +-
src/generated/Models/Audio.cs | 2 +-
src/generated/Models/AudioConferencing.cs | 2 +-
.../Models/AuditActivityInitiator.cs | 2 +-
src/generated/Models/AuditActor.cs | 2 +-
src/generated/Models/AuditProperty.cs | 2 +-
src/generated/Models/AuditResource.cs | 2 +-
...uthenticationMethodFeatureConfiguration.cs | 2 +-
...thenticationMethodsRegistrationCampaign.cs | 2 +-
...ethodsRegistrationCampaignIncludeTarget.cs | 4 +-
.../Models/AuthenticationStrengthUsage.cs | 2 +-
src/generated/Models/AuthorizationInfo.cs | 2 +-
src/generated/Models/AuthorizationPolicy.cs | 10 +-
.../Models/AutomaticRepliesMailTips.cs | 2 +-
.../Models/AutomaticRepliesSetting.cs | 2 +-
src/generated/Models/AvailabilityItem.cs | 2 +-
.../Models/AverageComparativeScore.cs | 2 +-
src/generated/Models/B2xIdentityUserFlow.cs | 2 +-
src/generated/Models/BasicAuthentication.cs | 2 +-
.../Models/BitLockerRemovableDrivePolicy.cs | 2 +-
src/generated/Models/BookingAppointment.cs | 2 +-
src/generated/Models/BookingBusiness.cs | 2 +-
.../Models/BookingCustomerInformation.cs | 2 +-
src/generated/Models/BookingQuestionAnswer.cs | 2 +-
.../Models/BookingQuestionAssignment.cs | 2 +-
src/generated/Models/BookingReminder.cs | 2 +-
.../Models/BookingSchedulingPolicy.cs | 2 +-
src/generated/Models/BookingWorkHours.cs | 2 +-
src/generated/Models/BookingWorkTimeSlot.cs | 2 +-
.../Models/BroadcastMeetingCaptionSettings.cs | 2 +-
.../Models/BroadcastMeetingSettings.cs | 2 +-
.../Models/BrowserSharedCookieHistory.cs | 2 +-
src/generated/Models/BrowserSiteHistory.cs | 2 +-
.../Models/BucketAggregationDefinition.cs | 4 +-
.../Models/BucketAggregationRange.cs | 2 +-
src/generated/Models/Bundle.cs | 2 +-
src/generated/Models/CalculatedColumn.cs | 2 +-
src/generated/Models/CalendarPermission.cs | 8 +-
.../Models/CalendarSharingMessageAction.cs | 2 +-
src/generated/Models/Call.cs | 2 +-
src/generated/Models/CallMediaState.cs | 2 +-
src/generated/Models/CallOptions.cs | 2 +-
.../Models/CallRecords/DeviceInfo.cs | 2 +-
.../Models/CallRecords/DirectRoutingLogRow.cs | 16 +-
src/generated/Models/CallRecords/Media.cs | 2 +-
.../Models/CallRecords/MediaStream.cs | 6 +-
.../Models/CallRecords/NetworkInfo.cs | 4 +-
.../Models/CallRecords/PstnCallLogRow.cs | 6 +-
.../Models/CallRecords/TraceRouteHop.cs | 2 +-
src/generated/Models/CallRecords/UserAgent.cs | 2 +-
src/generated/Models/CallRoute.cs | 2 +-
src/generated/Models/CallTranscriptionInfo.cs | 2 +-
src/generated/Models/CertificateAuthority.cs | 2 +-
src/generated/Models/Certification.cs | 2 +-
src/generated/Models/CertificationControl.cs | 2 +-
src/generated/Models/ChannelIdentity.cs | 2 +-
src/generated/Models/ChatInfo.cs | 2 +-
src/generated/Models/ChatMessageAttachment.cs | 2 +-
.../Models/ChatMessageHistoryItem.cs | 2 +-
src/generated/Models/ChatMessageInfo.cs | 4 +-
src/generated/Models/ChatMessageMention.cs | 4 +-
.../Models/ChatMessagePolicyViolation.cs | 6 +-
.../ChatMessagePolicyViolationPolicyTip.cs | 2 +-
src/generated/Models/ChatMessageReaction.cs | 2 +-
src/generated/Models/ChatViewpoint.cs | 2 +-
src/generated/Models/ChoiceColumn.cs | 2 +-
src/generated/Models/CloudAppSecurityState.cs | 2 +-
src/generated/Models/CloudCommunications.cs | 2 +-
src/generated/Models/CollapseProperty.cs | 2 +-
src/generated/Models/ColumnValidation.cs | 2 +-
src/generated/Models/ComplianceInformation.cs | 2 +-
.../Models/ConditionalAccessApplications.cs | 2 +-
.../ConditionalAccessClientApplications.cs | 2 +-
.../Models/ConditionalAccessConditionSet.cs | 4 +-
.../Models/ConditionalAccessDevices.cs | 2 +-
.../ConditionalAccessExternalTenants.cs | 2 +-
.../Models/ConditionalAccessFilter.cs | 2 +-
.../Models/ConditionalAccessGrantControls.cs | 2 +-
.../ConditionalAccessGuestsOrExternalUsers.cs | 4 +-
.../Models/ConditionalAccessLocations.cs | 2 +-
.../Models/ConditionalAccessPlatforms.cs | 2 +-
.../Models/ConditionalAccessPolicyDetail.cs | 2 +-
.../Models/ConditionalAccessSessionControl.cs | 2 +-
.../ConditionalAccessSessionControls.cs | 2 +-
.../Models/ConditionalAccessUsers.cs | 2 +-
...nfigurationManagerClientEnabledFeatures.cs | 2 +-
src/generated/Models/ContainerFilter.cs | 2 +-
src/generated/Models/ContentTypeInfo.cs | 2 +-
src/generated/Models/ContentTypeOrder.cs | 2 +-
src/generated/Models/Contract.cs | 2 +-
src/generated/Models/ControlScore.cs | 2 +-
src/generated/Models/ConversationThread.cs | 2 +-
src/generated/Models/ConvertIdResult.cs | 2 +-
src/generated/Models/CopyNotebookModel.cs | 2 +-
.../CrossTenantAccessPolicyB2BSetting.cs | 2 +-
...sTenantAccessPolicyConfigurationPartner.cs | 2 +-
.../CrossTenantAccessPolicyInboundTrust.cs | 2 +-
...ssTenantAccessPolicyTargetConfiguration.cs | 2 +-
.../CrossTenantIdentitySyncPolicyPartner.cs | 2 +-
.../Models/CrossTenantUserSyncInbound.cs | 2 +-
src/generated/Models/CurrencyColumn.cs | 2 +-
.../Models/CustomExtensionCalloutInstance.cs | 2 +-
src/generated/Models/DataSubject.cs | 2 +-
src/generated/Models/DateTimeColumn.cs | 2 +-
src/generated/Models/DateTimeTimeZone.cs | 2 +-
src/generated/Models/DefaultColumnValue.cs | 2 +-
.../Models/DefaultUserRolePermissions.cs | 2 +-
.../Models/DefenderDetectedMalwareActions.cs | 2 +-
.../Models/DelegatedAdminAccessContainer.cs | 2 +-
.../Models/DelegatedAdminCustomer.cs | 2 +-
.../Models/DelegatedAdminRelationship.cs | 8 +-
...tedAdminRelationshipCustomerParticipant.cs | 2 +-
.../DelegatedPermissionClassification.cs | 6 +-
src/generated/Models/Device.cs | 6 +-
src/generated/Models/DeviceActionResult.cs | 3 +-
.../Models/DeviceAndAppManagementData.cs | 2 +-
.../Models/DeviceCompliancePolicy.cs | 4 +-
.../DeviceCompliancePolicySettingState.cs | 2 +-
src/generated/Models/DeviceConfiguration.cs | 4 +-
.../Models/DeviceConfigurationSettingState.cs | 2 +-
src/generated/Models/DeviceDetail.cs | 2 +-
.../DeviceExchangeAccessStateSummary.cs | 2 +-
src/generated/Models/DeviceGeoLocation.cs | 2 +-
.../Models/DeviceHealthAttestationState.cs | 2 +-
src/generated/Models/DeviceManagement.cs | 10 +
.../Models/DeviceManagementSettings.cs | 2 +-
.../Models/DeviceOperatingSystemSummary.cs | 2 +-
.../Models/DeviceProtectionOverview.cs | 2 +-
.../Models/DisplayNameLocalization.cs | 2 +-
src/generated/Models/DocumentSet.cs | 2 +-
src/generated/Models/DocumentSetContent.cs | 2 +-
.../Models/DocumentSetVersionItem.cs | 2 +-
src/generated/Models/DomainDnsRecord.cs | 4 +-
src/generated/Models/DomainState.cs | 2 +-
src/generated/Models/DriveItem.cs | 2 +-
.../Models/DriveItemUploadableProperties.cs | 2 +-
src/generated/Models/DriveRecipient.cs | 2 +-
src/generated/Models/EducationAssignment.cs | 4 +-
.../Models/EducationAssignmentDefaults.cs | 2 +-
.../Models/EducationAssignmentGrade.cs | 2 +-
.../Models/EducationAssignmentSettings.cs | 2 +-
src/generated/Models/EducationClass.cs | 2 +-
src/generated/Models/EducationCourse.cs | 2 +-
src/generated/Models/EducationFeedback.cs | 2 +-
src/generated/Models/EducationItemBody.cs | 2 +-
.../Models/EducationOnPremisesInfo.cs | 2 +-
src/generated/Models/EducationOrganization.cs | 2 +-
src/generated/Models/EducationResource.cs | 2 +-
src/generated/Models/EducationRoot.cs | 2 +-
src/generated/Models/EducationStudent.cs | 2 +-
.../Models/EducationSubmissionResource.cs | 2 +-
src/generated/Models/EducationTeacher.cs | 2 +-
src/generated/Models/EducationTerm.cs | 2 +-
src/generated/Models/EducationUser.cs | 2 +-
src/generated/Models/EmailAddress.cs | 2 +-
.../EmailAuthenticationMethodConfiguration.cs | 2 +-
src/generated/Models/EmployeeExperience.cs | 2 +-
src/generated/Models/EmployeeOrgData.cs | 2 +-
.../Models/EntitlementManagementSchedule.cs | 2 +-
.../Models/EntitlementManagementSettings.cs | 2 +-
src/generated/Models/Entity.cs | 4 +-
src/generated/Models/ExcludeTarget.cs | 2 +-
src/generated/Models/ExpirationPattern.cs | 2 +-
src/generated/Models/ExpressionInputObject.cs | 2 +-
.../Models/ExtensionSchemaProperty.cs | 6 +-
.../Models/ExternalConnectors/Acl.cs | 2 +-
.../ExternalConnectors/Configuration.cs | 2 +-
.../ExternalConnectors/DisplayTemplate.cs | 2 +-
.../Models/ExternalConnectors/External.cs | 2 +-
.../Models/ExternalConnectors/Property.cs | 4 +-
.../Models/ExternalConnectors/UrlMatchInfo.cs | 2 +-
src/generated/Models/ExternalLink.cs | 2 +-
.../Models/ExtractSensitivityLabelsResult.cs | 2 +-
src/generated/Models/FeatureTarget.cs | 2 +-
src/generated/Models/Fido2KeyRestrictions.cs | 2 +-
src/generated/Models/FileAttachment.cs | 2 +-
src/generated/Models/FileHash.cs | 2 +-
src/generated/Models/FileObject.cs | 2 +-
src/generated/Models/FileSecurityState.cs | 2 +-
src/generated/Models/FileSystemInfo.cs | 2 +-
src/generated/Models/Filter.cs | 2 +-
src/generated/Models/FilterGroup.cs | 2 +-
src/generated/Models/Folder.cs | 2 +-
src/generated/Models/FollowupFlag.cs | 4 +-
src/generated/Models/FreeBusyError.cs | 2 +-
src/generated/Models/GenericError.cs | 2 +-
src/generated/Models/GeoCoordinates.cs | 2 +-
src/generated/Models/Group.cs | 6 +-
src/generated/Models/GroupFilter.cs | 2 +-
src/generated/Models/Hashes.cs | 2 +-
src/generated/Models/HostSecurityState.cs | 2 +-
.../Models/HyperlinkOrPictureColumn.cs | 2 +-
src/generated/Models/Identity.cs | 2 +-
.../IdentityGovernance/IdentityGovernance.cs | 2 +-
.../LifecycleWorkflowsContainer.cs | 2 +-
.../Models/IdentityGovernance/Parameter.cs | 4 +-
.../Models/IdentityGovernance/RunSummary.cs | 2 +-
.../IdentityGovernance/TaskReportSummary.cs | 2 +-
.../Models/IdentityGovernance/UserSummary.cs | 2 +-
.../Models/IdentityGovernance/Workflow.cs | 2 +-
.../Models/IdentityGovernance/WorkflowBase.cs | 6 +-
src/generated/Models/IdentitySet.cs | 2 +-
.../Models/IdentityUserFlowAttribute.cs | 2 +-
src/generated/Models/IdleSessionSignOut.cs | 2 +-
src/generated/Models/Image.cs | 2 +-
src/generated/Models/ImageInfo.cs | 2 +-
src/generated/Models/ImplicitGrantSettings.cs | 2 +-
...rtedWindowsAutopilotDeviceIdentityState.cs | 2 +-
.../InboundOutboundPolicyConfiguration.cs | 2 +-
src/generated/Models/IncomingContext.cs | 2 +-
src/generated/Models/IncompleteData.cs | 2 +-
src/generated/Models/InformationProtection.cs | 2 +-
src/generated/Models/InformationalUrl.cs | 2 +-
src/generated/Models/InsightIdentity.cs | 2 +-
src/generated/Models/IntegerRange.cs | 2 +-
.../Models/InternalDomainFederation.cs | 2 +-
src/generated/Models/InternetMessageHeader.cs | 2 +-
src/generated/Models/IntuneBrand.cs | 2 +-
.../Models/InvestigationSecurityState.cs | 2 +-
src/generated/Models/Invitation.cs | 4 +-
.../Models/InvitationParticipantInfo.cs | 2 +-
.../Models/InvitedUserMessageInfo.cs | 4 +-
src/generated/Models/IosDeviceType.cs | 2 +-
.../Models/IosGeneralDeviceConfiguration.cs | 16 +-
.../Models/IosHomeScreenFolderPage.cs | 2 +-
src/generated/Models/IosHomeScreenItem.cs | 2 +-
src/generated/Models/IosHomeScreenPage.cs | 2 +-
...onse.cs => IosLobAppCollectionResponse.cs} | 14 +-
src/generated/Models/IosNetworkUsageRule.cs | 4 +-
.../Models/IosNotificationSettings.cs | 2 +-
src/generated/Models/IosStoreApp.cs | 2 +-
.../Models/IosStoreAppCollectionResponse.cs | 43 +++
src/generated/Models/IosVppApp.cs | 2 +-
.../Models/IosVppAppCollectionResponse.cs | 43 +++
src/generated/Models/ItemActionStat.cs | 2 +-
src/generated/Models/ItemBody.cs | 2 +-
src/generated/Models/ItemPreviewInfo.cs | 2 +-
src/generated/Models/ItemReference.cs | 2 +-
src/generated/Models/JoinMeetingIdSettings.cs | 2 +-
src/generated/Models/KeyCredential.cs | 2 +-
.../Models/KeyCredentialConfiguration.cs | 2 +-
src/generated/Models/KeyValue.cs | 2 +-
src/generated/Models/KeyValuePair.cs | 2 +-
.../Models/LicenseAssignmentState.cs | 2 +-
src/generated/Models/LicenseUnitsDetail.cs | 8 +-
src/generated/Models/ListInfo.cs | 2 +-
src/generated/Models/LobbyBypassSettings.cs | 2 +-
src/generated/Models/LocaleInfo.cs | 2 +-
src/generated/Models/Location.cs | 2 +-
src/generated/Models/LocationConstraint.cs | 2 +-
.../Models/LoginPageLayoutConfiguration.cs | 4 +-
.../Models/LoginPageTextVisibilitySettings.cs | 2 +-
src/generated/Models/LookupColumn.cs | 2 +-
src/generated/Models/MacOSCompliancePolicy.cs | 2 +-
src/generated/Models/MacOSDmgApp.cs | 86 +++++
.../Models/MacOSDmgAppCollectionResponse.cs | 43 +++
src/generated/Models/MacOSIncludedApp.cs | 74 ++++
.../Models/MacOSLobAppCollectionResponse.cs | 43 +++
src/generated/Models/MacOSLobChildApp.cs | 2 +-
src/generated/Models/MailTips.cs | 2 +-
src/generated/Models/MailTipsError.cs | 2 +-
src/generated/Models/MailboxSettings.cs | 2 +-
src/generated/Models/Malware.cs | 2 +-
src/generated/Models/MalwareState.cs | 2 +-
.../ManagedAndroidLobAppCollectionResponse.cs | 43 +++
.../Models/ManagedAppDiagnosticStatus.cs | 2 +-
...ManagedAppPolicyDeploymentSummaryPerApp.cs | 2 +-
.../ManagedDeviceMobileAppConfiguration.cs | 4 +-
.../ManagedIOSLobAppCollectionResponse.cs | 43 +++
src/generated/Models/ManagedIOSStoreApp.cs | 2 +-
.../Models/MediaContentRatingAustralia.cs | 2 +-
.../Models/MediaContentRatingCanada.cs | 2 +-
.../Models/MediaContentRatingFrance.cs | 2 +-
.../Models/MediaContentRatingGermany.cs | 2 +-
.../Models/MediaContentRatingIreland.cs | 2 +-
.../Models/MediaContentRatingJapan.cs | 2 +-
.../Models/MediaContentRatingNewZealand.cs | 2 +-
.../Models/MediaContentRatingUnitedKingdom.cs | 2 +-
.../Models/MediaContentRatingUnitedStates.cs | 2 +-
src/generated/Models/MediaStream.cs | 2 +-
.../Models/MeetingParticipantInfo.cs | 2 +-
src/generated/Models/MeetingParticipants.cs | 2 +-
src/generated/Models/MeetingTimeSuggestion.cs | 2 +-
.../Models/MeetingTimeSuggestionsResult.cs | 2 +-
src/generated/Models/MessageRuleActions.cs | 2 +-
src/generated/Models/MessageRulePredicates.cs | 2 +-
src/generated/Models/MessageSecurityState.cs | 2 +-
.../MicrosoftAuthenticatorFeatureSettings.cs | 6 +-
...ftStoreForBusinessAppCollectionResponse.cs | 43 +++
src/generated/Models/MobileApp.cs | 1 +
.../Models/MobileAppInstallTimeSettings.cs | 2 +-
src/generated/Models/MobileLobApp.cs | 1 +
src/generated/Models/ModifiedProperty.cs | 2 +-
src/generated/Models/NetworkConnection.cs | 2 +-
src/generated/Models/NumberColumn.cs | 2 +-
.../Models/ODataErrors/InnerError.cs | 2 +-
src/generated/Models/ObjectDefinition.cs | 2 +-
.../Models/ObjectDefinitionMetadataEntry.cs | 2 +-
src/generated/Models/ObjectIdentity.cs | 6 +-
src/generated/Models/ObjectMapping.cs | 2 +-
.../Models/ObjectMappingMetadataEntry.cs | 2 +-
src/generated/Models/OmaSetting.cs | 2 +-
.../OnPremisesAccidentalDeletionPrevention.cs | 2 +-
...esDirectorySynchronizationConfiguration.cs | 2 +-
...PremisesDirectorySynchronizationFeature.cs | 2 +-
.../Models/OnPremisesExtensionAttributes.cs | 2 +-
.../Models/OnPremisesProvisioningError.cs | 2 +-
src/generated/Models/OnenoteOperationError.cs | 2 +-
src/generated/Models/OnenotePagePreview.cs | 2 +-
.../Models/OnenotePatchContentCommand.cs | 2 +-
src/generated/Models/OnlineMeeting.cs | 2 +-
src/generated/Models/OnlineMeetingInfo.cs | 6 +-
.../Models/OnlineMeetingRestricted.cs | 2 +-
src/generated/Models/OperationError.cs | 2 +-
src/generated/Models/OptionalClaim.cs | 2 +-
src/generated/Models/OptionalClaims.cs | 2 +-
src/generated/Models/OrgContact.cs | 2 +-
.../OrganizationalBrandingProperties.cs | 4 +-
src/generated/Models/OsVersionCount.cs | 2 +-
src/generated/Models/OutlookGeoCoordinates.cs | 2 +-
.../Models/ParentalControlSettings.cs | 2 +-
.../Models/ParseExpressionResponse.cs | 2 +-
src/generated/Models/ParticipantInfo.cs | 2 +-
src/generated/Models/PasswordCredential.cs | 2 +-
.../Models/PasswordCredentialConfiguration.cs | 2 +-
src/generated/Models/PasswordProfile.cs | 2 +-
src/generated/Models/PasswordResetResponse.cs | 2 +-
src/generated/Models/Permission.cs | 6 +-
.../Models/PermissionGrantConditionSet.cs | 4 +-
src/generated/Models/PermissionScope.cs | 6 +-
src/generated/Models/PersonOrGroupColumn.cs | 2 +-
src/generated/Models/PersonType.cs | 2 +-
src/generated/Models/Phone.cs | 2 +-
.../Models/PhoneAuthenticationMethod.cs | 2 +-
src/generated/Models/Photo.cs | 2 +-
src/generated/Models/PhysicalAddress.cs | 2 +-
src/generated/Models/PhysicalOfficeAddress.cs | 2 +-
.../Models/Pkcs12CertificateInformation.cs | 2 +-
.../PlannerAssignedToTaskBoardTaskFormat.cs | 2 +-
.../Models/PlannerCategoryDescriptions.cs | 2 +-
src/generated/Models/PlannerPlanContainer.cs | 2 +-
src/generated/Models/PlannerPlanDetails.cs | 2 +-
.../Models/PreAuthorizedApplication.cs | 2 +-
src/generated/Models/PresenceStatusMessage.cs | 2 +-
src/generated/Models/Print.cs | 2 +-
.../Models/PrintCertificateSigningRequest.cs | 2 +-
.../Models/PrintDocumentUploadProperties.cs | 2 +-
src/generated/Models/PrintJobConfiguration.cs | 2 +-
src/generated/Models/PrintJobStatus.cs | 2 +-
src/generated/Models/PrintMargin.cs | 2 +-
src/generated/Models/PrintOperationStatus.cs | 2 +-
src/generated/Models/PrintSettings.cs | 2 +-
src/generated/Models/PrintTaskStatus.cs | 2 +-
src/generated/Models/PrinterCapabilities.cs | 2 +-
src/generated/Models/PrinterDefaults.cs | 2 +-
src/generated/Models/PrinterLocation.cs | 2 +-
src/generated/Models/PrinterShareViewpoint.cs | 2 +-
src/generated/Models/PrinterStatus.cs | 2 +-
src/generated/Models/PrivacyProfile.cs | 2 +-
src/generated/Models/Process.cs | 2 +-
.../Models/ProvisionChannelEmailResult.cs | 2 +-
src/generated/Models/ProvisionedPlan.cs | 2 +-
src/generated/Models/ProvisioningErrorInfo.cs | 2 +-
.../Models/ProvisioningStatusInfo.cs | 4 +-
src/generated/Models/ProvisioningStep.cs | 2 +-
src/generated/Models/ProxiedDomain.cs | 2 +-
src/generated/Models/PublicError.cs | 2 +-
src/generated/Models/PublicErrorDetail.cs | 2 +-
src/generated/Models/PublicInnerError.cs | 2 +-
src/generated/Models/PublicationFacet.cs | 2 +-
src/generated/Models/Quota.cs | 2 +-
src/generated/Models/RbacApplication.cs | 2 +-
src/generated/Models/RecentNotebook.cs | 2 +-
src/generated/Models/Recipient.cs | 2 +-
src/generated/Models/RecommendedAction.cs | 2 +-
src/generated/Models/RecordingInfo.cs | 2 +-
src/generated/Models/RecurrencePattern.cs | 2 +-
src/generated/Models/RecurrenceRange.cs | 2 +-
src/generated/Models/RedirectUriSettings.cs | 2 +-
.../Models/RegistrationEnforcement.cs | 2 +-
src/generated/Models/RegistryKeyState.cs | 2 +-
src/generated/Models/RelatedContact.cs | 2 +-
src/generated/Models/Reminder.cs | 4 +-
src/generated/Models/RemoteItem.cs | 2 +-
src/generated/Models/Report.cs | 2 +-
src/generated/Models/ReportRoot.cs | 2 +-
src/generated/Models/RequestSchedule.cs | 2 +-
.../Models/RequestSignatureVerification.cs | 2 +-
src/generated/Models/ResourceAccess.cs | 2 +-
src/generated/Models/ResourceAction.cs | 2 +-
src/generated/Models/ResourceReference.cs | 2 +-
.../Models/ResourceSpecificPermission.cs | 2 +-
src/generated/Models/ResourceVisualization.cs | 2 +-
src/generated/Models/ResultInfo.cs | 4 +-
src/generated/Models/ResultTemplateOption.cs | 2 +-
src/generated/Models/RgbColor.cs | 2 +-
.../Models/RiskServicePrincipalActivity.cs | 2 +-
src/generated/Models/RiskUserActivity.cs | 2 +-
src/generated/Models/RoleManagement.cs | 2 +-
.../RotateBitLockerKeysDeviceActionResult.cs | 40 ++
src/generated/Models/RubricCriterion.cs | 2 +-
src/generated/Models/RubricLevel.cs | 2 +-
src/generated/Models/RubricQuality.cs | 2 +-
.../Models/RubricQualityFeedbackModel.cs | 2 +-
.../RubricQualitySelectedColumnModel.cs | 2 +-
src/generated/Models/Schedule.cs | 2 +-
src/generated/Models/ScheduleEntity.cs | 2 +-
src/generated/Models/ScheduleInformation.cs | 2 +-
src/generated/Models/ScheduleItem.cs | 2 +-
src/generated/Models/ScoredEmailAddress.cs | 2 +-
src/generated/Models/SearchAggregation.cs | 2 +-
src/generated/Models/SearchAlteration.cs | 2 +-
.../Models/SearchAlterationOptions.cs | 2 +-
src/generated/Models/SearchBucket.cs | 2 +-
src/generated/Models/SearchHit.cs | 2 +-
src/generated/Models/SearchHitsContainer.cs | 2 +-
src/generated/Models/SearchRequest.cs | 2 +-
src/generated/Models/SearchResponse.cs | 2 +-
.../Models/SecureScoreControlStateUpdate.cs | 2 +-
src/generated/Models/Security/AlertComment.cs | 2 +-
.../Models/Security/AlertEvidence.cs | 2 +-
.../Models/Security/AutonomousSystem.cs | 2 +-
src/generated/Models/Security/DataSource.cs | 2 +-
.../Models/Security/DeviceEvidence.cs | 4 +-
.../EdiscoveryNoncustodialDataSource.cs | 4 +-
.../Models/Security/EdiscoverySearch.cs | 2 +-
src/generated/Models/Security/EmailSender.cs | 2 +-
.../Models/Security/EventPropagationResult.cs | 2 +-
.../Models/Security/ExportFileMetadata.cs | 2 +-
src/generated/Models/Security/FileDetails.cs | 2 +-
src/generated/Models/Security/FileHash.cs | 2 +-
.../Models/Security/FormattedContent.cs | 2 +-
.../Models/Security/HostReputationRule.cs | 2 +-
src/generated/Models/Security/Hyperlink.cs | 2 +-
...elligenceProfileCountryOrRegionOfOrigin.cs | 2 +-
.../Models/Security/KubernetesServicePort.cs | 2 +-
src/generated/Models/Security/LoggedOnUser.cs | 2 +-
src/generated/Models/Security/OcrSettings.cs | 2 +-
.../Security/RedundancyDetectionSettings.cs | 2 +-
.../Models/Security/RetentionEventStatus.cs | 4 +-
src/generated/Models/Security/Security.cs | 2 +-
.../Models/Security/SinglePropertySchema.cs | 2 +-
.../Models/Security/ThreatIntelligence.cs | 4 +-
.../Models/Security/TopicModelingSettings.cs | 2 +-
src/generated/Models/Security/UserAccount.cs | 2 +-
src/generated/Models/Security/VmMetadata.cs | 2 +-
...ceSignUpAuthenticationFlowConfiguration.cs | 2 +-
src/generated/Models/SelfSignedCertificate.cs | 2 +-
.../Models/SensitivityLabelAssignment.cs | 2 +-
.../Models/ServiceAnnouncementBase.cs | 2 +-
.../Models/ServiceHealthIssuePost.cs | 2 +-
src/generated/Models/ServicePlanInfo.cs | 2 +-
src/generated/Models/ServicePrincipal.cs | 6 +-
.../ServicePrincipalLockConfiguration.cs | 2 +-
.../Models/ServiceProvisioningError.cs | 2 +-
.../Models/ServiceUpdateMessageViewpoint.cs | 2 +-
src/generated/Models/SettingSource.cs | 2 +-
src/generated/Models/SettingTemplateValue.cs | 2 +-
src/generated/Models/SettingValue.cs | 2 +-
.../Models/SharePointOneDriveOptions.cs | 2 +-
.../Models/SharedPCAccountManagerPolicy.cs | 2 +-
src/generated/Models/SharedPCConfiguration.cs | 2 +-
src/generated/Models/SharepointIds.cs | 2 +-
src/generated/Models/SharingInvitation.cs | 2 +-
src/generated/Models/SharingLink.cs | 2 +-
src/generated/Models/ShiftActivity.cs | 2 +-
src/generated/Models/SignIn.cs | 8 +-
src/generated/Models/SignInActivity.cs | 2 +-
src/generated/Models/SignInLocation.cs | 6 +-
src/generated/Models/SignInStatus.cs | 2 +-
.../Models/SigningCertificateUpdateStatus.cs | 2 +-
src/generated/Models/SimulationEvent.cs | 2 +-
.../Models/SimulationEventsContent.cs | 2 +-
src/generated/Models/Site.cs | 4 +
src/generated/Models/SiteCollection.cs | 2 +-
src/generated/Models/SizeRange.cs | 2 +-
src/generated/Models/SolutionsRoot.cs | 2 +-
src/generated/Models/SortProperty.cs | 2 +-
src/generated/Models/SpecialFolder.cs | 2 +-
src/generated/Models/StaffAvailabilityItem.cs | 2 +-
.../Models/StandardTimeZoneOffset.cs | 2 +-
...tringKeyAttributeMappingSourceValuePair.cs | 2 +-
.../Models/StringKeyLongValuePair.cs | 2 +-
.../Models/StringKeyObjectValuePair.cs | 2 +-
.../Models/StringKeyStringValuePair.cs | 2 +-
src/generated/Models/SubjectRightsRequest.cs | 6 +-
.../Models/SubjectRightsRequestDetail.cs | 2 +-
.../Models/SubjectRightsRequestHistory.cs | 2 +-
.../Models/SubjectRightsRequestStageDetail.cs | 2 +-
src/generated/Models/SynchronizationError.cs | 2 +-
.../Models/SynchronizationJobSubject.cs | 2 +-
.../Models/SynchronizationLinkedObjects.cs | 2 +-
.../Models/SynchronizationMetadataEntry.cs | 2 +-
.../Models/SynchronizationProgress.cs | 2 +-
.../Models/SynchronizationQuarantine.cs | 2 +-
src/generated/Models/SynchronizationRule.cs | 2 +-
.../Models/SynchronizationSchedule.cs | 2 +-
...SynchronizationSecretKeyStringValuePair.cs | 2 +-
src/generated/Models/SynchronizationStatus.cs | 2 +-
.../Models/SynchronizationTaskExecution.cs | 2 +-
src/generated/Models/TargetResource.cs | 2 +-
src/generated/Models/Team.cs | 2 +-
src/generated/Models/TeamFunSettings.cs | 2 +-
src/generated/Models/TeamGuestSettings.cs | 2 +-
src/generated/Models/TeamMemberSettings.cs | 2 +-
src/generated/Models/TeamMessagingSettings.cs | 2 +-
src/generated/Models/TeamSummary.cs | 2 +-
src/generated/Models/TeamsAppDefinition.cs | 2 +-
src/generated/Models/TeamsTabConfiguration.cs | 2 +-
src/generated/Models/TeamworkHostedContent.cs | 2 +-
.../Models/TeamworkOnlineMeetingInfo.cs | 2 +-
.../TeleconferenceDeviceMediaQuality.cs | 2 +-
.../Models/TeleconferenceDeviceQuality.cs | 2 +-
src/generated/Models/TenantInformation.cs | 2 +-
src/generated/Models/TenantRelationship.cs | 2 +-
src/generated/Models/TermColumn.cs | 4 +-
.../Models/TermStore/LocalizedDescription.cs | 2 +-
.../Models/TermStore/LocalizedLabel.cs | 2 +-
.../Models/TermStore/LocalizedName.cs | 2 +-
src/generated/Models/TermsExpiration.cs | 2 +-
src/generated/Models/TextColumn.cs | 2 +-
src/generated/Models/Thumbnail.cs | 2 +-
src/generated/Models/TimeConstraint.cs | 2 +-
src/generated/Models/TimeRange.cs | 2 +-
src/generated/Models/TimeSlot.cs | 2 +-
src/generated/Models/TimeZoneBase.cs | 2 +-
src/generated/Models/TimeZoneInformation.cs | 2 +-
src/generated/Models/TodoTask.cs | 2 +-
src/generated/Models/TrainingEventsContent.cs | 2 +-
src/generated/Models/UnifiedApprovalStage.cs | 2 +-
...ifiedRoleManagementPolicyExpirationRule.cs | 2 +-
.../UnifiedRoleManagementPolicyRuleTarget.cs | 2 +-
src/generated/Models/UnifiedRolePermission.cs | 2 +-
.../Models/UpdateAllowedCombinationsResult.cs | 2 +-
...dateWindowsDeviceAccountActionParameter.cs | 2 +-
src/generated/Models/UploadSession.cs | 2 +-
src/generated/Models/UriClickSecurityState.cs | 2 +-
src/generated/Models/UsageDetails.cs | 2 +-
src/generated/Models/User.cs | 46 +--
.../Models/UserAttributeValuesItem.cs | 2 +-
...erienceAnalyticsAutopilotDevicesSummary.cs | 2 +-
...nceAnalyticsCloudIdentityDevicesSummary.cs | 2 +-
...eAnalyticsCloudManagementDevicesSummary.cs | 2 +-
...nalyticsDeviceStartupProcessPerformance.cs | 78 ++++
...tupProcessPerformanceCollectionResponse.cs | 43 +++
.../Models/UserExperienceAnalyticsInsight.cs | 2 +-
.../Models/UserExperienceAnalyticsSettings.cs | 2 +-
...AnalyticsWorkFromAnywhereDevicesSummary.cs | 2 +-
.../Models/UserRegistrationDetails.cs | 4 +-
.../Models/UserRegistrationFeatureCount.cs | 2 +-
.../Models/UserRegistrationMethodCount.cs | 2 +-
src/generated/Models/UserSecurityState.cs | 2 +-
src/generated/Models/UserSimulationDetails.cs | 2 +-
.../Models/UserSimulationEventInfo.cs | 2 +-
.../Models/UserTrainingContentEventInfo.cs | 2 +-
src/generated/Models/UserTrainingEventInfo.cs | 2 +-
.../Models/UserTrainingStatusInfo.cs | 2 +-
src/generated/Models/VerifiedDomain.cs | 2 +-
src/generated/Models/VerifiedPublisher.cs | 2 +-
src/generated/Models/Video.cs | 2 +-
src/generated/Models/VisualInfo.cs | 2 +-
src/generated/Models/VulnerabilityState.cs | 2 +-
.../Models/WatermarkProtectionValues.cs | 2 +-
src/generated/Models/WebApplication.cs | 6 +-
src/generated/Models/Website.cs | 2 +-
.../Models/Win32LobAppCollectionResponse.cs | 43 +++
.../Models/Win32LobAppInstallExperience.cs | 2 +-
.../Models/Win32LobAppRestartSettings.cs | 2 +-
...indows10EndpointProtectionConfiguration.cs | 4 +-
.../Models/Windows10GeneralConfiguration.cs | 12 +-
.../Models/Windows10MobileCompliancePolicy.cs | 2 +-
.../Models/Windows10NetworkProxyServer.cs | 2 +-
.../Models/WindowsAppXCollectionResponse.cs | 43 +++
src/generated/Models/WindowsDeviceType.cs | 15 +-
.../Models/WindowsFirewallNetworkProfile.cs | 2 +-
.../Models/WindowsInformationProtection.cs | 2 +-
.../Models/WindowsInformationProtectionApp.cs | 2 +-
...mationProtectionDataRecoveryCertificate.cs | 2 +-
...sInformationProtectionIPRangeCollection.cs | 2 +-
...mationProtectionProxiedDomainCollection.cs | 2 +-
...InformationProtectionResourceCollection.cs | 2 +-
.../Models/WindowsMalwareCategoryCount.cs | 2 +-
.../WindowsMalwareExecutionStateCount.cs | 2 +-
.../Models/WindowsMalwareNameCount.cs | 2 +-
.../Models/WindowsMalwareOverview.cs | 2 +-
.../Models/WindowsMalwareSeverityCount.cs | 2 +-
.../Models/WindowsMalwareStateCount.cs | 2 +-
.../WindowsMobileMSICollectionResponse.cs | 43 +++
.../WindowsPhone81GeneralConfiguration.cs | 2 +-
src/generated/Models/WindowsUniversalAppX.cs | 4 +-
.../WindowsUniversalAppXCollectionResponse.cs | 43 +++
.../WindowsUpdateForBusinessConfiguration.cs | 6 +-
.../Models/WindowsWebAppCollectionResponse.cs | 43 +++
.../Models/WorkbookFilterCriteria.cs | 2 +-
src/generated/Models/WorkbookIcon.cs | 2 +-
src/generated/Models/WorkbookNamedItem.cs | 2 +-
.../Models/WorkbookOperationError.cs | 2 +-
src/generated/Models/WorkbookRange.cs | 8 +-
src/generated/Models/WorkbookRangeBorder.cs | 2 +-
src/generated/Models/WorkbookRangeView.cs | 2 +-
src/generated/Models/WorkbookSessionInfo.cs | 4 +-
src/generated/Models/WorkbookSortField.cs | 2 +-
src/generated/Models/WorkbookTable.cs | 4 +-
.../WorkbookWorksheetProtectionOptions.cs | 2 +-
src/generated/Models/WorkingHours.cs | 2 +-
src/generated/Models/X509CertificateRule.cs | 2 +-
.../Item/AppliesTo/AppliesToRequestBuilder.cs | 4 +-
...gurationPartnerTenantItemRequestBuilder.cs | 2 +-
.../IdentitySynchronizationRequestBuilder.cs | 19 +-
.../Item/PrinterShareItemRequestBuilder.cs | 6 +-
.../Item/AuthoredNoteItemRequestBuilder.cs | 8 +-
.../Alerts_v2/Alerts_v2RequestBuilder.cs | 4 +-
.../Alerts_v2/Item/AlertItemRequestBuilder.cs | 22 ++
.../Item/Comments/CommentsRequestBuilder.cs | 144 +++++++
.../Comments/Count/CountRequestBuilder.cs | 125 +++++++
.../DataSource/DataSourceRequestBuilder.cs | 8 +-
.../LastIndexOperationRequestBuilder.cs | 8 +-
...oftGraphSecurityApplyHoldRequestBuilder.cs | 6 +-
...ftGraphSecurityRemoveHoldRequestBuilder.cs | 6 +-
.../Item/Alerts/AlertsRequestBuilder.cs | 4 +-
.../Alerts/Item/AlertItemRequestBuilder.cs | 22 ++
.../Item/Comments/CommentsRequestBuilder.cs | 150 ++++++++
.../Comments/Count/CountRequestBuilder.cs | 131 +++++++
.../Item/AuthoredNoteItemRequestBuilder.cs | 8 +-
.../Item/Lists/Item/ListItemRequestBuilder.cs | 10 +-
.../Item/Members/MembersRequestBuilder.cs | 8 +-
.../Item/Messages/MessagesRequestBuilder.cs | 8 +-
.../Teams/Item/Clone/CloneRequestBuilder.cs | 6 +-
.../Members/MembersRequestBuilder.cs | 8 +-
.../Messages/MessagesRequestBuilder.cs | 8 +-
.../Shifts/Item/ShiftItemRequestBuilder.cs | 6 +-
.../Item/Unarchive/UnarchiveRequestBuilder.cs | 6 +-
.../Item/Members/MembersRequestBuilder.cs | 8 +-
.../Item/Messages/MessagesRequestBuilder.cs | 8 +-
.../ActivityHistoryItemItemRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../ConversationMemberItemRequestBuilder.cs | 10 +-
.../Item/Messages/MessagesRequestBuilder.cs | 8 +-
.../Item/DirectoryObjectItemRequestBuilder.cs | 8 +-
.../Users/Item/Events/EventsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 8 +-
.../InferenceClassificationRequestBuilder.cs | 8 +-
.../Item/Members/MembersRequestBuilder.cs | 8 +-
.../Item/Messages/MessagesRequestBuilder.cs | 8 +-
.../Item/Clone/CloneRequestBuilder.cs | 6 +-
.../Members/MembersRequestBuilder.cs | 8 +-
.../Messages/MessagesRequestBuilder.cs | 8 +-
.../Shifts/Item/ShiftItemRequestBuilder.cs | 6 +-
.../Item/Unarchive/UnarchiveRequestBuilder.cs | 6 +-
.../ChildFoldersRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 18 +-
.../Item/MailFolderItemRequestBuilder.cs | 8 +-
.../Attachments/AttachmentsRequestBuilder.cs | 18 +-
.../Attachments/AttachmentsRequestBuilder.cs | 18 +-
.../Item/MessageItemRequestBuilder.cs | 20 +-
.../Item/Value/ContentRequestBuilder.cs | 4 +-
.../Item/Messages/MessagesRequestBuilder.cs | 4 +-
.../Users/Item/UserItemRequestBuilder.cs | 14 +-
src/generated/Users/UsersRequestBuilder.cs | 10 +-
src/generated/kiota-lock.json | 4 +-
865 files changed, 11468 insertions(+), 1440 deletions(-)
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs
rename src/generated/DeviceAppManagement/MobileApps/{GraphMobileLobApp => GraphIosLobApp}/Count/CountRequestBuilder.cs (96%)
rename src/generated/DeviceAppManagement/MobileApps/{GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs => GraphIosLobApp/GraphIosLobAppRequestBuilder.cs} (87%)
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs
rename src/generated/DeviceAppManagement/MobileApps/Item/{GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs => GraphIosLobApp/GraphIosLobAppRequestBuilder.cs} (84%)
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/GraphMicrosoftStoreForBusinessAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/GraphWin32LobAppRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/GraphWindowsAppXRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/GraphWindowsMobileMSIRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/GraphWindowsUniversalAppXRequestBuilder.cs
create mode 100644 src/generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/GraphWindowsWebAppRequestBuilder.cs
create mode 100644 src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs
create mode 100644 src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs
create mode 100644 src/generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs
create mode 100644 src/generated/Models/AndroidLobAppCollectionResponse.cs
create mode 100644 src/generated/Models/AndroidStoreAppCollectionResponse.cs
rename src/generated/Models/{MobileLobAppCollectionResponse.cs => IosLobAppCollectionResponse.cs} (72%)
create mode 100644 src/generated/Models/IosStoreAppCollectionResponse.cs
create mode 100644 src/generated/Models/IosVppAppCollectionResponse.cs
create mode 100644 src/generated/Models/MacOSDmgApp.cs
create mode 100644 src/generated/Models/MacOSDmgAppCollectionResponse.cs
create mode 100644 src/generated/Models/MacOSIncludedApp.cs
create mode 100644 src/generated/Models/MacOSLobAppCollectionResponse.cs
create mode 100644 src/generated/Models/ManagedAndroidLobAppCollectionResponse.cs
create mode 100644 src/generated/Models/ManagedIOSLobAppCollectionResponse.cs
create mode 100644 src/generated/Models/MicrosoftStoreForBusinessAppCollectionResponse.cs
create mode 100644 src/generated/Models/RotateBitLockerKeysDeviceActionResult.cs
create mode 100644 src/generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformance.cs
create mode 100644 src/generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse.cs
create mode 100644 src/generated/Models/Win32LobAppCollectionResponse.cs
create mode 100644 src/generated/Models/WindowsAppXCollectionResponse.cs
create mode 100644 src/generated/Models/WindowsMobileMSICollectionResponse.cs
create mode 100644 src/generated/Models/WindowsUniversalAppXCollectionResponse.cs
create mode 100644 src/generated/Models/WindowsWebAppCollectionResponse.cs
create mode 100644 src/generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.cs
create mode 100644 src/generated/Security/Alerts_v2/Item/Comments/Count/CountRequestBuilder.cs
create mode 100644 src/generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.cs
create mode 100644 src/generated/Security/Incidents/Item/Alerts/Item/Comments/Count/CountRequestBuilder.cs
diff --git a/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs
index 1095cb4e890..2f37f8f1d17 100644
--- a/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs
+++ b/src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs
@@ -60,12 +60,12 @@ public Command BuildDeleteCommand() {
return command;
}
///
- /// Retrieve a conversationMember from a chat.
- /// Find more info here
+ /// Retrieve a conversationMember from a chat or channel.
+ /// Find more info here
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Retrieve a conversationMember from a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0";
+ command.Description = "Retrieve a conversationMember from a chat or channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0";
var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") {
};
chatIdOption.IsRequired = true;
@@ -228,7 +228,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Retrieve a conversationMember from a chat.
+ /// Retrieve a conversationMember from a chat or channel.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -282,7 +282,7 @@ public RequestInformation ToPatchRequestInformation(ConversationMember body, Act
return requestInfo;
}
///
- /// Retrieve a conversationMember from a chat.
+ /// Retrieve a conversationMember from a chat or channel.
///
public class ConversationMemberItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs
index cbdf26b1cf4..17ec5fe909f 100644
--- a/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs
+++ b/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs
@@ -56,12 +56,12 @@ public Command BuildCountNavCommand() {
return command;
}
///
- /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
- /// Find more info here
+ /// Send a new chatMessage in the specified channel or a chat.
+ /// Find more info here
///
public Command BuildCreateCommand() {
var command = new Command("create");
- command.Description = "Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0";
+ command.Description = "Send a new chatMessage in the specified channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0";
var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") {
};
chatIdOption.IsRequired = true;
@@ -278,7 +278,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
+ /// Send a new chatMessage in the specified channel or a chat.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs b/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs
index 6cdd80ea54a..5dba2e96b19 100644
--- a/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs
+++ b/src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs
@@ -63,8 +63,8 @@ public static AnswerPostRequestBody CreateFromDiscriminatorValue(IParseNode pars
public IDictionary> GetFieldDeserializers() {
return new Dictionary> {
{"acceptedModalities", n => { AcceptedModalities = n.GetCollectionOfEnumValues()?.ToList(); } },
- {"callbackUri", n => { CallbackUri = n.GetStringValue(); } },
{"callOptions", n => { CallOptions = n.GetObjectValue(IncomingCallOptions.CreateFromDiscriminatorValue); } },
+ {"callbackUri", n => { CallbackUri = n.GetStringValue(); } },
{"mediaConfig", n => { MediaConfig = n.GetObjectValue(ApiSdk.Models.MediaConfig.CreateFromDiscriminatorValue); } },
{"participantCapacity", n => { ParticipantCapacity = n.GetIntValue(); } },
};
diff --git a/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs b/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs
index 31cf9a5b48a..eae428ea43c 100644
--- a/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs
+++ b/src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs
@@ -44,8 +44,8 @@ public static TransferPostRequestBody CreateFromDiscriminatorValue(IParseNode pa
///
public IDictionary> GetFieldDeserializers() {
return new Dictionary> {
- {"transferee", n => { Transferee = n.GetObjectValue(ParticipantInfo.CreateFromDiscriminatorValue); } },
{"transferTarget", n => { TransferTarget = n.GetObjectValue(InvitationParticipantInfo.CreateFromDiscriminatorValue); } },
+ {"transferee", n => { Transferee = n.GetObjectValue(ParticipantInfo.CreateFromDiscriminatorValue); } },
};
}
///
diff --git a/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
index 4dda0df47d5..651e257cc93 100644
--- a/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
@@ -86,11 +86,11 @@ public Command BuildDefaultManagedAppProtectionsNavCommand() {
}
///
/// Read properties and relationships of the deviceAppManagement object.
- /// Find more info here
+ /// Find more info here
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Read properties and relationships of the deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0";
var selectOption = new Option("--select", description: "Select properties to be returned") {
Arity = ArgumentArity.ZeroOrMore
};
@@ -352,8 +352,22 @@ public Command BuildMobileAppsNavCommand() {
var nonExecCommands = new List();
nonExecCommands.Add(builder.BuildCountNavCommand());
execCommands.Add(builder.BuildCreateCommand());
+ nonExecCommands.Add(builder.BuildGraphAndroidLobAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphAndroidStoreAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphIosLobAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphIosStoreAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphIosVppAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphMacOSDmgAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphMacOSLobAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphManagedAndroidLobAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphManagedIOSLobAppNavCommand());
nonExecCommands.Add(builder.BuildGraphManagedMobileLobAppNavCommand());
- nonExecCommands.Add(builder.BuildGraphMobileLobAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphMicrosoftStoreForBusinessAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphWin32LobAppNavCommand());
+ nonExecCommands.Add(builder.BuildGraphWindowsAppXNavCommand());
+ nonExecCommands.Add(builder.BuildGraphWindowsMobileMSINavCommand());
+ nonExecCommands.Add(builder.BuildGraphWindowsUniversalAppXNavCommand());
+ nonExecCommands.Add(builder.BuildGraphWindowsWebAppNavCommand());
execCommands.Add(builder.BuildListCommand());
var cmds = builder.BuildCommand();
execCommands.AddRange(cmds.Item1);
diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
index acac69c6844..f92a02d5060 100644
--- a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
@@ -54,12 +54,12 @@ public Command BuildDeleteCommand() {
return command;
}
///
- /// Read properties and relationships of the managedAppConfiguration object.
- /// Find more info here
+ /// Read properties and relationships of the managedAppProtection object.
+ /// Find more info here
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Read properties and relationships of the managedAppConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the managedAppProtection object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0";
var managedAppPolicyIdOption = new Option("--managed-app-policy-id", description: "The unique identifier of managedAppPolicy") {
};
managedAppPolicyIdOption.IsRequired = true;
@@ -225,7 +225,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedAppConfiguration object.
+ /// Read properties and relationships of the managedAppProtection object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -279,7 +279,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppPolicy body, Actio
return requestInfo;
}
///
- /// Read properties and relationships of the managedAppConfiguration object.
+ /// Read properties and relationships of the managedAppProtection object.
///
public class ManagedAppPolicyItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
index 6bf4a026e29..afe76d20b43 100644
--- a/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
@@ -20,11 +20,11 @@ namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item.TargetApps {
public class TargetAppsRequestBuilder : BaseCliRequestBuilder {
///
/// Not yet documented
- /// Find more info here
+ /// Find more info here
///
public Command BuildPostCommand() {
var command = new Command("post");
- command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0";
+ command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0";
var managedAppPolicyIdOption = new Option("--managed-app-policy-id", description: "The unique identifier of managedAppPolicy") {
};
managedAppPolicyIdOption.IsRequired = true;
diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
index 3139ad31f21..5d593198207 100644
--- a/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
@@ -101,12 +101,12 @@ public Command BuildCreateCommand() {
return command;
}
///
- /// List properties and relationships of the managedAppConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the managedAppPolicy objects.
+ /// Find more info here
///
public Command BuildListCommand() {
var command = new Command("list");
- command.Description = "List properties and relationships of the managedAppConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the managedAppPolicy objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -218,7 +218,7 @@ public ManagedAppPoliciesRequestBuilder(Dictionary pathParameter
public ManagedAppPoliciesRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the managedAppConfiguration objects.
+ /// List properties and relationships of the managedAppPolicy objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -272,7 +272,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppPolicy body, Action
return requestInfo;
}
///
- /// List properties and relationships of the managedAppConfiguration objects.
+ /// List properties and relationships of the managedAppPolicy objects.
///
public class ManagedAppPoliciesRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
index 3de29e77400..f7e5e47b0d2 100644
--- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
@@ -20,11 +20,11 @@ namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicie
public class TargetAppsRequestBuilder : BaseCliRequestBuilder {
///
/// Not yet documented
- /// Find more info here
+ /// Find more info here
///
public Command BuildPostCommand() {
var command = new Command("post");
- command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0";
+ command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0";
var managedAppRegistrationIdOption = new Option("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") {
};
managedAppRegistrationIdOption.IsRequired = true;
diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
index c3882dcd34a..35ac4612c76 100644
--- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
@@ -20,11 +20,11 @@ namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolici
public class TargetAppsRequestBuilder : BaseCliRequestBuilder {
///
/// Not yet documented
- /// Find more info here
+ /// Find more info here
///
public Command BuildPostCommand() {
var command = new Command("post");
- command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0";
+ command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0";
var managedAppRegistrationIdOption = new Option("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") {
};
managedAppRegistrationIdOption.IsRequired = true;
diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
index c6605df75e3..8b1017ed448 100644
--- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
@@ -81,12 +81,12 @@ public Command BuildDeleteCommand() {
return command;
}
///
- /// Read properties and relationships of the iosManagedAppRegistration object.
- /// Find more info here
+ /// Read properties and relationships of the managedAppRegistration object.
+ /// Find more info here
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Read properties and relationships of the iosManagedAppRegistration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the managedAppRegistration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0";
var managedAppRegistrationIdOption = new Option("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") {
};
managedAppRegistrationIdOption.IsRequired = true;
@@ -287,7 +287,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the iosManagedAppRegistration object.
+ /// Read properties and relationships of the managedAppRegistration object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -341,7 +341,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppRegistration body,
return requestInfo;
}
///
- /// Read properties and relationships of the iosManagedAppRegistration object.
+ /// Read properties and relationships of the managedAppRegistration object.
///
public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs
index f67957dd252..409ba8f61b4 100644
--- a/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs
@@ -53,12 +53,12 @@ public Command BuildDeleteCommand() {
return command;
}
///
- /// Read properties and relationships of the managedAppStatus object.
- /// Find more info here
+ /// Read properties and relationships of the managedAppStatusRaw object.
+ /// Find more info here
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Read properties and relationships of the managedAppStatus object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the managedAppStatusRaw object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0";
var managedAppStatusIdOption = new Option("--managed-app-status-id", description: "The unique identifier of managedAppStatus") {
};
managedAppStatusIdOption.IsRequired = true;
@@ -209,7 +209,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedAppStatus object.
+ /// Read properties and relationships of the managedAppStatusRaw object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -263,7 +263,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppStatus body, Actio
return requestInfo;
}
///
- /// Read properties and relationships of the managedAppStatus object.
+ /// Read properties and relationships of the managedAppStatusRaw object.
///
public class ManagedAppStatusItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs
index ca1be7b578b..ee130dac979 100644
--- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs
@@ -48,12 +48,12 @@ public Command BuildCountNavCommand() {
return command;
}
///
- /// Create a new managedEBookAssignment object.
- /// Find more info here
+ /// Create a new iosVppEBookAssignment object.
+ /// Find more info here
///
public Command BuildCreateCommand() {
var command = new Command("create");
- command.Description = "Create a new managedEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0";
+ command.Description = "Create a new iosVppEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -255,7 +255,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new managedEBookAssignment object.
+ /// Create a new iosVppEBookAssignment object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
index d88b4b1a672..6c8b5016f3f 100644
--- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
@@ -20,12 +20,12 @@ namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments.Item {
///
public class ManagedEBookAssignmentItemRequestBuilder : BaseCliRequestBuilder {
///
- /// Deletes a iosVppEBookAssignment.
- /// Find more info here
+ /// Deletes a managedEBookAssignment.
+ /// Find more info here
///
public Command BuildDeleteCommand() {
var command = new Command("delete");
- command.Description = "Deletes a iosVppEBookAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0";
+ command.Description = "Deletes a managedEBookAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -60,12 +60,12 @@ public Command BuildDeleteCommand() {
return command;
}
///
- /// Read properties and relationships of the iosVppEBookAssignment object.
- /// Find more info here
+ /// Read properties and relationships of the managedEBookAssignment object.
+ /// Find more info here
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Read properties and relationships of the iosVppEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the managedEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -128,12 +128,12 @@ public Command BuildGetCommand() {
return command;
}
///
- /// Update the properties of a iosVppEBookAssignment object.
- /// Find more info here
+ /// Update the properties of a managedEBookAssignment object.
+ /// Find more info here
///
public Command BuildPatchCommand() {
var command = new Command("patch");
- command.Description = "Update the properties of a iosVppEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0";
+ command.Description = "Update the properties of a managedEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -204,7 +204,7 @@ public ManagedEBookAssignmentItemRequestBuilder(Dictionary pathP
public ManagedEBookAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a iosVppEBookAssignment.
+ /// Deletes a managedEBookAssignment.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the iosVppEBookAssignment object.
+ /// Read properties and relationships of the managedEBookAssignment object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -255,7 +255,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a iosVppEBookAssignment object.
+ /// Update the properties of a managedEBookAssignment object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -283,7 +283,7 @@ public RequestInformation ToPatchRequestInformation(ManagedEBookAssignment body,
return requestInfo;
}
///
- /// Read properties and relationships of the iosVppEBookAssignment object.
+ /// Read properties and relationships of the managedEBookAssignment object.
///
public class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
index 3adf8963591..a6a550f648e 100644
--- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
@@ -124,12 +124,12 @@ public Command BuildDeviceStatesNavCommand() {
return command;
}
///
- /// Read properties and relationships of the managedEBook object.
- /// Find more info here
+ /// Read properties and relationships of the iosVppEBook object.
+ /// Find more info here
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Read properties and relationships of the managedEBook object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the iosVppEBook object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -323,7 +323,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedEBook object.
+ /// Read properties and relationships of the iosVppEBook object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -377,7 +377,7 @@ public RequestInformation ToPatchRequestInformation(ManagedEBook body, Action
- /// Read properties and relationships of the managedEBook object.
+ /// Read properties and relationships of the iosVppEBook object.
///
public class ManagedEBookItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
index 8b87d94f861..61dddbeab3e 100644
--- a/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
@@ -107,12 +107,12 @@ public Command BuildCreateCommand() {
return command;
}
///
- /// List properties and relationships of the iosMobileAppConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
+ /// Find more info here
///
public Command BuildListCommand() {
var command = new Command("list");
- command.Description = "List properties and relationships of the iosMobileAppConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the managedDeviceMobileAppConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -224,7 +224,7 @@ public MobileAppConfigurationsRequestBuilder(Dictionary pathPara
public MobileAppConfigurationsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the iosMobileAppConfiguration objects.
+ /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -278,7 +278,7 @@ public RequestInformation ToPostRequestInformation(ManagedDeviceMobileAppConfigu
return requestInfo;
}
///
- /// List properties and relationships of the iosMobileAppConfiguration objects.
+ /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
///
public class MobileAppConfigurationsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..4674b708cc2
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidLobApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidLobApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidLobApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs
new file mode 100644
index 00000000000..0e647619df5
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidLobApp/GraphAndroidLobAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidLobApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidLobApp {
+ ///
+ /// Casts the previous resource to androidLobApp.
+ ///
+ public class GraphAndroidLobAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphAndroidLobAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphAndroidLobAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphAndroidLobAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphAndroidLobAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphAndroidLobAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..9867c48d343
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidStoreApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidStoreApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidStoreApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs
new file mode 100644
index 00000000000..256206a6528
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphAndroidStoreApp/GraphAndroidStoreAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidStoreApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphAndroidStoreApp {
+ ///
+ /// Casts the previous resource to androidStoreApp.
+ ///
+ public class GraphAndroidStoreAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphAndroidStoreAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphAndroidStoreAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphAndroidStoreAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphAndroidStoreAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.androidStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphAndroidStoreAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.cs
similarity index 96%
rename from src/generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.cs
rename to src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.cs
index 02f412721b4..6f70fe63c6c 100644
--- a/src/generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/Count/CountRequestBuilder.cs
@@ -13,7 +13,7 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMobileLobApp.Count {
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosLobApp.Count {
///
/// Provides operations to count the resources in the collection.
///
@@ -56,13 +56,13 @@ public Command BuildGetCommand() {
/// Instantiates a new CountRequestBuilder and sets the default values.
///
/// Path parameters for the request
- public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.mobileLobApp/$count{?%24search,%24filter}", pathParameters) {
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosLobApp/$count{?%24search,%24filter}", pathParameters) {
}
///
/// Instantiates a new CountRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
- public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.mobileLobApp/$count{?%24search,%24filter}", rawUrl) {
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosLobApp/$count{?%24search,%24filter}", rawUrl) {
}
///
/// Get the number of the resource
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs
similarity index 87%
rename from src/generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs
rename to src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs
index 3934d53b2ef..166397c5176 100644
--- a/src/generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosLobApp/GraphIosLobAppRequestBuilder.cs
@@ -1,5 +1,5 @@
//
-using ApiSdk.DeviceAppManagement.MobileApps.GraphMobileLobApp.Count;
+using ApiSdk.DeviceAppManagement.MobileApps.GraphIosLobApp.Count;
using ApiSdk.Models.ODataErrors;
using ApiSdk.Models;
using Microsoft.Kiota.Abstractions.Serialization;
@@ -15,11 +15,11 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMobileLobApp {
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosLobApp {
///
- /// Casts the previous resource to mobileLobApp.
+ /// Casts the previous resource to iosLobApp.
///
- public class GraphMobileLobAppRequestBuilder : BaseCliRequestBuilder {
+ public class GraphIosLobAppRequestBuilder : BaseCliRequestBuilder {
///
/// Provides operations to count the resources in the collection.
///
@@ -36,11 +36,11 @@ public Command BuildCountNavCommand() {
return command;
}
///
- /// Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection
+ /// Get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection
///
public Command BuildGetCommand() {
var command = new Command("get");
- command.Description = "Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection";
+ command.Description = "Get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -140,27 +140,27 @@ public Command BuildGetCommand() {
return command;
}
///
- /// Instantiates a new GraphMobileLobAppRequestBuilder and sets the default values.
+ /// Instantiates a new GraphIosLobAppRequestBuilder and sets the default values.
///
/// Path parameters for the request
- public GraphMobileLobAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.mobileLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ public GraphIosLobAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
}
///
- /// Instantiates a new GraphMobileLobAppRequestBuilder and sets the default values.
+ /// Instantiates a new GraphIosLobAppRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
- public GraphMobileLobAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.mobileLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ public GraphIosLobAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection
+ /// Get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation {
HttpMethod = Method.GET,
@@ -169,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action();
+ var requestConfig = new RequestConfiguration();
requestConfiguration.Invoke(requestConfig);
requestInfo.AddQueryParameters(requestConfig.QueryParameters);
requestInfo.AddRequestOptions(requestConfig.Options);
@@ -178,9 +178,9 @@ public RequestInformation ToGetRequestInformation(Action
- /// Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection
+ /// Get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection
///
- public class GraphMobileLobAppRequestBuilderGetQueryParameters {
+ public class GraphIosLobAppRequestBuilderGetQueryParameters {
/// Include count of items
[QueryParameter("%24count")]
public bool? Count { get; set; }
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..014f2200409
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosStoreApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosStoreApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosStoreApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs
new file mode 100644
index 00000000000..996a9e072c6
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosStoreApp/GraphIosStoreAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphIosStoreApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosStoreApp {
+ ///
+ /// Casts the previous resource to iosStoreApp.
+ ///
+ public class GraphIosStoreAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphIosStoreAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphIosStoreAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphIosStoreAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphIosStoreAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphIosStoreAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..850b24f4722
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosVppApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosVppApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosVppApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs
new file mode 100644
index 00000000000..765b432355d
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphIosVppApp/GraphIosVppAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphIosVppApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphIosVppApp {
+ ///
+ /// Casts the previous resource to iosVppApp.
+ ///
+ public class GraphIosVppAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphIosVppAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphIosVppAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosVppApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphIosVppAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphIosVppAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.iosVppApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphIosVppAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..eb22da929ee
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSDmgApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSDmgApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSDmgApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs
new file mode 100644
index 00000000000..8eab3fee0e4
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSDmgApp/GraphMacOSDmgAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSDmgApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSDmgApp {
+ ///
+ /// Casts the previous resource to macOSDmgApp.
+ ///
+ public class GraphMacOSDmgAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphMacOSDmgAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphMacOSDmgAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSDmgApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphMacOSDmgAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphMacOSDmgAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSDmgApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphMacOSDmgAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..6f64dc46ebb
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSLobApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSLobApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSLobApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs
new file mode 100644
index 00000000000..f7201ca2bad
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphMacOSLobApp/GraphMacOSLobAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSLobApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMacOSLobApp {
+ ///
+ /// Casts the previous resource to macOSLobApp.
+ ///
+ public class GraphMacOSLobAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphMacOSLobAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphMacOSLobAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphMacOSLobAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphMacOSLobAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.macOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphMacOSLobAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..6817bed5587
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedAndroidLobApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedAndroidLobApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedAndroidLobApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs
new file mode 100644
index 00000000000..c4d5f9e9024
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedAndroidLobApp/GraphManagedAndroidLobAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphManagedAndroidLobApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedAndroidLobApp {
+ ///
+ /// Casts the previous resource to managedAndroidLobApp.
+ ///
+ public class GraphManagedAndroidLobAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphManagedAndroidLobAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphManagedAndroidLobAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedAndroidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphManagedAndroidLobAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphManagedAndroidLobAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedAndroidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphManagedAndroidLobAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..b93899a1ba2
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedIOSLobApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedIOSLobApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedIOSLobApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs
new file mode 100644
index 00000000000..1ed8e760d7f
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphManagedIOSLobApp/GraphManagedIOSLobAppRequestBuilder.cs
@@ -0,0 +1,245 @@
+//
+using ApiSdk.DeviceAppManagement.MobileApps.GraphManagedIOSLobApp.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphManagedIOSLobApp {
+ ///
+ /// Casts the previous resource to managedIOSLobApp.
+ ///
+ public class GraphManagedIOSLobAppRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public Command BuildCountNavCommand() {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON){
+ IsRequired = true
+ };
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var jsonNoIndentOption = new Option("--json-no-indent", r => {
+ if (bool.TryParse(r.Tokens.Select(t => t.Value).LastOrDefault(), out var value)) {
+ return value;
+ }
+ return true;
+ }, description: "Disable indentation for the JSON output formatter.");
+ command.AddOption(jsonNoIndentOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var jsonNoIndent = invocationContext.ParseResult.GetValueForOption(jsonNoIndentOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+ IOutputFormatterOptions? formatterOptions = null;
+ IOutputFormatter? formatter = null;
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ formatterOptions = output.GetOutputFormatterOptions(new FormatterOptionsModel(!jsonNoIndent));
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, formatterOptions, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new GraphManagedIOSLobAppRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphManagedIOSLobAppRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedIOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new GraphManagedIOSLobAppRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphManagedIOSLobAppRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.managedIOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection
+ ///
+ public class GraphManagedIOSLobAppRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..efaf5d3b95f
--- /dev/null
+++ b/src/generated/DeviceAppManagement/MobileApps/GraphMicrosoftStoreForBusinessApp/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.DeviceAppManagement.MobileApps.GraphMicrosoftStoreForBusinessApp.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder {
+ ///
+ /// Get the number of the resource
+ ///
+ public Command BuildGetCommand() {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, null, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.microsoftStoreForBusinessApp/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/mobileApps/graph.microsoftStoreForBusinessApp/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new RequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///