From a1439ae63bb5fed0afb99577ac6b677a10117d4a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 14 Feb 2026 00:38:27 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 210015 --- .../Generated/Admin/AdminRequestBuilder.cs | 6 + .../Allotments/AllotmentsRequestBuilder.cs} | 83 +- .../Allotments}/Count/CountRequestBuilder.cs | 26 +- .../Item/AllotmentItemRequestBuilder.cs} | 80 +- .../Assignments/AssignmentsRequestBuilder.cs | 184 +++ .../Assignments/Count/CountRequestBuilder.cs | 124 ++ .../Item/AssignmentItemRequestBuilder.cs | 125 ++ .../Count/CountRequestBuilder.cs | 124 ++ .../Item/WaitingMemberItemRequestBuilder.cs | 125 ++ .../WaitingMembersRequestBuilder.cs | 184 +++ .../AssignmentErrorsRequestBuilder.cs | 239 +++ .../Count/CountRequestBuilder.cs | 124 ++ .../AssignedTo/AssignedToRequestBuilder.cs | 126 ++ .../Item/AssignmentErrorItemRequestBuilder.cs | 242 +++ .../UsageRight/UsageRightRequestBuilder.cs | 126 ++ .../Assignments/AssignmentsRequestBuilder.cs | 246 +++ .../Assignments/Count/CountRequestBuilder.cs | 124 ++ .../Item/Allotment/AllotmentRequestBuilder.cs | 126 ++ .../AssignedTo/AssignedToRequestBuilder.cs | 126 ++ .../Item/AssignmentItemRequestBuilder.cs | 243 +++ ...nsingReprocessAssignmentsRequestBuilder.cs | 96 ++ .../CloudLicensingRequestBuilder.cs | 247 +++ .../ConfigurationDriftsRequestBuilder.cs | 7 +- .../ConfigurationDriftItemRequestBuilder.cs | 7 +- .../ConfigurationManagementRequestBuilder.cs | 6 - ...gurationMonitoringResultsRequestBuilder.cs | 7 +- ...ationMonitoringResultItemRequestBuilder.cs | 7 +- .../ConfigurationMonitorsRequestBuilder.cs | 12 +- .../Item/Baseline/BaselineRequestBuilder.cs | 7 +- .../ConfigurationMonitorItemRequestBuilder.cs | 17 +- ...ConfigurationSnapshotJobsRequestBuilder.cs | 7 +- ...figurationSnapshotJobItemRequestBuilder.cs | 12 +- .../ConfigurationSnapshotsRequestBuilder.cs | 6 +- ...ConfigurationBaselineItemRequestBuilder.cs | 6 +- ...sPolicyUserAssignmentItemRequestBuilder.cs | 6 +- .../UserAssignmentsRequestBuilder.cs | 6 +- .../Policies/Count/CountRequestBuilder.cs | 124 ++ .../ApplicableContentRequestBuilder.cs | 239 +++ .../Count/CountRequestBuilder.cs | 124 ++ ...leContentCatalogEntryItemRequestBuilder.cs | 241 +++ .../CatalogEntryRequestBuilder.cs | 125 ++ .../Count/CountRequestBuilder.cs | 124 ++ ...tentDeviceMatchDeviceItemRequestBuilder.cs | 229 +++ .../MatchedDevicesRequestBuilder.cs | 238 +++ .../Item/Approvals/ApprovalsRequestBuilder.cs | 240 +++ .../Approvals/Count/CountRequestBuilder.cs | 124 ++ .../CatalogEntryRequestBuilder.cs | 125 ++ .../Item/PolicyApprovalItemRequestBuilder.cs | 238 +++ .../Policies/Item/PolicyItemRequestBuilder.cs | 250 +++ .../Item/Rings/Count/CountRequestBuilder.cs | 124 ++ .../Item/Rings/Item/RingItemRequestBuilder.cs | 232 +++ .../Item/Rings/RingsRequestBuilder.cs | 240 +++ .../Policies/PoliciesRequestBuilder.cs | 240 +++ .../Windows/Updates/UpdatesRequestBuilder.cs | 6 + .../GraphGroup/GraphGroupRequestBuilder.cs | 6 +- .../GraphGroup/GraphGroupRequestBuilder.cs | 6 +- .../Item/MemberOf/MemberOfRequestBuilder.cs | 6 +- .../Evaluate/EvaluatePostRequestBody.cs | 18 + .../AccessPackageAssignmentRequestBuilder.cs | 6 +- .../AccessPackageAssignmentRequestBuilder.cs | 6 +- .../AccessPackageAssignmentRequestBuilder.cs | 6 +- .../EntitlementManagementRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 ++ ...lOriginResourceConnectorsRequestBuilder.cs | 238 +++ ...iginResourceConnectorItemRequestBuilder.cs | 229 +++ .../Evaluate/EvaluatePostRequestBody.cs | 18 + .../Evaluate/EvaluatePostRequestBody.cs | 18 + .../Models/AccessPackageAssignmentRequest.cs | 4 +- src/Microsoft.Graph/Generated/Models/Admin.cs | 19 + .../Generated/Models/AdminWindowsUpdates.cs | 18 + .../Generated/Models/AgentIdentityType.cs | 28 + .../Generated/Models/AgentRiskDetection.cs | 8 + .../Models/AllowedTenantsAudience.cs | 2 +- .../AppManagementApplicationConfiguration.cs | 18 + .../Models/AuthenticationEventListener.cs | 1 + .../Generated/Models/BackupRestoreRoot.cs | 6 +- .../Generated/Models/BaselineParameter.cs | 4 +- .../Generated/Models/BaselineResource.cs | 4 +- .../Models/BrowseQueryResponseItem.cs | 10 +- .../Generated/Models/BrowseSessionBase.cs | 10 +- .../CloudLicensing/AdminCloudLicensing.cs | 100 ++ .../Models/CloudLicensing/Allotment.cs | 168 ++ .../AllotmentCollectionResponse.cs} | 22 +- .../Models/CloudLicensing/Assignment.cs | 100 ++ .../AssignmentCollectionResponse.cs | 64 + .../Models/CloudLicensing/AssignmentError.cs | 134 ++ .../AssignmentErrorCollectionResponse.cs | 64 + .../CloudLicensing/GroupCloudLicensing.cs | 18 + .../Models/CloudLicensing/Subscription.cs | 132 ++ .../CloudLicensing/SubscriptionState.cs | 36 + .../Models/CloudLicensing/SubscriptionTags.cs | 25 + .../Models/CloudLicensing/UsageRight.cs | 36 + .../CloudLicensing/UserCloudLicensing.cs | 54 + .../Models/CloudLicensing/WaitingMember.cs | 90 ++ .../WaitingMemberCollectionResponse.cs | 64 + .../Models/CloudPcDeviceImageErrorCode.cs | 8 + .../Models/CloudPcDomainJoinConfiguration.cs | 4 +- .../Generated/Models/CloudPcExportJob.cs | 2 +- .../CloudPcOnPremisesConnectionHealthCheck.cs | 2 +- .../Generated/Models/CloudPcReportName.cs | 4 + .../Models/CloudPcSourceDeviceImage.cs | 8 + ...nType.cs => CloudPcSourceImageCategory.cs} | 13 +- .../Generated/Models/CloudPcStatus.cs | 4 + .../Models/CloudPcSupportedRegion.cs | 2 +- .../Models/ConditionalAccessGrantControls.cs | 4 +- .../Models/ConfigurationApplication.cs | 203 --- .../Generated/Models/ConfigurationBaseline.cs | 8 +- .../Generated/Models/ConfigurationDrift.cs | 12 +- .../Models/ConfigurationManagement.cs | 28 +- .../Generated/Models/ConfigurationMonitor.cs | 43 +- .../Models/ConfigurationMonitoringResult.cs | 27 +- .../Models/ConfigurationSnapshotJob.cs | 16 +- .../Generated/Models/CopilotPackage.cs | 18 + .../Generated/Models/CopilotPackageDetail.cs | 7 + .../Models/CrossTenantGroupSyncInbound.cs | 2 +- .../CrossTenantIdentitySyncPolicyPartner.cs | 2 +- ...omAppManagementApplicationConfiguration.cs | 18 + .../Models/CustomAuthenticationExtension.cs | 1 + .../Models/CustomCalloutExtension.cs | 1 + .../Generated/Models/DriftedProperty.cs | 6 +- .../Generated/Models/EntitlementManagement.cs | 18 + .../Generated/Models/Entity.cs | 19 +- .../Generated/Models/ErrorDetail.cs | 6 +- .../Generated/Models/ExchangeMessageTrace.cs | 14 +- ...iginResourceConnectorCollectionResponse.cs | 64 + .../Models/FraudProtectionDetails.cs | 207 +++ .../Models/GranularDriveRestoreArtifact.cs | 2 +- .../Models/GranularRestoreArtifactBase.cs | 16 +- .../Models/GranularSiteRestoreArtifact.cs | 2 +- src/Microsoft.Graph/Generated/Models/Group.cs | 2 +- .../Generated/Models/MonitorMode.cs | 16 - ...PasswordMigrationCustomExtensionHandler.cs | 107 ++ .../Models/OnPasswordSubmitCustomExtension.cs | 53 + .../Models/OnPasswordSubmitHandler.cs | 86 ++ .../Models/OnPasswordSubmitListener.cs | 71 + .../OneDriveForBusinessBrowseSession.cs | 2 +- .../OneDriveForBusinessRestoreSession.cs | 2 +- .../Generated/Models/ProtectionPolicyBase.cs | 8 + .../Models/ProtectionPolicyStatus.cs | 8 + .../Generated/Models/QrCodeImageDetails.cs | 2 +- .../RedirectUriAllowedDomainConfiguration.cs | 194 +++ .../RedirectUriAllowedSchemeConfiguration.cs | 194 +++ .../RedirectUriBlockedDomainConfiguration.cs | 194 +++ .../RedirectUriBlockedSchemeConfiguration.cs | 212 +++ .../Models/RedirectUriConfiguration.cs | 171 +++ ...tUriPlatformAllowedDomainConfiguration.cs} | 52 +- ...ctUriPlatformAllowedSchemeConfiguration.cs | 99 ++ ...ctUriPlatformBlockedDomainConfiguration.cs | 99 ++ ...ctUriPlatformBlockedSchemeConfiguration.cs | 117 ++ .../RedirectUriWildcardConfiguration.cs | 140 ++ .../RedirectUriWildcardExcludeFormats.cs | 107 ++ .../Generated/Models/RiskyAgent.cs | 8 + .../Models/Security/AggregatedEnvironment.cs | 107 ++ .../Generated/Models/Security/AuditInfo.cs | 107 ++ .../Security/AutoAuditingConfiguration.cs | 54 + .../Models/Security/DetonationDetails.cs | 92 +- .../Security/EdiscoveryPurgeDataOperation.cs | 18 + .../Security/EnvironmentCollectionResponse.cs | 64 + .../Models/Security/EnvironmentKind.cs | 60 + .../Models/Security/EnvironmentObject.cs | 54 + .../Models/Security/IdentityContainer.cs | 2 +- .../Generated/Models/Security/Incident.cs | 2 +- .../Models/Security/RemediationAction.cs | 4 + .../Models/Security/SettingsContainer.cs | 18 + .../Generated/Models/Security/Zone.cs | 154 ++ .../Models/Security/ZoneCollectionResponse.cs | 64 + .../Generated/Models/SelfServiceSignUp.cs | 18 + .../Models/SharePointBrowseSession.cs | 2 +- .../Models/SharePointRestoreSession.cs | 2 +- src/Microsoft.Graph/Generated/Models/Site.cs | 2 +- .../Generated/Models/SiteTemplateType.cs | 4 - .../TeamsPolicyAssignment.cs | 2 +- .../TeamsPolicyUserAssignment.cs | 2 +- .../LongRunningOperation.cs | 106 ++ .../LongRunningOperationStatus.cs | 32 + .../Generated/Models/UsageAuthMethod.cs | 4 + .../Generated/Models/UsageRights.cs | 6 +- .../Models/WindowsUpdates/ApprovalRule.cs | 95 ++ .../Models/WindowsUpdates/ApprovalStatus.cs | 24 + .../Models/WindowsUpdates/AssignedGroup.cs | 117 ++ .../Models/WindowsUpdates/CatalogEntry.cs | 1 + .../WindowsUpdates/ExcludedGroupAssignment.cs | 71 + .../Models/WindowsUpdates/GroupAssignment.cs | 87 ++ .../WindowsUpdates/IncludedGroupAssignment.cs | 71 + .../Generated/Models/WindowsUpdates/Policy.cs | 175 +++ .../Models/WindowsUpdates/PolicyApproval.cs | 106 ++ .../PolicyApprovalCollectionResponse.cs | 64 + .../PolicyCollectionResponse.cs | 64 + .../QualityUpdateApprovalRule.cs | 69 + .../WindowsUpdates/QualityUpdatePolicy.cs | 53 + .../WindowsUpdates/QualityUpdateRing.cs | 61 + .../WindowsUpdates/RecoveryApprovalRule.cs | 53 + .../RecoveryUpdateCatalogEntry.cs | 89 ++ .../Generated/Models/WindowsUpdates/Ring.cs | 155 ++ .../WindowsUpdates/RingCollectionResponse.cs | 64 + .../SoftwareUpdateCatalogEntry.cs | 1 + ...rtDateTimeWithEndDateTimeRequestBuilder.cs | 161 -- ...coveredApplicationSegmentIdGetResponse.cs} | 10 +- ...DiscoveredApplicationSegmentIdResponse.cs} | 12 +- ...veredApplicationSegmentIdRequestBuilder.cs | 171 +++ .../Reports/ReportsRequestBuilder.cs | 8 +- ...AutoAuditingConfigurationRequestBuilder.cs | 230 +++ .../Settings/SettingsRequestBuilder.cs | 12 +- .../Security/SecurityRequestBuilder.cs | 6 + .../Zones/Count/CountRequestBuilder.cs | 124 ++ .../AggregationsRequestBuilder.cs | 54 + .../Aggregations/Count/CountRequestBuilder.cs | 124 ++ ...egatedEnvironmentKindItemRequestBuilder.cs | 125 ++ .../Environments/Count/CountRequestBuilder.cs | 124 ++ .../EnvironmentsRequestBuilder.cs | 240 +++ .../Item/EnvironmentItemRequestBuilder.cs | 175 +++ .../Zones/Item/ZoneItemRequestBuilder.cs | 244 +++ .../Security/Zones/ZonesRequestBuilder.cs | 240 +++ .../Evaluate/EvaluatePostRequestBody.cs | 18 + .../BrowseSessionsRequestBuilder.cs | 7 +- .../BrowseSessionBaseItemRequestBuilder.cs | 6 +- ...BusinessBrowseSessionItemRequestBuilder.cs | 7 +- ...ForBusinessBrowseSessionsRequestBuilder.cs | 12 +- ...ularDriveRestoreArtifactsRequestBuilder.cs | 7 +- ...rDriveRestoreArtifactItemRequestBuilder.cs | 6 +- ...arePointBrowseSessionItemRequestBuilder.cs | 7 +- .../SharePointBrowseSessionsRequestBuilder.cs | 12 +- ...nularSiteRestoreArtifactsRequestBuilder.cs | 7 +- ...arSiteRestoreArtifactItemRequestBuilder.cs | 6 +- ...rePointRestoreSessionItemRequestBuilder.cs | 5 +- ...SharePointRestoreSessionsRequestBuilder.cs | 4 +- .../Generated/Users/Delta/DeltaGetResponse.cs | 12 +- .../Users/Delta/DeltaRequestBuilder.cs | 12 +- .../Evaluate/EvaluatePostRequestBody.cs | 18 + .../Generated/kiota-dom-export.txt | 1368 +++++++++++++++-- src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 231 files changed, 16196 insertions(+), 943 deletions(-) rename src/Microsoft.Graph/Generated/Admin/{ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.cs => CloudLicensing/Allotments/AllotmentsRequestBuilder.cs} (61%) rename src/Microsoft.Graph/Generated/Admin/{ConfigurationManagement/ConfigurationApplications => CloudLicensing/Allotments}/Count/CountRequestBuilder.cs (72%) rename src/Microsoft.Graph/Generated/Admin/{ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.cs => CloudLicensing/Allotments/Item/AllotmentItemRequestBuilder.cs} (65%) create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AgentIdentityType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/AdminCloudLicensing.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/Allotment.cs rename src/Microsoft.Graph/Generated/Models/{ConfigurationApplicationCollectionResponse.cs => CloudLicensing/AllotmentCollectionResponse.cs} (68%) create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/Assignment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentError.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentErrorCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/Subscription.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionTags.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMember.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMemberCollectionResponse.cs rename src/Microsoft.Graph/Generated/Models/{MonitorRunType.cs => CloudPcSourceImageCategory.cs} (65%) delete mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationApplication.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ExternalOriginResourceConnectorCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/FraudProtectionDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriAllowedDomainConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriAllowedSchemeConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriBlockedDomainConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriBlockedSchemeConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriConfiguration.cs rename src/Microsoft.Graph/Generated/Models/{ClientCredentials.cs => RedirectUriPlatformAllowedDomainConfiguration.cs} (66%) create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriPlatformAllowedSchemeConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedDomainConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedSchemeConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriWildcardConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RedirectUriWildcardExcludeFormats.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AggregatedEnvironment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AuditInfo.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AutoAuditingConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/EnvironmentCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/EnvironmentKind.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/EnvironmentObject.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/Zone.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/ZoneCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperation.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperationStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/AssignedGroup.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/ExcludedGroupAssignment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/GroupAssignment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/IncludedGroupAssignment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApprovalCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateApprovalRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdatePolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateRing.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryApprovalRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryUpdateCatalogEntry.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WindowsUpdates/RingCollectionResponse.cs delete mode 100644 src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs rename src/Microsoft.Graph/Generated/NetworkAccess/Reports/{MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.cs => MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.cs} (77%) rename src/Microsoft.Graph/Generated/NetworkAccess/Reports/{MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeResponse.cs => MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.cs} (51%) create mode 100644 src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/AggregationsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/Item/ZoneItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Zones/ZonesRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs index a22f958c760..03a53022d8f 100644 --- a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Admin.AppsAndServices; +using Microsoft.Graph.Beta.Admin.CloudLicensing; using Microsoft.Graph.Beta.Admin.ConfigurationManagement; using Microsoft.Graph.Beta.Admin.Dynamics; using Microsoft.Graph.Beta.Admin.Edge; @@ -38,6 +39,11 @@ public partial class AdminRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.AppsAndServices.AppsAndServicesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the cloudLicensing property of the microsoft.graph.admin entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.CloudLicensingRequestBuilder CloudLicensing + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.CloudLicensingRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder ConfigurationManagement { diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilder.cs similarity index 61% rename from src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilder.cs index c4aba5d2c60..c04cabdf7a2 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/ConfigurationApplicationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/AllotmentsRequestBuilder.cs @@ -1,9 +1,9 @@ // #pragma warning disable CS0618 -using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count; -using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item; +using Microsoft.Graph.Beta.Models.CloudLicensing; using Microsoft.Graph.Beta.Models.ODataErrors; -using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -12,61 +12,62 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments { /// - /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. + /// Provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationsRequestBuilder : BaseRequestBuilder + public partial class AllotmentsRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. - public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder Count + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder Count { - get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder(PathParameters, RequestAdapter); + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. - /// The unique identifier of configurationApplication - /// A - public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder this[string position] + /// Provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + /// The unique identifier of allotment + /// A + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("configurationApplication%2Did", position); - return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder(urlTplParams, RequestAdapter); + urlTplParams.Add("allotment%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ConfigurationApplicationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public AllotmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public ConfigurationApplicationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public AllotmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// - /// Get configurationApplications from admin + /// Get a list of the allotment objects and their properties. + /// Find more info here /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -74,23 +75,23 @@ public ConfigurationApplicationsRequestBuilder(string rawUrl, IRequestAdapter re { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AllotmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to configurationApplications for admin + /// Create new navigation property to allotments for admin /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -99,20 +100,20 @@ public ConfigurationApplicationsRequestBuilder(string rawUrl, IRequestAdapter re { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get configurationApplications from admin + /// Get a list of the allotment objects and their properties. /// /// A /// 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(Method.GET, UrlTemplate, PathParameters); @@ -121,18 +122,18 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to configurationApplications for admin + /// Create new navigation property to allotments for admin /// /// A /// The request body /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action> requestConfiguration = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -145,17 +146,17 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.AllotmentsRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.AllotmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get configurationApplications from admin + /// Get a list of the allotment objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationsRequestBuilderGetQueryParameters + public partial class AllotmentsRequestBuilderGetQueryParameters { /// Include count of items [QueryParameter("%24count")] @@ -222,7 +223,7 @@ public partial class ConfigurationApplicationsRequestBuilderGetQueryParameters /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationsRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class AllotmentsRequestBuilderGetRequestConfiguration : RequestConfiguration { } /// @@ -230,7 +231,7 @@ public partial class ConfigurationApplicationsRequestBuilderGetRequestConfigurat /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationsRequestBuilderPostRequestConfiguration : RequestConfiguration + public partial class AllotmentsRequestBuilderPostRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilder.cs similarity index 72% rename from src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilder.cs index 12197cef06a..462cbfbb3fa 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Count/CountRequestBuilder.cs @@ -9,7 +9,7 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count { /// /// Provides operations to count the resources in the collection. @@ -18,19 +18,19 @@ namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplic public partial class CountRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/$count{?%24filter,%24search}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/$count{?%24filter,%24search}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/$count{?%24filter,%24search}", rawUrl) + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/$count{?%24filter,%24search}", rawUrl) { } /// @@ -42,11 +42,11 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -63,11 +63,11 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// 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(Method.GET, UrlTemplate, PathParameters); @@ -78,11 +78,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder(rawUrl, RequestAdapter); } /// /// Get the number of the resource @@ -116,7 +116,7 @@ public partial class CountRequestBuilderGetQueryParameters /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilder.cs similarity index 65% rename from src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilder.cs index b7ae8587ea5..222a906449a 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationApplications/Item/ConfigurationApplicationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/AllotmentItemRequestBuilder.cs @@ -1,7 +1,9 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers; +using Microsoft.Graph.Beta.Models.CloudLicensing; using Microsoft.Graph.Beta.Models.ODataErrors; -using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -10,32 +12,42 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item { /// - /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. + /// Provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationItemRequestBuilder : BaseRequestBuilder + public partial class AllotmentItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.AssignmentsRequestBuilder Assignments + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.AssignmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.WaitingMembersRequestBuilder WaitingMembers + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.WaitingMembersRequestBuilder(PathParameters, RequestAdapter); + } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ConfigurationApplicationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/{configurationApplication%2Did}{?%24expand,%24select}", pathParameters) + public AllotmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}{?%24expand,%24select}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public ConfigurationApplicationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/{configurationApplication%2Did}{?%24expand,%24select}", rawUrl) + public AllotmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}{?%24expand,%24select}", rawUrl) { } /// - /// Delete navigation property configurationApplications for admin + /// Delete navigation property allotments for admin /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,19 +69,19 @@ public async Task DeleteAsync(Action - /// Get configurationApplications from admin + /// The set of all allotments within the organization. Read-only. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -77,23 +89,23 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property configurationApplications in admin + /// Update the navigation property allotments in admin /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -102,10 +114,10 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property configurationApplications for admin + /// Delete navigation property allotments for admin /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,17 +136,17 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get configurationApplications from admin + /// The set of all allotments within the organization. Read-only. /// /// A /// 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(Method.GET, UrlTemplate, PathParameters); @@ -143,18 +155,18 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property configurationApplications in admin + /// Update the navigation property allotments in admin /// /// A /// The request body /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action>? requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConfigurationApplication body, Action> requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment body, Action> requestConfiguration = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -167,25 +179,25 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder(rawUrl, RequestAdapter); } /// /// Configuration for the request such as headers, query parameters, and middleware options. /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + public partial class AllotmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration { } /// - /// Get configurationApplications from admin + /// The set of all allotments within the organization. Read-only. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationItemRequestBuilderGetQueryParameters + public partial class AllotmentItemRequestBuilderGetQueryParameters { /// Expand related entities #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -213,7 +225,7 @@ public partial class ConfigurationApplicationItemRequestBuilderGetQueryParameter /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class AllotmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration { } /// @@ -221,7 +233,7 @@ public partial class ConfigurationApplicationItemRequestBuilderGetRequestConfigu /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + public partial class AllotmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilder.cs new file mode 100644 index 00000000000..aac614245f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/AssignmentsRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item; +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments +{ + /// + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. + /// The unique identifier of assignment + /// A + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("assignment%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of license assignment objects which consume licenses from this allotment. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of license assignment objects which consume licenses from this allotment. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.AssignmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of license assignment objects which consume licenses from this allotment. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentsRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b252c64bfda --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilder.cs new file mode 100644 index 00000000000..2f602e63653 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/Assignments/Item/AssignmentItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item +{ + /// + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/{assignment%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/{assignment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The list of license assignments that consume licenses from this allotment. Not nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of license assignments that consume licenses from this allotment. Not nullable. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of license assignments that consume licenses from this allotment. Not nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..ec8ad553c96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..0182de60925 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/Item/WaitingMemberItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item +{ + /// + /// Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WaitingMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WaitingMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/{waitingMember%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public WaitingMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/{waitingMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WaitingMemberItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WaitingMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilder.cs new file mode 100644 index 00000000000..3d8da76f407 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Allotments/Item/WaitingMembers/WaitingMembersRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item; +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers +{ + /// + /// Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WaitingMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. + /// The unique identifier of waitingMember + /// A + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("waitingMember%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WaitingMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public WaitingMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.WaitingMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.WaitingMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WaitingMembersRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WaitingMembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilder.cs new file mode 100644 index 00000000000..b299ed3b226 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/AssignmentErrorsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count; +using Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item; +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors +{ + /// + /// Provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + /// The unique identifier of assignmentError + /// A + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("assignmentError%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignmentErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignmentErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the assignmentError objects within an organization or affecting a specific user. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to assignmentErrors for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the assignmentError objects within an organization or affecting a specific user. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to assignmentErrors for admin + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.AssignmentErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.AssignmentErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the assignmentError objects within an organization or affecting a specific user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorsRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7c603445ed7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilder.cs new file mode 100644 index 00000000000..fd654379d23 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignedTo/AssignedToRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo +{ + /// + /// Provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignmentError entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedToRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/assignedTo{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/assignedTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get a user or group object for a given assignmentError to which licenses are assigned. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a user or group object for a given assignmentError to which licenses are assigned. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.AssignedToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.AssignedToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a user or group object for a given assignmentError to which licenses are assigned. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedToRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilder.cs new file mode 100644 index 00000000000..0daa6de69af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/AssignmentErrorItemRequestBuilder.cs @@ -0,0 +1,242 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo; +using Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight; +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item +{ + /// + /// Provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignmentError entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.AssignedToRequestBuilder AssignedTo + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.AssignedToRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the usageRight property of the microsoft.graph.cloudLicensing.assignmentError entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.UsageRightRequestBuilder UsageRight + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.UsageRightRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignmentErrorItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignmentErrorItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property assignmentErrors for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of an assignmentError object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property assignmentErrors in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property assignmentErrors for admin + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of an assignmentError object. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property assignmentErrors in admin + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an assignmentError object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentErrorItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilder.cs new file mode 100644 index 00000000000..dcf738f91bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/AssignmentErrors/Item/UsageRight/UsageRightRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight +{ + /// + /// Provides operations to manage the usageRight property of the microsoft.graph.cloudLicensing.assignmentError entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UsageRightRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UsageRightRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/usageRight{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UsageRightRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/usageRight{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.UsageRightRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.UsageRightRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UsageRightRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UsageRightRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilder.cs new file mode 100644 index 00000000000..3412a5c5695 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/AssignmentsRequestBuilder.cs @@ -0,0 +1,246 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments; +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments +{ + /// + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the reprocessAssignments method. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder MicrosoftGraphCloudLicensingReprocessAssignments + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + /// The unique identifier of assignment + /// A + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("assignment%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of license assignment objects within an organization. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new license assignment by posting to the assignments collection of an organization. An assignment must always have a direct relationship to an allotment and to a user or group. If an assignment is created by posting to the central assignments collection located at /admin/cloudLicensing/assignments, both of those relationships must be established in the request body. Assignments can also be created by posting to the assignments collection of an allotment, the assignments collection of a user or the assignments collection of a group. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of license assignment objects within an organization. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new license assignment by posting to the assignments collection of an organization. An assignment must always have a direct relationship to an allotment and to a user or group. If an assignment is created by posting to the central assignments collection located at /admin/cloudLicensing/assignments, both of those relationships must be established in the request body. Assignments can also be created by posting to the assignments collection of an allotment, the assignments collection of a user or the assignments collection of a group. + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.AssignmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of license assignment objects within an organization. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentsRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0ee865103a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilder.cs new file mode 100644 index 00000000000..8025ec5870f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/Allotment/AllotmentRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment +{ + /// + /// Provides operations to manage the allotment property of the microsoft.graph.cloudLicensing.assignment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllotmentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AllotmentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/allotment{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AllotmentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/allotment{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the allotment that is the source of the licenses used in the assignment. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the allotment that is the source of the licenses used in the assignment. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.AllotmentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.AllotmentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the allotment that is the source of the licenses used in the assignment. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllotmentRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllotmentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilder.cs new file mode 100644 index 00000000000..6338f551b59 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignedTo/AssignedToRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo +{ + /// + /// Provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignment entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedToRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/assignedTo{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/assignedTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get a user or group object for a given assignment to which licenses are assigned. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a user or group object for a given assignment to which licenses are assigned. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.AssignedToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.AssignedToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a user or group object for a given assignment to which licenses are assigned. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedToRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilder.cs new file mode 100644 index 00000000000..c86ee61e83e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/Item/AssignmentItemRequestBuilder.cs @@ -0,0 +1,243 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo; +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item +{ + /// + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the allotment property of the microsoft.graph.cloudLicensing.assignment entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.AllotmentRequestBuilder Allotment + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.AllotmentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignment entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.AssignedToRequestBuilder AssignedTo + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.AssignedToRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete an assignment object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of an assignment object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property assignments in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete an assignment object. + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of an assignment object. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property assignments in admin + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an assignment object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.cs new file mode 100644 index 00000000000..adda0e3fbb0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/Assignments/MicrosoftGraphCloudLicensingReprocessAssignments/MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments +{ + /// + /// Provides operations to call the reprocessAssignments method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/microsoft.graph.cloudLicensing.reprocessAssignments", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/microsoft.graph.cloudLicensing.reprocessAssignments", rawUrl) + { + } + /// + /// Invoke action reprocessAssignments + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action reprocessAssignments + /// + /// A + /// 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 ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilder.cs new file mode 100644 index 00000000000..5e80fb6f861 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/CloudLicensing/CloudLicensingRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments; +using Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors; +using Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments; +using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.CloudLicensing +{ + /// + /// Provides operations to manage the cloudLicensing property of the microsoft.graph.admin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudLicensingRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.AllotmentsRequestBuilder Allotments + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.AllotmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.AssignmentErrorsRequestBuilder AssignmentErrors + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.AssignmentErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.AssignmentsRequestBuilder Assignments + { + get => new global::Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.AssignmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CloudLicensingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CloudLicensingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/cloudLicensing{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property cloudLicensing for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The root of the cloud licensing API for the entire organization. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property cloudLicensing in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property cloudLicensing for admin + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The root of the cloud licensing API for the entire organization. Read-only. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property cloudLicensing in admin + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.CloudLicensing.CloudLicensingRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.CloudLicensing.CloudLicensingRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudLicensingRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The root of the cloud licensing API for the entire organization. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudLicensingRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudLicensingRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudLicensingRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs index 9ef380b6ba8..4bf2a47991c 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs @@ -54,7 +54,8 @@ public ConfigurationDriftsRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Get configurationDrifts from admin + /// Get a list of the configurationDrift objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public ConfigurationDriftsRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get configurationDrifts from admin + /// Get a list of the configurationDrift objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get configurationDrifts from admin + /// Get a list of the configurationDrift objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationDriftsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs index 8e501bdeab4..6624dccb0d2 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get configurationDrifts from admin + /// Get the properties and relationships of a configurationDrift object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get configurationDrifts from admin + /// Get the properties and relationships of a configurationDrift object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +183,7 @@ public partial class ConfigurationDriftItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get configurationDrifts from admin + /// Get the properties and relationships of a configurationDrift object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationDriftItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs index e1b5c870994..6ee69214e71 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs @@ -1,6 +1,5 @@ // #pragma warning disable CS0618 -using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications; using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts; using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults; using Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors; @@ -24,11 +23,6 @@ namespace Microsoft.Graph.Beta.Admin.ConfigurationManagement [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationManagementRequestBuilder : BaseRequestBuilder { - /// Provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. - public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder ConfigurationApplications - { - get => new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. public global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder ConfigurationDrifts { diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs index 62e8aadd438..d151361d807 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs @@ -54,7 +54,8 @@ public ConfigurationMonitoringResultsRequestBuilder(string rawUrl, IRequestAdapt { } /// - /// Get configurationMonitoringResults from admin + /// Get a list of the configurationMonitoringResult objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public ConfigurationMonitoringResultsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get configurationMonitoringResults from admin + /// Get a list of the configurationMonitoringResult objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get configurationMonitoringResults from admin + /// Get a list of the configurationMonitoringResult objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationMonitoringResultsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs index 7f75d562168..ad1e77eef1c 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get configurationMonitoringResults from admin + /// Read the properties and relationships of a configurationMonitoringResult object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get configurationMonitoringResults from admin + /// Read the properties and relationships of a configurationMonitoringResult object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +183,7 @@ public partial class ConfigurationMonitoringResultItemRequestBuilderDeleteReques { } /// - /// Get configurationMonitoringResults from admin + /// Read the properties and relationships of a configurationMonitoringResult object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs index 44761197e4b..943f4d7c43e 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs @@ -54,7 +54,8 @@ public ConfigurationMonitorsRequestBuilder(string rawUrl, IRequestAdapter reques { } /// - /// Get configurationMonitors from admin + /// Get a list of the configurationMonitor objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,8 @@ public ConfigurationMonitorsRequestBuilder(string rawUrl, IRequestAdapter reques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to configurationMonitors for admin + /// Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. + /// Find more info here /// /// A /// The request body @@ -102,7 +104,7 @@ public ConfigurationMonitorsRequestBuilder(string rawUrl, IRequestAdapter reques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get configurationMonitors from admin + /// Get a list of the configurationMonitor objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to configurationMonitors for admin + /// Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. /// /// A /// The request body @@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get configurationMonitors from admin + /// Get a list of the configurationMonitor objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationMonitorsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs index a20d5ff7ef2..cfeb3edc60a 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get baseline from admin + /// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get baseline from admin + /// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +183,7 @@ public partial class BaselineRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get baseline from admin + /// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BaselineRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs index c7a95c44dc4..42b0bca3eb4 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs @@ -41,7 +41,8 @@ public ConfigurationMonitorItemRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Delete navigation property configurationMonitors for admin + /// Delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -63,7 +64,8 @@ public async Task DeleteAsync(Action - /// Get configurationMonitors from admin + /// Get the properties and relationships of a configurationMonitor object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -86,7 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property configurationMonitors in admin + /// Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. + /// Find more info here /// /// A /// The request body @@ -111,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property configurationMonitors for admin + /// Delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +133,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get configurationMonitors from admin + /// Get the properties and relationships of a configurationMonitor object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -149,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property configurationMonitors in admin + /// Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. /// /// A /// The request body @@ -188,7 +191,7 @@ public partial class ConfigurationMonitorItemRequestBuilderDeleteRequestConfigur { } /// - /// Get configurationMonitors from admin + /// Get the properties and relationships of a configurationMonitor object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationMonitorItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs index 59eee4a0a63..8eae90db912 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs @@ -54,7 +54,8 @@ public ConfigurationSnapshotJobsRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// Get configurationSnapshotJobs from admin + /// Get a list of the configurationSnapshotJob objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public ConfigurationSnapshotJobsRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get configurationSnapshotJobs from admin + /// Get a list of the configurationSnapshotJob objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get configurationSnapshotJobs from admin + /// Get a list of the configurationSnapshotJob objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationSnapshotJobsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs index deebf8c42dc..d78189f4d28 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs @@ -35,7 +35,8 @@ public ConfigurationSnapshotJobItemRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Delete navigation property configurationSnapshotJobs for admin + /// Delete a configurationSnapshotJob object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +58,8 @@ public async Task DeleteAsync(Action - /// Get configurationSnapshotJobs from admin + /// Read the properties and relationships of a configurationSnapshotJob object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -105,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property configurationSnapshotJobs for admin + /// Delete a configurationSnapshotJob object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get configurationSnapshotJobs from admin + /// Read the properties and relationships of a configurationSnapshotJob object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +184,7 @@ public partial class ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConf { } /// - /// Get configurationSnapshotJobs from admin + /// Read the properties and relationships of a configurationSnapshotJob object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs index 6bc9f5f2d1c..d94d997da09 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs @@ -54,7 +54,7 @@ public ConfigurationSnapshotsRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Get configurationSnapshots from admin + /// A container for configuration snapshot baselines. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public ConfigurationSnapshotsRequestBuilder(string rawUrl, IRequestAdapter reque return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get configurationSnapshots from admin + /// A container for configuration snapshot baselines. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get configurationSnapshots from admin + /// A container for configuration snapshot baselines. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationSnapshotsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs index af42b0db5c3..546c394ee16 100644 --- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get configurationSnapshots from admin + /// A container for configuration snapshot baselines. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get configurationSnapshots from admin + /// A container for configuration snapshot baselines. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class ConfigurationBaselineItemRequestBuilderDeleteRequestConfigu { } /// - /// Get configurationSnapshots from admin + /// A container for configuration snapshot baselines. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConfigurationBaselineItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.cs index 9e0648d91b0..7a153adee64 100644 --- a/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Navigation property to the collection of user policy assignments. + /// The collection of user policy assignments. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Navigation property to the collection of user policy assignments. + /// The collection of user policy assignments. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestCon { } /// - /// Navigation property to the collection of user policy assignments. + /// The collection of user policy assignments. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.cs index da8144243dc..dc4d8058e13 100644 --- a/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.cs @@ -66,7 +66,7 @@ public UserAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Navigation property to the collection of user policy assignments. + /// The collection of user policy assignments. /// /// A /// Cancellation token to use when cancelling requests @@ -114,7 +114,7 @@ public UserAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.TeamsPolicyUserAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Navigation property to the collection of user policy assignments. + /// The collection of user policy assignments. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,7 +164,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.Teams.Policy.UserAssignments.UserAssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Navigation property to the collection of user policy assignments. + /// The collection of user policy assignments. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UserAssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a709316a136 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilder.cs new file mode 100644 index 00000000000..6e7da7fbddd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/ApplicableContentRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent +{ + /// + /// Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. + /// The unique identifier of applicableContent + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("applicableContent%2DcatalogEntryId", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ApplicableContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ApplicableContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to applicableContent for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to applicableContent for admin + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a04a1a86869 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs new file mode 100644 index 00000000000..51e5e90dce3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/ApplicableContentCatalogEntryItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item +{ + /// + /// Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentCatalogEntryItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.CatalogEntryRequestBuilder CatalogEntry + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.CatalogEntryRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.MatchedDevicesRequestBuilder MatchedDevices + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.MatchedDevicesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ApplicableContentCatalogEntryItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ApplicableContentCatalogEntryItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property applicableContent for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents content applicable for offering to the related collection of devices. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property applicableContent in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property applicableContent for admin + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Represents content applicable for offering to the related collection of devices. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property applicableContent in admin + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents content applicable for offering to the related collection of devices. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilder.cs new file mode 100644 index 00000000000..a8311ac9118 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/CatalogEntry/CatalogEntryRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry +{ + /// + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CatalogEntryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/catalogEntry{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CatalogEntryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/catalogEntry{?%24expand,%24select}", rawUrl) + { + } + /// + /// Catalog entry for the update or content. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Catalog entry for the update or content. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.CatalogEntryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.CatalogEntryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Catalog entry for the update or content. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..e4f83b751ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..78b769ae06f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/Item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item +{ + /// + /// Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentDeviceMatchDeviceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ApplicableContentDeviceMatchDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ApplicableContentDeviceMatchDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property matchedDevices for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of devices and recommendations for applicable catalog content. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property matchedDevices in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property matchedDevices for admin + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Collection of devices and recommendations for applicable catalog content. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property matchedDevices in admin + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of devices and recommendations for applicable catalog content. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilder.cs new file mode 100644 index 00000000000..87d690b762e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableContent/Item/MatchedDevices/MatchedDevicesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices +{ + /// + /// Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MatchedDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. + /// The unique identifier of applicableContentDeviceMatch + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("applicableContentDeviceMatch%2DdeviceId", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MatchedDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MatchedDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Collection of devices and recommendations for applicable catalog content. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatchCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to matchedDevices for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of devices and recommendations for applicable catalog content. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to matchedDevices for admin + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.MatchedDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.MatchedDevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Collection of devices and recommendations for applicable catalog content. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MatchedDevicesRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MatchedDevicesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MatchedDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilder.cs new file mode 100644 index 00000000000..6ef3ecf47a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/ApprovalsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals +{ + /// + /// Provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApprovalsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. + /// The unique identifier of policyApproval + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("policyApproval%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ApprovalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ApprovalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the policyApproval objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApprovalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new policyApproval object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the policyApproval objects and their properties. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new policyApproval object. + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.ApprovalsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.ApprovalsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the policyApproval objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApprovalsRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApprovalsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ApprovalsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f2a6aabfdbe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilder.cs new file mode 100644 index 00000000000..f9e1df67c8d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/CatalogEntry/CatalogEntryRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry +{ + /// + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.policyApproval entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CatalogEntryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}/catalogEntry{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CatalogEntryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}/catalogEntry{?%24expand,%24select}", rawUrl) + { + } + /// + /// The content that you can approve for deployment. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The content that you can approve for deployment. Read-only. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.CatalogEntryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.CatalogEntryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The content that you can approve for deployment. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CatalogEntryRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilder.cs new file mode 100644 index 00000000000..ef1481cf638 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Approvals/Item/PolicyApprovalItemRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item +{ + /// + /// Provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyApprovalItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.policyApproval entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.CatalogEntryRequestBuilder CatalogEntry + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.CatalogEntryRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PolicyApprovalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PolicyApprovalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a policyApproval object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a policyApproval object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a policyApproval object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a policyApproval object. + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a policyApproval object. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a policyApproval object. + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyApprovalItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a policyApproval object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyApprovalItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyApprovalItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyApprovalItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..1c586e67b94 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/PolicyItemRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item +{ + /// + /// Provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder ApplicableContent + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.ApprovalsRequestBuilder Approvals + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.ApprovalsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.RingsRequestBuilder Rings + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.RingsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..33ed00fd237 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs new file mode 100644 index 00000000000..af82444e0b4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/Item/RingItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item +{ + /// + /// Provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings/{ring%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings/{ring%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs new file mode 100644 index 00000000000..acef782e17b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/Rings/RingsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings +{ + /// + /// Provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. + /// The unique identifier of ring + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("ring%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.RingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new ring object. You can use this method with the following child object type: qualityUpdateRing. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new ring object. You can use this method with the following child object type: qualityUpdateRing. + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.RingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.RingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingsRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs new file mode 100644 index 00000000000..022375ebee6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/PoliciesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.WindowsUpdates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.Windows.Updates.Policies +{ + /// + /// Provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. + /// The unique identifier of policy + /// A + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("policy%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PoliciesRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PoliciesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PoliciesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs index 0250b3fdce1..4184fafe5d4 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Admin.Windows.Updates.Catalog; using Microsoft.Graph.Beta.Admin.Windows.Updates.DeploymentAudiences; using Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments; +using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies; using Microsoft.Graph.Beta.Admin.Windows.Updates.Products; using Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections; using Microsoft.Graph.Beta.Admin.Windows.Updates.UpdatableAssets; @@ -40,6 +41,11 @@ public partial class UpdatesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.DeploymentsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. + public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder Policies + { + get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the products property of the microsoft.graph.adminWindowsUpdates entity. public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Products.ProductsRequestBuilder Products { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index af9499a4643..731025955f8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// Find more info here /// /// A @@ -65,7 +65,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 01a1eb9be45..66e120ac496 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -35,7 +35,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs index 7f71420b698..25921e8fee3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs @@ -66,7 +66,7 @@ public MemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// Find more info here /// /// A @@ -90,7 +90,7 @@ public MemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -118,7 +118,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MemberOfRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs index 86a88920271..7d2d407a7f9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs @@ -22,6 +22,22 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The classifyText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest? ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#endif /// The evaluationInput property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -96,6 +112,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "classifyText", n => { ClassifyText = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TextClassificationRequest.CreateFromDiscriminatorValue); } }, { "evaluationInput", n => { EvaluationInput = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpEvaluationInput.CreateFromDiscriminatorValue); } }, { "notificationInfo", n => { NotificationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpNotification.CreateFromDiscriminatorValue); } }, { "target", n => { Target = n.GetStringValue(); } }, @@ -108,6 +125,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("classifyText", ClassifyText); writer.WriteObjectValue("evaluationInput", EvaluationInput); writer.WriteObjectValue("notificationInfo", NotificationInfo); writer.WriteStringValue("target", Target); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs index 763996e9207..24f2cf1efbb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs @@ -35,7 +35,7 @@ public AccessPackageAssignmentRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public AccessPackageAssignmentRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -89,7 +89,7 @@ public RequestInformation ToGetRequestInformation(Action - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageAssignmentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs index 11b298c72ea..df70dba5119 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignments/Item/AccessPackageAssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs @@ -35,7 +35,7 @@ public AccessPackageAssignmentRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public AccessPackageAssignmentRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -89,7 +89,7 @@ public RequestInformation ToGetRequestInformation(Action - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageAssignmentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs index 6f20783f858..2f622ed850b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignment/AccessPackageAssignmentRequestBuilder.cs @@ -35,7 +35,7 @@ public AccessPackageAssignmentRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public AccessPackageAssignmentRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -89,7 +89,7 @@ public RequestInformation ToGetRequestInformation(Action - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageAssignmentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs index 90f328681ea..620a5407125 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -18,6 +18,7 @@ using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.AvailableAccessPackages; using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ConnectedOrganizations; using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ControlConfigurations; +using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors; using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Settings; using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Subjects; using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId; @@ -119,6 +120,11 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder ExternalOriginResourceConnectors + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the settings property of the microsoft.graph.entitlementManagement entity. public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder Settings { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..51592234753 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilder.cs new file mode 100644 index 00000000000..28b279bed18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/ExternalOriginResourceConnectorsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count; +using Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors +{ + /// + /// Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. + /// The unique identifier of externalOriginResourceConnector + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("externalOriginResourceConnector%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExternalOriginResourceConnectorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExternalOriginResourceConnectorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get externalOriginResourceConnectors from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to externalOriginResourceConnectors for identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get externalOriginResourceConnectors from identityGovernance + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to externalOriginResourceConnectors for identityGovernance + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get externalOriginResourceConnectors from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorsRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilder.cs new file mode 100644 index 00000000000..3d3888b3a18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ExternalOriginResourceConnectors/Item/ExternalOriginResourceConnectorItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item +{ + /// + /// Provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExternalOriginResourceConnectorItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/{externalOriginResourceConnector%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExternalOriginResourceConnectorItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/{externalOriginResourceConnector%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property externalOriginResourceConnectors for identityGovernance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get externalOriginResourceConnectors from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property externalOriginResourceConnectors in identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property externalOriginResourceConnectors for identityGovernance + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get externalOriginResourceConnectors from identityGovernance + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property externalOriginResourceConnectors in identityGovernance + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get externalOriginResourceConnectors from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs index bcfbaa59dca..435e8bdd10e 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs @@ -22,6 +22,22 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The classifyText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest? ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#endif /// The evaluationInput property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -96,6 +112,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "classifyText", n => { ClassifyText = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TextClassificationRequest.CreateFromDiscriminatorValue); } }, { "evaluationInput", n => { EvaluationInput = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpEvaluationInput.CreateFromDiscriminatorValue); } }, { "notificationInfo", n => { NotificationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpNotification.CreateFromDiscriminatorValue); } }, { "target", n => { Target = n.GetStringValue(); } }, @@ -108,6 +125,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("classifyText", ClassifyText); writer.WriteObjectValue("evaluationInput", EvaluationInput); writer.WriteObjectValue("notificationInfo", NotificationInfo); writer.WriteStringValue("target", Target); diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs index 6d156487944..d7e805e2a84 100644 --- a/src/Microsoft.Graph/Generated/Me/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs @@ -22,6 +22,22 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The classifyText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest? ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#endif /// The evaluationInput property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -96,6 +112,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "classifyText", n => { ClassifyText = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TextClassificationRequest.CreateFromDiscriminatorValue); } }, { "evaluationInput", n => { EvaluationInput = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpEvaluationInput.CreateFromDiscriminatorValue); } }, { "notificationInfo", n => { NotificationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpNotification.CreateFromDiscriminatorValue); } }, { "target", n => { Target = n.GetStringValue(); } }, @@ -108,6 +125,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("classifyText", ClassifyText); writer.WriteObjectValue("evaluationInput", EvaluationInput); writer.WriteObjectValue("notificationInfo", NotificationInfo); writer.WriteStringValue("target", Target); diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentRequest.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentRequest.cs index d1cddf7c871..9dc17661548 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentRequest.cs @@ -28,7 +28,7 @@ public partial class AccessPackageAssignmentRequest : global::Microsoft.Graph.Be set { BackingStore?.Set("accessPackage", value); } } #endif - /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. + /// For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.AccessPackageAssignment? AccessPackageAssignment @@ -196,7 +196,7 @@ public string RequestStatus set { BackingStore?.Set("requestStatus", value); } } #endif - /// One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. + /// One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, ApproverRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RequestType diff --git a/src/Microsoft.Graph/Generated/Models/Admin.cs b/src/Microsoft.Graph/Generated/Models/Admin.cs index 8bfe40ed09a..066a9384a57 100644 --- a/src/Microsoft.Graph/Generated/Models/Admin.cs +++ b/src/Microsoft.Graph/Generated/Models/Admin.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.CloudLicensing; using Microsoft.Graph.Beta.Models.TeamsAdministration; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -38,6 +39,22 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The root of the cloud licensing API for the entire organization. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing? CloudLicensing + { + get { return BackingStore?.Get("cloudLicensing"); } + set { BackingStore?.Set("cloudLicensing", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing CloudLicensing + { + get { return BackingStore?.Get("cloudLicensing"); } + set { BackingStore?.Set("cloudLicensing", value); } + } +#endif /// The configurationManagement property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -305,6 +322,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "appsAndServices", n => { AppsAndServices = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AdminAppsAndServices.CreateFromDiscriminatorValue); } }, + { "cloudLicensing", n => { CloudLicensing = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing.CreateFromDiscriminatorValue); } }, { "configurationManagement", n => { ConfigurationManagement = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ConfigurationManagement.CreateFromDiscriminatorValue); } }, { "dynamics", n => { Dynamics = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AdminDynamics.CreateFromDiscriminatorValue); } }, { "edge", n => { Edge = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Edge.CreateFromDiscriminatorValue); } }, @@ -330,6 +348,7 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue("appsAndServices", AppsAndServices); + writer.WriteObjectValue("cloudLicensing", CloudLicensing); writer.WriteObjectValue("configurationManagement", ConfigurationManagement); writer.WriteObjectValue("dynamics", Dynamics); writer.WriteObjectValue("edge", Edge); diff --git a/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs b/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs index 9f7ac8c98a3..1ee8d2a7d38 100644 --- a/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs +++ b/src/Microsoft.Graph/Generated/Models/AdminWindowsUpdates.cs @@ -60,6 +60,22 @@ public partial class AdminWindowsUpdates : global::Microsoft.Graph.Beta.Models.E get { return BackingStore?.Get>("deployments"); } set { BackingStore?.Set("deployments", value); } } +#endif + /// A collection of policies for approving the deployment of different content to an audience over time. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Policies + { + get { return BackingStore?.Get?>("policies"); } + set { BackingStore?.Set("policies", value); } + } +#nullable restore +#else + public List Policies + { + get { return BackingStore?.Get>("policies"); } + set { BackingStore?.Set("policies", value); } + } #endif /// A collection of Windows products. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -146,6 +162,7 @@ public override IDictionary> GetFieldDeserializers() { "catalog", n => { Catalog = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Catalog.CreateFromDiscriminatorValue); } }, { "deploymentAudiences", n => { DeploymentAudiences = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeploymentAudience.CreateFromDiscriminatorValue)?.AsList(); } }, { "deployments", n => { Deployments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Deployment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue)?.AsList(); } }, { "products", n => { Products = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Product.CreateFromDiscriminatorValue)?.AsList(); } }, { "resourceConnections", n => { ResourceConnections = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue)?.AsList(); } }, { "updatableAssets", n => { UpdatableAssets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -163,6 +180,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("catalog", Catalog); writer.WriteCollectionOfObjectValues("deploymentAudiences", DeploymentAudiences); writer.WriteCollectionOfObjectValues("deployments", Deployments); + writer.WriteCollectionOfObjectValues("policies", Policies); writer.WriteCollectionOfObjectValues("products", Products); writer.WriteCollectionOfObjectValues("resourceConnections", ResourceConnections); writer.WriteCollectionOfObjectValues("updatableAssets", UpdatableAssets); diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentityType.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentityType.cs new file mode 100644 index 00000000000..83a2f813ea5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentityType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AgentIdentityType + #pragma warning restore CS1591 + { + [EnumMember(Value = "agentIdentity")] + #pragma warning disable CS1591 + AgentIdentity, + #pragma warning restore CS1591 + [EnumMember(Value = "agentUser")] + #pragma warning disable CS1591 + AgentUser, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "agentIdentityBlueprintPrincipal")] + #pragma warning disable CS1591 + AgentIdentityBlueprintPrincipal, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AgentRiskDetection.cs b/src/Microsoft.Graph/Generated/Models/AgentRiskDetection.cs index 8fcd9127f09..8eebcfc050e 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentRiskDetection.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentRiskDetection.cs @@ -78,6 +78,12 @@ public DateTimeOffset? DetectedDateTime get { return BackingStore?.Get("detectionTimingType"); } set { BackingStore?.Set("detectionTimingType", value); } } + /// The identityType property + public global::Microsoft.Graph.Beta.Models.AgentIdentityType? IdentityType + { + get { return BackingStore?.Get("identityType"); } + set { BackingStore?.Set("identityType", value); } + } /// Date and time that the risk detection was last updated. Supports $filter (eq, le, and ge). public DateTimeOffset? LastModifiedDateTime { @@ -158,6 +164,7 @@ public override IDictionary> GetFieldDeserializers() { "agentId", n => { AgentId = n.GetStringValue(); } }, { "detectedDateTime", n => { DetectedDateTime = n.GetDateTimeOffsetValue(); } }, { "detectionTimingType", n => { DetectionTimingType = n.GetEnumValue(); } }, + { "identityType", n => { IdentityType = n.GetEnumValue(); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "riskDetail", n => { RiskDetail = n.GetEnumValue(); } }, { "riskEventType", n => { RiskEventType = n.GetStringValue(); } }, @@ -180,6 +187,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("agentId", AgentId); writer.WriteDateTimeOffsetValue("detectedDateTime", DetectedDateTime); writer.WriteEnumValue("detectionTimingType", DetectionTimingType); + writer.WriteEnumValue("identityType", IdentityType); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteEnumValue("riskDetail", RiskDetail); writer.WriteStringValue("riskEventType", RiskEventType); diff --git a/src/Microsoft.Graph/Generated/Models/AllowedTenantsAudience.cs b/src/Microsoft.Graph/Generated/Models/AllowedTenantsAudience.cs index a7a2e72d570..7825331e487 100644 --- a/src/Microsoft.Graph/Generated/Models/AllowedTenantsAudience.cs +++ b/src/Microsoft.Graph/Generated/Models/AllowedTenantsAudience.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class AllowedTenantsAudience : global::Microsoft.Graph.Beta.Models.SignInAudienceRestrictionsBase, IParsable #pragma warning restore CS1591 { - /// The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. + /// The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). This property must contain at least one value and can't include more than 20 values. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AllowedTenantIds diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs index c6d6dc8ffa8..21b1bb879e2 100644 --- a/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AppManagementApplicationConfiguration.cs @@ -43,6 +43,22 @@ public partial class AppManagementApplicationConfiguration : global::Microsoft.G get { return BackingStore?.Get("identifierUris"); } set { BackingStore?.Set("identifierUris", value); } } +#endif + /// The redirectUris property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration? RedirectUris + { + get { return BackingStore?.Get("redirectUris"); } + set { BackingStore?.Set("redirectUris", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration RedirectUris + { + get { return BackingStore?.Get("redirectUris"); } + set { BackingStore?.Set("redirectUris", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -71,6 +87,7 @@ public override IDictionary> GetFieldDeserializers() { { "audiences", n => { Audiences = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AudiencesConfiguration.CreateFromDiscriminatorValue); } }, { "identifierUris", n => { IdentifierUris = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentifierUriConfiguration.CreateFromDiscriminatorValue); } }, + { "redirectUris", n => { RedirectUris = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration.CreateFromDiscriminatorValue); } }, }; } /// @@ -83,6 +100,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteObjectValue("audiences", Audiences); writer.WriteObjectValue("identifierUris", IdentifierUris); + writer.WriteObjectValue("redirectUris", RedirectUris); } } } diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs index 60d420132fc..04bee002ca3 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs @@ -84,6 +84,7 @@ public int? Priority "#microsoft.graph.onEmailOtpSendListener" => new global::Microsoft.Graph.Beta.Models.OnEmailOtpSendListener(), "#microsoft.graph.onFraudProtectionLoadStartListener" => new global::Microsoft.Graph.Beta.Models.OnFraudProtectionLoadStartListener(), "#microsoft.graph.onInteractiveAuthFlowStartListener" => new global::Microsoft.Graph.Beta.Models.OnInteractiveAuthFlowStartListener(), + "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitListener(), "#microsoft.graph.onPhoneMethodLoadStartListener" => new global::Microsoft.Graph.Beta.Models.OnPhoneMethodLoadStartListener(), "#microsoft.graph.onTokenIssuanceStartListener" => new global::Microsoft.Graph.Beta.Models.OnTokenIssuanceStartListener(), "#microsoft.graph.onUserCreateStartListener" => new global::Microsoft.Graph.Beta.Models.OnUserCreateStartListener(), diff --git a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs index e1e5c628c36..a04f00c64c6 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs @@ -60,7 +60,7 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Ent set { BackingStore?.Set("allSitesBackup", value); } } #endif - /// The browseSessions property + /// The list of browse sessions in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? BrowseSessions @@ -220,7 +220,7 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Ent set { BackingStore?.Set("mailboxProtectionUnitsBulkAdditionJobs", value); } } #endif - /// The oneDriveForBusinessBrowseSessions property + /// The list of onedriveforbusiness browse sessions in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? OneDriveForBusinessBrowseSessions @@ -364,7 +364,7 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Ent set { BackingStore?.Set("serviceStatus", value); } } #endif - /// The sharePointBrowseSessions property + /// The list of sharepoint browse sessions in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SharePointBrowseSessions diff --git a/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs b/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs index 0896f212fd0..f9e10596a9a 100644 --- a/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs +++ b/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The description property + /// User-friendly description of the parameter. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -37,7 +37,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// Parameter names such as FQDN and Tenant ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/BaselineResource.cs b/src/Microsoft.Graph/Generated/Models/BaselineResource.cs index 7eae50f0b46..f5805ef8fd7 100644 --- a/src/Microsoft.Graph/Generated/Models/BaselineResource.cs +++ b/src/Microsoft.Graph/Generated/Models/BaselineResource.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The displayName property + /// Unique name of the resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("properties", value); } } #endif - /// The resourceType property + /// Name of the resource type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ResourceType diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs index 1e7bdfd8f37..abeed68f869 100644 --- a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The itemKey property + /// Unique identifier of the returned item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ItemKey @@ -37,13 +37,13 @@ public string ItemKey set { BackingStore?.Set("itemKey", value); } } #endif - /// The itemsCount property + /// The count of items present within the items; for example, the count of files in a folder. public int? ItemsCount { get { return BackingStore?.Get("itemsCount"); } set { BackingStore?.Set("itemsCount", value); } } - /// The name property + /// The name of the item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -75,7 +75,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The sizeInBytes property + /// The size of the item in bytes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SizeInBytes @@ -97,7 +97,7 @@ public string SizeInBytes get { return BackingStore?.Get("type"); } set { BackingStore?.Set("type", value); } } - /// The webUrl property + /// The web URL of the item. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebUrl diff --git a/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs index 43394e81712..af157aba4ed 100644 --- a/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class BrowseSessionBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The backupSizeInBytes property + /// The size of the backup in bytes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BackupSizeInBytes @@ -28,13 +28,13 @@ public string BackupSizeInBytes set { BackingStore?.Set("backupSizeInBytes", value); } } #endif - /// The createdDateTime property + /// The date and time when the browse session was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The error property + /// Contains the error details if the browse session creation fails. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PublicError? Error @@ -50,13 +50,13 @@ public DateTimeOffset? CreatedDateTime set { BackingStore?.Set("error", value); } } #endif - /// The expirationDateTime property + /// The date and time after which the browse session is deleted automatically. public DateTimeOffset? ExpirationDateTime { get { return BackingStore?.Get("expirationDateTime"); } set { BackingStore?.Set("expirationDateTime", value); } } - /// The restorePointDateTime property + /// The date and time of the restore point on which the browse session is created. public DateTimeOffset? RestorePointDateTime { get { return BackingStore?.Get("restorePointDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/AdminCloudLicensing.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AdminCloudLicensing.cs new file mode 100644 index 00000000000..51746f316ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AdminCloudLicensing.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AdminCloudLicensing : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The set of all allotments within the organization. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Allotments + { + get { return BackingStore?.Get?>("allotments"); } + set { BackingStore?.Set("allotments", value); } + } +#nullable restore +#else + public List Allotments + { + get { return BackingStore?.Get>("allotments"); } + set { BackingStore?.Set("allotments", value); } + } +#endif + /// The set of all asynchronous allotment assignment errors that affect the organization. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AssignmentErrors + { + get { return BackingStore?.Get?>("assignmentErrors"); } + set { BackingStore?.Set("assignmentErrors", value); } + } +#nullable restore +#else + public List AssignmentErrors + { + get { return BackingStore?.Get>("assignmentErrors"); } + set { BackingStore?.Set("assignmentErrors", value); } + } +#endif + /// The set of all license assignments within the organization. Not nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignments + { + get { return BackingStore?.Get?>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#nullable restore +#else + public List Assignments + { + get { return BackingStore?.Get>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allotments", n => { Allotments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "assignmentErrors", n => { AssignmentErrors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError.CreateFromDiscriminatorValue)?.AsList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("allotments", Allotments); + writer.WriteCollectionOfObjectValues("assignmentErrors", AssignmentErrors); + writer.WriteCollectionOfObjectValues("assignments", Assignments); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/Allotment.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/Allotment.cs new file mode 100644 index 00000000000..53fa39fb6de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/Allotment.cs @@ -0,0 +1,168 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Allotment : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The number of licenses contained within the allotment. Not nullable. Read-only. + public int? AllottedUnits + { + get { return BackingStore?.Get("allottedUnits"); } + set { BackingStore?.Set("allottedUnits", value); } + } + /// The assignableTo property + public global::Microsoft.Graph.Beta.Models.CloudLicensing.AssigneeTypes? AssignableTo + { + get { return BackingStore?.Get("assignableTo"); } + set { BackingStore?.Set("assignableTo", value); } + } + /// The list of license assignments that consume licenses from this allotment. Not nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignments + { + get { return BackingStore?.Get?>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#nullable restore +#else + public List Assignments + { + get { return BackingStore?.Get>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#endif + /// The number of licenses that are currently consumed by assignments from this allotment. Not nullable. Read-only. + public int? ConsumedUnits + { + get { return BackingStore?.Get("consumedUnits"); } + set { BackingStore?.Set("consumedUnits", value); } + } + /// The list of services that might be enabled or disabled for assignments from this allotment. Not nullable. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Services + { + get { return BackingStore?.Get?>("services"); } + set { BackingStore?.Set("services", value); } + } +#nullable restore +#else + public List Services + { + get { return BackingStore?.Get>("services"); } + set { BackingStore?.Set("services", value); } + } +#endif + /// Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. + public Guid? SkuId + { + get { return BackingStore?.Get("skuId"); } + set { BackingStore?.Set("skuId", value); } + } + /// Unique SKU display name that is equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SkuPartNumber + { + get { return BackingStore?.Get("skuPartNumber"); } + set { BackingStore?.Set("skuPartNumber", value); } + } +#nullable restore +#else + public string SkuPartNumber + { + get { return BackingStore?.Get("skuPartNumber"); } + set { BackingStore?.Set("skuPartNumber", value); } + } +#endif + /// Basic information about the subscriptions that supports this allotment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subscriptions + { + get { return BackingStore?.Get?>("subscriptions"); } + set { BackingStore?.Set("subscriptions", value); } + } +#nullable restore +#else + public List Subscriptions + { + get { return BackingStore?.Get>("subscriptions"); } + set { BackingStore?.Set("subscriptions", value); } + } +#endif + /// List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? WaitingMembers + { + get { return BackingStore?.Get?>("waitingMembers"); } + set { BackingStore?.Set("waitingMembers", value); } + } +#nullable restore +#else + public List WaitingMembers + { + get { return BackingStore?.Get>("waitingMembers"); } + set { BackingStore?.Set("waitingMembers", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allottedUnits", n => { AllottedUnits = n.GetIntValue(); } }, + { "assignableTo", n => { AssignableTo = n.GetEnumValue(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "consumedUnits", n => { ConsumedUnits = n.GetIntValue(); } }, + { "services", n => { Services = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Service.CreateFromDiscriminatorValue)?.AsList(); } }, + { "skuId", n => { SkuId = n.GetGuidValue(); } }, + { "skuPartNumber", n => { SkuPartNumber = n.GetStringValue(); } }, + { "subscriptions", n => { Subscriptions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Subscription.CreateFromDiscriminatorValue)?.AsList(); } }, + { "waitingMembers", n => { WaitingMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("allottedUnits", AllottedUnits); + writer.WriteEnumValue("assignableTo", AssignableTo); + writer.WriteCollectionOfObjectValues("assignments", Assignments); + writer.WriteIntValue("consumedUnits", ConsumedUnits); + writer.WriteCollectionOfObjectValues("services", Services); + writer.WriteGuidValue("skuId", SkuId); + writer.WriteStringValue("skuPartNumber", SkuPartNumber); + writer.WriteCollectionOfObjectValues("subscriptions", Subscriptions); + writer.WriteCollectionOfObjectValues("waitingMembers", WaitingMembers); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationApplicationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AllotmentCollectionResponse.cs similarity index 68% rename from src/Microsoft.Graph/Generated/Models/ConfigurationApplicationCollectionResponse.cs rename to src/Microsoft.Graph/Generated/Models/CloudLicensing/AllotmentCollectionResponse.cs index 6752c1a100c..7421876bcca 100644 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationApplicationCollectionResponse.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AllotmentCollectionResponse.cs @@ -5,38 +5,38 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.Models +namespace Microsoft.Graph.Beta.Models.CloudLicensing { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class ConfigurationApplicationCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + public partial class AllotmentCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable #pragma warning restore CS1591 { /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Value + public List? Value { - get { return BackingStore?.Get?>("value"); } + get { return BackingStore?.Get?>("value"); } set { BackingStore?.Set("value", value); } } #nullable restore #else - public List Value + public List Value { - get { return BackingStore?.Get>("value"); } + get { return BackingStore?.Get>("value"); } set { BackingStore?.Set("value", value); } } #endif /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.AllotmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse(); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.AllotmentCollectionResponse(); } /// /// The deserialization information for the current model @@ -46,7 +46,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue)?.AsList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -57,7 +57,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); + writer.WriteCollectionOfObjectValues("value", Value); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/Assignment.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/Assignment.cs new file mode 100644 index 00000000000..07597a0a7c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/Assignment.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Assignment : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The allotment from which licenses are assigned. Not nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment? Allotment + { + get { return BackingStore?.Get("allotment"); } + set { BackingStore?.Set("allotment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment Allotment + { + get { return BackingStore?.Get("allotment"); } + set { BackingStore?.Set("allotment", value); } + } +#endif + /// The assignedTo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DirectoryObject? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DirectoryObject AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// The list of disabled service plans for this assignment. Not nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DisabledServicePlanIds + { + get { return BackingStore?.Get?>("disabledServicePlanIds"); } + set { BackingStore?.Set("disabledServicePlanIds", value); } + } +#nullable restore +#else + public List DisabledServicePlanIds + { + get { return BackingStore?.Get>("disabledServicePlanIds"); } + set { BackingStore?.Set("disabledServicePlanIds", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allotment", n => { Allotment = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue); } }, + { "assignedTo", n => { AssignedTo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "disabledServicePlanIds", n => { DisabledServicePlanIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("allotment", Allotment); + writer.WriteObjectValue("assignedTo", AssignedTo); + writer.WriteCollectionOfPrimitiveValues("disabledServicePlanIds", DisabledServicePlanIds); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentCollectionResponse.cs new file mode 100644 index 00000000000..04e0a0ce698 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignmentCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentError.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentError.cs new file mode 100644 index 00000000000..2c65e137371 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentError.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignmentError : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The assignedTo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DirectoryObject? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DirectoryObject AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// The error code associated with the assignment synchronization failure. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif + /// The error message associated with the assignment synchronization failure. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Message + { + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } + } +#nullable restore +#else + public string Message + { + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } + } +#endif + /// The date and time at which the error most recently occurred. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? OccurrenceDateTime + { + get { return BackingStore?.Get("occurrenceDateTime"); } + set { BackingStore?.Set("occurrenceDateTime", value); } + } + /// Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. + public Guid? SkuId + { + get { return BackingStore?.Get("skuId"); } + set { BackingStore?.Set("skuId", value); } + } + /// The affected usageRight, if one exists. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight? UsageRight + { + get { return BackingStore?.Get("usageRight"); } + set { BackingStore?.Set("usageRight", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight UsageRight + { + get { return BackingStore?.Get("usageRight"); } + set { BackingStore?.Set("usageRight", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignedTo", n => { AssignedTo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "code", n => { Code = n.GetStringValue(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "occurrenceDateTime", n => { OccurrenceDateTime = n.GetDateTimeOffsetValue(); } }, + { "skuId", n => { SkuId = n.GetGuidValue(); } }, + { "usageRight", n => { UsageRight = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("assignedTo", AssignedTo); + writer.WriteStringValue("code", Code); + writer.WriteStringValue("message", Message); + writer.WriteDateTimeOffsetValue("occurrenceDateTime", OccurrenceDateTime); + writer.WriteGuidValue("skuId", SkuId); + writer.WriteObjectValue("usageRight", UsageRight); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentErrorCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentErrorCollectionResponse.cs new file mode 100644 index 00000000000..9c536e38858 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/AssignmentErrorCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignmentErrorCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentErrorCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentErrorCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/GroupCloudLicensing.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/GroupCloudLicensing.cs index 7f4c69eff79..dbcf41a1594 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudLicensing/GroupCloudLicensing.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/GroupCloudLicensing.cs @@ -19,6 +19,22 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } + /// The assignments property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignments + { + get { return BackingStore?.Get?>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#nullable restore +#else + public List Assignments + { + get { return BackingStore?.Get>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#endif /// Stores model information. public IBackingStore BackingStore { get; private set; } /// The OdataType property @@ -79,6 +95,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue)?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "usageRights", n => { UsageRights = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -90,6 +107,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("assignments", Assignments); writer.WriteStringValue("@odata.type", OdataType); writer.WriteCollectionOfObjectValues("usageRights", UsageRights); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/Subscription.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/Subscription.cs new file mode 100644 index 00000000000..5c74a386e34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/Subscription.cs @@ -0,0 +1,132 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Subscription : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date on which the current state transitions to the next state. + public Date? NextLifecycleDate + { + get { return BackingStore?.Get("nextLifecycleDate"); } + set { BackingStore?.Set("nextLifecycleDate", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The date when the subscription started. + public Date? StartDate + { + get { return BackingStore?.Get("startDate"); } + set { BackingStore?.Set("startDate", value); } + } + /// The state property + public global::Microsoft.Graph.Beta.Models.CloudLicensing.SubscriptionState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// Identifier for the subscription object. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#nullable restore +#else + public string SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#endif + /// The tags property + public global::Microsoft.Graph.Beta.Models.CloudLicensing.SubscriptionTags? Tags + { + get { return BackingStore?.Get("tags"); } + set { BackingStore?.Set("tags", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public Subscription() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudLicensing.Subscription CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.Subscription(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "nextLifecycleDate", n => { NextLifecycleDate = n.GetDateValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startDate", n => { StartDate = n.GetDateValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "subscriptionId", n => { SubscriptionId = n.GetStringValue(); } }, + { "tags", n => { Tags = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateValue("nextLifecycleDate", NextLifecycleDate); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateValue("startDate", StartDate); + writer.WriteEnumValue("state", State); + writer.WriteStringValue("subscriptionId", SubscriptionId); + writer.WriteEnumValue("tags", Tags); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionState.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionState.cs new file mode 100644 index 00000000000..e5249c1cd2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionState.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SubscriptionState + #pragma warning restore CS1591 + { + [EnumMember(Value = "active")] + #pragma warning disable CS1591 + Active, + #pragma warning restore CS1591 + [EnumMember(Value = "warning")] + #pragma warning disable CS1591 + Warning, + #pragma warning restore CS1591 + [EnumMember(Value = "suspended")] + #pragma warning disable CS1591 + Suspended, + #pragma warning restore CS1591 + [EnumMember(Value = "lockedOut")] + #pragma warning disable CS1591 + LockedOut, + #pragma warning restore CS1591 + [EnumMember(Value = "deleted")] + #pragma warning disable CS1591 + Deleted, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionTags.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionTags.cs new file mode 100644 index 00000000000..758c7deba6f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/SubscriptionTags.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum SubscriptionTags + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "trial")] + #pragma warning disable CS1591 + Trial = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/UsageRight.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/UsageRight.cs index 2a15a514e2d..111b37787df 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudLicensing/UsageRight.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/UsageRight.cs @@ -12,6 +12,38 @@ namespace Microsoft.Graph.Beta.Models.CloudLicensing public partial class UsageRight : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The set of allotments associated with the assignments that combine to form this usageRight. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Allotments + { + get { return BackingStore?.Get?>("allotments"); } + set { BackingStore?.Set("allotments", value); } + } +#nullable restore +#else + public List Allotments + { + get { return BackingStore?.Get>("allotments"); } + set { BackingStore?.Set("allotments", value); } + } +#endif + /// The set of assignments that combine to form this usageRight, including both direct assignments and assignments inherited through group membership. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignments + { + get { return BackingStore?.Get?>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#nullable restore +#else + public List Assignments + { + get { return BackingStore?.Get>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#endif /// Information about the services associated with the usageRight. Not nullable. Read-only. Supports $filter on the planId property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -68,6 +100,8 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "allotments", n => { Allotments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue)?.AsList(); } }, { "services", n => { Services = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Service.CreateFromDiscriminatorValue)?.AsList(); } }, { "skuId", n => { SkuId = n.GetGuidValue(); } }, { "skuPartNumber", n => { SkuPartNumber = n.GetStringValue(); } }, @@ -81,6 +115,8 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("allotments", Allotments); + writer.WriteCollectionOfObjectValues("assignments", Assignments); writer.WriteCollectionOfObjectValues("services", Services); writer.WriteGuidValue("skuId", SkuId); writer.WriteStringValue("skuPartNumber", SkuPartNumber); diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/UserCloudLicensing.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/UserCloudLicensing.cs index b3718c3eced..82764c968c0 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudLicensing/UserCloudLicensing.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/UserCloudLicensing.cs @@ -19,6 +19,38 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } + /// The assignmentErrors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AssignmentErrors + { + get { return BackingStore?.Get?>("assignmentErrors"); } + set { BackingStore?.Set("assignmentErrors", value); } + } +#nullable restore +#else + public List AssignmentErrors + { + get { return BackingStore?.Get>("assignmentErrors"); } + set { BackingStore?.Set("assignmentErrors", value); } + } +#endif + /// The assignments property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignments + { + get { return BackingStore?.Get?>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#nullable restore +#else + public List Assignments + { + get { return BackingStore?.Get>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#endif /// Stores model information. public IBackingStore BackingStore { get; private set; } /// The OdataType property @@ -52,6 +84,22 @@ public string OdataType get { return BackingStore?.Get>("usageRights"); } set { BackingStore?.Set("usageRights", value); } } +#endif + /// The waitingMembers property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? WaitingMembers + { + get { return BackingStore?.Get?>("waitingMembers"); } + set { BackingStore?.Set("waitingMembers", value); } + } +#nullable restore +#else + public List WaitingMembers + { + get { return BackingStore?.Get>("waitingMembers"); } + set { BackingStore?.Set("waitingMembers", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -79,8 +127,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "assignmentErrors", n => { AssignmentErrors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError.CreateFromDiscriminatorValue)?.AsList(); } }, + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue)?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "usageRights", n => { UsageRights = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight.CreateFromDiscriminatorValue)?.AsList(); } }, + { "waitingMembers", n => { WaitingMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -90,8 +141,11 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("assignmentErrors", AssignmentErrors); + writer.WriteCollectionOfObjectValues("assignments", Assignments); writer.WriteStringValue("@odata.type", OdataType); writer.WriteCollectionOfObjectValues("usageRights", UsageRights); + writer.WriteCollectionOfObjectValues("waitingMembers", WaitingMembers); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMember.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMember.cs new file mode 100644 index 00000000000..6d390e52c95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMember.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WaitingMember : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The allotment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment? Allotment + { + get { return BackingStore?.Get("allotment"); } + set { BackingStore?.Set("allotment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment Allotment + { + get { return BackingStore?.Get("allotment"); } + set { BackingStore?.Set("allotment", value); } + } +#endif + /// The assignedTo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DirectoryObject? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DirectoryObject AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// Indicates the moment when the user or device first waited for this license. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? WaitingSinceDateTime + { + get { return BackingStore?.Get("waitingSinceDateTime"); } + set { BackingStore?.Set("waitingSinceDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allotment", n => { Allotment = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment.CreateFromDiscriminatorValue); } }, + { "assignedTo", n => { AssignedTo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "waitingSinceDateTime", n => { WaitingSinceDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("allotment", Allotment); + writer.WriteObjectValue("assignedTo", AssignedTo); + writer.WriteDateTimeOffsetValue("waitingSinceDateTime", WaitingSinceDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMemberCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMemberCollectionResponse.cs new file mode 100644 index 00000000000..ede5121671c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudLicensing/WaitingMemberCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.CloudLicensing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WaitingMemberCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMemberCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMemberCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImageErrorCode.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImageErrorCode.cs index 3cfa435f663..39dfa775848 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImageErrorCode.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImageErrorCode.cs @@ -60,5 +60,13 @@ public enum CloudPcDeviceImageErrorCode #pragma warning disable CS1591 SourceImageWithAzureDiskEncryptionNotSupported, #pragma warning restore CS1591 + [EnumMember(Value = "fSLogixInstalledSourceImageNotSupported")] + #pragma warning disable CS1591 + FSLogixInstalledSourceImageNotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "startMenuAppLimitExceeded")] + #pragma warning disable CS1591 + StartMenuAppLimitExceeded, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinConfiguration.cs index 85c3bc56fe6..2c65c4c59e9 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDomainJoinConfiguration.cs @@ -27,7 +27,7 @@ public IDictionary AdditionalData get { return BackingStore?.Get("domainJoinType"); } set { BackingStore?.Set("domainJoinType", value); } } - /// The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. + /// The geographic location where the region is located. Read-only. public global::Microsoft.Graph.Beta.Models.CloudPcGeographicLocationType? GeographicLocationType { get { return BackingStore?.Get("geographicLocationType"); } @@ -65,7 +65,7 @@ public string OnPremisesConnectionId set { BackingStore?.Set("onPremisesConnectionId", value); } } #endif - /// The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Read-only. + /// The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. public global::Microsoft.Graph.Beta.Models.CloudPcRegionGroup? RegionGroup { get { return BackingStore?.Get("regionGroup"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExportJob.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExportJob.cs index 51273a37a47..cb0e8c4d834 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcExportJob.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExportJob.cs @@ -72,7 +72,7 @@ public string Format set { BackingStore?.Set("format", value); } } #endif - /// The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport,, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. + /// The report name. public global::Microsoft.Graph.Beta.Models.CloudPcReportName? ReportName { get { return BackingStore?.Get("reportName"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs index 5590845c66c..a59d757ccb5 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.cs @@ -91,7 +91,7 @@ public DateTimeOffset? EndDateTime get { return BackingStore?.Get("endDateTime"); } set { BackingStore?.Set("endDateTime", value); } } - /// The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. + /// The type of error that occurred during this health check. public global::Microsoft.Graph.Beta.Models.CloudPcOnPremisesConnectionHealthCheckErrorType? ErrorType { get { return BackingStore?.Get("errorType"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcReportName.cs b/src/Microsoft.Graph/Generated/Models/CloudPcReportName.cs index 1f3fc7690a8..a46939ec29c 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcReportName.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcReportName.cs @@ -120,5 +120,9 @@ public enum CloudPcReportName #pragma warning disable CS1591 CloudPcUsageCategoryReport, #pragma warning restore CS1591 + [EnumMember(Value = "cloudPCInventoryReport")] + #pragma warning disable CS1591 + CloudPCInventoryReport, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs index 63cf9cec949..28ddc7b8287 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs @@ -21,6 +21,12 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The category property + public global::Microsoft.Graph.Beta.Models.CloudPcSourceImageCategory? Category + { + get { return BackingStore?.Get("category"); } + set { BackingStore?.Set("category", value); } + } /// The display name for the source image. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -143,6 +149,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "category", n => { Category = n.GetEnumValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "id", n => { Id = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, @@ -158,6 +165,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("category", Category); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("id", Id); writer.WriteStringValue("@odata.type", OdataType); diff --git a/src/Microsoft.Graph/Generated/Models/MonitorRunType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcSourceImageCategory.cs similarity index 65% rename from src/Microsoft.Graph/Generated/Models/MonitorRunType.cs rename to src/Microsoft.Graph/Generated/Models/CloudPcSourceImageCategory.cs index c3e7c746e1b..8c68a6f43fb 100644 --- a/src/Microsoft.Graph/Generated/Models/MonitorRunType.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcSourceImageCategory.cs @@ -5,19 +5,20 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public enum MonitorRunType + public enum CloudPcSourceImageCategory #pragma warning restore CS1591 { - [EnumMember(Value = "monitor")] + [EnumMember(Value = "managedImage")] #pragma warning disable CS1591 - Monitor, + ManagedImage, #pragma warning restore CS1591 - [EnumMember(Value = "apply")] + [EnumMember(Value = "azureComputeGallery")] #pragma warning disable CS1591 - Apply, + AzureComputeGallery, #pragma warning restore CS1591 - /// A marker value for members added after the release of this API. [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 UnknownFutureValue, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcStatus.cs b/src/Microsoft.Graph/Generated/Models/CloudPcStatus.cs index ec1de3d8a9a..51c3932d739 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcStatus.cs @@ -68,6 +68,10 @@ public enum CloudPcStatus #pragma warning disable CS1591 ModifyingSingleSignOn, #pragma warning restore CS1591 + [EnumMember(Value = "refreshPolicyConfiguration")] + #pragma warning disable CS1591 + RefreshPolicyConfiguration, + #pragma warning restore CS1591 [EnumMember(Value = "preparing")] #pragma warning disable CS1591 Preparing, diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcSupportedRegion.cs b/src/Microsoft.Graph/Generated/Models/CloudPcSupportedRegion.cs index e1ab94a8268..4750d858d4e 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcSupportedRegion.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcSupportedRegion.cs @@ -28,7 +28,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. + /// The geographic location where the region is located. Read-only. public global::Microsoft.Graph.Beta.Models.CloudPcGeographicLocationType? GeographicLocationType { get { return BackingStore?.Get("geographicLocationType"); } diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs index 47eecf521b8..6436f35ee49 100644 --- a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + /// List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue, riskRemediation. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: riskRemediation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? BuiltInControls @@ -53,7 +53,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("builtInControls", value); } } #endif - /// List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). + /// List of custom controls IDs required by the policy. For more information, see Custom controls. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CustomAuthenticationFactors diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationApplication.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationApplication.cs deleted file mode 100644 index f29ee82358a..00000000000 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationApplication.cs +++ /dev/null @@ -1,203 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ConfigurationApplication : global::Microsoft.Graph.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// The appId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? AppId - { - get { return BackingStore?.Get("appId"); } - set { BackingStore?.Set("appId", value); } - } -#nullable restore -#else - public string AppId - { - get { return BackingStore?.Get("appId"); } - set { BackingStore?.Set("appId", value); } - } -#endif - /// The appOwnerOrganizationId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? AppOwnerOrganizationId - { - get { return BackingStore?.Get("appOwnerOrganizationId"); } - set { BackingStore?.Set("appOwnerOrganizationId", value); } - } -#nullable restore -#else - public string AppOwnerOrganizationId - { - get { return BackingStore?.Get("appOwnerOrganizationId"); } - set { BackingStore?.Set("appOwnerOrganizationId", value); } - } -#endif - /// The clientCredentials property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Beta.Models.ClientCredentials? ClientCredentials - { - get { return BackingStore?.Get("clientCredentials"); } - set { BackingStore?.Set("clientCredentials", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Beta.Models.ClientCredentials ClientCredentials - { - get { return BackingStore?.Get("clientCredentials"); } - set { BackingStore?.Set("clientCredentials", value); } - } -#endif - /// The createdBy property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy - { - get { return BackingStore?.Get("createdBy"); } - set { BackingStore?.Set("createdBy", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy - { - get { return BackingStore?.Get("createdBy"); } - set { BackingStore?.Set("createdBy", value); } - } -#endif - /// The createdDateTime property - public DateTimeOffset? CreatedDateTime - { - get { return BackingStore?.Get("createdDateTime"); } - set { BackingStore?.Set("createdDateTime", value); } - } - /// The description property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Description - { - get { return BackingStore?.Get("description"); } - set { BackingStore?.Set("description", value); } - } -#nullable restore -#else - public string Description - { - get { return BackingStore?.Get("description"); } - set { BackingStore?.Set("description", value); } - } -#endif - /// The displayName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#nullable restore -#else - public string DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#endif - /// The lastModifiedBy property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy - { - get { return BackingStore?.Get("lastModifiedBy"); } - set { BackingStore?.Set("lastModifiedBy", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy - { - get { return BackingStore?.Get("lastModifiedBy"); } - set { BackingStore?.Set("lastModifiedBy", value); } - } -#endif - /// The lastModifiedDateTime property - public DateTimeOffset? LastModifiedDateTime - { - get { return BackingStore?.Get("lastModifiedDateTime"); } - set { BackingStore?.Set("lastModifiedDateTime", value); } - } - /// The tenantId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TenantId - { - get { return BackingStore?.Get("tenantId"); } - set { BackingStore?.Set("tenantId", value); } - } -#nullable restore -#else - public string TenantId - { - get { return BackingStore?.Get("tenantId"); } - set { BackingStore?.Set("tenantId", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.ConfigurationApplication CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.ConfigurationApplication(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "appId", n => { AppId = n.GetStringValue(); } }, - { "appOwnerOrganizationId", n => { AppOwnerOrganizationId = n.GetStringValue(); } }, - { "clientCredentials", n => { ClientCredentials = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ClientCredentials.CreateFromDiscriminatorValue); } }, - { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, - { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - { "description", n => { Description = n.GetStringValue(); } }, - { "displayName", n => { DisplayName = n.GetStringValue(); } }, - { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, - { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, - { "tenantId", n => { TenantId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("appId", AppId); - writer.WriteStringValue("appOwnerOrganizationId", AppOwnerOrganizationId); - writer.WriteObjectValue("clientCredentials", ClientCredentials); - writer.WriteObjectValue("createdBy", CreatedBy); - writer.WriteStringValue("description", Description); - writer.WriteStringValue("displayName", DisplayName); - writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs index bd7b13e2bec..293d8a11796 100644 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ConfigurationBaseline : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The description property + /// User-friendly description of the baseline given by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -28,7 +28,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// User-friendly name given by the user to the baseline. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -44,7 +44,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The parameters property + /// Collection of parameters attached to the baseline. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Parameters @@ -60,7 +60,7 @@ public string DisplayName set { BackingStore?.Set("parameters", value); } } #endif - /// The resources property + /// Collection of resources and their properties that are added to the baseline. At least one property of one resource must be present in the baseline. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Resources diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs index fce6fac4877..5e7f1f8eefa 100644 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ConfigurationDrift : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The baselineResourceDisplayName property + /// Resource instance for which the drift is detected. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BaselineResourceDisplayName @@ -28,7 +28,7 @@ public string BaselineResourceDisplayName set { BackingStore?.Set("baselineResourceDisplayName", value); } } #endif - /// The driftedProperties property + /// Properties within one or more resource instances in which drift is detected. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DriftedProperties @@ -44,13 +44,13 @@ public string BaselineResourceDisplayName set { BackingStore?.Set("driftedProperties", value); } } #endif - /// The firstReportedDateTime property + /// The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? FirstReportedDateTime { get { return BackingStore?.Get("firstReportedDateTime"); } set { BackingStore?.Set("firstReportedDateTime", value); } } - /// The monitorId property + /// Globally unique identifier (GUID) of the monitor. System-generated. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MonitorId @@ -82,7 +82,7 @@ public string MonitorId set { BackingStore?.Set("resourceInstanceIdentifier", value); } } #endif - /// The resourceType property + /// Resource for which the drift is detected. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ResourceType @@ -104,7 +104,7 @@ public string ResourceType get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The tenantId property + /// Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs index dd138c5783d..30225e14c46 100644 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs @@ -12,23 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ConfigurationManagement : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The configurationApplications property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ConfigurationApplications - { - get { return BackingStore?.Get?>("configurationApplications"); } - set { BackingStore?.Set("configurationApplications", value); } - } -#nullable restore -#else - public List ConfigurationApplications - { - get { return BackingStore?.Get>("configurationApplications"); } - set { BackingStore?.Set("configurationApplications", value); } - } -#endif - /// The configurationDrifts property + /// A container for configuration drift resources. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ConfigurationDrifts @@ -44,7 +28,7 @@ public partial class ConfigurationManagement : global::Microsoft.Graph.Beta.Mode set { BackingStore?.Set("configurationDrifts", value); } } #endif - /// The configurationMonitoringResults property + /// A container for configuration monitoring results resources. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ConfigurationMonitoringResults @@ -60,7 +44,7 @@ public partial class ConfigurationManagement : global::Microsoft.Graph.Beta.Mode set { BackingStore?.Set("configurationMonitoringResults", value); } } #endif - /// The configurationMonitors property + /// A container for configuration monitor resources. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ConfigurationMonitors @@ -76,7 +60,7 @@ public partial class ConfigurationManagement : global::Microsoft.Graph.Beta.Mode set { BackingStore?.Set("configurationMonitors", value); } } #endif - /// The configurationSnapshotJobs property + /// A container for snapshot job resources. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ConfigurationSnapshotJobs @@ -92,7 +76,7 @@ public partial class ConfigurationManagement : global::Microsoft.Graph.Beta.Mode set { BackingStore?.Set("configurationSnapshotJobs", value); } } #endif - /// The configurationSnapshots property + /// A container for configuration snapshot baselines. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ConfigurationSnapshots @@ -126,7 +110,6 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "configurationApplications", n => { ConfigurationApplications = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationApplication.CreateFromDiscriminatorValue)?.AsList(); } }, { "configurationDrifts", n => { ConfigurationDrifts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationDrift.CreateFromDiscriminatorValue)?.AsList(); } }, { "configurationMonitoringResults", n => { ConfigurationMonitoringResults = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue)?.AsList(); } }, { "configurationMonitors", n => { ConfigurationMonitors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConfigurationMonitor.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -142,7 +125,6 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("configurationApplications", ConfigurationApplications); writer.WriteCollectionOfObjectValues("configurationDrifts", ConfigurationDrifts); writer.WriteCollectionOfObjectValues("configurationMonitoringResults", ConfigurationMonitoringResults); writer.WriteCollectionOfObjectValues("configurationMonitors", ConfigurationMonitors); diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs index 664bfbb5551..1b4b6fa73d1 100644 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs @@ -44,13 +44,13 @@ public partial class ConfigurationMonitor : global::Microsoft.Graph.Beta.Models. set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// User-friendly description of the monitor given by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -66,7 +66,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// User-friendly name given by the user to the monitor. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -82,7 +82,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The inactivationReason property + /// The reason for the monitor's inactivation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? InactivationReason @@ -114,7 +114,7 @@ public string InactivationReason set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } @@ -126,13 +126,13 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("mode"); } set { BackingStore?.Set("mode", value); } } - /// The monitorRunFrequencyInHours property + /// Frequency at which the monitor runs. The default frequency is six hours. Regardless of when you create or update a monitor, it gets triggered within the next 6 hours. Currently, monitors are picked up at fixed times: 6 AM, 12 PM, 6 PM, and 12 AM (all in GMT). For example, if you create a monitor at 9 AM, it gets triggered around 12 PM. If you update a monitor at 4 PM, it gets triggered around 6 PM. public int? MonitorRunFrequencyInHours { get { return BackingStore?.Get("monitorRunFrequencyInHours"); } set { BackingStore?.Set("monitorRunFrequencyInHours", value); } } - /// The parameters property + /// Key-value pairs that contain parameter values which might be used in the baseline. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType? Parameters @@ -147,28 +147,6 @@ public int? MonitorRunFrequencyInHours get { return BackingStore?.Get("parameters"); } set { BackingStore?.Set("parameters", value); } } -#endif - /// The runAsUTCMServicePrincipal property - public bool? RunAsUTCMServicePrincipal - { - get { return BackingStore?.Get("runAsUTCMServicePrincipal"); } - set { BackingStore?.Set("runAsUTCMServicePrincipal", value); } - } - /// The runningOnBehalfOf property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Beta.Models.IdentitySet? RunningOnBehalfOf - { - get { return BackingStore?.Get("runningOnBehalfOf"); } - set { BackingStore?.Set("runningOnBehalfOf", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Beta.Models.IdentitySet RunningOnBehalfOf - { - get { return BackingStore?.Get("runningOnBehalfOf"); } - set { BackingStore?.Set("runningOnBehalfOf", value); } - } #endif /// The status property public global::Microsoft.Graph.Beta.Models.MonitorStatus? Status @@ -176,7 +154,7 @@ public bool? RunAsUTCMServicePrincipal get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The tenantId property + /// Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId @@ -221,8 +199,6 @@ public override IDictionary> GetFieldDeserializers() { "mode", n => { Mode = n.GetEnumValue(); } }, { "monitorRunFrequencyInHours", n => { MonitorRunFrequencyInHours = n.GetIntValue(); } }, { "parameters", n => { Parameters = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } }, - { "runAsUTCMServicePrincipal", n => { RunAsUTCMServicePrincipal = n.GetBoolValue(); } }, - { "runningOnBehalfOf", n => { RunningOnBehalfOf = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "status", n => { Status = n.GetEnumValue(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; @@ -241,10 +217,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); writer.WriteEnumValue("mode", Mode); - writer.WriteIntValue("monitorRunFrequencyInHours", MonitorRunFrequencyInHours); writer.WriteObjectValue("parameters", Parameters); - writer.WriteBoolValue("runAsUTCMServicePrincipal", RunAsUTCMServicePrincipal); - writer.WriteObjectValue("runningOnBehalfOf", RunningOnBehalfOf); writer.WriteEnumValue("status", Status); } } diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs index a1bc01721a4..1757b31fddc 100644 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs @@ -12,19 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class ConfigurationMonitoringResult : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The driftsCount property + /// Number of drifts observed during a monitor run. public int? DriftsCount { get { return BackingStore?.Get("driftsCount"); } set { BackingStore?.Set("driftsCount", value); } } - /// The driftsFixed property - public int? DriftsFixed - { - get { return BackingStore?.Get("driftsFixed"); } - set { BackingStore?.Set("driftsFixed", value); } - } - /// The errorDetails property + /// All the error details that prevent the monitor from running successfully. The error details are a contained entity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ErrorDetails @@ -40,7 +34,7 @@ public int? DriftsFixed set { BackingStore?.Set("errorDetails", value); } } #endif - /// The monitorId property + /// Globally unique identifier (GUID) of the monitor. System-generated. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MonitorId @@ -56,13 +50,13 @@ public string MonitorId set { BackingStore?.Set("monitorId", value); } } #endif - /// The runCompletionDateTime property + /// Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? RunCompletionDateTime { get { return BackingStore?.Get("runCompletionDateTime"); } set { BackingStore?.Set("runCompletionDateTime", value); } } - /// The runInitiationDateTime property + /// Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? RunInitiationDateTime { get { return BackingStore?.Get("runInitiationDateTime"); } @@ -74,13 +68,7 @@ public DateTimeOffset? RunInitiationDateTime get { return BackingStore?.Get("runStatus"); } set { BackingStore?.Set("runStatus", value); } } - /// The runType property - public global::Microsoft.Graph.Beta.Models.MonitorRunType? RunType - { - get { return BackingStore?.Get("runType"); } - set { BackingStore?.Set("runType", value); } - } - /// The tenantId property + /// Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId @@ -115,13 +103,11 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "driftsCount", n => { DriftsCount = n.GetIntValue(); } }, - { "driftsFixed", n => { DriftsFixed = n.GetIntValue(); } }, { "errorDetails", n => { ErrorDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ErrorDetail.CreateFromDiscriminatorValue)?.AsList(); } }, { "monitorId", n => { MonitorId = n.GetStringValue(); } }, { "runCompletionDateTime", n => { RunCompletionDateTime = n.GetDateTimeOffsetValue(); } }, { "runInitiationDateTime", n => { RunInitiationDateTime = n.GetDateTimeOffsetValue(); } }, { "runStatus", n => { RunStatus = n.GetEnumValue(); } }, - { "runType", n => { RunType = n.GetEnumValue(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, }; } @@ -134,7 +120,6 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteEnumValue("runStatus", RunStatus); - writer.WriteEnumValue("runType", RunType); } } } diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs index d2aaf944635..77e963794a0 100644 --- a/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ConfigurationSnapshotJob : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The completedDateTime property + /// The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CompletedDateTime { get { return BackingStore?.Get("completedDateTime"); } @@ -34,13 +34,13 @@ public DateTimeOffset? CompletedDateTime set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// User-friendly description of the snapshot given by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -56,7 +56,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// User-friendly name provided by the user during snapshot creation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -72,7 +72,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The errorDetails property + /// Details of errors related to the reasons why the snapshot can't complete. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ErrorDetails @@ -88,7 +88,7 @@ public List ErrorDetails set { BackingStore?.Set("errorDetails", value); } } #endif - /// The resourceLocation property + /// The URL at which the snapshot file resides. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ResourceLocation @@ -104,7 +104,7 @@ public string ResourceLocation set { BackingStore?.Set("resourceLocation", value); } } #endif - /// The resources property + /// The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Resources @@ -126,7 +126,7 @@ public List Resources get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The tenantId property + /// Globally unique identifier (GUID) of the tenant for which the snapshot is created. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs index 91ff10a8488..dcffc3ada5b 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs @@ -122,6 +122,22 @@ public List SupportedHosts get { return BackingStore?.Get("type"); } set { BackingStore?.Set("type", value); } } + /// The zipFile property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? ZipFile + { + get { return BackingStore?.Get("zipFile"); } + set { BackingStore?.Set("zipFile", value); } + } +#nullable restore +#else + public byte[] ZipFile + { + get { return BackingStore?.Get("zipFile"); } + set { BackingStore?.Set("zipFile", value); } + } +#endif /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -155,6 +171,7 @@ public override IDictionary> GetFieldDeserializers() { "shortDescription", n => { ShortDescription = n.GetStringValue(); } }, { "supportedHosts", n => { SupportedHosts = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "type", n => { Type = n.GetEnumValue(); } }, + { "zipFile", n => { ZipFile = n.GetByteArrayValue(); } }, }; } /// @@ -175,6 +192,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("shortDescription", ShortDescription); writer.WriteCollectionOfPrimitiveValues("supportedHosts", SupportedHosts); writer.WriteEnumValue("type", Type); + writer.WriteByteArrayValue("zipFile", ZipFile); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs index 992a46c3beb..68765e16c67 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs @@ -140,6 +140,13 @@ public string Version set { BackingStore?.Set("version", value); } } #endif + /// + /// Instantiates a new and sets the default values. + /// + public CopilotPackageDetail() : base() + { + OdataType = "#microsoft.graph.copilotPackageDetail"; + } /// /// Creates a new instance of the appropriate class based on discriminator value /// diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantGroupSyncInbound.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantGroupSyncInbound.cs index 0fac150e4c2..035210b1c04 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantGroupSyncInbound.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantGroupSyncInbound.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isSyncAllowed property + /// Defines whether group objects should be synchronized from the partner tenant. false stops any current group synchronization from the source tenant to the target tenant. This property has no impact on existing groups that were synchronized. public bool? IsSyncAllowed { get { return BackingStore?.Get("isSyncAllowed"); } diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs index cb056c2ec53..1d6e4025e8d 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs @@ -44,7 +44,7 @@ public string ExternalCloudAuthorizedApplicationId set { BackingStore?.Set("externalCloudAuthorizedApplicationId", value); } } #endif - /// The groupSyncInbound property + /// Defines whether groups can be synchronized from a partner tenant. Key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.CrossTenantGroupSyncInbound? GroupSyncInbound diff --git a/src/Microsoft.Graph/Generated/Models/CustomAppManagementApplicationConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CustomAppManagementApplicationConfiguration.cs index adcb9a86301..1799246bff3 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomAppManagementApplicationConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomAppManagementApplicationConfiguration.cs @@ -68,6 +68,22 @@ public string OdataType get { return BackingStore?.Get("@odata.type"); } set { BackingStore?.Set("@odata.type", value); } } +#endif + /// The redirectUris property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration? RedirectUris + { + get { return BackingStore?.Get("redirectUris"); } + set { BackingStore?.Set("redirectUris", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration RedirectUris + { + get { return BackingStore?.Get("redirectUris"); } + set { BackingStore?.Set("redirectUris", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -98,6 +114,7 @@ public virtual IDictionary> GetFieldDeserializers() { "audiences", n => { Audiences = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AudiencesConfiguration.CreateFromDiscriminatorValue); } }, { "identifierUris", n => { IdentifierUris = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentifierUriConfiguration.CreateFromDiscriminatorValue); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "redirectUris", n => { RedirectUris = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration.CreateFromDiscriminatorValue); } }, }; } /// @@ -110,6 +127,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteObjectValue("audiences", Audiences); writer.WriteObjectValue("identifierUris", IdentifierUris); writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("redirectUris", RedirectUris); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs index a284665d00a..7e59152ab95 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs @@ -49,6 +49,7 @@ public CustomAuthenticationExtension() : base() "#microsoft.graph.onAttributeCollectionStartCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionStartCustomExtension(), "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnOtpSendCustomExtension(), + "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnTokenIssuanceStartCustomExtension(), _ => new global::Microsoft.Graph.Beta.Models.CustomAuthenticationExtension(), }; diff --git a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs index c4cdc3a2d8e..0337f31a6ea 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs @@ -112,6 +112,7 @@ public string DisplayName "#microsoft.graph.onAttributeCollectionStartCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionStartCustomExtension(), "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnOtpSendCustomExtension(), + "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnTokenIssuanceStartCustomExtension(), _ => new global::Microsoft.Graph.Beta.Models.CustomCalloutExtension(), }; diff --git a/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs b/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs index b52a018d035..3bf9607c473 100644 --- a/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs +++ b/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The currentValue property + /// The current value of the property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public UntypedNode? CurrentValue @@ -37,7 +37,7 @@ public UntypedNode CurrentValue set { BackingStore?.Set("currentValue", value); } } #endif - /// The desiredValue property + /// The desired value of the property as specified by admins in the baseline of the monitor body. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public UntypedNode? DesiredValue @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The propertyName property + /// The name of the property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PropertyName diff --git a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs index 1aeaf232b35..61958d172e8 100644 --- a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs @@ -267,6 +267,22 @@ public partial class EntitlementManagement : global::Microsoft.Graph.Beta.Models get { return BackingStore?.Get>("controlConfigurations"); } set { BackingStore?.Set("controlConfigurations", value); } } +#endif + /// The externalOriginResourceConnectors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExternalOriginResourceConnectors + { + get { return BackingStore?.Get?>("externalOriginResourceConnectors"); } + set { BackingStore?.Set("externalOriginResourceConnectors", value); } + } +#nullable restore +#else + public List ExternalOriginResourceConnectors + { + get { return BackingStore?.Get>("externalOriginResourceConnectors"); } + set { BackingStore?.Set("externalOriginResourceConnectors", value); } + } #endif /// Represents the settings that control the behavior of Microsoft Entra entitlement management. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -334,6 +350,7 @@ public override IDictionary> GetFieldDeserializers() { "availableAccessPackages", n => { AvailableAccessPackages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AvailableAccessPackage.CreateFromDiscriminatorValue)?.AsList(); } }, { "connectedOrganizations", n => { ConnectedOrganizations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConnectedOrganization.CreateFromDiscriminatorValue)?.AsList(); } }, { "controlConfigurations", n => { ControlConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ControlConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + { "externalOriginResourceConnectors", n => { ExternalOriginResourceConnectors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EntitlementManagementSettings.CreateFromDiscriminatorValue); } }, { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AccessPackageSubject.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -362,6 +379,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("availableAccessPackages", AvailableAccessPackages); writer.WriteCollectionOfObjectValues("connectedOrganizations", ConnectedOrganizations); writer.WriteCollectionOfObjectValues("controlConfigurations", ControlConfigurations); + writer.WriteCollectionOfObjectValues("externalOriginResourceConnectors", ExternalOriginResourceConnectors); writer.WriteObjectValue("settings", Settings); writer.WriteCollectionOfObjectValues("subjects", Subjects); } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 3b78d5faa9a..33544716cbf 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -17,6 +17,7 @@ using Microsoft.Graph.Beta.Models.Security.SecurityCopilot; using Microsoft.Graph.Beta.Models.Security; using Microsoft.Graph.Beta.Models.TeamsAdministration; +using Microsoft.Graph.Beta.Models.TenantGovernanceServices; using Microsoft.Graph.Beta.Models.TermStore; using Microsoft.Graph.Beta.Models.WindowsUpdates; using Microsoft.Kiota.Abstractions.Extensions; @@ -426,7 +427,12 @@ public Entity() "#microsoft.graph.cloudClipboardItem" => new global::Microsoft.Graph.Beta.Models.CloudClipboardItem(), "#microsoft.graph.cloudClipboardRoot" => new global::Microsoft.Graph.Beta.Models.CloudClipboardRoot(), "#microsoft.graph.cloudFlareWebApplicationFirewallProvider" => new global::Microsoft.Graph.Beta.Models.CloudFlareWebApplicationFirewallProvider(), + "#microsoft.graph.cloudLicensing.adminCloudLicensing" => new global::Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing(), + "#microsoft.graph.cloudLicensing.allotment" => new global::Microsoft.Graph.Beta.Models.CloudLicensing.Allotment(), + "#microsoft.graph.cloudLicensing.assignment" => new global::Microsoft.Graph.Beta.Models.CloudLicensing.Assignment(), + "#microsoft.graph.cloudLicensing.assignmentError" => new global::Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError(), "#microsoft.graph.cloudLicensing.usageRight" => new global::Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight(), + "#microsoft.graph.cloudLicensing.waitingMember" => new global::Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember(), "#microsoft.graph.cloudPC" => new global::Microsoft.Graph.Beta.Models.CloudPC(), "#microsoft.graph.cloudPcAuditEvent" => new global::Microsoft.Graph.Beta.Models.CloudPcAuditEvent(), "#microsoft.graph.cloudPcBulkAction" => new global::Microsoft.Graph.Beta.Models.CloudPcBulkAction(), @@ -478,7 +484,6 @@ public Entity() "#microsoft.graph.conditionalAccessRoot" => new global::Microsoft.Graph.Beta.Models.ConditionalAccessRoot(), "#microsoft.graph.conditionalAccessTemplate" => new global::Microsoft.Graph.Beta.Models.ConditionalAccessTemplate(), "#microsoft.graph.configManagerCollection" => new global::Microsoft.Graph.Beta.Models.ConfigManagerCollection(), - "#microsoft.graph.configurationApplication" => new global::Microsoft.Graph.Beta.Models.ConfigurationApplication(), "#microsoft.graph.configurationBaseline" => new global::Microsoft.Graph.Beta.Models.ConfigurationBaseline(), "#microsoft.graph.configurationDrift" => new global::Microsoft.Graph.Beta.Models.ConfigurationDrift(), "#microsoft.graph.configurationManagement" => new global::Microsoft.Graph.Beta.Models.ConfigurationManagement(), @@ -1381,6 +1386,8 @@ public Entity() "#microsoft.graph.onlineMeetingBase" => new global::Microsoft.Graph.Beta.Models.OnlineMeetingBase(), "#microsoft.graph.onlineMeetingEngagementConversation" => new global::Microsoft.Graph.Beta.Models.OnlineMeetingEngagementConversation(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnOtpSendCustomExtension(), + "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension(), + "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitListener(), "#microsoft.graph.onPhoneMethodLoadStartListener" => new global::Microsoft.Graph.Beta.Models.OnPhoneMethodLoadStartListener(), "#microsoft.graph.onPremAuthenticationPolicy" => new global::Microsoft.Graph.Beta.Models.OnPremAuthenticationPolicy(), "#microsoft.graph.onPremisesAgent" => new global::Microsoft.Graph.Beta.Models.OnPremisesAgent(), @@ -1671,6 +1678,7 @@ public Entity() "#microsoft.graph.security.auditLogQuery" => new global::Microsoft.Graph.Beta.Models.Security.AuditLogQuery(), "#microsoft.graph.security.auditLogRecord" => new global::Microsoft.Graph.Beta.Models.Security.AuditLogRecord(), "#microsoft.graph.security.authorityTemplate" => new global::Microsoft.Graph.Beta.Models.Security.AuthorityTemplate(), + "#microsoft.graph.security.autoAuditingConfiguration" => new global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration(), "#microsoft.graph.security.case" => new global::Microsoft.Graph.Beta.Models.Security.Case(), "#microsoft.graph.security.caseOperation" => new global::Microsoft.Graph.Beta.Models.Security.CaseOperation(), "#microsoft.graph.security.casesRoot" => new global::Microsoft.Graph.Beta.Models.Security.CasesRoot(), @@ -1713,6 +1721,7 @@ public Entity() "#microsoft.graph.security.emailThreatSubmissionPolicy" => new global::Microsoft.Graph.Beta.Models.Security.EmailThreatSubmissionPolicy(), "#microsoft.graph.security.emailUrlThreatSubmission" => new global::Microsoft.Graph.Beta.Models.Security.EmailUrlThreatSubmission(), "#microsoft.graph.security.endpointDiscoveredCloudAppDetail" => new global::Microsoft.Graph.Beta.Models.Security.EndpointDiscoveredCloudAppDetail(), + "#microsoft.graph.security.environment" => new global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject(), "#microsoft.graph.security.file" => new global::Microsoft.Graph.Beta.Models.Security.FileObject(), "#microsoft.graph.security.fileContentThreatSubmission" => new global::Microsoft.Graph.Beta.Models.Security.FileContentThreatSubmission(), "#microsoft.graph.security.filePlanDescriptor" => new global::Microsoft.Graph.Beta.Models.Security.FilePlanDescriptor(), @@ -1780,6 +1789,7 @@ public Entity() "#microsoft.graph.security.whoisBaseRecord" => new global::Microsoft.Graph.Beta.Models.Security.WhoisBaseRecord(), "#microsoft.graph.security.whoisHistoryRecord" => new global::Microsoft.Graph.Beta.Models.Security.WhoisHistoryRecord(), "#microsoft.graph.security.whoisRecord" => new global::Microsoft.Graph.Beta.Models.Security.WhoisRecord(), + "#microsoft.graph.security.zone" => new global::Microsoft.Graph.Beta.Models.Security.Zone(), "#microsoft.graph.securityAction" => new global::Microsoft.Graph.Beta.Models.SecurityAction(), "#microsoft.graph.securityBaselineCategoryStateSummary" => new global::Microsoft.Graph.Beta.Models.SecurityBaselineCategoryStateSummary(), "#microsoft.graph.securityBaselineDeviceState" => new global::Microsoft.Graph.Beta.Models.SecurityBaselineDeviceState(), @@ -1951,6 +1961,7 @@ public Entity() "#microsoft.graph.tenantAppManagementPolicy" => new global::Microsoft.Graph.Beta.Models.TenantAppManagementPolicy(), "#microsoft.graph.tenantAttachRBAC" => new global::Microsoft.Graph.Beta.Models.TenantAttachRBAC(), "#microsoft.graph.tenantDataSecurityAndGovernance" => new global::Microsoft.Graph.Beta.Models.TenantDataSecurityAndGovernance(), + "#microsoft.graph.tenantGovernanceServices.longRunningOperation" => new global::Microsoft.Graph.Beta.Models.TenantGovernanceServices.LongRunningOperation(), "#microsoft.graph.tenantProtectionScopeContainer" => new global::Microsoft.Graph.Beta.Models.TenantProtectionScopeContainer(), "#microsoft.graph.tenantRelationshipAccessPolicyBase" => new global::Microsoft.Graph.Beta.Models.TenantRelationshipAccessPolicyBase(), "#microsoft.graph.tenantSetupInfo" => new global::Microsoft.Graph.Beta.Models.TenantSetupInfo(), @@ -2257,10 +2268,16 @@ public Entity() "#microsoft.graph.windowsUpdates.knowledgeBaseArticle" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.KnowledgeBaseArticle(), "#microsoft.graph.windowsUpdates.knownIssue" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.KnownIssue(), "#microsoft.graph.windowsUpdates.operationalInsightsConnection" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.OperationalInsightsConnection(), + "#microsoft.graph.windowsUpdates.policy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy(), + "#microsoft.graph.windowsUpdates.policyApproval" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval(), "#microsoft.graph.windowsUpdates.product" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Product(), "#microsoft.graph.windowsUpdates.productRevision" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ProductRevision(), "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateCatalogEntry(), + "#microsoft.graph.windowsUpdates.qualityUpdatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdatePolicy(), + "#microsoft.graph.windowsUpdates.qualityUpdateRing" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateRing(), + "#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryUpdateCatalogEntry(), "#microsoft.graph.windowsUpdates.resourceConnection" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection(), + "#microsoft.graph.windowsUpdates.ring" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring(), "#microsoft.graph.windowsUpdates.softwareUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateCatalogEntry(), "#microsoft.graph.windowsUpdates.updatableAsset" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset(), "#microsoft.graph.windowsUpdates.updatableAssetGroup" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAssetGroup(), diff --git a/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs b/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs index 2f17243bb40..8e314176e4a 100644 --- a/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The errorMessage property + /// The message that describes the error to help the admin take action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ErrorMessage @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The resourceInstanceName property + /// The resource type identifier. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ResourceInstanceName @@ -69,7 +69,7 @@ public string ResourceInstanceName set { BackingStore?.Set("resourceInstanceName", value); } } #endif - /// The resourceType property + /// Name of the resource type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ResourceType diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeMessageTrace.cs b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTrace.cs index c050f89f64c..5aefdc69e51 100644 --- a/src/Microsoft.Graph/Generated/Models/ExchangeMessageTrace.cs +++ b/src/Microsoft.Graph/Generated/Models/ExchangeMessageTrace.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ExchangeMessageTrace : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. + /// The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? FromIP @@ -28,7 +28,7 @@ public string FromIP set { BackingStore?.Set("fromIP", value); } } #endif - /// The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. + /// The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MessageId @@ -44,13 +44,13 @@ public string MessageId set { BackingStore?.Set("messageId", value); } } #endif - /// The date and time when the message was received by Exchange Online. The timestamp is in UTC format. + /// The date and time when the message was received by Exchange Online. The timestamp is in UTC format. Supports $filter (ge, le). public DateTimeOffset? ReceivedDateTime { get { return BackingStore?.Get("receivedDateTime"); } set { BackingStore?.Set("receivedDateTime", value); } } - /// The SMTP email address of the user that the message was addressed to. + /// The SMTP email address of the user that the message was addressed to. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RecipientAddress @@ -66,7 +66,7 @@ public string RecipientAddress set { BackingStore?.Set("recipientAddress", value); } } #endif - /// The SMTP email address of the user the message was purportedly from. + /// The SMTP email address of the user the message was purportedly from. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SenderAddress @@ -94,7 +94,7 @@ public int? Size get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The subject line of the message. + /// The subject line of the message. Supports $filter (contains, startsWith, endsWith). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Subject @@ -110,7 +110,7 @@ public string Subject set { BackingStore?.Set("subject", value); } } #endif - /// The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. + /// The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ToIP diff --git a/src/Microsoft.Graph/Generated/Models/ExternalOriginResourceConnectorCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ExternalOriginResourceConnectorCollectionResponse.cs new file mode 100644 index 00000000000..227d4a35102 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExternalOriginResourceConnectorCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExternalOriginResourceConnectorCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnectorCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnectorCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/FraudProtectionDetails.cs b/src/Microsoft.Graph/Generated/Models/FraudProtectionDetails.cs new file mode 100644 index 00000000000..44f6ebb8773 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FraudProtectionDetails.cs @@ -0,0 +1,207 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FraudProtectionDetails : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The providerErrorMessages property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProviderErrorMessages + { + get { return BackingStore?.Get?>("providerErrorMessages"); } + set { BackingStore?.Set("providerErrorMessages", value); } + } +#nullable restore +#else + public List ProviderErrorMessages + { + get { return BackingStore?.Get>("providerErrorMessages"); } + set { BackingStore?.Set("providerErrorMessages", value); } + } +#endif + /// The providerHttpStatusCodes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProviderHttpStatusCodes + { + get { return BackingStore?.Get?>("providerHttpStatusCodes"); } + set { BackingStore?.Set("providerHttpStatusCodes", value); } + } +#nullable restore +#else + public List ProviderHttpStatusCodes + { + get { return BackingStore?.Get>("providerHttpStatusCodes"); } + set { BackingStore?.Set("providerHttpStatusCodes", value); } + } +#endif + /// The providerName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProviderName + { + get { return BackingStore?.Get("providerName"); } + set { BackingStore?.Set("providerName", value); } + } +#nullable restore +#else + public string ProviderName + { + get { return BackingStore?.Get("providerName"); } + set { BackingStore?.Set("providerName", value); } + } +#endif + /// The providerResponseTimes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProviderResponseTimes + { + get { return BackingStore?.Get?>("providerResponseTimes"); } + set { BackingStore?.Set("providerResponseTimes", value); } + } +#nullable restore +#else + public List ProviderResponseTimes + { + get { return BackingStore?.Get>("providerResponseTimes"); } + set { BackingStore?.Set("providerResponseTimes", value); } + } +#endif + /// The providerSessionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProviderSessionId + { + get { return BackingStore?.Get("providerSessionId"); } + set { BackingStore?.Set("providerSessionId", value); } + } +#nullable restore +#else + public string ProviderSessionId + { + get { return BackingStore?.Get("providerSessionId"); } + set { BackingStore?.Set("providerSessionId", value); } + } +#endif + /// The reason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// The verdict property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Verdict + { + get { return BackingStore?.Get("verdict"); } + set { BackingStore?.Set("verdict", value); } + } +#nullable restore +#else + public string Verdict + { + get { return BackingStore?.Get("verdict"); } + set { BackingStore?.Set("verdict", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FraudProtectionDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.FraudProtectionDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.FraudProtectionDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "providerErrorMessages", n => { ProviderErrorMessages = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "providerHttpStatusCodes", n => { ProviderHttpStatusCodes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "providerName", n => { ProviderName = n.GetStringValue(); } }, + { "providerResponseTimes", n => { ProviderResponseTimes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "providerSessionId", n => { ProviderSessionId = n.GetStringValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "verdict", n => { Verdict = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("providerErrorMessages", ProviderErrorMessages); + writer.WriteCollectionOfPrimitiveValues("providerHttpStatusCodes", ProviderHttpStatusCodes); + writer.WriteStringValue("providerName", ProviderName); + writer.WriteCollectionOfPrimitiveValues("providerResponseTimes", ProviderResponseTimes); + writer.WriteStringValue("providerSessionId", ProviderSessionId); + writer.WriteStringValue("reason", Reason); + writer.WriteStringValue("verdict", Verdict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs index d58d3a9e6df..0c9b7d2a27a 100644 --- a/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs +++ b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class GranularDriveRestoreArtifact : global::Microsoft.Graph.Beta.Models.GranularRestoreArtifactBase, IParsable #pragma warning restore CS1591 { - /// The directoryObjectId property + /// Id of the drive in which artifact is present. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DirectoryObjectId diff --git a/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs index f2a6ff3e2d4..eef541a8f03 100644 --- a/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs +++ b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class GranularRestoreArtifactBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The browseSessionId property + /// The unique identifier of the browseSession #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BrowseSessionId @@ -28,13 +28,13 @@ public string BrowseSessionId set { BackingStore?.Set("browseSessionId", value); } } #endif - /// The completionDateTime property + /// Date time when the artifact's restoration completes. public DateTimeOffset? CompletionDateTime { get { return BackingStore?.Get("completionDateTime"); } set { BackingStore?.Set("completionDateTime", value); } } - /// The restoredItemKey property + /// The unique identifier for the restored artifact. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RestoredItemKey @@ -50,7 +50,7 @@ public string RestoredItemKey set { BackingStore?.Set("restoredItemKey", value); } } #endif - /// The restoredItemPath property + /// The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RestoredItemPath @@ -66,7 +66,7 @@ public string RestoredItemPath set { BackingStore?.Set("restoredItemPath", value); } } #endif - /// The restoredItemWebUrl property + /// The web url of the restord artifact. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RestoredItemWebUrl @@ -82,13 +82,13 @@ public string RestoredItemWebUrl set { BackingStore?.Set("restoredItemWebUrl", value); } } #endif - /// The restorePointDateTime property + /// The restore point date time to which the artifact is restored. public DateTimeOffset? RestorePointDateTime { get { return BackingStore?.Get("restorePointDateTime"); } set { BackingStore?.Set("restorePointDateTime", value); } } - /// The startDateTime property + /// The start time of the restoration. public DateTimeOffset? StartDateTime { get { return BackingStore?.Get("startDateTime"); } @@ -100,7 +100,7 @@ public DateTimeOffset? StartDateTime get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The webUrl property + /// The original web url of the artifact being restored. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebUrl diff --git a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs index ee9ecae7a52..e5c68d1843a 100644 --- a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs +++ b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class GranularSiteRestoreArtifact : global::Microsoft.Graph.Beta.Models.GranularRestoreArtifactBase, IParsable #pragma warning restore CS1591 { - /// The siteId property + /// Id of the site in which artifact is present. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SiteId diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index a0edb234eea..8385add33ee 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -1100,7 +1100,7 @@ public string Visibility set { BackingStore?.Set("visibility", value); } } #endif - /// The welcomeMessageEnabled property + /// Indicates whether a welcome message is sent to new members when they are added to the group. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). public bool? WelcomeMessageEnabled { get { return BackingStore?.Get("welcomeMessageEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/MonitorMode.cs b/src/Microsoft.Graph/Generated/Models/MonitorMode.cs index 4e9afd0a03a..769944334fb 100644 --- a/src/Microsoft.Graph/Generated/Models/MonitorMode.cs +++ b/src/Microsoft.Graph/Generated/Models/MonitorMode.cs @@ -8,26 +8,10 @@ namespace Microsoft.Graph.Beta.Models public enum MonitorMode #pragma warning restore CS1591 { - [EnumMember(Value = "monitorOnce")] - #pragma warning disable CS1591 - MonitorOnce, - #pragma warning restore CS1591 [EnumMember(Value = "monitorOnly")] #pragma warning disable CS1591 MonitorOnly, #pragma warning restore CS1591 - [EnumMember(Value = "applyOnceAndMonitorContinuous")] - #pragma warning disable CS1591 - ApplyOnceAndMonitorContinuous, - #pragma warning restore CS1591 - [EnumMember(Value = "applyOnce")] - #pragma warning disable CS1591 - ApplyOnce, - #pragma warning restore CS1591 - [EnumMember(Value = "applyContinuous")] - #pragma warning disable CS1591 - ApplyContinuous, - #pragma warning restore CS1591 /// A marker value for members added after the release of this API. [EnumMember(Value = "unknownFutureValue")] UnknownFutureValue, diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs new file mode 100644 index 00000000000..4f864e7511e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordMigrationCustomExtensionHandler : global::Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler, IParsable + #pragma warning restore CS1591 + { + /// Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration? Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#endif + /// The customExtension property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension? CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#endif + /// The name of the custom extension attribute that indicates whether a user requires migration. This property must reference a valid custom attribute on the user object (for example, extension<appId>requiresMigration). Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MigrationPropertyId + { + get { return BackingStore?.Get("migrationPropertyId"); } + set { BackingStore?.Set("migrationPropertyId", value); } + } +#nullable restore +#else + public string MigrationPropertyId + { + get { return BackingStore?.Get("migrationPropertyId"); } + set { BackingStore?.Set("migrationPropertyId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordMigrationCustomExtensionHandler() : base() + { + OdataType = "#microsoft.graph.onPasswordMigrationCustomExtensionHandler"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OnPasswordMigrationCustomExtensionHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OnPasswordMigrationCustomExtensionHandler(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "configuration", n => { Configuration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration.CreateFromDiscriminatorValue); } }, + { "customExtension", n => { CustomExtension = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension.CreateFromDiscriminatorValue); } }, + { "migrationPropertyId", n => { MigrationPropertyId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("configuration", Configuration); + writer.WriteObjectValue("customExtension", CustomExtension); + writer.WriteStringValue("migrationPropertyId", MigrationPropertyId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs new file mode 100644 index 00000000000..50838ba9ed6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordSubmitCustomExtension : global::Microsoft.Graph.Beta.Models.CustomAuthenticationExtension, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordSubmitCustomExtension() : base() + { + OdataType = "#microsoft.graph.onPasswordSubmitCustomExtension"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs new file mode 100644 index 00000000000..0b9d0710452 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs @@ -0,0 +1,86 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordSubmitHandler : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordSubmitHandler() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.onPasswordMigrationCustomExtensionHandler" => new global::Microsoft.Graph.Beta.Models.OnPasswordMigrationCustomExtensionHandler(), + _ => new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs new file mode 100644 index 00000000000..c62b5be7924 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordSubmitListener : global::Microsoft.Graph.Beta.Models.AuthenticationEventListener, IParsable + #pragma warning restore CS1591 + { + /// Configuration for the handler to invoke when this listener is triggered. For JIT migration scenarios, this is typically an onPasswordMigrationCustomExtensionHandler. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler? Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordSubmitListener() : base() + { + OdataType = "#microsoft.graph.onPasswordSubmitListener"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitListener CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OnPasswordSubmitListener(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "handler", n => { Handler = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("handler", Handler); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs index 10fc8566dc6..091a175aad6 100644 --- a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class OneDriveForBusinessBrowseSession : global::Microsoft.Graph.Beta.Models.BrowseSessionBase, IParsable #pragma warning restore CS1591 { - /// The directoryObjectId property + /// Id of the backed-up OneDrive. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DirectoryObjectId diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs index 7c551ecf5fb..4082e7edd44 100644 --- a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs @@ -44,7 +44,7 @@ public partial class OneDriveForBusinessRestoreSession : global::Microsoft.Graph set { BackingStore?.Set("driveRestoreArtifactsBulkAdditionRequests", value); } } #endif - /// The granularDriveRestoreArtifacts property + /// A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? GranularDriveRestoreArtifacts diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs index 7915b9286a1..2e9c2149f73 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs @@ -94,6 +94,12 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } + /// The offboardRequestedDateTime property + public DateTimeOffset? OffboardRequestedDateTime + { + get { return BackingStore?.Get("offboardRequestedDateTime"); } + set { BackingStore?.Set("offboardRequestedDateTime", value); } + } /// The protectionMode property public global::Microsoft.Graph.Beta.Models.BackupPolicyProtectionMode? ProtectionMode { @@ -170,6 +176,7 @@ public override IDictionary> GetFieldDeserializers() { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "offboardRequestedDateTime", n => { OffboardRequestedDateTime = n.GetDateTimeOffsetValue(); } }, { "protectionMode", n => { ProtectionMode = n.GetEnumValue(); } }, { "protectionPolicyArtifactCount", n => { ProtectionPolicyArtifactCount = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ProtectionPolicyArtifactCount.CreateFromDiscriminatorValue); } }, { "retentionSettings", n => { RetentionSettings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RetentionSetting.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -191,6 +198,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("isEnabled", IsEnabled); writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteDateTimeOffsetValue("offboardRequestedDateTime", OffboardRequestedDateTime); writer.WriteEnumValue("protectionMode", ProtectionMode); writer.WriteObjectValue("protectionPolicyArtifactCount", ProtectionPolicyArtifactCount); writer.WriteCollectionOfObjectValues("retentionSettings", RetentionSettings); diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyStatus.cs b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyStatus.cs index 8e0ca151126..40d437ab1f7 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyStatus.cs @@ -32,5 +32,13 @@ public enum ProtectionPolicyStatus #pragma warning disable CS1591 Dormant, #pragma warning restore CS1591 + [EnumMember(Value = "offboardRequested")] + #pragma warning disable CS1591 + OffboardRequested, + #pragma warning restore CS1591 + [EnumMember(Value = "offboarded")] + #pragma warning disable CS1591 + Offboarded, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs b/src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs index dd9f6ecdb6f..0dddab9105f 100644 --- a/src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs @@ -37,7 +37,7 @@ public byte[] BinaryValue set { BackingStore?.Set("binaryValue", value); } } #endif - /// Specifies how much of the QRCode can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. + /// Specifies how much of the QR code can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. public global::Microsoft.Graph.Beta.Models.ErrorCorrectionLevel? ErrorCorrectionLevel { get { return BackingStore?.Get("errorCorrectionLevel"); } diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriAllowedDomainConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriAllowedDomainConfiguration.cs new file mode 100644 index 00000000000..661568a40af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriAllowedDomainConfiguration.cs @@ -0,0 +1,194 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriAllowedDomainConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The allowedDomains property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AllowedDomains + { + get { return BackingStore?.Get?>("allowedDomains"); } + set { BackingStore?.Set("allowedDomains", value); } + } +#nullable restore +#else + public List AllowedDomains + { + get { return BackingStore?.Get>("allowedDomains"); } + set { BackingStore?.Set("allowedDomains", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The excludeActors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif + /// The isStateSetByMicrosoft property + public bool? IsStateSetByMicrosoft + { + get { return BackingStore?.Get("isStateSetByMicrosoft"); } + set { BackingStore?.Set("isStateSetByMicrosoft", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The publicClient property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration? PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#endif + /// The restrictForAppsCreatedAfterDateTime property + public DateTimeOffset? RestrictForAppsCreatedAfterDateTime + { + get { return BackingStore?.Get("restrictForAppsCreatedAfterDateTime"); } + set { BackingStore?.Set("restrictForAppsCreatedAfterDateTime", value); } + } + /// The spa property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration? Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#endif + /// The state property + public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// The web property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration? Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriAllowedDomainConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriAllowedDomainConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriAllowedDomainConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "allowedDomains", n => { AllowedDomains = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, + { "isStateSetByMicrosoft", n => { IsStateSetByMicrosoft = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publicClient", n => { PublicClient = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration.CreateFromDiscriminatorValue); } }, + { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, + { "spa", n => { Spa = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "web", n => { Web = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("allowedDomains", AllowedDomains); + writer.WriteObjectValue("excludeActors", ExcludeActors); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("publicClient", PublicClient); + writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); + writer.WriteObjectValue("spa", Spa); + writer.WriteEnumValue("state", State); + writer.WriteObjectValue("web", Web); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriAllowedSchemeConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriAllowedSchemeConfiguration.cs new file mode 100644 index 00000000000..9e9de267bf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriAllowedSchemeConfiguration.cs @@ -0,0 +1,194 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriAllowedSchemeConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The allowedSchemes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AllowedSchemes + { + get { return BackingStore?.Get?>("allowedSchemes"); } + set { BackingStore?.Set("allowedSchemes", value); } + } +#nullable restore +#else + public List AllowedSchemes + { + get { return BackingStore?.Get>("allowedSchemes"); } + set { BackingStore?.Set("allowedSchemes", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The excludeActors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif + /// The isStateSetByMicrosoft property + public bool? IsStateSetByMicrosoft + { + get { return BackingStore?.Get("isStateSetByMicrosoft"); } + set { BackingStore?.Set("isStateSetByMicrosoft", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The publicClient property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration? PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#endif + /// The restrictForAppsCreatedAfterDateTime property + public DateTimeOffset? RestrictForAppsCreatedAfterDateTime + { + get { return BackingStore?.Get("restrictForAppsCreatedAfterDateTime"); } + set { BackingStore?.Set("restrictForAppsCreatedAfterDateTime", value); } + } + /// The spa property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration? Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#endif + /// The state property + public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// The web property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration? Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriAllowedSchemeConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriAllowedSchemeConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriAllowedSchemeConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "allowedSchemes", n => { AllowedSchemes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, + { "isStateSetByMicrosoft", n => { IsStateSetByMicrosoft = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publicClient", n => { PublicClient = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, + { "spa", n => { Spa = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "web", n => { Web = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("allowedSchemes", AllowedSchemes); + writer.WriteObjectValue("excludeActors", ExcludeActors); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("publicClient", PublicClient); + writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); + writer.WriteObjectValue("spa", Spa); + writer.WriteEnumValue("state", State); + writer.WriteObjectValue("web", Web); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriBlockedDomainConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriBlockedDomainConfiguration.cs new file mode 100644 index 00000000000..61c5c4cc8ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriBlockedDomainConfiguration.cs @@ -0,0 +1,194 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriBlockedDomainConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The blockedDomains property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BlockedDomains + { + get { return BackingStore?.Get?>("blockedDomains"); } + set { BackingStore?.Set("blockedDomains", value); } + } +#nullable restore +#else + public List BlockedDomains + { + get { return BackingStore?.Get>("blockedDomains"); } + set { BackingStore?.Set("blockedDomains", value); } + } +#endif + /// The excludeActors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif + /// The isStateSetByMicrosoft property + public bool? IsStateSetByMicrosoft + { + get { return BackingStore?.Get("isStateSetByMicrosoft"); } + set { BackingStore?.Set("isStateSetByMicrosoft", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The publicClient property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration? PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#endif + /// The restrictForAppsCreatedAfterDateTime property + public DateTimeOffset? RestrictForAppsCreatedAfterDateTime + { + get { return BackingStore?.Get("restrictForAppsCreatedAfterDateTime"); } + set { BackingStore?.Set("restrictForAppsCreatedAfterDateTime", value); } + } + /// The spa property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration? Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#endif + /// The state property + public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// The web property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration? Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriBlockedDomainConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriBlockedDomainConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriBlockedDomainConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "blockedDomains", n => { BlockedDomains = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, + { "isStateSetByMicrosoft", n => { IsStateSetByMicrosoft = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publicClient", n => { PublicClient = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration.CreateFromDiscriminatorValue); } }, + { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, + { "spa", n => { Spa = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "web", n => { Web = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("blockedDomains", BlockedDomains); + writer.WriteObjectValue("excludeActors", ExcludeActors); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("publicClient", PublicClient); + writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); + writer.WriteObjectValue("spa", Spa); + writer.WriteEnumValue("state", State); + writer.WriteObjectValue("web", Web); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriBlockedSchemeConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriBlockedSchemeConfiguration.cs new file mode 100644 index 00000000000..9557fda698e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriBlockedSchemeConfiguration.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriBlockedSchemeConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The blockedSchemes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BlockedSchemes + { + get { return BackingStore?.Get?>("blockedSchemes"); } + set { BackingStore?.Set("blockedSchemes", value); } + } +#nullable restore +#else + public List BlockedSchemes + { + get { return BackingStore?.Get>("blockedSchemes"); } + set { BackingStore?.Set("blockedSchemes", value); } + } +#endif + /// The excludeActors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif + /// The exemptFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExemptFormats + { + get { return BackingStore?.Get?>("exemptFormats"); } + set { BackingStore?.Set("exemptFormats", value); } + } +#nullable restore +#else + public List ExemptFormats + { + get { return BackingStore?.Get>("exemptFormats"); } + set { BackingStore?.Set("exemptFormats", value); } + } +#endif + /// The isStateSetByMicrosoft property + public bool? IsStateSetByMicrosoft + { + get { return BackingStore?.Get("isStateSetByMicrosoft"); } + set { BackingStore?.Set("isStateSetByMicrosoft", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The publicClient property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration? PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration PublicClient + { + get { return BackingStore?.Get("publicClient"); } + set { BackingStore?.Set("publicClient", value); } + } +#endif + /// The restrictForAppsCreatedAfterDateTime property + public DateTimeOffset? RestrictForAppsCreatedAfterDateTime + { + get { return BackingStore?.Get("restrictForAppsCreatedAfterDateTime"); } + set { BackingStore?.Set("restrictForAppsCreatedAfterDateTime", value); } + } + /// The spa property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration? Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration Spa + { + get { return BackingStore?.Get("spa"); } + set { BackingStore?.Set("spa", value); } + } +#endif + /// The state property + public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// The web property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration? Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration Web + { + get { return BackingStore?.Get("web"); } + set { BackingStore?.Set("web", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriBlockedSchemeConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriBlockedSchemeConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriBlockedSchemeConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "blockedSchemes", n => { BlockedSchemes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, + { "exemptFormats", n => { ExemptFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isStateSetByMicrosoft", n => { IsStateSetByMicrosoft = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publicClient", n => { PublicClient = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, + { "spa", n => { Spa = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "web", n => { Web = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("blockedSchemes", BlockedSchemes); + writer.WriteObjectValue("excludeActors", ExcludeActors); + writer.WriteCollectionOfPrimitiveValues("exemptFormats", ExemptFormats); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("publicClient", PublicClient); + writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); + writer.WriteObjectValue("spa", Spa); + writer.WriteEnumValue("state", State); + writer.WriteObjectValue("web", Web); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriConfiguration.cs new file mode 100644 index 00000000000..faf1fa4f3b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriConfiguration.cs @@ -0,0 +1,171 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The uriWithBlockedDomain property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriBlockedDomainConfiguration? UriWithBlockedDomain + { + get { return BackingStore?.Get("uriWithBlockedDomain"); } + set { BackingStore?.Set("uriWithBlockedDomain", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriBlockedDomainConfiguration UriWithBlockedDomain + { + get { return BackingStore?.Get("uriWithBlockedDomain"); } + set { BackingStore?.Set("uriWithBlockedDomain", value); } + } +#endif + /// The uriWithBlockedScheme property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriBlockedSchemeConfiguration? UriWithBlockedScheme + { + get { return BackingStore?.Get("uriWithBlockedScheme"); } + set { BackingStore?.Set("uriWithBlockedScheme", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriBlockedSchemeConfiguration UriWithBlockedScheme + { + get { return BackingStore?.Get("uriWithBlockedScheme"); } + set { BackingStore?.Set("uriWithBlockedScheme", value); } + } +#endif + /// The uriWithoutAllowedDomain property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriAllowedDomainConfiguration? UriWithoutAllowedDomain + { + get { return BackingStore?.Get("uriWithoutAllowedDomain"); } + set { BackingStore?.Set("uriWithoutAllowedDomain", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriAllowedDomainConfiguration UriWithoutAllowedDomain + { + get { return BackingStore?.Get("uriWithoutAllowedDomain"); } + set { BackingStore?.Set("uriWithoutAllowedDomain", value); } + } +#endif + /// The uriWithoutAllowedScheme property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriAllowedSchemeConfiguration? UriWithoutAllowedScheme + { + get { return BackingStore?.Get("uriWithoutAllowedScheme"); } + set { BackingStore?.Set("uriWithoutAllowedScheme", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriAllowedSchemeConfiguration UriWithoutAllowedScheme + { + get { return BackingStore?.Get("uriWithoutAllowedScheme"); } + set { BackingStore?.Set("uriWithoutAllowedScheme", value); } + } +#endif + /// The uriWithWildcard property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriWildcardConfiguration? UriWithWildcard + { + get { return BackingStore?.Get("uriWithWildcard"); } + set { BackingStore?.Set("uriWithWildcard", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriWildcardConfiguration UriWithWildcard + { + get { return BackingStore?.Get("uriWithWildcard"); } + set { BackingStore?.Set("uriWithWildcard", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "uriWithBlockedDomain", n => { UriWithBlockedDomain = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriBlockedDomainConfiguration.CreateFromDiscriminatorValue); } }, + { "uriWithBlockedScheme", n => { UriWithBlockedScheme = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriBlockedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + { "uriWithWildcard", n => { UriWithWildcard = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriWildcardConfiguration.CreateFromDiscriminatorValue); } }, + { "uriWithoutAllowedDomain", n => { UriWithoutAllowedDomain = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriAllowedDomainConfiguration.CreateFromDiscriminatorValue); } }, + { "uriWithoutAllowedScheme", n => { UriWithoutAllowedScheme = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriAllowedSchemeConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("uriWithBlockedDomain", UriWithBlockedDomain); + writer.WriteObjectValue("uriWithBlockedScheme", UriWithBlockedScheme); + writer.WriteObjectValue("uriWithoutAllowedDomain", UriWithoutAllowedDomain); + writer.WriteObjectValue("uriWithoutAllowedScheme", UriWithoutAllowedScheme); + writer.WriteObjectValue("uriWithWildcard", UriWithWildcard); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ClientCredentials.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformAllowedDomainConfiguration.cs similarity index 66% rename from src/Microsoft.Graph/Generated/Models/ClientCredentials.cs rename to src/Microsoft.Graph/Generated/Models/RedirectUriPlatformAllowedDomainConfiguration.cs index 29bdb7139e7..a78c07de23c 100644 --- a/src/Microsoft.Graph/Generated/Models/ClientCredentials.cs +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformAllowedDomainConfiguration.cs @@ -10,7 +10,7 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class ClientCredentials : IAdditionalDataHolder, IBackedModel, IParsable + public partial class RedirectUriPlatformAllowedDomainConfiguration : IAdditionalDataHolder, IBackedModel, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -19,40 +19,24 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The certificateName property + /// The allowedDomains property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public string? CertificateName + public List? AllowedDomains { - get { return BackingStore?.Get("certificateName"); } - set { BackingStore?.Set("certificateName", value); } + get { return BackingStore?.Get?>("allowedDomains"); } + set { BackingStore?.Set("allowedDomains", value); } } #nullable restore #else - public string CertificateName + public List AllowedDomains { - get { return BackingStore?.Get("certificateName"); } - set { BackingStore?.Set("certificateName", value); } - } -#endif - /// The keyVaultUri property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? KeyVaultUri - { - get { return BackingStore?.Get("keyVaultUri"); } - set { BackingStore?.Set("keyVaultUri", value); } - } -#nullable restore -#else - public string KeyVaultUri - { - get { return BackingStore?.Get("keyVaultUri"); } - set { BackingStore?.Set("keyVaultUri", value); } + get { return BackingStore?.Get>("allowedDomains"); } + set { BackingStore?.Set("allowedDomains", value); } } #endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -70,9 +54,9 @@ public string OdataType } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// - public ClientCredentials() + public RedirectUriPlatformAllowedDomainConfiguration() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); @@ -80,12 +64,12 @@ public ClientCredentials() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Graph.Beta.Models.ClientCredentials CreateFromDiscriminatorValue(IParseNode parseNode) + public static global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.ClientCredentials(); + return new global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration(); } /// /// The deserialization information for the current model @@ -95,8 +79,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - { "certificateName", n => { CertificateName = n.GetStringValue(); } }, - { "keyVaultUri", n => { KeyVaultUri = n.GetStringValue(); } }, + { "allowedDomains", n => { AllowedDomains = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } @@ -107,8 +90,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("certificateName", CertificateName); - writer.WriteStringValue("keyVaultUri", KeyVaultUri); + writer.WriteCollectionOfPrimitiveValues("allowedDomains", AllowedDomains); writer.WriteStringValue("@odata.type", OdataType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformAllowedSchemeConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformAllowedSchemeConfiguration.cs new file mode 100644 index 00000000000..e48939b8b34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformAllowedSchemeConfiguration.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriPlatformAllowedSchemeConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The allowedSchemes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AllowedSchemes + { + get { return BackingStore?.Get?>("allowedSchemes"); } + set { BackingStore?.Set("allowedSchemes", value); } + } +#nullable restore +#else + public List AllowedSchemes + { + get { return BackingStore?.Get>("allowedSchemes"); } + set { BackingStore?.Set("allowedSchemes", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriPlatformAllowedSchemeConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "allowedSchemes", n => { AllowedSchemes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("allowedSchemes", AllowedSchemes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedDomainConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedDomainConfiguration.cs new file mode 100644 index 00000000000..741fb536bc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedDomainConfiguration.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriPlatformBlockedDomainConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The blockedDomains property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BlockedDomains + { + get { return BackingStore?.Get?>("blockedDomains"); } + set { BackingStore?.Set("blockedDomains", value); } + } +#nullable restore +#else + public List BlockedDomains + { + get { return BackingStore?.Get>("blockedDomains"); } + set { BackingStore?.Set("blockedDomains", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriPlatformBlockedDomainConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "blockedDomains", n => { BlockedDomains = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("blockedDomains", BlockedDomains); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedSchemeConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedSchemeConfiguration.cs new file mode 100644 index 00000000000..8cefe3b143c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriPlatformBlockedSchemeConfiguration.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriPlatformBlockedSchemeConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The blockedSchemes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BlockedSchemes + { + get { return BackingStore?.Get?>("blockedSchemes"); } + set { BackingStore?.Set("blockedSchemes", value); } + } +#nullable restore +#else + public List BlockedSchemes + { + get { return BackingStore?.Get>("blockedSchemes"); } + set { BackingStore?.Set("blockedSchemes", value); } + } +#endif + /// The exemptFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExemptFormats + { + get { return BackingStore?.Get?>("exemptFormats"); } + set { BackingStore?.Set("exemptFormats", value); } + } +#nullable restore +#else + public List ExemptFormats + { + get { return BackingStore?.Get>("exemptFormats"); } + set { BackingStore?.Set("exemptFormats", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriPlatformBlockedSchemeConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "blockedSchemes", n => { BlockedSchemes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "exemptFormats", n => { ExemptFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("blockedSchemes", BlockedSchemes); + writer.WriteCollectionOfPrimitiveValues("exemptFormats", ExemptFormats); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriWildcardConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriWildcardConfiguration.cs new file mode 100644 index 00000000000..1ac6933050b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriWildcardConfiguration.cs @@ -0,0 +1,140 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriWildcardConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The excludeActors property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions? ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions ExcludeActors + { + get { return BackingStore?.Get("excludeActors"); } + set { BackingStore?.Set("excludeActors", value); } + } +#endif + /// The excludeFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RedirectUriWildcardExcludeFormats? ExcludeFormats + { + get { return BackingStore?.Get("excludeFormats"); } + set { BackingStore?.Set("excludeFormats", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RedirectUriWildcardExcludeFormats ExcludeFormats + { + get { return BackingStore?.Get("excludeFormats"); } + set { BackingStore?.Set("excludeFormats", value); } + } +#endif + /// The isStateSetByMicrosoft property + public bool? IsStateSetByMicrosoft + { + get { return BackingStore?.Get("isStateSetByMicrosoft"); } + set { BackingStore?.Set("isStateSetByMicrosoft", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The restrictForAppsCreatedAfterDateTime property + public DateTimeOffset? RestrictForAppsCreatedAfterDateTime + { + get { return BackingStore?.Get("restrictForAppsCreatedAfterDateTime"); } + set { BackingStore?.Set("restrictForAppsCreatedAfterDateTime", value); } + } + /// The state property + public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriWildcardConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriWildcardConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriWildcardConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "excludeActors", n => { ExcludeActors = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions.CreateFromDiscriminatorValue); } }, + { "excludeFormats", n => { ExcludeFormats = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RedirectUriWildcardExcludeFormats.CreateFromDiscriminatorValue); } }, + { "isStateSetByMicrosoft", n => { IsStateSetByMicrosoft = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "restrictForAppsCreatedAfterDateTime", n => { RestrictForAppsCreatedAfterDateTime = n.GetDateTimeOffsetValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("excludeActors", ExcludeActors); + writer.WriteObjectValue("excludeFormats", ExcludeFormats); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("restrictForAppsCreatedAfterDateTime", RestrictForAppsCreatedAfterDateTime); + writer.WriteEnumValue("state", State); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RedirectUriWildcardExcludeFormats.cs b/src/Microsoft.Graph/Generated/Models/RedirectUriWildcardExcludeFormats.cs new file mode 100644 index 00000000000..0c58ff9397b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RedirectUriWildcardExcludeFormats.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectUriWildcardExcludeFormats : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The excludeWildcardsInPath property + public bool? ExcludeWildcardsInPath + { + get { return BackingStore?.Get("excludeWildcardsInPath"); } + set { BackingStore?.Set("excludeWildcardsInPath", value); } + } + /// The excludeWildcardsInPathWithDomains property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExcludeWildcardsInPathWithDomains + { + get { return BackingStore?.Get?>("excludeWildcardsInPathWithDomains"); } + set { BackingStore?.Set("excludeWildcardsInPathWithDomains", value); } + } +#nullable restore +#else + public List ExcludeWildcardsInPathWithDomains + { + get { return BackingStore?.Get>("excludeWildcardsInPathWithDomains"); } + set { BackingStore?.Set("excludeWildcardsInPathWithDomains", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectUriWildcardExcludeFormats() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RedirectUriWildcardExcludeFormats CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RedirectUriWildcardExcludeFormats(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "excludeWildcardsInPath", n => { ExcludeWildcardsInPath = n.GetBoolValue(); } }, + { "excludeWildcardsInPathWithDomains", n => { ExcludeWildcardsInPathWithDomains = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("excludeWildcardsInPath", ExcludeWildcardsInPath); + writer.WriteCollectionOfPrimitiveValues("excludeWildcardsInPathWithDomains", ExcludeWildcardsInPathWithDomains); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RiskyAgent.cs b/src/Microsoft.Graph/Generated/Models/RiskyAgent.cs index 957b25c105e..351b2160055 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskyAgent.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskyAgent.cs @@ -28,6 +28,12 @@ public string AgentDisplayName set { BackingStore?.Set("agentDisplayName", value); } } #endif + /// The identityType property + public global::Microsoft.Graph.Beta.Models.AgentIdentityType? IdentityType + { + get { return BackingStore?.Get("identityType"); } + set { BackingStore?.Set("identityType", value); } + } /// Indicates whether the agent is deleted. public bool? IsDeleted { @@ -96,6 +102,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "agentDisplayName", n => { AgentDisplayName = n.GetStringValue(); } }, + { "identityType", n => { IdentityType = n.GetEnumValue(); } }, { "isDeleted", n => { IsDeleted = n.GetBoolValue(); } }, { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, { "isProcessing", n => { IsProcessing = n.GetBoolValue(); } }, @@ -114,6 +121,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("agentDisplayName", AgentDisplayName); + writer.WriteEnumValue("identityType", IdentityType); writer.WriteBoolValue("isDeleted", IsDeleted); writer.WriteBoolValue("isEnabled", IsEnabled); writer.WriteBoolValue("isProcessing", IsProcessing); diff --git a/src/Microsoft.Graph/Generated/Models/Security/AggregatedEnvironment.cs b/src/Microsoft.Graph/Generated/Models/Security/AggregatedEnvironment.cs new file mode 100644 index 00000000000..bf2b54e9c9a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AggregatedEnvironment.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AggregatedEnvironment : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Number of environments of this type. + public int? Count + { + get { return BackingStore?.Get("count"); } + set { BackingStore?.Set("count", value); } + } + /// Environment type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } +#nullable restore +#else + public string Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AggregatedEnvironment() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.AggregatedEnvironment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.AggregatedEnvironment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "count", n => { Count = n.GetIntValue(); } }, + { "kind", n => { Kind = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("count", Count); + writer.WriteStringValue("kind", Kind); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AuditInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/AuditInfo.cs new file mode 100644 index 00000000000..17278490c17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AuditInfo.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AuditInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Display name of the user or application that performed the action. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? By + { + get { return BackingStore?.Get("by"); } + set { BackingStore?.Set("by", value); } + } +#nullable restore +#else + public string By + { + get { return BackingStore?.Get("by"); } + set { BackingStore?.Set("by", value); } + } +#endif + /// Timestamp of the action. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? DateTime + { + get { return BackingStore?.Get("dateTime"); } + set { BackingStore?.Set("dateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AuditInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.AuditInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.AuditInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "by", n => { By = n.GetStringValue(); } }, + { "dateTime", n => { DateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("by", By); + writer.WriteDateTimeOffsetValue("dateTime", DateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AutoAuditingConfiguration.cs b/src/Microsoft.Graph/Generated/Models/Security/AutoAuditingConfiguration.cs new file mode 100644 index 00000000000..948cb5eb7d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AutoAuditingConfiguration.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AutoAuditingConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Indicates whether automatic auditing is enabled for Defender for Identity monitoring. + public bool? IsAutomatic + { + get { return BackingStore?.Get("isAutomatic"); } + set { BackingStore?.Set("isAutomatic", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isAutomatic", n => { IsAutomatic = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isAutomatic", IsAutomatic); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs b/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs index 5349542588c..b31ba2d45ff 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs @@ -43,7 +43,7 @@ public DateTimeOffset? AnalysisDateTime set { BackingStore?.Set("compromiseIndicators", value); } } #endif - /// Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation + /// Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Security.DetonationBehaviourDetails? DetonationBehaviourDetails @@ -58,6 +58,22 @@ public DateTimeOffset? AnalysisDateTime get { return BackingStore?.Get("detonationBehaviourDetails"); } set { BackingStore?.Set("detonationBehaviourDetails", value); } } +#endif + /// Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DetonationBehaviourDetailsV2 + { + get { return BackingStore?.Get("detonationBehaviourDetailsV2"); } + set { BackingStore?.Set("detonationBehaviourDetailsV2", value); } + } +#nullable restore +#else + public string DetonationBehaviourDetailsV2 + { + get { return BackingStore?.Get("detonationBehaviourDetailsV2"); } + set { BackingStore?.Set("detonationBehaviourDetailsV2", value); } + } #endif /// The chain of detonation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -138,6 +154,38 @@ public string DetonationVerdictReason get { return BackingStore?.Get("detonationVerdictReason"); } set { BackingStore?.Set("detonationVerdictReason", value); } } +#endif + /// Additional metadata about the entity in JSON format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EntityMetadata + { + get { return BackingStore?.Get("entityMetadata"); } + set { BackingStore?.Set("entityMetadata", value); } + } +#nullable restore +#else + public string EntityMetadata + { + get { return BackingStore?.Get("entityMetadata"); } + set { BackingStore?.Set("entityMetadata", value); } + } +#endif + /// The attack techniques, as aligned with the MITRE ATT&CK framework. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MitreTechniques + { + get { return BackingStore?.Get("mitreTechniques"); } + set { BackingStore?.Set("mitreTechniques", value); } + } +#nullable restore +#else + public string MitreTechniques + { + get { return BackingStore?.Get("mitreTechniques"); } + set { BackingStore?.Set("mitreTechniques", value); } + } #endif /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -154,6 +202,38 @@ public string OdataType get { return BackingStore?.Get("@odata.type"); } set { BackingStore?.Set("@odata.type", value); } } +#endif + /// The results of static analysis performed on the file or URL. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StaticAnalysis + { + get { return BackingStore?.Get("staticAnalysis"); } + set { BackingStore?.Set("staticAnalysis", value); } + } +#nullable restore +#else + public string StaticAnalysis + { + get { return BackingStore?.Get("staticAnalysis"); } + set { BackingStore?.Set("staticAnalysis", value); } + } +#endif + /// The source of the submission. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubmissionSource + { + get { return BackingStore?.Get("submissionSource"); } + set { BackingStore?.Set("submissionSource", value); } + } +#nullable restore +#else + public string SubmissionSource + { + get { return BackingStore?.Get("submissionSource"); } + set { BackingStore?.Set("submissionSource", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -184,12 +264,17 @@ public virtual IDictionary> GetFieldDeserializers() { "analysisDateTime", n => { AnalysisDateTime = n.GetDateTimeOffsetValue(); } }, { "compromiseIndicators", n => { CompromiseIndicators = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CompromiseIndicator.CreateFromDiscriminatorValue)?.AsList(); } }, { "detonationBehaviourDetails", n => { DetonationBehaviourDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.DetonationBehaviourDetails.CreateFromDiscriminatorValue); } }, + { "detonationBehaviourDetailsV2", n => { DetonationBehaviourDetailsV2 = n.GetStringValue(); } }, { "detonationChain", n => { DetonationChain = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.DetonationChain.CreateFromDiscriminatorValue); } }, { "detonationObservables", n => { DetonationObservables = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.DetonationObservables.CreateFromDiscriminatorValue); } }, { "detonationScreenshotUri", n => { DetonationScreenshotUri = n.GetStringValue(); } }, { "detonationVerdict", n => { DetonationVerdict = n.GetStringValue(); } }, { "detonationVerdictReason", n => { DetonationVerdictReason = n.GetStringValue(); } }, + { "entityMetadata", n => { EntityMetadata = n.GetStringValue(); } }, + { "mitreTechniques", n => { MitreTechniques = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "staticAnalysis", n => { StaticAnalysis = n.GetStringValue(); } }, + { "submissionSource", n => { SubmissionSource = n.GetStringValue(); } }, }; } /// @@ -202,12 +287,17 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("analysisDateTime", AnalysisDateTime); writer.WriteCollectionOfObjectValues("compromiseIndicators", CompromiseIndicators); writer.WriteObjectValue("detonationBehaviourDetails", DetonationBehaviourDetails); + writer.WriteStringValue("detonationBehaviourDetailsV2", DetonationBehaviourDetailsV2); writer.WriteObjectValue("detonationChain", DetonationChain); writer.WriteObjectValue("detonationObservables", DetonationObservables); writer.WriteStringValue("detonationScreenshotUri", DetonationScreenshotUri); writer.WriteStringValue("detonationVerdict", DetonationVerdict); writer.WriteStringValue("detonationVerdictReason", DetonationVerdictReason); + writer.WriteStringValue("entityMetadata", EntityMetadata); + writer.WriteStringValue("mitreTechniques", MitreTechniques); writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("staticAnalysis", StaticAnalysis); + writer.WriteStringValue("submissionSource", SubmissionSource); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryPurgeDataOperation.cs b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryPurgeDataOperation.cs index 3fae2d27e21..3119b66cfbf 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryPurgeDataOperation.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryPurgeDataOperation.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models.Security public partial class EdiscoveryPurgeDataOperation : global::Microsoft.Graph.Beta.Models.Security.CaseOperation, IParsable #pragma warning restore CS1591 { + /// The purge job report file metadata. It contains the properties for report file metadata, including downloadUrl, fileName, and size. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ReportFileMetadata + { + get { return BackingStore?.Get?>("reportFileMetadata"); } + set { BackingStore?.Set("reportFileMetadata", value); } + } +#nullable restore +#else + public List ReportFileMetadata + { + get { return BackingStore?.Get>("reportFileMetadata"); } + set { BackingStore?.Set("reportFileMetadata", value); } + } +#endif /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -30,6 +46,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "reportFileMetadata", n => { ReportFileMetadata = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.ReportFileMetadata.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -40,6 +57,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("reportFileMetadata", ReportFileMetadata); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/EnvironmentCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/EnvironmentCollectionResponse.cs new file mode 100644 index 00000000000..24c3254a9c8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EnvironmentCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EnvironmentCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.EnvironmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.EnvironmentCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/EnvironmentKind.cs b/src/Microsoft.Graph/Generated/Models/Security/EnvironmentKind.cs new file mode 100644 index 00000000000..0c1f846b7f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EnvironmentKind.cs @@ -0,0 +1,60 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum EnvironmentKind + #pragma warning restore CS1591 + { + [EnumMember(Value = "azureSubscription")] + #pragma warning disable CS1591 + AzureSubscription, + #pragma warning restore CS1591 + [EnumMember(Value = "awsOrganization")] + #pragma warning disable CS1591 + AwsOrganization, + #pragma warning restore CS1591 + [EnumMember(Value = "awsAccount")] + #pragma warning disable CS1591 + AwsAccount, + #pragma warning restore CS1591 + [EnumMember(Value = "gcpOrganization")] + #pragma warning disable CS1591 + GcpOrganization, + #pragma warning restore CS1591 + [EnumMember(Value = "gcpProject")] + #pragma warning disable CS1591 + GcpProject, + #pragma warning restore CS1591 + [EnumMember(Value = "dockersHubOrganization")] + #pragma warning disable CS1591 + DockersHubOrganization, + #pragma warning restore CS1591 + [EnumMember(Value = "devOpsConnection")] + #pragma warning disable CS1591 + DevOpsConnection, + #pragma warning restore CS1591 + [EnumMember(Value = "azureDevOpsOrganization")] + #pragma warning disable CS1591 + AzureDevOpsOrganization, + #pragma warning restore CS1591 + [EnumMember(Value = "gitHubOrganization")] + #pragma warning disable CS1591 + GitHubOrganization, + #pragma warning restore CS1591 + [EnumMember(Value = "gitLabGroup")] + #pragma warning disable CS1591 + GitLabGroup, + #pragma warning restore CS1591 + [EnumMember(Value = "jFrogArtifactory")] + #pragma warning disable CS1591 + JFrogArtifactory, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/EnvironmentObject.cs b/src/Microsoft.Graph/Generated/Models/Security/EnvironmentObject.cs new file mode 100644 index 00000000000..a5dd0b94ab4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EnvironmentObject.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EnvironmentObject : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The kind property + public global::Microsoft.Graph.Beta.Models.Security.EnvironmentKind? Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "kind", n => { Kind = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("kind", Kind); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs index 3e7ab5994f4..636287ec0b4 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs @@ -92,7 +92,7 @@ public partial class IdentityContainer : global::Microsoft.Graph.Beta.Models.Ent set { BackingStore?.Set("sensors", value); } } #endif - /// The settings property + /// Represents a container for security identities settings APIs. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Security.SettingsContainer? Settings diff --git a/src/Microsoft.Graph/Generated/Models/Security/Incident.cs b/src/Microsoft.Graph/Generated/Models/Security/Incident.cs index a77552c5576..7dbd0f4aa1f 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Incident.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Incident.cs @@ -164,7 +164,7 @@ public DateTimeOffset? LastUpdateDateTime get { return BackingStore?.Get("lastUpdateDateTime"); } set { BackingStore?.Set("lastUpdateDateTime", value); } } - /// The priorityScore property + /// A priority score for the incident from 0 to 100, with > 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. public int? PriorityScore { get { return BackingStore?.Get("priorityScore"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs b/src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs index 84243674424..744f1df503a 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs @@ -32,5 +32,9 @@ public enum RemediationAction #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "moveToQuarantine")] + #pragma warning disable CS1591 + MoveToQuarantine, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/SettingsContainer.cs b/src/Microsoft.Graph/Generated/Models/Security/SettingsContainer.cs index e4b6b917593..a48a127503f 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/SettingsContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/SettingsContainer.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models.Security public partial class SettingsContainer : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// Represents automatic configuration for collection of Windows event logs as needed for Defender for Identity sensors. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration? AutoAuditingConfiguration + { + get { return BackingStore?.Get("autoAuditingConfiguration"); } + set { BackingStore?.Set("autoAuditingConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration AutoAuditingConfiguration + { + get { return BackingStore?.Get("autoAuditingConfiguration"); } + set { BackingStore?.Set("autoAuditingConfiguration", value); } + } +#endif /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -30,6 +46,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "autoAuditingConfiguration", n => { AutoAuditingConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration.CreateFromDiscriminatorValue); } }, }; } /// @@ -40,6 +57,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("autoAuditingConfiguration", AutoAuditingConfiguration); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/Zone.cs b/src/Microsoft.Graph/Generated/Models/Security/Zone.cs new file mode 100644 index 00000000000..84e3b1ace80 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Zone.cs @@ -0,0 +1,154 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Zone : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Aggregations + { + get { return BackingStore?.Get?>("aggregations"); } + set { BackingStore?.Set("aggregations", value); } + } +#nullable restore +#else + public List Aggregations + { + get { return BackingStore?.Get>("aggregations"); } + set { BackingStore?.Set("aggregations", value); } + } +#endif + /// Creation metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $filter=created/dateTime ge 2023-01-01T00:00:00Z. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.AuditInfo? Created + { + get { return BackingStore?.Get("created"); } + set { BackingStore?.Set("created", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.AuditInfo Created + { + get { return BackingStore?.Get("created"); } + set { BackingStore?.Set("created", value); } + } +#endif + /// Optional description of the zone. Up to 255 characters. Supports $filter (eq, contains). For example, $filter=contains(description, 'production'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// Human-readable name of the zone. Up to 1,024 characters. Supports $filter (eq, contains), and $orderby. For example, $filter=displayName eq 'Production Zone' or $orderby=displayName asc. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Collection of attached environments. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Environments + { + get { return BackingStore?.Get?>("environments"); } + set { BackingStore?.Set("environments", value); } + } +#nullable restore +#else + public List Environments + { + get { return BackingStore?.Get>("environments"); } + set { BackingStore?.Set("environments", value); } + } +#endif + /// Last modification metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $orderby=modified/dateTime desc. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.AuditInfo? Modified + { + get { return BackingStore?.Get("modified"); } + set { BackingStore?.Set("modified", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.AuditInfo Modified + { + get { return BackingStore?.Get("modified"); } + set { BackingStore?.Set("modified", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Zone CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Zone(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "aggregations", n => { Aggregations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.AggregatedEnvironment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "created", n => { Created = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.AuditInfo.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "environments", n => { Environments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject.CreateFromDiscriminatorValue)?.AsList(); } }, + { "modified", n => { Modified = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.AuditInfo.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("aggregations", Aggregations); + writer.WriteObjectValue("created", Created); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("environments", Environments); + writer.WriteObjectValue("modified", Modified); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/ZoneCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/ZoneCollectionResponse.cs new file mode 100644 index 00000000000..86d09d012a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ZoneCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ZoneCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.ZoneCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.ZoneCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.Zone.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs b/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs index 66017ee3f25..13fbd8809fc 100644 --- a/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs +++ b/src/Microsoft.Graph/Generated/Models/SelfServiceSignUp.cs @@ -82,6 +82,22 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } + /// The fraudProtectionDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.FraudProtectionDetails? FraudProtectionDetails + { + get { return BackingStore?.Get("fraudProtectionDetails"); } + set { BackingStore?.Set("fraudProtectionDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.FraudProtectionDetails FraudProtectionDetails + { + get { return BackingStore?.Get("fraudProtectionDetails"); } + set { BackingStore?.Set("fraudProtectionDetails", value); } + } +#endif /// Unique identifier for self-service sign-up user. Supports $filter (eq) on the signUpIdentifierType. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -175,6 +191,7 @@ public override IDictionary> GetFieldDeserializers() { "appliedEventListeners", n => { AppliedEventListeners = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AppliedAuthenticationEventListener.CreateFromDiscriminatorValue)?.AsList(); } }, { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "fraudProtectionDetails", n => { FraudProtectionDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.FraudProtectionDetails.CreateFromDiscriminatorValue); } }, { "signUpIdentity", n => { SignUpIdentity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SignUpIdentity.CreateFromDiscriminatorValue); } }, { "signUpIdentityProvider", n => { SignUpIdentityProvider = n.GetStringValue(); } }, { "signUpStage", n => { SignUpStage = n.GetEnumValue(); } }, @@ -195,6 +212,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("appliedEventListeners", AppliedEventListeners); writer.WriteStringValue("correlationId", CorrelationId); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteObjectValue("fraudProtectionDetails", FraudProtectionDetails); writer.WriteObjectValue("signUpIdentity", SignUpIdentity); writer.WriteStringValue("signUpIdentityProvider", SignUpIdentityProvider); writer.WriteEnumValue("signUpStage", SignUpStage); diff --git a/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs index 9c86b67ece0..b53558b6a5a 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class SharePointBrowseSession : global::Microsoft.Graph.Beta.Models.BrowseSessionBase, IParsable #pragma warning restore CS1591 { - /// The siteId property + /// Id of the backed-up SharePoint site. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SiteId diff --git a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs index f45713f0a08..add195513ca 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class SharePointRestoreSession : global::Microsoft.Graph.Beta.Models.RestoreSessionBase, IParsable #pragma warning restore CS1591 { - /// The granularSiteRestoreArtifacts property + /// A collection of browse session id and item key details that can be used to restore SharePoint files and folders. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? GranularSiteRestoreArtifacts diff --git a/src/Microsoft.Graph/Generated/Models/Site.cs b/src/Microsoft.Graph/Generated/Models/Site.cs index 7404cdd1eb9..5da8a448856 100644 --- a/src/Microsoft.Graph/Generated/Models/Site.cs +++ b/src/Microsoft.Graph/Generated/Models/Site.cs @@ -463,7 +463,7 @@ public bool? ShareByEmailEnabled set { BackingStore?.Set("sites", value); } } #endif - /// Specifies the template applied to the site. The possible values are: sitepagepublishing, group, sts, unknownFutureValue. + /// Specifies the template applied to the site. The possible values are: sitepagepublishing, sts, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.SiteTemplateType? Template { get { return BackingStore?.Get("template"); } diff --git a/src/Microsoft.Graph/Generated/Models/SiteTemplateType.cs b/src/Microsoft.Graph/Generated/Models/SiteTemplateType.cs index 1ebf4e3a134..75d68062022 100644 --- a/src/Microsoft.Graph/Generated/Models/SiteTemplateType.cs +++ b/src/Microsoft.Graph/Generated/Models/SiteTemplateType.cs @@ -12,10 +12,6 @@ public enum SiteTemplateType #pragma warning disable CS1591 Sitepagepublishing, #pragma warning restore CS1591 - [EnumMember(Value = "group")] - #pragma warning disable CS1591 - Group, - #pragma warning restore CS1591 [EnumMember(Value = "sts")] #pragma warning disable CS1591 Sts, diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.cs index 045b65dad9d..f1e37631a0c 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models.TeamsAdministration public partial class TeamsPolicyAssignment : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Navigation property to the collection of user policy assignments. + /// The collection of user policy assignments. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? UserAssignments diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.cs index 0de601758e5..5f720ccdf8d 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.cs @@ -28,7 +28,7 @@ public string PolicyId set { BackingStore?.Set("policyId", value); } } #endif - /// The type of Teams policy assigned or unassigned, such as TeamsMeetingBroadcastPolicy. + /// The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyType diff --git a/src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperation.cs b/src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperation.cs new file mode 100644 index 00000000000..f9661990e14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperation.cs @@ -0,0 +1,106 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.TenantGovernanceServices +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LongRunningOperation : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The lastActionDateTime property + public DateTimeOffset? LastActionDateTime + { + get { return BackingStore?.Get("lastActionDateTime"); } + set { BackingStore?.Set("lastActionDateTime", value); } + } + /// The resourceLocation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#nullable restore +#else + public string ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.TenantGovernanceServices.LongRunningOperationStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The statusDetail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StatusDetail + { + get { return BackingStore?.Get("statusDetail"); } + set { BackingStore?.Set("statusDetail", value); } + } +#nullable restore +#else + public string StatusDetail + { + get { return BackingStore?.Get("statusDetail"); } + set { BackingStore?.Set("statusDetail", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.TenantGovernanceServices.LongRunningOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TenantGovernanceServices.LongRunningOperation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastActionDateTime", n => { LastActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "resourceLocation", n => { ResourceLocation = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "statusDetail", n => { StatusDetail = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("lastActionDateTime", LastActionDateTime); + writer.WriteStringValue("resourceLocation", ResourceLocation); + writer.WriteEnumValue("status", Status); + writer.WriteStringValue("statusDetail", StatusDetail); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperationStatus.cs b/src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperationStatus.cs new file mode 100644 index 00000000000..5ce7fdcaa4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TenantGovernanceServices/LongRunningOperationStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.TenantGovernanceServices +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LongRunningOperationStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "running")] + #pragma warning disable CS1591 + Running, + #pragma warning restore CS1591 + [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 + Succeeded, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UsageAuthMethod.cs b/src/Microsoft.Graph/Generated/Models/UsageAuthMethod.cs index 64ae57fb6bd..970a2d95d19 100644 --- a/src/Microsoft.Graph/Generated/Models/UsageAuthMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/UsageAuthMethod.cs @@ -120,5 +120,9 @@ public enum UsageAuthMethod #pragma warning disable CS1591 PassKeySynced, #pragma warning restore CS1591 + [EnumMember(Value = "qrCode")] + #pragma warning disable CS1591 + QrCode, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/UsageRights.cs b/src/Microsoft.Graph/Generated/Models/UsageRights.cs index 9dc71f71c62..5e34a32ebaf 100644 --- a/src/Microsoft.Graph/Generated/Models/UsageRights.cs +++ b/src/Microsoft.Graph/Generated/Models/UsageRights.cs @@ -89,9 +89,13 @@ public enum UsageRights #pragma warning disable CS1591 Exception = 524288, #pragma warning restore CS1591 + [EnumMember(Value = "labelNotFoundException")] + #pragma warning disable CS1591 + LabelNotFoundException = 1048576, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 - UnknownFutureValue = 1048576, + UnknownFutureValue = 2097152, #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs new file mode 100644 index 00000000000..ed96d56352b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalRule.cs @@ -0,0 +1,95 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApprovalRule : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The Windows update deferral period in days. The value must be between 0 and 30. + public int? DeferralInDays + { + get { return BackingStore?.Get("deferralInDays"); } + set { BackingStore?.Set("deferralInDays", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApprovalRule() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.windowsUpdates.qualityUpdateApprovalRule" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateApprovalRule(), + "#microsoft.graph.windowsUpdates.recoveryApprovalRule" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryApprovalRule(), + _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "deferralInDays", n => { DeferralInDays = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("deferralInDays", DeferralInDays); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalStatus.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalStatus.cs new file mode 100644 index 00000000000..be03ef7ad6d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ApprovalStatus.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ApprovalStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "approved")] + #pragma warning disable CS1591 + Approved, + #pragma warning restore CS1591 + [EnumMember(Value = "suspended")] + #pragma warning disable CS1591 + Suspended, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/AssignedGroup.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/AssignedGroup.cs new file mode 100644 index 00000000000..60f3fbc4c18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/AssignedGroup.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedGroup : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The group property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Group? Group + { + get { return BackingStore?.Get("group"); } + set { BackingStore?.Set("group", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Group Group + { + get { return BackingStore?.Get("group"); } + set { BackingStore?.Set("group", value); } + } +#endif + /// The unique identifier for the group. Returned by default. Key. Not nullable. Read-only. Supports $filter (eq, ne, not, in). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GroupId + { + get { return BackingStore?.Get("groupId"); } + set { BackingStore?.Set("groupId", value); } + } +#nullable restore +#else + public string GroupId + { + get { return BackingStore?.Get("groupId"); } + set { BackingStore?.Set("groupId", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignedGroup() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.WindowsUpdates.AssignedGroup CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.AssignedGroup(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "group", n => { Group = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("group", Group); + writer.WriteStringValue("groupId", GroupId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/CatalogEntry.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/CatalogEntry.cs index ec877b6885e..c58b35ca436 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/CatalogEntry.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/CatalogEntry.cs @@ -54,6 +54,7 @@ public DateTimeOffset? ReleaseDateTime "#microsoft.graph.windowsUpdates.driverUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateCatalogEntry(), "#microsoft.graph.windowsUpdates.featureUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateCatalogEntry(), "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateCatalogEntry(), + "#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryUpdateCatalogEntry(), "#microsoft.graph.windowsUpdates.softwareUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateCatalogEntry(), _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry(), }; diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ExcludedGroupAssignment.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ExcludedGroupAssignment.cs new file mode 100644 index 00000000000..ff971a1a6e3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/ExcludedGroupAssignment.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExcludedGroupAssignment : global::Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment, IParsable + #pragma warning restore CS1591 + { + /// A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignments + { + get { return BackingStore?.Get?>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#nullable restore +#else + public List Assignments + { + get { return BackingStore?.Get>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExcludedGroupAssignment() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.excludedGroupAssignment"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.AssignedGroup.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("assignments", Assignments); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/GroupAssignment.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/GroupAssignment.cs new file mode 100644 index 00000000000..ffe103f74cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/GroupAssignment.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GroupAssignment : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public GroupAssignment() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.windowsUpdates.excludedGroupAssignment" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment(), + "#microsoft.graph.windowsUpdates.includedGroupAssignment" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment(), + _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/IncludedGroupAssignment.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/IncludedGroupAssignment.cs new file mode 100644 index 00000000000..6743f4ead4a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/IncludedGroupAssignment.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IncludedGroupAssignment : global::Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment, IParsable + #pragma warning restore CS1591 + { + /// A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Assignments + { + get { return BackingStore?.Get?>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#nullable restore +#else + public List Assignments + { + get { return BackingStore?.Get>("assignments"); } + set { BackingStore?.Set("assignments", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public IncludedGroupAssignment() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.includedGroupAssignment"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.AssignedGroup.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("assignments", Assignments); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs new file mode 100644 index 00000000000..7b5492a9c1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Policy.cs @@ -0,0 +1,175 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Policy : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Represents content applicable for offering to the related collection of devices. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ApplicableContent + { + get { return BackingStore?.Get?>("applicableContent"); } + set { BackingStore?.Set("applicableContent", value); } + } +#nullable restore +#else + public List ApplicableContent + { + get { return BackingStore?.Get>("applicableContent"); } + set { BackingStore?.Set("applicableContent", value); } + } +#endif + /// The approved rule of the policy that determines which published content matches the rule on an ongoing basis. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ApprovalRules + { + get { return BackingStore?.Get?>("approvalRules"); } + set { BackingStore?.Set("approvalRules", value); } + } +#nullable restore +#else + public List ApprovalRules + { + get { return BackingStore?.Get>("approvalRules"); } + set { BackingStore?.Set("approvalRules", value); } + } +#endif + /// Represents a set of quality updates policy approval types. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Approvals + { + get { return BackingStore?.Get?>("approvals"); } + set { BackingStore?.Set("approvals", value); } + } +#nullable restore +#else + public List Approvals + { + get { return BackingStore?.Get>("approvals"); } + set { BackingStore?.Set("approvals", value); } + } +#endif + /// The date and time when the policy is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The policy description. The maximum length is 1,500 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The policy display name. The maximum length is 200 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The date and time when the policy was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// Represents a set of deployment rings that contains update deployment settings. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Rings + { + get { return BackingStore?.Get?>("rings"); } + set { BackingStore?.Set("rings", value); } + } +#nullable restore +#else + public List Rings + { + get { return BackingStore?.Get>("rings"); } + set { BackingStore?.Set("rings", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.windowsUpdates.qualityUpdatePolicy" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdatePolicy(), + _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "applicableContent", n => { ApplicableContent = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "approvalRules", n => { ApprovalRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule.CreateFromDiscriminatorValue)?.AsList(); } }, + { "approvals", n => { Approvals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval.CreateFromDiscriminatorValue)?.AsList(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "rings", n => { Rings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("applicableContent", ApplicableContent); + writer.WriteCollectionOfObjectValues("approvalRules", ApprovalRules); + writer.WriteCollectionOfObjectValues("approvals", Approvals); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteCollectionOfObjectValues("rings", Rings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs new file mode 100644 index 00000000000..d5be21eb281 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApproval.cs @@ -0,0 +1,106 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyApproval : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The content that you can approve for deployment. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry? CatalogEntry + { + get { return BackingStore?.Get("catalogEntry"); } + set { BackingStore?.Set("catalogEntry", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry CatalogEntry + { + get { return BackingStore?.Get("catalogEntry"); } + set { BackingStore?.Set("catalogEntry", value); } + } +#endif + /// The catalog entry ID to approve. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CatalogEntryId + { + get { return BackingStore?.Get("catalogEntryId"); } + set { BackingStore?.Set("catalogEntryId", value); } + } +#nullable restore +#else + public string CatalogEntryId + { + get { return BackingStore?.Get("catalogEntryId"); } + set { BackingStore?.Set("catalogEntryId", value); } + } +#endif + /// The date and time the policy approval is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The date and time the policy approval was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The status property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "catalogEntry", n => { CatalogEntry = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue); } }, + { "catalogEntryId", n => { CatalogEntryId = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("catalogEntry", CatalogEntry); + writer.WriteStringValue("catalogEntryId", CatalogEntryId); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApprovalCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApprovalCollectionResponse.cs new file mode 100644 index 00000000000..38978bd0472 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyApprovalCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyApprovalCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApprovalCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApprovalCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyCollectionResponse.cs new file mode 100644 index 00000000000..a1a1e3ffbf2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/PolicyCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateApprovalRule.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateApprovalRule.cs new file mode 100644 index 00000000000..acbd78f10eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateApprovalRule.cs @@ -0,0 +1,69 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QualityUpdateApprovalRule : global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule, IParsable + #pragma warning restore CS1591 + { + /// The cadence property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateCadence? Cadence + { + get { return BackingStore?.Get("cadence"); } + set { BackingStore?.Set("cadence", value); } + } + /// The classification property + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateClassification? Classification + { + get { return BackingStore?.Get("classification"); } + set { BackingStore?.Set("classification", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public QualityUpdateApprovalRule() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.qualityUpdateApprovalRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateApprovalRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateApprovalRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "cadence", n => { Cadence = n.GetEnumValue(); } }, + { "classification", n => { Classification = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("cadence", Cadence); + writer.WriteEnumValue("classification", Classification); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdatePolicy.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdatePolicy.cs new file mode 100644 index 00000000000..38b9218bc9e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdatePolicy.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QualityUpdatePolicy : global::Microsoft.Graph.Beta.Models.WindowsUpdates.Policy, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public QualityUpdatePolicy() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.qualityUpdatePolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdatePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdatePolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateRing.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateRing.cs new file mode 100644 index 00000000000..a43e4480f78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/QualityUpdateRing.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QualityUpdateRing : global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring, IParsable + #pragma warning restore CS1591 + { + /// Identifies whether a hotpatch update is available. + public bool? IsHotpatchEnabled + { + get { return BackingStore?.Get("isHotpatchEnabled"); } + set { BackingStore?.Set("isHotpatchEnabled", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public QualityUpdateRing() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.qualityUpdateRing"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateRing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateRing(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isHotpatchEnabled", n => { IsHotpatchEnabled = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isHotpatchEnabled", IsHotpatchEnabled); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryApprovalRule.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryApprovalRule.cs new file mode 100644 index 00000000000..5fd5425d47f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryApprovalRule.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RecoveryApprovalRule : global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public RecoveryApprovalRule() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.recoveryApprovalRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryApprovalRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryApprovalRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryUpdateCatalogEntry.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryUpdateCatalogEntry.cs new file mode 100644 index 00000000000..76689872474 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RecoveryUpdateCatalogEntry.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RecoveryUpdateCatalogEntry : global::Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateCatalogEntry, IParsable + #pragma warning restore CS1591 + { + /// The catalog name. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CatalogName + { + get { return BackingStore?.Get("catalogName"); } + set { BackingStore?.Set("catalogName", value); } + } +#nullable restore +#else + public string CatalogName + { + get { return BackingStore?.Get("catalogName"); } + set { BackingStore?.Set("catalogName", value); } + } +#endif + /// A collection of product revisions associated with the update. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProductRevisions + { + get { return BackingStore?.Get?>("productRevisions"); } + set { BackingStore?.Set("productRevisions", value); } + } +#nullable restore +#else + public List ProductRevisions + { + get { return BackingStore?.Get>("productRevisions"); } + set { BackingStore?.Set("productRevisions", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RecoveryUpdateCatalogEntry() : base() + { + OdataType = "#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryUpdateCatalogEntry CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryUpdateCatalogEntry(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "catalogName", n => { CatalogName = n.GetStringValue(); } }, + { "productRevisions", n => { ProductRevisions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ProductRevision.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("catalogName", CatalogName); + writer.WriteCollectionOfObjectValues("productRevisions", ProductRevisions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs new file mode 100644 index 00000000000..6ff9cca855d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/Ring.cs @@ -0,0 +1,155 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Ring : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The date and time when the ring is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The quality update deferral period in days. The value must be between 0 and 30. Optional. + public int? DeferralInDays + { + get { return BackingStore?.Get("deferralInDays"); } + set { BackingStore?.Set("deferralInDays", value); } + } + /// The ring description. The maximum length is 1,500 characters. Required +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The ring display name. The maximum length is 200 characters. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The excludedGroupAssignment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment? ExcludedGroupAssignment + { + get { return BackingStore?.Get("excludedGroupAssignment"); } + set { BackingStore?.Set("excludedGroupAssignment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment ExcludedGroupAssignment + { + get { return BackingStore?.Get("excludedGroupAssignment"); } + set { BackingStore?.Set("excludedGroupAssignment", value); } + } +#endif + /// The includedGroupAssignment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment? IncludedGroupAssignment + { + get { return BackingStore?.Get("includedGroupAssignment"); } + set { BackingStore?.Set("includedGroupAssignment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment IncludedGroupAssignment + { + get { return BackingStore?.Get("includedGroupAssignment"); } + set { BackingStore?.Set("includedGroupAssignment", value); } + } +#endif + /// The pause action for the quality update ring policy. Required. + public bool? IsPaused + { + get { return BackingStore?.Get("isPaused"); } + set { BackingStore?.Set("isPaused", value); } + } + /// The date and time whenthe ring was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.windowsUpdates.qualityUpdateRing" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateRing(), + _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deferralInDays", n => { DeferralInDays = n.GetIntValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "excludedGroupAssignment", n => { ExcludedGroupAssignment = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment.CreateFromDiscriminatorValue); } }, + { "includedGroupAssignment", n => { IncludedGroupAssignment = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment.CreateFromDiscriminatorValue); } }, + { "isPaused", n => { IsPaused = n.GetBoolValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteIntValue("deferralInDays", DeferralInDays); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("excludedGroupAssignment", ExcludedGroupAssignment); + writer.WriteObjectValue("includedGroupAssignment", IncludedGroupAssignment); + writer.WriteBoolValue("isPaused", IsPaused); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RingCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RingCollectionResponse.cs new file mode 100644 index 00000000000..354681d4251 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/RingCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.WindowsUpdates +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RingCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RingCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RingCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsUpdates.Ring.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/SoftwareUpdateCatalogEntry.cs b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/SoftwareUpdateCatalogEntry.cs index 2c02b4c5a3e..63ad93d12dd 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUpdates/SoftwareUpdateCatalogEntry.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUpdates/SoftwareUpdateCatalogEntry.cs @@ -33,6 +33,7 @@ public SoftwareUpdateCatalogEntry() : base() "#microsoft.graph.windowsUpdates.driverUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateCatalogEntry(), "#microsoft.graph.windowsUpdates.featureUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.FeatureUpdateCatalogEntry(), "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateCatalogEntry(), + "#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry" => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryUpdateCatalogEntry(), _ => new global::Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateCatalogEntry(), }; } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs deleted file mode 100644 index 9d911db4306..00000000000 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ /dev/null @@ -1,161 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.Beta.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime -{ - /// - /// Provides operations to call the deviceReport method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Usage: endDateTime={endDateTime} - /// Path parameters for the request - /// The request adapter to use to execute the requests. - /// Usage: startDateTime={startDateTime} - public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - if (endDateTime != null) PathParameters.Add("endDateTime", endDateTime); - if (startDateTime != null) PathParameters.Add("startDateTime", startDateTime); - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function deviceReport - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function deviceReport - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function deviceReport - /// - /// A - /// 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(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function deviceReport - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// 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 - /// 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; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.cs similarity index 77% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.cs index b712736a496..d87fc207d21 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.cs @@ -7,11 +7,11 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class DeviceReportWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + public partial class DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable #pragma warning restore CS1591 { /// The value property @@ -33,12 +33,12 @@ public partial class DeviceReportWithStartDateTimeWithEndDateTimeGetResponse : g /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeGetResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.cs similarity index 51% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.cs index ef72318add4..31acd7d11b3 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.cs @@ -5,23 +5,23 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId { - [Obsolete("This class is obsolete. Use DeviceReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [Obsolete("This class is obsolete. Use DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse instead.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class DeviceReportWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeGetResponse, IParsable + public partial class DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse(); } } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.cs new file mode 100644 index 00000000000..23d1f3b720a --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.cs @@ -0,0 +1,171 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId +{ + /// + /// Provides operations to call the deviceReport method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId='@discoveredApplicationSegmentId'){?%24count,%24filter,%24search,%24skip,%24top,discoveredApplicationSegmentId*}", pathParameters) + { + if (endDateTime != null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime != null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId='@discoveredApplicationSegmentId'){?%24count,%24filter,%24search,%24skip,%24top,discoveredApplicationSegmentId*}", rawUrl) + { + } + /// + /// Invoke function deviceReport + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function deviceReport + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function deviceReport + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function deviceReport + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: discoveredApplicationSegmentId='@discoveredApplicationSegmentId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("discoveredApplicationSegmentId")] + public string? DiscoveredApplicationSegmentId { get; set; } +#nullable restore +#else + [QueryParameter("discoveredApplicationSegmentId")] + public string DiscoveredApplicationSegmentId { 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 + /// 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 + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs index 15108f185d2..776b5d247ed 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs @@ -4,7 +4,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId; @@ -122,14 +122,14 @@ public async Task DeleteAsync(Action /// Provides operations to call the deviceReport method. /// - /// A + /// A /// Usage: endDateTime={endDateTime} /// Usage: startDateTime={startDateTime} - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { if(ReferenceEquals(endDateTime, null)) throw new ArgumentNullException(nameof(endDateTime)); if(ReferenceEquals(startDateTime, null)) throw new ArgumentNullException(nameof(startDateTime)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// /// Provides operations to call the entitiesSummaries method. diff --git a/src/Microsoft.Graph/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilder.cs new file mode 100644 index 00000000000..c56df3a2843 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Identities/Settings/AutoAuditingConfiguration/AutoAuditingConfigurationRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration +{ + /// + /// Provides operations to manage the autoAuditingConfiguration property of the microsoft.graph.security.settingsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AutoAuditingConfigurationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AutoAuditingConfigurationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/settings/autoAuditingConfiguration{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AutoAuditingConfigurationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/identities/settings/autoAuditingConfiguration{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property autoAuditingConfiguration for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property autoAuditingConfiguration in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property autoAuditingConfiguration for security + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property autoAuditingConfiguration in security + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AutoAuditingConfigurationRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AutoAuditingConfigurationRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AutoAuditingConfigurationRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs index a89603dbe61..d2ba6da75d0 100644 --- a/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Identities/Settings/SettingsRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Security.Identities.Settings [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SettingsRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the autoAuditingConfiguration property of the microsoft.graph.security.settingsContainer entity. + public global::Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder AutoAuditingConfiguration + { + get => new global::Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -57,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get settings from security + /// Represents a container for security identities settings APIs. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get settings from security + /// Represents a container for security identities settings APIs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +188,7 @@ public partial class SettingsRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get settings from security + /// Represents a container for security identities settings APIs. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SettingsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index a63e16bb718..cf5d762a74b 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -35,6 +35,7 @@ using Microsoft.Graph.Beta.Security.TriggerTypes; using Microsoft.Graph.Beta.Security.Triggers; using Microsoft.Graph.Beta.Security.UserSecurityProfiles; +using Microsoft.Graph.Beta.Security.Zones; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -216,6 +217,11 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the zones property of the microsoft.graph.security entity. + public global::Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder Zones + { + get => new global::Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..41ebe016714 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/AggregationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/AggregationsRequestBuilder.cs new file mode 100644 index 00000000000..1484012e51c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/AggregationsRequestBuilder.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count; +using Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Item.Aggregations +{ + /// + /// Builds and executes requests for operations under \security\zones\{zone-id}\aggregations + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the aggregations property of the microsoft.graph.security.zone entity. + /// The unique identifier of aggregatedEnvironment + /// A + public global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("aggregatedEnvironment%2Dkind", position); + return new global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AggregationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AggregationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations", rawUrl) + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f44f5872c8e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilder.cs new file mode 100644 index 00000000000..0eea3ad2b4e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Item/Aggregations/Item/AggregatedEnvironmentKindItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item +{ + /// + /// Provides operations to manage the aggregations property of the microsoft.graph.security.zone entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedEnvironmentKindItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AggregatedEnvironmentKindItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations/{aggregatedEnvironment%2Dkind}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AggregatedEnvironmentKindItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations/{aggregatedEnvironment%2Dkind}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.AggregatedEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d20cd0464de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilder.cs new file mode 100644 index 00000000000..e00348e0290 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/EnvironmentsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count; +using Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Item.Environments +{ + /// + /// Provides operations to manage the environments property of the microsoft.graph.security.zone entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the environments property of the microsoft.graph.security.zone entity. + /// The unique identifier of environment + /// A + public global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("environment%2Did", position); + return new global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnvironmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnvironmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get all environment objects associated with a zone object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.EnvironmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create an environment object to attach it to a zone. You can create up to 1,000 environments per zone. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get all environment objects associated with a zone object. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create an environment object to attach it to a zone. You can create up to 1,000 environments per zone. + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.EnvironmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.EnvironmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get all environment objects associated with a zone object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentsRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilder.cs new file mode 100644 index 00000000000..85c4fe8339c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Item/Environments/Item/EnvironmentItemRequestBuilder.cs @@ -0,0 +1,175 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item +{ + /// + /// Provides operations to manage the environments property of the microsoft.graph.security.zone entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnvironmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments/{environment%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnvironmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments/{environment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete an environment object from a zone object by providing the environment ID. The environment ID should be URL-encoded. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of attached environments. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.EnvironmentObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete an environment object from a zone object by providing the environment ID. The environment ID should be URL-encoded. + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Collection of attached environments. Supports $expand. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of attached environments. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnvironmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/Item/ZoneItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/Item/ZoneItemRequestBuilder.cs new file mode 100644 index 00000000000..9ab043abb55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/Item/ZoneItemRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.Zones.Item.Aggregations; +using Microsoft.Graph.Beta.Security.Zones.Item.Environments; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones.Item +{ + /// + /// Provides operations to manage the zones property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZoneItemRequestBuilder : BaseRequestBuilder + { + /// The aggregations property + public global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.AggregationsRequestBuilder Aggregations + { + get => new global::Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.AggregationsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the environments property of the microsoft.graph.security.zone entity. + public global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.EnvironmentsRequestBuilder Environments + { + get => new global::Microsoft.Graph.Beta.Security.Zones.Item.Environments.EnvironmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ZoneItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ZoneItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a zone object by providing the zoneId. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a zone object by a specific zoneId. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.Zone.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a zone object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.Zone.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a zone object by providing the zoneId. + /// + /// A + /// 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 ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get a zone object by a specific zoneId. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a zone object. + /// + /// A + /// The request body + /// 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 ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZoneItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get a zone object by a specific zoneId. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZoneItemRequestBuilderGetQueryParameters + { + /// 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 + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZoneItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZoneItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Zones/ZonesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Zones/ZonesRequestBuilder.cs new file mode 100644 index 00000000000..fe9d3c133a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Zones/ZonesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.Zones.Count; +using Microsoft.Graph.Beta.Security.Zones.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Zones +{ + /// + /// Provides operations to manage the zones property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZonesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the zones property of the microsoft.graph.security entity. + /// The unique identifier of zone + /// A + public global::Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("zone%2Did", position); + return new global::Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ZonesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ZonesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/zones{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the zone objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.ZoneCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new zone object. You can create up to 1,000 zones per tenant. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.Zone.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the zone objects and their properties. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new zone object. You can create up to 1,000 zones per tenant. + /// + /// A + /// The request body + /// 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Zone body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the zone objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZonesRequestBuilderGetQueryParameters + { + /// 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; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZonesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ZonesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs index 97c98661caa..c30ef4ecdc2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs @@ -22,6 +22,22 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The classifyText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest? ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#endif /// The evaluationInput property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -96,6 +112,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "classifyText", n => { ClassifyText = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TextClassificationRequest.CreateFromDiscriminatorValue); } }, { "evaluationInput", n => { EvaluationInput = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpEvaluationInput.CreateFromDiscriminatorValue); } }, { "notificationInfo", n => { NotificationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpNotification.CreateFromDiscriminatorValue); } }, { "target", n => { Target = n.GetStringValue(); } }, @@ -108,6 +125,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("classifyText", ClassifyText); writer.WriteObjectValue("evaluationInput", EvaluationInput); writer.WriteObjectValue("notificationInfo", NotificationInfo); writer.WriteStringValue("target", Target); diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs index 87f57917c1e..9591be787c3 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs @@ -54,7 +54,8 @@ public BrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Get browseSessions from solutions + /// Get a list of the browseSessionBase objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public BrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BrowseSessionBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get browseSessions from solutions + /// Get a list of the browseSessionBase objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get browseSessions from solutions + /// Get a list of the browseSessionBase objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BrowseSessionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs index 1b3527a4a2a..559dc5251a3 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task DeleteAsync(Action - /// Get browseSessions from solutions + /// The list of browse sessions in the tenant. /// /// A /// Cancellation token to use when cancelling requests @@ -141,7 +141,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get browseSessions from solutions + /// The list of browse sessions in the tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public partial class BrowseSessionBaseItemRequestBuilderDeleteRequestConfigurati { } /// - /// Get browseSessions from solutions + /// The list of browse sessions in the tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BrowseSessionBaseItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs index d355990a1ed..7174342d246 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get oneDriveForBusinessBrowseSessions from solutions + /// Read the properties and relationships of oneDriveForBusinessBrowseSession object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get oneDriveForBusinessBrowseSessions from solutions + /// Read the properties and relationships of oneDriveForBusinessBrowseSession object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +183,7 @@ public partial class OneDriveForBusinessBrowseSessionItemRequestBuilderDeleteReq { } /// - /// Get oneDriveForBusinessBrowseSessions from solutions + /// Read the properties and relationships of oneDriveForBusinessBrowseSession object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs index b432489de04..7dba23bbec6 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs @@ -54,7 +54,8 @@ public OneDriveForBusinessBrowseSessionsRequestBuilder(string rawUrl, IRequestAd { } /// - /// Get oneDriveForBusinessBrowseSessions from solutions + /// Get a list of the oneDriveForBusinessBrowseSession objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,8 @@ public OneDriveForBusinessBrowseSessionsRequestBuilder(string rawUrl, IRequestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.OneDriveForBusinessBrowseSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + /// Create a new oneDriveForBusinessBrowseSession object. + /// Find more info here /// /// A /// The request body @@ -102,7 +104,7 @@ public OneDriveForBusinessBrowseSessionsRequestBuilder(string rawUrl, IRequestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get oneDriveForBusinessBrowseSessions from solutions + /// Get a list of the oneDriveForBusinessBrowseSession objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + /// Create a new oneDriveForBusinessBrowseSession object. /// /// A /// The request body @@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get oneDriveForBusinessBrowseSessions from solutions + /// Get a list of the oneDriveForBusinessBrowseSession objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs index 9b0b9e52c91..a59de139af1 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs @@ -54,7 +54,8 @@ public GranularDriveRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapte { } /// - /// Get granularDriveRestoreArtifacts from solutions + /// Get a list of the granularDriveRestoreArtifact objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public GranularDriveRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get granularDriveRestoreArtifacts from solutions + /// Get a list of the granularDriveRestoreArtifact objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get granularDriveRestoreArtifacts from solutions + /// Get a list of the granularDriveRestoreArtifact objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs index f67945cb461..76da9461300 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get granularDriveRestoreArtifacts from solutions + /// A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get granularDriveRestoreArtifacts from solutions + /// A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class GranularDriveRestoreArtifactItemRequestBuilderDeleteRequest { } /// - /// Get granularDriveRestoreArtifacts from solutions + /// A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs index 6ed36b80cc2..1fe73f6d953 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get sharePointBrowseSessions from solutions + /// Read the properties and relationships of sharePointBrowseSession object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get sharePointBrowseSessions from solutions + /// Read the properties and relationships of sharePointBrowseSession object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +183,7 @@ public partial class SharePointBrowseSessionItemRequestBuilderDeleteRequestConfi { } /// - /// Get sharePointBrowseSessions from solutions + /// Read the properties and relationships of sharePointBrowseSession object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointBrowseSessionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs index 98295191f61..d6ea3facdf0 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs @@ -54,7 +54,8 @@ public SharePointBrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Get sharePointBrowseSessions from solutions + /// Get a list of the sharePointBrowseSession objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,8 @@ public SharePointBrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SharePointBrowseSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to sharePointBrowseSessions for solutions + /// Create a new sharePointBrowseSession object. + /// Find more info here /// /// A /// The request body @@ -102,7 +104,7 @@ public SharePointBrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SharePointBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get sharePointBrowseSessions from solutions + /// Get a list of the sharePointBrowseSession objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to sharePointBrowseSessions for solutions + /// Create a new sharePointBrowseSession object. /// /// A /// The request body @@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get sharePointBrowseSessions from solutions + /// Get a list of the sharePointBrowseSession objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointBrowseSessionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs index d8d2d236acb..28af60ce776 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs @@ -54,7 +54,8 @@ public GranularSiteRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Get granularSiteRestoreArtifacts from solutions + /// Get a list of the granularSiteRestoreArtifact objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public GranularSiteRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get granularSiteRestoreArtifacts from solutions + /// Get a list of the granularSiteRestoreArtifact objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get granularSiteRestoreArtifacts from solutions + /// Get a list of the granularSiteRestoreArtifact objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs index dae3898b80f..e1252a36a5c 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get granularSiteRestoreArtifacts from solutions + /// A collection of browse session id and item key details that can be used to restore SharePoint files and folders. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get granularSiteRestoreArtifacts from solutions + /// A collection of browse session id and item key details that can be used to restore SharePoint files and folders. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class GranularSiteRestoreArtifactItemRequestBuilderDeleteRequestC { } /// - /// Get granularSiteRestoreArtifacts from solutions + /// A collection of browse session id and item key details that can be used to restore SharePoint files and folders. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs index 8f96f2c1214..5a65f393f11 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs @@ -98,7 +98,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.SharePointRestoreSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property sharePointRestoreSessions in solutions + /// Update the properties of a sharePointRestoreSession object. + /// Find more info here /// /// A /// The request body @@ -161,7 +162,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property sharePointRestoreSessions in solutions + /// Update the properties of a sharePointRestoreSession object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs index 6b3eef6f1a2..e24fecee7c0 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/SharePointRestoreSessionsRequestBuilder.cs @@ -77,7 +77,7 @@ public SharePointRestoreSessionsRequestBuilder(string rawUrl, IRequestAdapter re return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SharePointRestoreSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new sharePointRestoreSession object. + /// Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. /// Find more info here /// /// A @@ -122,7 +122,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new sharePointRestoreSession object. + /// Create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Delta/DeltaGetResponse.cs index 217eb054794..8bd7794e188 100644 --- a/src/Microsoft.Graph/Generated/Users/Delta/DeltaGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Users/Delta/DeltaGetResponse.cs @@ -16,16 +16,16 @@ public partial class DeltaGetResponse : global::Microsoft.Graph.Beta.Models.Base /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Value + public List? Value { - get { return BackingStore?.Get?>("value"); } + get { return BackingStore?.Get?>("value"); } set { BackingStore?.Set("value", value); } } #nullable restore #else - public List Value + public List Value { - get { return BackingStore?.Get>("value"); } + get { return BackingStore?.Get>("value"); } set { BackingStore?.Set("value", value); } } #endif @@ -47,7 +47,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue)?.AsList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,7 +58,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); + writer.WriteCollectionOfObjectValues("value", Value); } } } diff --git a/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs index 7f36b4132d4..1ba6c242e2e 100644 --- a/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs @@ -34,8 +34,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,8 +58,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs index 2f463f7de62..be959135870 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/DataLossPreventionPolicies/Evaluate/EvaluatePostRequestBody.cs @@ -22,6 +22,22 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The classifyText property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest? ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TextClassificationRequest ClassifyText + { + get { return BackingStore?.Get("classifyText"); } + set { BackingStore?.Set("classifyText", value); } + } +#endif /// The evaluationInput property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -96,6 +112,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "classifyText", n => { ClassifyText = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TextClassificationRequest.CreateFromDiscriminatorValue); } }, { "evaluationInput", n => { EvaluationInput = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpEvaluationInput.CreateFromDiscriminatorValue); } }, { "notificationInfo", n => { NotificationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DlpNotification.CreateFromDiscriminatorValue); } }, { "target", n => { Target = n.GetStringValue(); } }, @@ -108,6 +125,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("classifyText", ClassifyText); writer.WriteObjectValue("evaluationInput", EvaluationInput); writer.WriteObjectValue("notificationInfo", NotificationInfo); writer.WriteStringValue("target", Target); diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 54f4d666b94..4b14c5eccc7 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -514,6 +514,7 @@ Microsoft.Graph.Beta.Admin.adminRequestBuilder.adminRequestBuilderGetQueryParame Microsoft.Graph.Beta.Admin.adminRequestBuilder.adminRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.adminRequestBuilder.adminRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|appsAndServices:global.Microsoft.Graph.Beta.Admin.AppsAndServices.AppsAndServicesRequestBuilder +Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|cloudLicensing:global.Microsoft.Graph.Beta.Admin.CloudLicensing.CloudLicensingRequestBuilder Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|configurationManagement:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Admin.adminRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void @@ -550,50 +551,276 @@ Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|publi Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.AdminAppsAndServices; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.AppsAndServices.appsAndServicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.AppsAndServices.AppsAndServicesRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder.configurationApplicationsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::[ConfigurationApplicationId:string]:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplication -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.configurationApplicationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Count.CountRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder.ConfigurationApplicationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplication -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConfigurationApplication -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConfigurationApplication; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.Item.ConfigurationApplicationItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder.allotmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::[AllotmentId:string]:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AllotmentCollectionResponse +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.allotmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.AllotmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder.AllotmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder.AllotmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder.AllotmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder.AllotmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder.AllotmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|assignments:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.AssignmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|waitingMembers:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.WaitingMembersRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.AllotmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder::[AssignmentId:string]:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentCollectionResponse +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.assignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.AssignmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.Assignments.Item.AssignmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder.WaitingMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder.WaitingMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder.WaitingMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder.waitingMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder::[WaitingMemberId:string]:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Item.WaitingMemberItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMemberCollectionResponse +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.waitingMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.Item.WaitingMembers.WaitingMembersRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder.assignmentErrorsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::[AssignmentErrorId:string]:global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentErrorCollectionResponse +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.assignmentErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.AssignmentErrorsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder.assignedToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder.assignedToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder.assignedToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.assignedToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.AssignedToRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder.AssignmentErrorItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder.AssignmentErrorItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder.AssignmentErrorItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder.AssignmentErrorItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder.AssignmentErrorItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|assignedTo:global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignedTo.AssignedToRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|usageRight:global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.UsageRightRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.AssignmentErrorItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder.usageRightRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder.usageRightRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder.usageRightRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.usageRightRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.Item.UsageRight.UsageRightRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder.assignmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::[AssignmentId:string]:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentCollectionResponse +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|microsoftGraphCloudLicensingReprocessAssignments:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.assignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.AssignmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder.allotmentRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder.allotmentRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder.allotmentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.allotmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.AllotmentRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder.assignedToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder.assignedToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder.assignedToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.assignedToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.AssignedToRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder.AssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|allotment:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.Allotment.AllotmentRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|assignedTo:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignedTo.AssignedToRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.Item.AssignmentItemRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.microsoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.MicrosoftGraphCloudLicensingReprocessAssignments.MicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder.cloudLicensingRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder.cloudLicensingRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder.cloudLicensingRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder.cloudLicensingRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder.cloudLicensingRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|allotments:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Allotments.AllotmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|assignmentErrors:global.Microsoft.Graph.Beta.Admin.CloudLicensing.AssignmentErrors.AssignmentErrorsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|assignments:global.Microsoft.Graph.Beta.Admin.CloudLicensing.Assignments.AssignmentsRequestBuilder +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.CloudLicensing.cloudLicensingRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.CloudLicensing.CloudLicensingRequestBuilder Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -644,7 +871,6 @@ Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementReques Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationApplications:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationApplications.ConfigurationApplicationsRequestBuilder Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationDrifts:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationMonitoringResults:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder Microsoft.Graph.Beta.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationMonitors:global.Microsoft.Graph.Beta.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder @@ -3970,6 +4196,250 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.Item.DeploymentItemReques Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.Item.DeploymentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.Item.DeploymentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Deployment; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.Item.DeploymentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.Item.DeploymentItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder.applicableContentRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::[ApplicableContentCatalogEntryId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.applicableContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder.ApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder.ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder.ApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder.ApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder.ApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|catalogEntry:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|matchedDevices:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.MatchedDevicesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.ApplicableContentCatalogEntryItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.catalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder.ApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder.ApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder.ApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder.matchedDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::[ApplicableContentDeviceMatchDeviceId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Item.ApplicableContentDeviceMatchDeviceItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatchCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatch; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.matchedDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.Item.MatchedDevices.MatchedDevicesRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder.approvalsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::[PolicyApprovalId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApprovalCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.approvalsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.ApprovalsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder.catalogEntryRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.catalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder.PolicyApprovalItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder.PolicyApprovalItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder.PolicyApprovalItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder.PolicyApprovalItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder.PolicyApprovalItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|catalogEntry:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.CatalogEntry.CatalogEntryRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.Item.PolicyApprovalItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder.PolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|applicableContent:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableContent.ApplicableContentRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|approvals:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Approvals.ApprovalsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|rings:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.RingsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder.RingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder.RingItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder.RingItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder.RingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder.RingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder.ringsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::[RingId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Item.RingItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.RingCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.ringsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.Rings.RingsRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder.policiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::[PolicyId:string]:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.PolicyItemRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyCollectionResponse +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.policiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.Products.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.Products.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Admin.Windows.Updates.Products.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -5140,6 +5610,7 @@ Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|deploy Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|deployments:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Deployments.DeploymentsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdminWindowsUpdates Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.AdminWindowsUpdates; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AdminWindowsUpdates +Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|policies:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.PoliciesRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|products:global.Microsoft.Graph.Beta.Admin.Windows.Updates.Products.ProductsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|resourceConnections:global.Microsoft.Graph.Beta.Admin.Windows.Updates.ResourceConnections.ResourceConnectionsRequestBuilder Microsoft.Graph.Beta.Admin.Windows.Updates.updatesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -96305,6 +96776,7 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreven Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.dataLossPreventionPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|ClassifyText:global.Microsoft.Graph.Beta.Models.TextClassificationRequest Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|EvaluationInput:global.Microsoft.Graph.Beta.Models.DlpEvaluationInput Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():IDictionary> @@ -124954,6 +125426,7 @@ Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagem Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|controlConfigurations:global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|externalOriginResourceConnectors:global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EntitlementManagement Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EntitlementManagement; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EntitlementManagement Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|settings:global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder @@ -124963,6 +125436,50 @@ Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagem Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EntitlementManagement; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.EntitlementManagementRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder.externalOriginResourceConnectorsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::[ExternalOriginResourceConnectorId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnectorCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.externalOriginResourceConnectorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.ExternalOriginResourceConnectorsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder.ExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder.ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder.ExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder.ExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder.ExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.ExternalOriginResourceConnectors.Item.ExternalOriginResourceConnectorItemRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder.settingsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder.settingsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -131584,6 +132101,7 @@ Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.dataLossPr Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.dataLossPreventionPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|ClassifyText:global.Microsoft.Graph.Beta.Models.TextClassificationRequest Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|EvaluationInput:global.Microsoft.Graph.Beta.Models.DlpEvaluationInput Microsoft.Graph.Beta.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():IDictionary> @@ -141052,6 +141570,7 @@ Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.dataLos Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.dataLossPreventionPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|ClassifyText:global.Microsoft.Graph.Beta.Models.TextClassificationRequest Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|EvaluationInput:global.Microsoft.Graph.Beta.Models.DlpEvaluationInput Microsoft.Graph.Beta.Me.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():IDictionary> @@ -155820,6 +156339,7 @@ Microsoft.Graph.Beta.Models.adhocCallCollectionResponse::|static|public|CreateFr Microsoft.Graph.Beta.Models.admin::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.admin::|public|AppsAndServices:global.Microsoft.Graph.Beta.Models.AdminAppsAndServices Microsoft.Graph.Beta.Models.admin::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.admin::|public|CloudLicensing:global.Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing Microsoft.Graph.Beta.Models.admin::|public|ConfigurationManagement:global.Microsoft.Graph.Beta.Models.ConfigurationManagement Microsoft.Graph.Beta.Models.admin::|public|constructor():void Microsoft.Graph.Beta.Models.admin::|public|Dynamics:global.Microsoft.Graph.Beta.Models.AdminDynamics @@ -155935,6 +156455,7 @@ Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|DeploymentAudiences:Lis Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Deployments:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|OdataType:string +Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Policies:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Products:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|ResourceConnections:List Microsoft.Graph.Beta.Models.adminWindowsUpdates::|public|Serialize(writer:ISerializationWriter):void @@ -156194,6 +156715,10 @@ Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|OdataType:s Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|Sponsors:List Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AgentIdentityBlueprintPrincipal +Microsoft.Graph.Beta.Models.agentIdentityType::0000-agentIdentity +Microsoft.Graph.Beta.Models.agentIdentityType::0001-agentUser +Microsoft.Graph.Beta.Models.agentIdentityType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.agentIdentityType::0003-agentIdentityBlueprintPrincipal Microsoft.Graph.Beta.Models.agentIdRiskLevel::0000-none Microsoft.Graph.Beta.Models.agentIdRiskLevel::0001-low Microsoft.Graph.Beta.Models.agentIdRiskLevel::0002-medium @@ -156265,6 +156790,7 @@ Microsoft.Graph.Beta.Models.agentRiskDetection::|public|AgentId:string Microsoft.Graph.Beta.Models.agentRiskDetection::|public|DetectedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.agentRiskDetection::|public|DetectionTimingType:global.Microsoft.Graph.Beta.Models.RiskDetectionTimingType? Microsoft.Graph.Beta.Models.agentRiskDetection::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.agentRiskDetection::|public|IdentityType:global.Microsoft.Graph.Beta.Models.AgentIdentityType? Microsoft.Graph.Beta.Models.agentRiskDetection::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.agentRiskDetection::|public|OdataType:string Microsoft.Graph.Beta.Models.agentRiskDetection::|public|RiskDetail:global.Microsoft.Graph.Beta.Models.RiskDetail? @@ -159543,6 +160069,7 @@ Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|const Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|IdentifierUris:global.Microsoft.Graph.Beta.Models.IdentifierUriConfiguration Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|RedirectUris:global.Microsoft.Graph.Beta.Models.RedirectUriConfiguration Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AppManagementApplicationConfiguration Microsoft.Graph.Beta.Models.appManagementConfiguration::|public|AdditionalData:IDictionary @@ -165030,16 +165557,6 @@ Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|public|GetFieldDes Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|public|OdataType:string Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.clientCertificateAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ClientCertificateAuthentication -Microsoft.Graph.Beta.Models.clientCredentials::|public|AdditionalData:IDictionary -Microsoft.Graph.Beta.Models.clientCredentials::|public|BackingStore:IBackingStore -Microsoft.Graph.Beta.Models.clientCredentials::|public|CertificateName:string -Microsoft.Graph.Beta.Models.clientCredentials::|public|constructor():void -Microsoft.Graph.Beta.Models.clientCredentials::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.clientCredentials::|public|KeyVaultUri:string -Microsoft.Graph.Beta.Models.clientCredentials::|public|OdataType:string -Microsoft.Graph.Beta.Models.clientCredentials::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.clientCredentials::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ClientCredentials -Microsoft.Graph.Beta.Models.clientCredentials~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.clientCredentialType::0000-none Microsoft.Graph.Beta.Models.clientCredentialType::0001-clientSecret Microsoft.Graph.Beta.Models.clientCredentialType::0002-clientAssertion @@ -165292,12 +165809,69 @@ Microsoft.Graph.Beta.Models.cloudFlareWebApplicationFirewallProvider::|public|Od Microsoft.Graph.Beta.Models.cloudFlareWebApplicationFirewallProvider::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudFlareWebApplicationFirewallProvider::|public|ZoneId:string Microsoft.Graph.Beta.Models.cloudFlareWebApplicationFirewallProvider::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudFlareWebApplicationFirewallProvider +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing::|public|Allotments:List +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing::|public|AssignmentErrors:List +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing::|public|Assignments:List +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing::|public|OdataType:string +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.adminCloudLicensing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.AdminCloudLicensing +Microsoft.Graph.Beta.Models.CloudLicensing.allotment-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|AllottedUnits:int? +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|AssignableTo:global.Microsoft.Graph.Beta.Models.CloudLicensing.AssigneeTypes? +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|Assignments:List +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|ConsumedUnits:int? +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|OdataType:string +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|Services:List +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|SkuId:Guid? +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|SkuPartNumber:string +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|Subscriptions:List +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|public|WaitingMembers:List +Microsoft.Graph.Beta.Models.CloudLicensing.allotment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment +Microsoft.Graph.Beta.Models.CloudLicensing.allotmentCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.CloudLicensing.allotmentCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.allotmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.allotmentCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.CloudLicensing.allotmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.AllotmentCollectionResponse Microsoft.Graph.Beta.Models.CloudLicensing.assigneeTypes::0000-none Microsoft.Graph.Beta.Models.CloudLicensing.assigneeTypes::0001-user Microsoft.Graph.Beta.Models.CloudLicensing.assigneeTypes::0002-group Microsoft.Graph.Beta.Models.CloudLicensing.assigneeTypes::0003-device Microsoft.Graph.Beta.Models.CloudLicensing.assigneeTypes::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.CloudLicensing.assignment-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.CloudLicensing.assignment::|public|Allotment:global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment +Microsoft.Graph.Beta.Models.CloudLicensing.assignment::|public|AssignedTo:global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.CloudLicensing.assignment::|public|DisabledServicePlanIds:List +Microsoft.Graph.Beta.Models.CloudLicensing.assignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.assignment::|public|OdataType:string +Microsoft.Graph.Beta.Models.CloudLicensing.assignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.assignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.Assignment +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentCollectionResponse +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|AssignedTo:global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|Code:string +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|Message:string +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|OccurrenceDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|OdataType:string +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|SkuId:Guid? +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|public|UsageRight:global.Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentError +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentErrorCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentErrorCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentErrorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentErrorCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.CloudLicensing.assignmentErrorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.AssignmentErrorCollectionResponse Microsoft.Graph.Beta.Models.CloudLicensing.groupCloudLicensing::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.CloudLicensing.groupCloudLicensing::|public|Assignments:List Microsoft.Graph.Beta.Models.CloudLicensing.groupCloudLicensing::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.CloudLicensing.groupCloudLicensing::|public|constructor():void Microsoft.Graph.Beta.Models.CloudLicensing.groupCloudLicensing::|public|GetFieldDeserializers():IDictionary> @@ -165317,7 +165891,31 @@ Microsoft.Graph.Beta.Models.CloudLicensing.service::|public|PlanName:string Microsoft.Graph.Beta.Models.CloudLicensing.service::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.CloudLicensing.service::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.Service Microsoft.Graph.Beta.Models.CloudLicensing.service~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|constructor():void +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|NextLifecycleDate:Date? +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|OdataType:string +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|StartDate:Date? +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|State:global.Microsoft.Graph.Beta.Models.CloudLicensing.SubscriptionState? +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|SubscriptionId:string +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|public|Tags:global.Microsoft.Graph.Beta.Models.CloudLicensing.SubscriptionTags? +Microsoft.Graph.Beta.Models.CloudLicensing.subscription::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.Subscription +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionState::0000-active +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionState::0001-warning +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionState::0002-suspended +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionState::0003-lockedOut +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionState::0004-deleted +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionState::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionTags::0000-none +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionTags::0001-trial +Microsoft.Graph.Beta.Models.CloudLicensing.subscriptionTags::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.CloudLicensing.subscription~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.CloudLicensing.usageRight-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|public|Allotments:List +Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|public|Assignments:List Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|public|OdataType:string Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|public|Serialize(writer:ISerializationWriter):void @@ -165326,14 +165924,30 @@ Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|public|SkuId:Guid? Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|public|SkuPartNumber:string Microsoft.Graph.Beta.Models.CloudLicensing.usageRight::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.UsageRight Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|AssignmentErrors:List +Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|Assignments:List Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|constructor():void Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|OdataType:string Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|UsageRights:List +Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|public|WaitingMembers:List Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.UserCloudLicensing Microsoft.Graph.Beta.Models.CloudLicensing.userCloudLicensing~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember::|public|Allotment:global.Microsoft.Graph.Beta.Models.CloudLicensing.Allotment +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember::|public|AssignedTo:global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember::|public|OdataType:string +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember::|public|WaitingSinceDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMember::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMember +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMemberCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMemberCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMemberCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.CloudLicensing.waitingMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudLicensing.WaitingMemberCollectionResponse Microsoft.Graph.Beta.Models.cloudPC-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.cloudPC::|public|AadDeviceId:string Microsoft.Graph.Beta.Models.cloudPC::|public|AllotmentDisplayName:string @@ -165793,6 +166407,8 @@ Microsoft.Graph.Beta.Models.cloudPcDeviceImageErrorCode::0009-sourceImageSizeExc Microsoft.Graph.Beta.Models.cloudPcDeviceImageErrorCode::0010-sourceImageWithDataDiskNotSupported Microsoft.Graph.Beta.Models.cloudPcDeviceImageErrorCode::0011-sourceImageWithDiskEncryptionSetNotSupported Microsoft.Graph.Beta.Models.cloudPcDeviceImageErrorCode::0012-sourceImageWithAzureDiskEncryptionNotSupported +Microsoft.Graph.Beta.Models.cloudPcDeviceImageErrorCode::0013-fSLogixInstalledSourceImageNotSupported +Microsoft.Graph.Beta.Models.cloudPcDeviceImageErrorCode::0014-startMenuAppLimitExceeded Microsoft.Graph.Beta.Models.cloudPcDeviceImageOsStatus::0000-supported Microsoft.Graph.Beta.Models.cloudPcDeviceImageOsStatus::0001-supportedWithWarning Microsoft.Graph.Beta.Models.cloudPcDeviceImageOsStatus::0002-unknown @@ -166628,6 +167244,7 @@ Microsoft.Graph.Beta.Models.cloudPcReportName::0024-troubleshootIssueCountReport Microsoft.Graph.Beta.Models.cloudPcReportName::0025-cloudPcInsightReport Microsoft.Graph.Beta.Models.cloudPcReportName::0026-regionalInaccessibleCloudPcTrendReport Microsoft.Graph.Beta.Models.cloudPcReportName::0027-cloudPcUsageCategoryReport +Microsoft.Graph.Beta.Models.cloudPcReportName::0028-cloudPCInventoryReport Microsoft.Graph.Beta.Models.cloudPcReports-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.cloudPcReports::|public|ExportJobs:List Microsoft.Graph.Beta.Models.cloudPcReports::|public|GetFieldDeserializers():IDictionary> @@ -166787,6 +167404,7 @@ Microsoft.Graph.Beta.Models.cloudPcSnapshotType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcSnapshotType::0003-retention Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|Category:global.Microsoft.Graph.Beta.Models.CloudPcSourceImageCategory? Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|constructor():void Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|DisplayName:string Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|GetFieldDeserializers():IDictionary> @@ -166798,6 +167416,9 @@ Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|SubscriptionDispla Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|public|SubscriptionId:string Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcSourceDeviceImage Microsoft.Graph.Beta.Models.cloudPcSourceDeviceImage~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcSourceImageCategory::0000-managedImage +Microsoft.Graph.Beta.Models.cloudPcSourceImageCategory::0001-azureComputeGallery +Microsoft.Graph.Beta.Models.cloudPcSourceImageCategory::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcStatus::0000-notProvisioned Microsoft.Graph.Beta.Models.cloudPcStatus::0001-provisioning Microsoft.Graph.Beta.Models.cloudPcStatus::0002-provisioned @@ -166813,7 +167434,8 @@ Microsoft.Graph.Beta.Models.cloudPcStatus::0011-movingRegion Microsoft.Graph.Beta.Models.cloudPcStatus::0012-resizePendingLicense Microsoft.Graph.Beta.Models.cloudPcStatus::0013-updatingSingleSignOn Microsoft.Graph.Beta.Models.cloudPcStatus::0014-modifyingSingleSignOn -Microsoft.Graph.Beta.Models.cloudPcStatus::0015-preparing +Microsoft.Graph.Beta.Models.cloudPcStatus::0015-refreshPolicyConfiguration +Microsoft.Graph.Beta.Models.cloudPcStatus::0016-preparing Microsoft.Graph.Beta.Models.cloudPcStatusDetail::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.cloudPcStatusDetail::|public|AdditionalInformation:List Microsoft.Graph.Beta.Models.cloudPcStatusDetail::|public|BackingStore:IBackingStore @@ -168031,26 +168653,6 @@ Microsoft.Graph.Beta.Models.configuration::|public|GetFieldDeserializers():IDict Microsoft.Graph.Beta.Models.configuration::|public|OdataType:string Microsoft.Graph.Beta.Models.configuration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.configuration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Configuration -Microsoft.Graph.Beta.Models.configurationApplication-->global.Microsoft.Graph.Beta.Models.Entity -Microsoft.Graph.Beta.Models.configurationApplication::|public|AppId:string -Microsoft.Graph.Beta.Models.configurationApplication::|public|AppOwnerOrganizationId:string -Microsoft.Graph.Beta.Models.configurationApplication::|public|ClientCredentials:global.Microsoft.Graph.Beta.Models.ClientCredentials -Microsoft.Graph.Beta.Models.configurationApplication::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet -Microsoft.Graph.Beta.Models.configurationApplication::|public|CreatedDateTime:DateTimeOffset? -Microsoft.Graph.Beta.Models.configurationApplication::|public|Description:string -Microsoft.Graph.Beta.Models.configurationApplication::|public|DisplayName:string -Microsoft.Graph.Beta.Models.configurationApplication::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.configurationApplication::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet -Microsoft.Graph.Beta.Models.configurationApplication::|public|LastModifiedDateTime:DateTimeOffset? -Microsoft.Graph.Beta.Models.configurationApplication::|public|OdataType:string -Microsoft.Graph.Beta.Models.configurationApplication::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.configurationApplication::|public|TenantId:string -Microsoft.Graph.Beta.Models.configurationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationApplication -Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|public|Value:List -Microsoft.Graph.Beta.Models.configurationApplicationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationApplicationCollectionResponse Microsoft.Graph.Beta.Models.configurationBaseline-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.configurationBaseline::|public|Description:string Microsoft.Graph.Beta.Models.configurationBaseline::|public|DisplayName:string @@ -168084,7 +168686,6 @@ Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse::|public|Serial Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.configurationDriftCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationDriftCollectionResponse Microsoft.Graph.Beta.Models.configurationManagement-->global.Microsoft.Graph.Beta.Models.Entity -Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationApplications:List Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationDrifts:List Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationMonitoringResults:List Microsoft.Graph.Beta.Models.configurationManagement::|public|ConfigurationMonitors:List @@ -168187,8 +168788,6 @@ Microsoft.Graph.Beta.Models.configurationMonitor::|public|Mode:global.Microsoft. Microsoft.Graph.Beta.Models.configurationMonitor::|public|MonitorRunFrequencyInHours:int? Microsoft.Graph.Beta.Models.configurationMonitor::|public|OdataType:string Microsoft.Graph.Beta.Models.configurationMonitor::|public|Parameters:global.Microsoft.Graph.Beta.Models.OpenComplexDictionaryType -Microsoft.Graph.Beta.Models.configurationMonitor::|public|RunAsUTCMServicePrincipal:bool? -Microsoft.Graph.Beta.Models.configurationMonitor::|public|RunningOnBehalfOf:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.configurationMonitor::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.configurationMonitor::|public|Status:global.Microsoft.Graph.Beta.Models.MonitorStatus? Microsoft.Graph.Beta.Models.configurationMonitor::|public|TenantId:string @@ -168200,7 +168799,6 @@ Microsoft.Graph.Beta.Models.configurationMonitorCollectionResponse::|public|Valu Microsoft.Graph.Beta.Models.configurationMonitorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationMonitorCollectionResponse Microsoft.Graph.Beta.Models.configurationMonitoringResult-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|DriftsCount:int? -Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|DriftsFixed:int? Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|ErrorDetails:List Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|MonitorId:string @@ -168208,7 +168806,6 @@ Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|OdataType:str Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|RunCompletionDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|RunInitiationDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|RunStatus:global.Microsoft.Graph.Beta.Models.MonitorRunStatus? -Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|RunType:global.Microsoft.Graph.Beta.Models.MonitorRunType? Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.configurationMonitoringResult::|public|TenantId:string Microsoft.Graph.Beta.Models.configurationMonitoringResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConfigurationMonitoringResult @@ -168965,11 +169562,13 @@ Microsoft.Graph.Beta.Models.copilotPackage::|public|Serialize(writer:ISerializat Microsoft.Graph.Beta.Models.copilotPackage::|public|ShortDescription:string Microsoft.Graph.Beta.Models.copilotPackage::|public|SupportedHosts:List Microsoft.Graph.Beta.Models.copilotPackage::|public|Type:global.Microsoft.Graph.Beta.Models.PackageType? +Microsoft.Graph.Beta.Models.copilotPackage::|public|ZipFile:byte[] Microsoft.Graph.Beta.Models.copilotPackage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPackage Microsoft.Graph.Beta.Models.copilotPackageDetail-->global.Microsoft.Graph.Beta.Models.CopilotPackage Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|AcquireUsersAndGroups:List Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|AllowedUsersAndGroups:List Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|Categories:List +Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|constructor():void Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|ElementDetails:List Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|LongDescription:string @@ -169483,6 +170082,7 @@ Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration::|public Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration::|public|IdentifierUris:global.Microsoft.Graph.Beta.Models.IdentifierUriConfiguration Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration::|public|RedirectUris:global.Microsoft.Graph.Beta.Models.RedirectUriConfiguration Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomAppManagementApplicationConfiguration Microsoft.Graph.Beta.Models.customAppManagementApplicationConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable @@ -178204,6 +178804,7 @@ Microsoft.Graph.Beta.Models.entitlementManagement::|public|AssignmentRequests:Li Microsoft.Graph.Beta.Models.entitlementManagement::|public|AvailableAccessPackages:List Microsoft.Graph.Beta.Models.entitlementManagement::|public|ConnectedOrganizations:List Microsoft.Graph.Beta.Models.entitlementManagement::|public|ControlConfigurations:List +Microsoft.Graph.Beta.Models.entitlementManagement::|public|ExternalOriginResourceConnectors:List Microsoft.Graph.Beta.Models.entitlementManagement::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.entitlementManagement::|public|OdataType:string Microsoft.Graph.Beta.Models.entitlementManagement::|public|Serialize(writer:ISerializationWriter):void @@ -179408,6 +180009,11 @@ Microsoft.Graph.Beta.Models.externalOriginResourceConnector::|public|ModifiedDat Microsoft.Graph.Beta.Models.externalOriginResourceConnector::|public|OdataType:string Microsoft.Graph.Beta.Models.externalOriginResourceConnector::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.externalOriginResourceConnector::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnector +Microsoft.Graph.Beta.Models.externalOriginResourceConnectorCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.externalOriginResourceConnectorCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.externalOriginResourceConnectorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.externalOriginResourceConnectorCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.externalOriginResourceConnectorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExternalOriginResourceConnectorCollectionResponse Microsoft.Graph.Beta.Models.externalProfile-->global.Microsoft.Graph.Beta.Models.DirectoryObject Microsoft.Graph.Beta.Models.externalProfile::|public|Address:global.Microsoft.Graph.Beta.Models.PhysicalOfficeAddress Microsoft.Graph.Beta.Models.externalProfile::|public|CompanyName:string @@ -180191,6 +180797,21 @@ Microsoft.Graph.Beta.Models.fraudProtectionConfiguration::|public|OdataType:stri Microsoft.Graph.Beta.Models.fraudProtectionConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.fraudProtectionConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FraudProtectionConfiguration Microsoft.Graph.Beta.Models.fraudProtectionConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|ProviderErrorMessages:List +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|ProviderHttpStatusCodes:List +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|ProviderName:string +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|ProviderResponseTimes:List +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|ProviderSessionId:string +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|Reason:string +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|public|Verdict:string +Microsoft.Graph.Beta.Models.fraudProtectionDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FraudProtectionDetails +Microsoft.Graph.Beta.Models.fraudProtectionDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.fraudProtectionProvider-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.fraudProtectionProvider::|public|DisplayName:string Microsoft.Graph.Beta.Models.fraudProtectionProvider::|public|GetFieldDeserializers():IDictionary> @@ -191710,19 +192331,12 @@ Microsoft.Graph.Beta.Models.modifiedProperty::|public|OldValue:string Microsoft.Graph.Beta.Models.modifiedProperty::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.modifiedProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ModifiedProperty Microsoft.Graph.Beta.Models.modifiedProperty~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Beta.Models.monitorMode::0000-monitorOnce -Microsoft.Graph.Beta.Models.monitorMode::0001-monitorOnly -Microsoft.Graph.Beta.Models.monitorMode::0002-applyOnceAndMonitorContinuous -Microsoft.Graph.Beta.Models.monitorMode::0003-applyOnce -Microsoft.Graph.Beta.Models.monitorMode::0004-applyContinuous -Microsoft.Graph.Beta.Models.monitorMode::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.monitorMode::0000-monitorOnly +Microsoft.Graph.Beta.Models.monitorMode::0001-unknownFutureValue Microsoft.Graph.Beta.Models.monitorRunStatus::0000-successful Microsoft.Graph.Beta.Models.monitorRunStatus::0001-partiallySuccessful Microsoft.Graph.Beta.Models.monitorRunStatus::0002-failed Microsoft.Graph.Beta.Models.monitorRunStatus::0003-unknownFutureValue -Microsoft.Graph.Beta.Models.monitorRunType::0000-monitor -Microsoft.Graph.Beta.Models.monitorRunType::0001-apply -Microsoft.Graph.Beta.Models.monitorRunType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.monitorStatus::0000-active Microsoft.Graph.Beta.Models.monitorStatus::0001-inactive Microsoft.Graph.Beta.Models.monitorStatus::0002-unknownFutureValue @@ -194891,6 +195505,36 @@ Microsoft.Graph.Beta.Models.onOtpSendHandler::|public|OdataType:string Microsoft.Graph.Beta.Models.onOtpSendHandler::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.onOtpSendHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnOtpSendHandler Microsoft.Graph.Beta.Models.onOtpSendHandler~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler-->global.Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|public|Configuration:global.Microsoft.Graph.Beta.Models.CustomExtensionOverwriteConfiguration +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|public|CustomExtension:global.Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|public|MigrationPropertyId:string +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordMigrationCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordMigrationCustomExtensionHandler +Microsoft.Graph.Beta.Models.onPasswordSubmitCustomExtension-->global.Microsoft.Graph.Beta.Models.CustomAuthenticationExtension +Microsoft.Graph.Beta.Models.onPasswordSubmitCustomExtension::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordSubmitCustomExtension::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordSubmitCustomExtension::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordSubmitCustomExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordSubmitCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordSubmitCustomExtension +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler +Microsoft.Graph.Beta.Models.onPasswordSubmitHandler~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.onPasswordSubmitListener-->global.Microsoft.Graph.Beta.Models.AuthenticationEventListener +Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|constructor():void +Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|Handler:global.Microsoft.Graph.Beta.Models.OnPasswordSubmitHandler +Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|OdataType:string +Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.onPasswordSubmitListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPasswordSubmitListener Microsoft.Graph.Beta.Models.onPhoneMethodLoadStartExternalUsersAuthHandler-->global.Microsoft.Graph.Beta.Models.OnPhoneMethodLoadStartHandler Microsoft.Graph.Beta.Models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|constructor():void Microsoft.Graph.Beta.Models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|GetFieldDeserializers():IDictionary> @@ -201263,6 +201907,7 @@ Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|IsEnabled:bool? Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|OffboardRequestedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|ProtectionMode:global.Microsoft.Graph.Beta.Models.BackupPolicyProtectionMode? Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|ProtectionPolicyArtifactCount:global.Microsoft.Graph.Beta.Models.ProtectionPolicyArtifactCount Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|RetentionSettings:List @@ -201280,6 +201925,8 @@ Microsoft.Graph.Beta.Models.protectionPolicyStatus::0002-updating Microsoft.Graph.Beta.Models.protectionPolicyStatus::0003-active Microsoft.Graph.Beta.Models.protectionPolicyStatus::0004-unknownFutureValue Microsoft.Graph.Beta.Models.protectionPolicyStatus::0005-dormant +Microsoft.Graph.Beta.Models.protectionPolicyStatus::0006-offboardRequested +Microsoft.Graph.Beta.Models.protectionPolicyStatus::0007-offboarded Microsoft.Graph.Beta.Models.protectionRuleBase-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.protectionRuleBase::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.protectionRuleBase::|public|CreatedDateTime:DateTimeOffset? @@ -202323,6 +202970,121 @@ Microsoft.Graph.Beta.Models.redirectSingleSignOnExtension::|public|Serialize(wri Microsoft.Graph.Beta.Models.redirectSingleSignOnExtension::|public|TeamIdentifier:string Microsoft.Graph.Beta.Models.redirectSingleSignOnExtension::|public|UrlPrefixes:List Microsoft.Graph.Beta.Models.redirectSingleSignOnExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectSingleSignOnExtension +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|AllowedDomains:List +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|ExcludeActors:global.Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|IsStateSetByMicrosoft:bool? +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|PublicClient:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|RestrictForAppsCreatedAfterDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|Spa:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|State:global.Microsoft.Graph.Beta.Models.AppManagementRestrictionState? +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|public|Web:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriAllowedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedDomainConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|AllowedSchemes:List +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|ExcludeActors:global.Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|IsStateSetByMicrosoft:bool? +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|PublicClient:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|RestrictForAppsCreatedAfterDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|Spa:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|State:global.Microsoft.Graph.Beta.Models.AppManagementRestrictionState? +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|public|Web:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriAllowedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriAllowedSchemeConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|BlockedDomains:List +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|ExcludeActors:global.Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|IsStateSetByMicrosoft:bool? +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|PublicClient:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|RestrictForAppsCreatedAfterDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|Spa:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|State:global.Microsoft.Graph.Beta.Models.AppManagementRestrictionState? +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|public|Web:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriBlockedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedDomainConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|BlockedSchemes:List +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|ExcludeActors:global.Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|ExemptFormats:List +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|IsStateSetByMicrosoft:bool? +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|PublicClient:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|RestrictForAppsCreatedAfterDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|Spa:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|State:global.Microsoft.Graph.Beta.Models.AppManagementRestrictionState? +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|public|Web:global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriBlockedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriBlockedSchemeConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|UriWithBlockedDomain:global.Microsoft.Graph.Beta.Models.RedirectUriBlockedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|UriWithBlockedScheme:global.Microsoft.Graph.Beta.Models.RedirectUriBlockedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|UriWithoutAllowedDomain:global.Microsoft.Graph.Beta.Models.RedirectUriAllowedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|UriWithoutAllowedScheme:global.Microsoft.Graph.Beta.Models.RedirectUriAllowedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|public|UriWithWildcard:global.Microsoft.Graph.Beta.Models.RedirectUriWildcardConfiguration +Microsoft.Graph.Beta.Models.redirectUriConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriConfiguration +Microsoft.Graph.Beta.Models.redirectUriConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|public|AllowedDomains:List +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedDomainConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|public|AllowedSchemes:List +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriPlatformAllowedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriPlatformAllowedSchemeConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|public|BlockedDomains:List +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedDomainConfiguration +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedDomainConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|BlockedSchemes:List +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|ExemptFormats:List +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriPlatformBlockedSchemeConfiguration +Microsoft.Graph.Beta.Models.redirectUriPlatformBlockedSchemeConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.redirectUriSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.redirectUriSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.redirectUriSettings::|public|constructor():void @@ -202333,6 +203095,29 @@ Microsoft.Graph.Beta.Models.redirectUriSettings::|public|Serialize(writer:ISeria Microsoft.Graph.Beta.Models.redirectUriSettings::|public|Uri:string Microsoft.Graph.Beta.Models.redirectUriSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriSettings Microsoft.Graph.Beta.Models.redirectUriSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|ExcludeActors:global.Microsoft.Graph.Beta.Models.AppManagementPolicyActorExemptions +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|ExcludeFormats:global.Microsoft.Graph.Beta.Models.RedirectUriWildcardExcludeFormats +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|IsStateSetByMicrosoft:bool? +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|RestrictForAppsCreatedAfterDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|public|State:global.Microsoft.Graph.Beta.Models.AppManagementRestrictionState? +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriWildcardConfiguration +Microsoft.Graph.Beta.Models.redirectUriWildcardConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|constructor():void +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|ExcludeWildcardsInPath:bool? +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|ExcludeWildcardsInPathWithDomains:List +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|OdataType:string +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RedirectUriWildcardExcludeFormats +Microsoft.Graph.Beta.Models.redirectUriWildcardExcludeFormats~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.redundantAssignmentAlertConfiguration-->global.Microsoft.Graph.Beta.Models.UnifiedRoleManagementAlertConfiguration Microsoft.Graph.Beta.Models.redundantAssignmentAlertConfiguration::|public|constructor():void Microsoft.Graph.Beta.Models.redundantAssignmentAlertConfiguration::|public|Duration:TimeSpan? @@ -203659,6 +204444,7 @@ Microsoft.Graph.Beta.Models.riskUserActivity~~>IAdditionalDataHolder; IBackedMod Microsoft.Graph.Beta.Models.riskyAgent-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.riskyAgent::|public|AgentDisplayName:string Microsoft.Graph.Beta.Models.riskyAgent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.riskyAgent::|public|IdentityType:global.Microsoft.Graph.Beta.Models.AgentIdentityType? Microsoft.Graph.Beta.Models.riskyAgent::|public|IsDeleted:bool? Microsoft.Graph.Beta.Models.riskyAgent::|public|IsEnabled:bool? Microsoft.Graph.Beta.Models.riskyAgent::|public|IsProcessing:bool? @@ -205196,6 +205982,16 @@ Microsoft.Graph.Beta.Models.Security.aedAuditRecord::|public|GetFieldDeserialize Microsoft.Graph.Beta.Models.Security.aedAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.aedAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.aedAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AedAuditRecord +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|Count:int? +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|Kind:string +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AggregatedEnvironment +Microsoft.Graph.Beta.Models.Security.aggregatedEnvironment~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Security.aiAgentEvidence-->global.Microsoft.Graph.Beta.Models.Security.AlertEvidence Microsoft.Graph.Beta.Models.Security.aiAgentEvidence::|public|AgentId:string Microsoft.Graph.Beta.Models.Security.aiAgentEvidence::|public|AgentName:string @@ -205772,6 +206568,16 @@ Microsoft.Graph.Beta.Models.Security.auditData::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.auditData::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.auditData::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.auditData~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|By:string +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|DateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.auditInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.auditInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AuditInfo +Microsoft.Graph.Beta.Models.Security.auditInfo~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Security.auditLogQuery-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Security.auditLogQuery::|public|AdministrativeUnitIdFilters:List Microsoft.Graph.Beta.Models.Security.auditLogQuery::|public|DisplayName:string @@ -206139,6 +206945,12 @@ Microsoft.Graph.Beta.Models.Security.authorityTemplateCollectionResponse::|publi Microsoft.Graph.Beta.Models.Security.authorityTemplateCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.authorityTemplateCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.Security.authorityTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AuthorityTemplateCollectionResponse +Microsoft.Graph.Beta.Models.Security.autoAuditingConfiguration-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.autoAuditingConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.autoAuditingConfiguration::|public|IsAutomatic:bool? +Microsoft.Graph.Beta.Models.Security.autoAuditingConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.autoAuditingConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.autoAuditingConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration Microsoft.Graph.Beta.Models.Security.autonomousSystem::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.Security.autonomousSystem::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.Security.autonomousSystem::|public|constructor():void @@ -207022,14 +207834,19 @@ Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|BackingStore:IBa Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|CompromiseIndicators:List Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|constructor():void Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|DetonationBehaviourDetails:global.Microsoft.Graph.Beta.Models.Security.DetonationBehaviourDetails +Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|DetonationBehaviourDetailsV2:string Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|DetonationChain:global.Microsoft.Graph.Beta.Models.Security.DetonationChain Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|DetonationObservables:global.Microsoft.Graph.Beta.Models.Security.DetonationObservables Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|DetonationScreenshotUri:string Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|DetonationVerdict:string Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|DetonationVerdictReason:string +Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|EntityMetadata:string Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|MitreTechniques:string Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|StaticAnalysis:string +Microsoft.Graph.Beta.Models.Security.detonationDetails::|public|SubmissionSource:string Microsoft.Graph.Beta.Models.Security.detonationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DetonationDetails Microsoft.Graph.Beta.Models.Security.detonationDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Security.detonationObservables::|public|AdditionalData:IDictionary @@ -207498,6 +208315,7 @@ Microsoft.Graph.Beta.Models.Security.ediscoveryNoncustodialDataSourceCollectionR Microsoft.Graph.Beta.Models.Security.ediscoveryPurgeDataOperation-->global.Microsoft.Graph.Beta.Models.Security.CaseOperation Microsoft.Graph.Beta.Models.Security.ediscoveryPurgeDataOperation::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.ediscoveryPurgeDataOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.ediscoveryPurgeDataOperation::|public|ReportFileMetadata:List Microsoft.Graph.Beta.Models.Security.ediscoveryPurgeDataOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.ediscoveryPurgeDataOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.EdiscoveryPurgeDataOperation Microsoft.Graph.Beta.Models.Security.ediscoveryReviewSet-->global.Microsoft.Graph.Beta.Models.Security.DataSet @@ -207672,6 +208490,29 @@ Microsoft.Graph.Beta.Models.Security.entityType::0002-machineName Microsoft.Graph.Beta.Models.Security.entityType::0003-other Microsoft.Graph.Beta.Models.Security.entityType::0004-unknown Microsoft.Graph.Beta.Models.Security.entityType::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.environmentCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.environmentCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.environmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.environmentCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.environmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.EnvironmentCollectionResponse +Microsoft.Graph.Beta.Models.Security.environmentKind::0000-azureSubscription +Microsoft.Graph.Beta.Models.Security.environmentKind::0001-awsOrganization +Microsoft.Graph.Beta.Models.Security.environmentKind::0002-awsAccount +Microsoft.Graph.Beta.Models.Security.environmentKind::0003-gcpOrganization +Microsoft.Graph.Beta.Models.Security.environmentKind::0004-gcpProject +Microsoft.Graph.Beta.Models.Security.environmentKind::0005-dockersHubOrganization +Microsoft.Graph.Beta.Models.Security.environmentKind::0006-devOpsConnection +Microsoft.Graph.Beta.Models.Security.environmentKind::0007-azureDevOpsOrganization +Microsoft.Graph.Beta.Models.Security.environmentKind::0008-gitHubOrganization +Microsoft.Graph.Beta.Models.Security.environmentKind::0009-gitLabGroup +Microsoft.Graph.Beta.Models.Security.environmentKind::0010-jFrogArtifactory +Microsoft.Graph.Beta.Models.Security.environmentKind::0011-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.environmentObject-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.environmentObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.environmentObject::|public|Kind:global.Microsoft.Graph.Beta.Models.Security.EnvironmentKind? +Microsoft.Graph.Beta.Models.Security.environmentObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.environmentObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.environmentObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.EnvironmentObject Microsoft.Graph.Beta.Models.Security.epicSMSLinkRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.epicSMSLinkRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.epicSMSLinkRecord::|public|GetFieldDeserializers():IDictionary> @@ -210095,6 +210936,7 @@ Microsoft.Graph.Beta.Models.Security.remediationAction::0002-hardDelete Microsoft.Graph.Beta.Models.Security.remediationAction::0003-softDelete Microsoft.Graph.Beta.Models.Security.remediationAction::0004-moveToDeletedItems Microsoft.Graph.Beta.Models.Security.remediationAction::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.remediationAction::0006-moveToQuarantine Microsoft.Graph.Beta.Models.Security.remediationSeverity::0000-low Microsoft.Graph.Beta.Models.Security.remediationSeverity::0001-medium Microsoft.Graph.Beta.Models.Security.remediationSeverity::0002-high @@ -210785,6 +211627,7 @@ Microsoft.Graph.Beta.Models.Security.serviceStatus::0004-onboarding Microsoft.Graph.Beta.Models.Security.serviceStatus::0005-unknown Microsoft.Graph.Beta.Models.Security.serviceStatus::0006-unknownFutureValue Microsoft.Graph.Beta.Models.Security.settingsContainer-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.settingsContainer::|public|AutoAuditingConfiguration:global.Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration Microsoft.Graph.Beta.Models.Security.settingsContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.settingsContainer::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.settingsContainer::|public|Serialize(writer:ISerializationWriter):void @@ -211875,6 +212718,22 @@ Microsoft.Graph.Beta.Models.Security.yammerAuditRecord::|public|GetFieldDeserial Microsoft.Graph.Beta.Models.Security.yammerAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.yammerAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.yammerAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.YammerAuditRecord +Microsoft.Graph.Beta.Models.Security.zone-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.zone::|public|Aggregations:List +Microsoft.Graph.Beta.Models.Security.zone::|public|Created:global.Microsoft.Graph.Beta.Models.Security.AuditInfo +Microsoft.Graph.Beta.Models.Security.zone::|public|Description:string +Microsoft.Graph.Beta.Models.Security.zone::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.zone::|public|Environments:List +Microsoft.Graph.Beta.Models.Security.zone::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.zone::|public|Modified:global.Microsoft.Graph.Beta.Models.Security.AuditInfo +Microsoft.Graph.Beta.Models.Security.zone::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.zone::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.zone::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Zone +Microsoft.Graph.Beta.Models.Security.zoneCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.zoneCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.zoneCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.zoneCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.zoneCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.ZoneCollectionResponse Microsoft.Graph.Beta.Models.securityAction-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.securityAction::|public|ActionReason:string Microsoft.Graph.Beta.Models.securityAction::|public|AppId:string @@ -212124,6 +212983,7 @@ Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|AppId:string Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|AppliedEventListeners:List Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|CorrelationId:string Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|FraudProtectionDetails:global.Microsoft.Graph.Beta.Models.FraudProtectionDetails Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|OdataType:string Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|Serialize(writer:ISerializationWriter):void @@ -214419,9 +215279,8 @@ Microsoft.Graph.Beta.Models.siteSettings::|public|TimeZone:string Microsoft.Graph.Beta.Models.siteSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SiteSettings Microsoft.Graph.Beta.Models.siteSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.siteTemplateType::0000-sitepagepublishing -Microsoft.Graph.Beta.Models.siteTemplateType::0001-group -Microsoft.Graph.Beta.Models.siteTemplateType::0002-sts -Microsoft.Graph.Beta.Models.siteTemplateType::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.siteTemplateType::0001-sts +Microsoft.Graph.Beta.Models.siteTemplateType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.sizeRange::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.sizeRange::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.sizeRange::|public|constructor():void @@ -217209,6 +218068,21 @@ Microsoft.Graph.Beta.Models.tenantDataSecurityAndGovernance::|public|PolicyFiles Microsoft.Graph.Beta.Models.tenantDataSecurityAndGovernance::|public|ProtectionScopes:global.Microsoft.Graph.Beta.Models.TenantProtectionScopeContainer Microsoft.Graph.Beta.Models.tenantDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.tenantDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TenantDataSecurityAndGovernance +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|LastActionDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|ResourceLocation:string +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|Status:global.Microsoft.Graph.Beta.Models.TenantGovernanceServices.LongRunningOperationStatus? +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|public|StatusDetail:string +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TenantGovernanceServices.LongRunningOperation +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperationStatus::0000-notStarted +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperationStatus::0001-running +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperationStatus::0002-succeeded +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperationStatus::0003-failed +Microsoft.Graph.Beta.Models.TenantGovernanceServices.longRunningOperationStatus::0004-unknownFutureValue Microsoft.Graph.Beta.Models.tenantInformation::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.tenantInformation::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.tenantInformation::|public|constructor():void @@ -219225,6 +220099,7 @@ Microsoft.Graph.Beta.Models.usageAuthMethod::0024-alternateMobilePhone Microsoft.Graph.Beta.Models.usageAuthMethod::0025-fido2SecurityKey Microsoft.Graph.Beta.Models.usageAuthMethod::0026-oneTimePasscode Microsoft.Graph.Beta.Models.usageAuthMethod::0027-passKeySynced +Microsoft.Graph.Beta.Models.usageAuthMethod::0028-qrCode Microsoft.Graph.Beta.Models.usageDetails::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.usageDetails::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.usageDetails::|public|constructor():void @@ -219268,7 +220143,8 @@ Microsoft.Graph.Beta.Models.usageRights::0016-userDefinedProtectionTypeNotSuppor Microsoft.Graph.Beta.Models.usageRights::0017-encryptedProtectionTypeNotSupportedException Microsoft.Graph.Beta.Models.usageRights::0018-purviewClaimsChallengeNotSupportedException Microsoft.Graph.Beta.Models.usageRights::0019-exception -Microsoft.Graph.Beta.Models.usageRights::0020-unknownFutureValue +Microsoft.Graph.Beta.Models.usageRights::0020-labelNotFoundException +Microsoft.Graph.Beta.Models.usageRights::0021-unknownFutureValue Microsoft.Graph.Beta.Models.usageRightsIncluded-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|OdataType:string @@ -225937,6 +226813,28 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContentDeviceMatchCollectio Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContentDeviceMatchCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableContentDeviceMatchCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContentDeviceMatch~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.WindowsUpdates.applicableContent~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|DeferralInDays:int? +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalRule~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalStatus::0000-approved +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalStatus::0001-suspended +Microsoft.Graph.Beta.Models.WindowsUpdates.approvalStatus::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|Group:global.Microsoft.Graph.Beta.Models.Group +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|GroupId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.AssignedGroup +Microsoft.Graph.Beta.Models.WindowsUpdates.assignedGroup~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.WindowsUpdates.azureADDevice-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset Microsoft.Graph.Beta.Models.WindowsUpdates.azureADDevice::|public|constructor():void Microsoft.Graph.Beta.Models.WindowsUpdates.azureADDevice::|public|Enrollment:global.Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateManagementEnrollment @@ -226210,6 +227108,13 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.enrollmentState::0002-enrolledWithPol Microsoft.Graph.Beta.Models.WindowsUpdates.enrollmentState::0003-enrolling Microsoft.Graph.Beta.Models.WindowsUpdates.enrollmentState::0004-unenrolling Microsoft.Graph.Beta.Models.WindowsUpdates.enrollmentState::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.excludedGroupAssignment-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment +Microsoft.Graph.Beta.Models.WindowsUpdates.excludedGroupAssignment::|public|Assignments:List +Microsoft.Graph.Beta.Models.WindowsUpdates.excludedGroupAssignment::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.excludedGroupAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.excludedGroupAssignment::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.excludedGroupAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.excludedGroupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment Microsoft.Graph.Beta.Models.WindowsUpdates.expediteSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.WindowsUpdates.expediteSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.WindowsUpdates.expediteSettings::|public|constructor():void @@ -226237,6 +227142,21 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.gradualRolloutSettings::|public|Odata Microsoft.Graph.Beta.Models.WindowsUpdates.gradualRolloutSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.gradualRolloutSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.GradualRolloutSettings Microsoft.Graph.Beta.Models.WindowsUpdates.gradualRolloutSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment +Microsoft.Graph.Beta.Models.WindowsUpdates.groupAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.GroupAssignment +Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|public|Assignments:List +Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.includedGroupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment Microsoft.Graph.Beta.Models.WindowsUpdates.itemBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.WindowsUpdates.itemBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.WindowsUpdates.itemBody::|public|constructor():void @@ -226320,6 +227240,39 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|publi Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|public|WorkspaceName:string Microsoft.Graph.Beta.Models.WindowsUpdates.operationalInsightsConnection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.OperationalInsightsConnection +Microsoft.Graph.Beta.Models.WindowsUpdates.policy-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|ApplicableContent:List +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|ApprovalRules:List +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|Approvals:List +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|Description:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|DisplayName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|Rings:List +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.policy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|CatalogEntry:global.Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|CatalogEntryId:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|public|Status:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalStatus? +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApproval::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApproval +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.policyApprovalCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyApprovalCollectionResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.policyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.product-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.WindowsUpdates.product::|public|Editions:List Microsoft.Graph.Beta.Models.WindowsUpdates.product::|public|FriendlyNames:List @@ -226354,6 +227307,14 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.productRevisionCollectionResponse::|p Microsoft.Graph.Beta.Models.WindowsUpdates.productRevisionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.productRevisionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.WindowsUpdates.productRevisionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.ProductRevisionCollectionResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule::|public|Cadence:global.Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateCadence? +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule::|public|Classification:global.Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateClassification? +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateApprovalRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateApprovalRule Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateCadence::0000-monthly Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateCadence::0001-outOfBand Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateCadence::0002-unknownFutureValue @@ -226393,6 +227354,19 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateFilter::|public|GetField Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateFilter::|public|OdataType:string Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateFilter::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateFilter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateFilter +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdatePolicy-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.Policy +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdatePolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdatePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdatePolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdatePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdatePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdatePolicy +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateRing-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateRing::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateRing::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateRing::|public|IsHotpatchEnabled:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateRing::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateRing::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.qualityUpdateRing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.QualityUpdateRing Microsoft.Graph.Beta.Models.WindowsUpdates.rateDrivenRolloutSettings-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.GradualRolloutSettings Microsoft.Graph.Beta.Models.WindowsUpdates.rateDrivenRolloutSettings::|public|constructor():void Microsoft.Graph.Beta.Models.WindowsUpdates.rateDrivenRolloutSettings::|public|DevicesPerOffer:int? @@ -226400,6 +227374,20 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.rateDrivenRolloutSettings::|public|Ge Microsoft.Graph.Beta.Models.WindowsUpdates.rateDrivenRolloutSettings::|public|OdataType:string Microsoft.Graph.Beta.Models.WindowsUpdates.rateDrivenRolloutSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.WindowsUpdates.rateDrivenRolloutSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.RateDrivenRolloutSettings +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryApprovalRule-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.ApprovalRule +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryApprovalRule::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryApprovalRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryApprovalRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryApprovalRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryApprovalRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryApprovalRule +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.SoftwareUpdateCatalogEntry +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry::|public|CatalogName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry::|public|constructor():void +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry::|public|ProductRevisions:List +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.recoveryUpdateCatalogEntry::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.RecoveryUpdateCatalogEntry Microsoft.Graph.Beta.Models.WindowsUpdates.remediationType::0000-inPlaceUpgrade Microsoft.Graph.Beta.Models.WindowsUpdates.remediationType::0001-unknownFutureValue Microsoft.Graph.Beta.Models.WindowsUpdates.remediationUpdateFilter-->global.Microsoft.Graph.Beta.Models.WindowsUpdates.WindowsUpdateFilter @@ -226428,6 +227416,24 @@ Microsoft.Graph.Beta.Models.WindowsUpdates.resourceConnectionState::0000-connect Microsoft.Graph.Beta.Models.WindowsUpdates.resourceConnectionState::0001-notAuthorized Microsoft.Graph.Beta.Models.WindowsUpdates.resourceConnectionState::0002-notFound Microsoft.Graph.Beta.Models.WindowsUpdates.resourceConnectionState::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.WindowsUpdates.ring-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|DeferralInDays:int? +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|Description:string +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|DisplayName:string +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|ExcludedGroupAssignment:global.Microsoft.Graph.Beta.Models.WindowsUpdates.ExcludedGroupAssignment +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|IncludedGroupAssignment:global.Microsoft.Graph.Beta.Models.WindowsUpdates.IncludedGroupAssignment +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|IsPaused:bool? +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|OdataType:string +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.ring::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.Ring +Microsoft.Graph.Beta.Models.WindowsUpdates.ringCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.WindowsUpdates.ringCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.WindowsUpdates.ringCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.WindowsUpdates.ringCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.WindowsUpdates.ringCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsUpdates.RingCollectionResponse Microsoft.Graph.Beta.Models.WindowsUpdates.safeguardCategory::0000-likelyIssues Microsoft.Graph.Beta.Models.WindowsUpdates.safeguardCategory::0001-unknownFutureValue Microsoft.Graph.Beta.Models.WindowsUpdates.safeguardProfile::|public|AdditionalData:IDictionary @@ -229493,26 +230499,27 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinatio Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.DestinationReportWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.deviceReportWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.DeviceReportWithStartDateTimeWithEndDateTimeResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|DiscoveredApplicationSegmentId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -229766,7 +230773,7 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|Delete Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.Reports Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy(aggregatedBy:string; endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder @@ -255356,12 +256363,28 @@ Microsoft.Graph.Beta.Security.Identities.Sensors.sensorsRequestBuilder::|public| Microsoft.Graph.Beta.Security.Identities.Sensors.sensorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Identities.Sensors.sensorsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Sensor; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Identities.Sensors.sensorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Identities.Sensors.SensorsRequestBuilder +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder.autoAuditingConfigurationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder.autoAuditingConfigurationRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder.autoAuditingConfigurationRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder.autoAuditingConfigurationRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder.autoAuditingConfigurationRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.AutoAuditingConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.autoAuditingConfigurationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder.settingsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder.settingsRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder.settingsRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder.settingsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder.settingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder::|public|autoAuditingConfiguration:global.Microsoft.Graph.Beta.Security.Identities.Settings.AutoAuditingConfiguration.AutoAuditingConfigurationRequestBuilder Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.Identities.Settings.settingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -256965,6 +257988,7 @@ Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|triggers:global.Mi Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|triggerTypes:global.Microsoft.Graph.Beta.Security.TriggerTypes.TriggerTypesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|userSecurityProfiles:global.Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.SecurityRequestBuilder +Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|zones:global.Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder Microsoft.Graph.Beta.Security.SubjectRightsRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.SubjectRightsRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Security.SubjectRightsRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -259346,6 +260370,116 @@ Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBu Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserSecurityProfile; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.aggregationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.aggregationsRequestBuilder::[AggregatedEnvironmentKind:string]:global.Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.aggregationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.aggregationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.aggregationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder.AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder.AggregatedEnvironmentKindItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder.AggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.AggregatedEnvironment +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.Item.AggregatedEnvironmentKindItemRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder.environmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::[EnvironmentId:string]:global.Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.Zones.Item.Environments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.EnvironmentCollectionResponse +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.EnvironmentObject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.EnvironmentObject +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.EnvironmentObject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.Environments.environmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.Item.Environments.EnvironmentsRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder.EnvironmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder.EnvironmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder.EnvironmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder.EnvironmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.EnvironmentObject +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.Item.Environments.Item.EnvironmentItemRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder.ZoneItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder.ZoneItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder.ZoneItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder.ZoneItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder.ZoneItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|aggregations:global.Microsoft.Graph.Beta.Security.Zones.Item.Aggregations.AggregationsRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|environments:global.Microsoft.Graph.Beta.Security.Zones.Item.Environments.EnvironmentsRequestBuilder +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Zone +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.Zone; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Zone +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Zone; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder.zonesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::[ZoneId:string]:global.Microsoft.Graph.Beta.Security.Zones.Item.ZoneItemRequestBuilder +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.ZoneCollectionResponse +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.Zone; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Zone +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Zone; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Zones.zonesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.ServicePrincipals.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -265136,6 +266270,7 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.dataLossPreventionPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|ClassifyText:global.Microsoft.Graph.Beta.Models.TextClassificationRequest Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|EvaluationInput:global.Microsoft.Graph.Beta.Models.DlpEvaluationInput Microsoft.Graph.Beta.Sites.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():IDictionary> @@ -299520,7 +300655,7 @@ Microsoft.Graph.Beta.Users.Count.CountRequestBuilder::|public|WithUrl(rawUrl:str Microsoft.Graph.Beta.Users.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse Microsoft.Graph.Beta.Users.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Users.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Users.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Delta.deltaGetResponse::|public|Value:List Microsoft.Graph.Beta.Users.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Delta.DeltaGetResponse Microsoft.Graph.Beta.Users.Delta.deltaRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? @@ -308387,6 +309522,7 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.dataLossPreventionPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.DataLossPreventionPoliciesRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|ClassifyText:global.Microsoft.Graph.Beta.Models.TextClassificationRequest Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|constructor():void Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|EvaluationInput:global.Microsoft.Graph.Beta.Models.DlpEvaluationInput Microsoft.Graph.Beta.Users.Item.InformationProtection.DataLossPreventionPolicies.Evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():IDictionary> diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 4a993e0ab19..ef6a2dddc31 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "5910E6D05E3B7EC02B024052AB7D7C02C8479C48F9FBAF078157F77E8784B6D721BD4828234E959805F4B993D9F02248D56C1783145C2454019B8A695E5BBA3D", + "descriptionHash": "E72BD3BC45ED6E9974FF36103ECF6FDFAD0B31B474BBAD87424D012737D1B158F13563510F197FEEC67DDB4314B2FDDA3EB267A3EEE251322154599941C864A5", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",