diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs index 91764c90e62..ea39af69bfc 100644 --- a/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action - /// Represents a collection of user configurations. + /// A container for all Teams telephone number management functionalities and user configurations. /// /// A /// Cancellation token to use when cancelling requests @@ -136,7 +136,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents a collection of user configurations. + /// A container for all Teams telephone number management functionalities and user configurations. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -194,7 +194,7 @@ public partial class TeamsRequestBuilderDeleteRequestConfiguration : RequestConf { } /// - /// Represents a collection of user configurations. + /// A container for all Teams telephone number management functionalities and user configurations. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs index ad06712c27d..ac2748fb7b6 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public ResourceConnectionItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete a resourceConnection object. - /// Find more info here + /// Delete an operationalInsightsConnection object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an operationalInsightsConnection object. - /// Find more info here + /// Read the properties and relationships of a resourceConnection object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a resourceConnection object. + /// Delete an operationalInsightsConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an operationalInsightsConnection object. + /// Read the properties and relationships of a resourceConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class ResourceConnectionItemRequestBuilderDeleteRequestConfigurat { } /// - /// Read the properties and relationships of an operationalInsightsConnection object. + /// Read the properties and relationships of a resourceConnection object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ResourceConnectionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs index 73298f22467..d88d9be7511 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an updatableAsset object. - /// Find more info here + /// Read the properties and relationships of an updatableAssetGroup object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -150,7 +150,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an updatableAsset object. + /// Read the properties and relationships of an updatableAssetGroup object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -208,7 +208,7 @@ public partial class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration { } /// - /// Read the properties and relationships of an updatableAsset object. + /// Read the properties and relationships of an updatableAssetGroup object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UpdatableAssetItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs index 1ace4f326ea..dc1da3914a4 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs @@ -41,8 +41,8 @@ public ComplianceChangeItemRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Delete a contentApproval object. - /// Find more info here + /// Delete a complianceChange object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a contentApproval object. - /// Find more info here + /// Update the properties of a complianceChange object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a contentApproval object. + /// Delete a complianceChange object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a contentApproval object. + /// Update the properties of a complianceChange object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index b2b5d2dcf02..c1deece8a7d 100644 --- a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index acbf7467057..ee6dace3431 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/Item/OnlineMeetingEngagementConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/Item/OnlineMeetingEngagementConversationItemRequestBuilder.cs index 6069bba4eda..983e4d578fe 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/Item/OnlineMeetingEngagementConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/Item/OnlineMeetingEngagementConversationItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action - /// A collection of structured question-and-answer (Q&A) thread in Teams directly associated with online meetings. + /// A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. /// /// A /// Cancellation token to use when cancelling requests @@ -142,7 +142,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// A collection of structured question-and-answer (Q&A) thread in Teams directly associated with online meetings. + /// A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public partial class OnlineMeetingEngagementConversationItemRequestBuilderDelete { } /// - /// A collection of structured question-and-answer (Q&A) thread in Teams directly associated with online meetings. + /// A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingEngagementConversationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/OnlineMeetingConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/OnlineMeetingConversationsRequestBuilder.cs index d64717daece..3aeffcf2bbb 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/OnlineMeetingConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetingConversations/OnlineMeetingConversationsRequestBuilder.cs @@ -54,7 +54,7 @@ public OnlineMeetingConversationsRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// A collection of structured question-and-answer (Q&A) thread in Teams directly associated with online meetings. + /// A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public OnlineMeetingConversationsRequestBuilder(string rawUrl, IRequestAdapter r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.OnlineMeetingEngagementConversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// A collection of structured question-and-answer (Q&A) thread in Teams directly associated with online meetings. + /// A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. /// /// 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.Communications.OnlineMeetingConversations.OnlineMeetingConversationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// A collection of structured question-and-answer (Q&A) thread in Teams directly associated with online meetings. + /// A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingConversationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index 6d131bc4905..b712211d07d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -54,7 +54,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IosLobAppProvisioningConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// 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.DeviceAppManagement.IosLobAppProvisioningConfigurations.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs index a7577f11d8f..da8b001cd4e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuil { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index c6dbf24017e..6035f6ca80e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs index fec76a3b1f7..3c6671ecf70 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphAndroidForWorkApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 4f20f1e17c4..1aa4c09c263 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index 4bddc9cf3c4..3a4143144c6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index fa481bb3848..83676449936 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs index 708e541baef..9fca0f8c88a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphAndroidManagedStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 88531ec793b..7ea88fdf425 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs index 6991ea0a50f..15c01afcad8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 15ba6a5522d..9c203ef83e8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs index 6cf50d704c0..83247a30407 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 458f838a40f..2274976a362 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs index 2b9dd164ba4..a4647479bce 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index dae55e12c3b..045612e44ff 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs index ff89f1460b8..6e55ed5b1e1 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 6e222a8bb6b..9839b7c9db1 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs index 8b710baed54..73ead173e96 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 2a3e60b8bd2..ddcd736a982 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs index 1f541e2a9b1..cc5611907a6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index f656729dc4e..7cf54be0a7b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs index 950d1d33547..9af54647ca2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphMacOSPkgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 1c2c328a15a..71074d548dd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index b552c26c04e..6f31d5ebb55 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 6dfba2b36d8..4410f6d9b78 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs index 277cef397e0..208272fe1fe 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index c80d9727887..64d529d40c7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs index 6ca54289131..1760e20b379 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 75a613186dd..8d0d165a1f7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs index 562c26906ac..97a636f3efb 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 8157b3b9f52..28e07680443 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs index cac670f33f6..bd2f23d7165 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 63bd59ba4a7..af1a0626c3d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs index 3803a39f86f..90507f57f69 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphWinGetApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 2e8d0350b64..f294acb56c9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs index 77ce140980f..c49400e2b57 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index edec7f2f25b..2a3624b865e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs index e20142bfda4..53ce31c17e4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index e8f4462ac3c..4e6043d54ce 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs index 9c3d3aed22c..992917ff0d8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphWindowsStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 39124e7f429..2a1a057e281 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs index 8a06bb5323d..81760263302 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index f31127e8011..15025862b3a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs index 730363e7f0a..23e113f28e7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index cc244f815fd..cbc8304d3a0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs index 7689fd41f5f..304d6a7e5a9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// 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.DeviceAppManagement.MobileApps.Item.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs index e1ee4ceedb8..194755e8d63 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs @@ -78,8 +78,8 @@ public HardwareOathDevicesRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new hardwareOathTokenAuthenticationMethodDevice object. This API supports two scenarios:- Create the new hardware token without assigning to a user. You can then assign to a user.- Create and assign a hardware token to a user in the same request. - /// Find more info here + /// Create one or more hardwareOathTokenAuthenticationMethodDevice objects. This API supports two scenarios:- Create the new hardware tokens without assigning to users. You can then assign to a user.- Create and assign any individual hardware tokens to users in the same request. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new hardwareOathTokenAuthenticationMethodDevice object. This API supports two scenarios:- Create the new hardware token without assigning to a user. You can then assign to a user.- Create and assign a hardware token to a user in the same request. + /// Create one or more hardwareOathTokenAuthenticationMethodDevice objects. This API supports two scenarios:- Create the new hardware tokens without assigning to users. You can then assign to a user.- Create and assign any individual hardware tokens to users in the same request. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 20b23467085..f11cb1332b4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index db7bea8edb3..732073e9ff9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 25802159ad7..1090271289a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index c3c3e1468d0..941306f6891 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs index c502c1fc693..c2670c8c378 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs @@ -78,8 +78,8 @@ public DataConnectorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.IndustryDataConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new oneRosterApiDataConnector object. - /// Find more info here + /// Create a new azureDataLakeConnector object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new oneRosterApiDataConnector object. + /// Create a new azureDataLakeConnector object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs index 1584a9c6277..bf6494735d9 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs @@ -78,8 +78,8 @@ public InboundFlowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.InboundFlowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new inboundApiFlow object. - /// Find more info here + /// Create a new inboundFileFlow object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new inboundApiFlow object. + /// Create a new inboundFileFlow object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs index 4f1711295c5..f8fc63c4966 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.InboundFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an inboundFileFlow object. - /// Find more info here + /// Update the properties of an inboundApiFlow object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an inboundFileFlow object. + /// Update the properties of an inboundApiFlow object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs index e57bacd7e6a..851d73c1075 100644 --- a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs @@ -108,8 +108,8 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. - /// Find more info here + /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + /// Find more info here /// /// A /// The request body @@ -153,7 +153,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 76daa0273ad..f2e2340baf7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -78,8 +78,8 @@ public ConversationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 165173d768b..09914c4a443 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -41,8 +41,8 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Delete conversation. - /// Find more info here + /// Delete a group's conversation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -88,7 +88,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete conversation. + /// Delete a group's conversation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index 0710b3ea7b2..95c158b046f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Conversatio await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index db3d00e30f3..9b24d36aefe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Threads.Ite await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs index a887ba5d74c..e0f8fb5ba87 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs @@ -3,6 +3,10 @@ using Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationContextClassReferences; using Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationStrength; using Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationStrengths; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies; using Microsoft.Graph.Beta.Identity.ConditionalAccess.Templates; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions; @@ -33,6 +37,26 @@ public partial class ConditionalAccessRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationStrengths.AuthenticationStrengthsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the deletedItems property of the microsoft.graph.conditionalAccessRoot entity. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.DeletedItemsRequestBuilder DeletedItems + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.DeletedItemsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the evaluate method. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder Evaluate + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.NamedLocationsRequestBuilder NamedLocations + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.NamedLocationsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.PoliciesRequestBuilder Policies + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.PoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the templates property of the microsoft.graph.conditionalAccessRoot entity. public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Templates.TemplatesRequestBuilder Templates { diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/DeletedItemsRequestBuilder.cs new file mode 100644 index 00000000000..3db4bbb887f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/DeletedItemsRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies; +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.Identity.ConditionalAccess.DeletedItems +{ + /// + /// Provides operations to manage the deletedItems property of the microsoft.graph.conditionalAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the namedLocations property of the microsoft.graph.caPoliciesDeletableRoot entity. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.NamedLocationsRequestBuilder NamedLocations + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.NamedLocationsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policies property of the microsoft.graph.caPoliciesDeletableRoot entity. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.PoliciesRequestBuilder Policies + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.PoliciesRequestBuilder(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 DeletedItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems{?%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 DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deletedItems for identity + /// + /// 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 deletedItems from identity + /// + /// 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.CaPoliciesDeletableRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deletedItems in identity + /// + /// 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.CaPoliciesDeletableRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot 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.CaPoliciesDeletableRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deletedItems for identity + /// + /// 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 deletedItems from identity + /// + /// 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 deletedItems in identity + /// + /// 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.CaPoliciesDeletableRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot 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.Identity.ConditionalAccess.DeletedItems.DeletedItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.DeletedItemsRequestBuilder(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 DeletedItemsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get deletedItems from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetQueryParameters + { + /// 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 DeletedItemsRequestBuilderGetRequestConfiguration : 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 DeletedItemsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..47356f33029 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/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.Identity.ConditionalAccess.DeletedItems.NamedLocations.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}/identity/conditionalAccess/deletedItems/namedLocations/$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}/identity/conditionalAccess/deletedItems/namedLocations/$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.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.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/Identity/ConditionalAccess/DeletedItems/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/Item/NamedLocationItemRequestBuilder.cs new file mode 100644 index 00000000000..2080a8d8a2a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore; +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.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item +{ + /// + /// Provides operations to manage the namedLocations property of the microsoft.graph.caPoliciesDeletableRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.RestoreRequestBuilder(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 NamedLocationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/namedLocations/{namedLocation%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 NamedLocationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/namedLocations/{namedLocation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property namedLocations for identity + /// + /// 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 namedLocations from identity + /// + /// 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.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property namedLocations in identity + /// + /// 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.NamedLocation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.NamedLocation 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.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property namedLocations for identity + /// + /// 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 namedLocations from identity + /// + /// 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 namedLocations in identity + /// + /// 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.NamedLocation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.NamedLocation 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.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder(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 NamedLocationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get namedLocations from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationItemRequestBuilderGetQueryParameters + { + /// 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 NamedLocationItemRequestBuilderGetRequestConfiguration : 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 NamedLocationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..2e8e8f87d70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/namedLocations/{namedLocation%2Did}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/namedLocations/{namedLocation%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// 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.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/NamedLocationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/NamedLocationsRequestBuilder.cs new file mode 100644 index 00000000000..aad0b1d9f37 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/NamedLocations/NamedLocationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.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.Identity.ConditionalAccess.DeletedItems.NamedLocations +{ + /// + /// Provides operations to manage the namedLocations property of the microsoft.graph.caPoliciesDeletableRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the namedLocations property of the microsoft.graph.caPoliciesDeletableRoot entity. + /// The unique identifier of namedLocation + /// A + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("namedLocation%2Did", position); + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder(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 NamedLocationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/namedLocations{?%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 NamedLocationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/namedLocations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get namedLocations from identity + /// + /// 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.NamedLocationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to namedLocations for identity + /// + /// 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.NamedLocation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.NamedLocation 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.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get namedLocations from identity + /// + /// 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 namedLocations for identity + /// + /// 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.NamedLocation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.NamedLocation 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.Identity.ConditionalAccess.DeletedItems.NamedLocations.NamedLocationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.NamedLocationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get namedLocations from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationsRequestBuilderGetQueryParameters + { + /// 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 NamedLocationsRequestBuilderGetRequestConfiguration : 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 NamedLocationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d93d92afeba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/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.Identity.ConditionalAccess.DeletedItems.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}/identity/conditionalAccess/deletedItems/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}/identity/conditionalAccess/deletedItems/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.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.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/Identity/ConditionalAccess/DeletedItems/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..60c6486d370 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore; +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.Identity.ConditionalAccess.DeletedItems.Policies.Item +{ + /// + /// Provides operations to manage the policies property of the microsoft.graph.caPoliciesDeletableRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.RestoreRequestBuilder(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 ConditionalAccessPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/policies/{conditionalAccessPolicy%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 ConditionalAccessPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/policies/{conditionalAccessPolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property policies for identity + /// + /// 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 policies from identity + /// + /// 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property policies in identity + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property policies for identity + /// + /// 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 policies from identity + /// + /// 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 policies in identity + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder(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 ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get policies from identity + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPolicyItemRequestBuilderGetQueryParameters + { + /// 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 ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration : 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 ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..b5ebb446933 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/policies/{conditionalAccessPolicy%2Did}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/deletedItems/policies/{conditionalAccessPolicy%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// 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.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/PoliciesRequestBuilder.cs new file mode 100644 index 00000000000..991f8141c65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/DeletedItems/Policies/PoliciesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.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.Identity.ConditionalAccess.DeletedItems.Policies +{ + /// + /// Provides operations to manage the policies property of the microsoft.graph.caPoliciesDeletableRoot 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.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policies property of the microsoft.graph.caPoliciesDeletableRoot entity. + /// The unique identifier of conditionalAccessPolicy + /// A + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conditionalAccessPolicy%2Did", position); + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder(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}/identity/conditionalAccess/deletedItems/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}/identity/conditionalAccess/deletedItems/policies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get policies from identity + /// + /// 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.ConditionalAccessPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to policies for identity + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get policies from identity + /// + /// 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 policies for identity + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.Identity.ConditionalAccess.DeletedItems.Policies.PoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.PoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get policies from identity + /// + [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/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs new file mode 100644 index 00000000000..77255beed3d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +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.Identity.ConditionalAccess.Evaluate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EvaluatePostRequestBody : 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 appliedPoliciesOnly property + public bool? AppliedPoliciesOnly + { + get { return BackingStore?.Get("appliedPoliciesOnly"); } + set { BackingStore?.Set("appliedPoliciesOnly", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The signInConditions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SignInConditions? SignInConditions + { + get { return BackingStore?.Get("signInConditions"); } + set { BackingStore?.Set("signInConditions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SignInConditions SignInConditions + { + get { return BackingStore?.Get("signInConditions"); } + set { BackingStore?.Set("signInConditions", value); } + } +#endif + /// The signInContext property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SignInContext? SignInContext + { + get { return BackingStore?.Get("signInContext"); } + set { BackingStore?.Set("signInContext", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SignInContext SignInContext + { + get { return BackingStore?.Get("signInContext"); } + set { BackingStore?.Set("signInContext", value); } + } +#endif + /// The signInIdentity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SignInIdentity? SignInIdentity + { + get { return BackingStore?.Get("signInIdentity"); } + set { BackingStore?.Set("signInIdentity", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SignInIdentity SignInIdentity + { + get { return BackingStore?.Get("signInIdentity"); } + set { BackingStore?.Set("signInIdentity", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EvaluatePostRequestBody() + { + 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.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "appliedPoliciesOnly", n => { AppliedPoliciesOnly = n.GetBoolValue(); } }, + { "signInConditions", n => { SignInConditions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SignInConditions.CreateFromDiscriminatorValue); } }, + { "signInContext", n => { SignInContext = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SignInContext.CreateFromDiscriminatorValue); } }, + { "signInIdentity", n => { SignInIdentity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SignInIdentity.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.WriteBoolValue("appliedPoliciesOnly", AppliedPoliciesOnly); + writer.WriteObjectValue("signInConditions", SignInConditions); + writer.WriteObjectValue("signInContext", SignInContext); + writer.WriteObjectValue("signInIdentity", SignInIdentity); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostResponse.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostResponse.cs new file mode 100644 index 00000000000..047fef4b959 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EvaluatePostResponse : 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.Identity.ConditionalAccess.Evaluate.EvaluatePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostResponse(); + } + /// + /// 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.WhatIfAnalysisResult.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/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.cs new file mode 100644 index 00000000000..6355b24c2dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Identity.ConditionalAccess.Evaluate +{ + /// + /// Provides operations to call the evaluate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EvaluateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EvaluateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/evaluate", 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 EvaluateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/evaluate", rawUrl) + { + } + /// + /// Evaluates the applicability of Conditional Access Policies in your tenant based on the provided sign-in properties. + /// 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 PostAsEvaluatePostResponseAsync(global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsEvaluatePostResponseAsync(global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody 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.Identity.ConditionalAccess.Evaluate.EvaluatePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Evaluates the applicability of Conditional Access Policies in your tenant based on the provided sign-in properties. + /// 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 + [Obsolete("This method is obsolete. Use PostAsEvaluatePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody 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.Identity.ConditionalAccess.Evaluate.EvaluateResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Evaluates the applicability of Conditional Access Policies in your tenant based on the provided sign-in properties. + /// + /// 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.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody 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.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder(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 EvaluateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateResponse.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateResponse.cs new file mode 100644 index 00000000000..a325e6d681a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateResponse.cs @@ -0,0 +1,28 @@ +// +#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.Identity.ConditionalAccess.Evaluate +{ + [Obsolete("This class is obsolete. Use EvaluatePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EvaluateResponse : global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Identity.ConditionalAccess.Evaluate.EvaluateResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..dd3b598598b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/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.Identity.ConditionalAccess.NamedLocations.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}/identity/conditionalAccess/namedLocations/$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}/identity/conditionalAccess/namedLocations/$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.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.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/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs new file mode 100644 index 00000000000..28ceeb7a455 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore; +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.Identity.ConditionalAccess.NamedLocations.Item +{ + /// + /// Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.RestoreRequestBuilder(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 NamedLocationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%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 NamedLocationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a namedLocation 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 compliantNetworkNamedLocation 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.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a countryNamedLocation 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.NamedLocation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.NamedLocation 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.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a namedLocation 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 compliantNetworkNamedLocation 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 countryNamedLocation 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.NamedLocation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.NamedLocation 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.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder(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 NamedLocationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a compliantNetworkNamedLocation object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationItemRequestBuilderGetQueryParameters + { + /// 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 NamedLocationItemRequestBuilderGetRequestConfiguration : 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 NamedLocationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..c9ad37c175f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Identity.ConditionalAccess.NamedLocations.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// 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.Identity.ConditionalAccess.NamedLocations.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs new file mode 100644 index 00000000000..e1fad07b211 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.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.Identity.ConditionalAccess.NamedLocations +{ + /// + /// Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. + /// The unique identifier of namedLocation + /// A + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("namedLocation%2Did", position); + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder(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 NamedLocationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations{?%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 NamedLocationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of namedLocation objects. + /// 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.NamedLocationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. + /// 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.NamedLocation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.NamedLocation 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.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of namedLocation objects. + /// + /// 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 namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. + /// + /// 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.NamedLocation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.NamedLocation 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.Identity.ConditionalAccess.NamedLocations.NamedLocationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.NamedLocationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of namedLocation objects. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NamedLocationsRequestBuilderGetQueryParameters + { + /// 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 NamedLocationsRequestBuilderGetRequestConfiguration : 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 NamedLocationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b7ce572a667 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/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.Identity.ConditionalAccess.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}/identity/conditionalAccess/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}/identity/conditionalAccess/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.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.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/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..769e1063c18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore; +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.Identity.ConditionalAccess.Policies.Item +{ + /// + /// Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.RestoreRequestBuilder(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 ConditionalAccessPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/policies/{conditionalAccessPolicy%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 ConditionalAccessPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/policies/{conditionalAccessPolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a conditionalAccessPolicy 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); + } + /// + /// Retrieve the properties and relationships of a conditionalAccessPolicy 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a conditionalAccessPolicy 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a conditionalAccessPolicy 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; + } + /// + /// Retrieve the properties and relationships of a conditionalAccessPolicy 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 conditionalAccessPolicy 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder(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 ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Retrieve the properties and relationships of a conditionalAccessPolicy object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPolicyItemRequestBuilderGetQueryParameters + { + /// 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 ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration : 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 ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..884b8b5df49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Identity.ConditionalAccess.Policies.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/policies/{conditionalAccessPolicy%2Did}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/policies/{conditionalAccessPolicy%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// 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.Identity.ConditionalAccess.Policies.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs new file mode 100644 index 00000000000..18b30255c5f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count; +using Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.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.Identity.ConditionalAccess.Policies +{ + /// + /// Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot 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.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. + /// The unique identifier of conditionalAccessPolicy + /// A + public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conditionalAccessPolicy%2Did", position); + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder(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}/identity/conditionalAccess/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}/identity/conditionalAccess/policies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a list of conditionalAccessPolicy objects. + /// 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.ConditionalAccessPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new conditionalAccessPolicy. + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a list of conditionalAccessPolicy objects. + /// + /// 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 conditionalAccessPolicy. + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.Identity.ConditionalAccess.Policies.PoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.PoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a list of conditionalAccessPolicy objects. + /// + [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/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs index daca43efa26..e5914e7cd6c 100644 --- a/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. - /// Find more info here + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -132,7 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -190,7 +190,7 @@ public partial class CustomAuthenticationExtensionItemRequestBuilderDeleteReques { } /// - /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 79131dab08f..e65423d2ed4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,8 +83,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// The request body @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentWorkflowExtension object. /// /// A /// The request body @@ -191,7 +191,7 @@ public partial class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfig { } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs index 18a2e7f6260..b8ca2edc795 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties of a collection of riskDetection objects. - /// Find more info here + /// Retrieve the properties of a riskDetection object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a collection of riskDetection objects. + /// Retrieve the properties of a riskDetection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class RiskDetectionItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties of a collection of riskDetection objects. + /// Retrieve the properties of a riskDetection object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskDetectionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs index 3127fd8a723..03f699412f1 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs @@ -72,8 +72,8 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve the properties and relationships of a riskyUser object. - /// Find more info here + /// Retrieve the properties and relationships of a collection of riskyUser objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -121,7 +121,7 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of a riskyUser object. + /// Retrieve the properties and relationships of a collection of riskyUser objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -171,7 +171,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.RiskyUsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of a riskyUser object. + /// Retrieve the properties and relationships of a collection of riskyUser objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskyUsersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 492f16ee241..65a5e7a7a6f 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -84,8 +84,8 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// Find more info here + /// Create a new mailSearchFolder in the specified user's mailbox. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + /// Create a new mailSearchFolder in the specified user's mailbox. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index cbea560c1fc..ae308f4e545 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -60,8 +60,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of attachment objects. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. - /// Find more info here + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. + /// Retrieve a list of attachment objects attached to a message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. /// /// A /// The request body @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. + /// Retrieve a list of attachment objects attached to a message. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AttachmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 675f17585a5..c63bd00146b 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -143,8 +143,8 @@ public MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -216,7 +216,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index a8400b87992..b126a810f5e 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -34,8 +34,8 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -107,7 +107,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index 79c2eec676b..40b91d0b480 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs index 813d56983d6..e45e4100f25 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs @@ -49,8 +49,8 @@ public RegistrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. - /// Find more info here + /// Disable and delete the externalMeetingRegistration of an onlineMeeting. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -73,8 +73,8 @@ public async Task DeleteAsync(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. - /// Find more info here + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MeetingRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. + /// Disable and delete the externalMeetingRegistration of an onlineMeeting. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +206,7 @@ public partial class RegistrationRequestBuilderDeleteRequestConfiguration : Requ { } /// - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RegistrationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/ActionType.cs b/src/Microsoft.Graph/Generated/Models/ActionType.cs new file mode 100644 index 00000000000..f31f2cb7c58 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActionType.cs @@ -0,0 +1,24 @@ +// +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 ActionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "tunnel")] + #pragma warning disable CS1591 + Tunnel, + #pragma warning restore CS1591 + [EnumMember(Value = "exclude")] + #pragma warning disable CS1591 + Exclude, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Admin.cs b/src/Microsoft.Graph/Generated/Models/Admin.cs index 2348b3c770d..fa1fbb5db98 100644 --- a/src/Microsoft.Graph/Generated/Models/Admin.cs +++ b/src/Microsoft.Graph/Generated/Models/Admin.cs @@ -230,7 +230,7 @@ public string OdataType set { BackingStore?.Set("sharepoint", value); } } #endif - /// Represents a collection of user configurations. + /// A container for all Teams telephone number management functionalities and user configurations. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.TeamsAdministration.TeamsAdminRoot? Teams diff --git a/src/Microsoft.Graph/Generated/Models/AndroidManagedAppProtection.cs b/src/Microsoft.Graph/Generated/Models/AndroidManagedAppProtection.cs index 4c821ee615f..30799db4842 100644 --- a/src/Microsoft.Graph/Generated/Models/AndroidManagedAppProtection.cs +++ b/src/Microsoft.Graph/Generated/Models/AndroidManagedAppProtection.cs @@ -155,7 +155,7 @@ public bool? ConnectToVpnOnLaunch get { return BackingStore?.Get("connectToVpnOnLaunch"); } set { BackingStore?.Set("connectToVpnOnLaunch", value); } } - /// Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + /// Friendly name of the preferred custom browser to open weblink on Android. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CustomBrowserDisplayName @@ -171,7 +171,7 @@ public string CustomBrowserDisplayName set { BackingStore?.Set("customBrowserDisplayName", value); } } #endif - /// Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + /// Unique identifier of a custom browser to open weblink on Android. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CustomBrowserPackageId diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationContext.cs b/src/Microsoft.Graph/Generated/Models/ApplicationContext.cs new file mode 100644 index 00000000000..f8c27ea7caa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationContext.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 ApplicationContext : global::Microsoft.Graph.Beta.Models.SignInContext, IParsable + #pragma warning restore CS1591 + { + /// Collection of appId values for the applications. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncludeApplications + { + get { return BackingStore?.Get?>("includeApplications"); } + set { BackingStore?.Set("includeApplications", value); } + } +#nullable restore +#else + public List IncludeApplications + { + get { return BackingStore?.Get>("includeApplications"); } + set { BackingStore?.Set("includeApplications", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationContext() : base() + { + OdataType = "#microsoft.graph.applicationContext"; + } + /// + /// 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.ApplicationContext CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ApplicationContext(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "includeApplications", n => { IncludeApplications = 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.WriteCollectionOfPrimitiveValues("includeApplications", IncludeApplications); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AssignmentReviewSettings.cs b/src/Microsoft.Graph/Generated/Models/AssignmentReviewSettings.cs index c32db07ed47..1b88cc88052 100644 --- a/src/Microsoft.Graph/Generated/Models/AssignmentReviewSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/AssignmentReviewSettings.cs @@ -39,6 +39,12 @@ public bool? IsAccessRecommendationEnabled get { return BackingStore?.Get("isAccessRecommendationEnabled"); } set { BackingStore?.Set("isAccessRecommendationEnabled", value); } } + /// The isAgenticExperienceEnabled property + public bool? IsAgenticExperienceEnabled + { + get { return BackingStore?.Get("isAgenticExperienceEnabled"); } + set { BackingStore?.Set("isAgenticExperienceEnabled", value); } + } /// Specifies whether the reviewer must provide justification for the approval. The default value is true. public bool? IsApprovalJustificationRequired { @@ -150,6 +156,7 @@ public virtual IDictionary> GetFieldDeserializers() { "accessReviewTimeoutBehavior", n => { AccessReviewTimeoutBehavior = n.GetEnumValue(); } }, { "durationInDays", n => { DurationInDays = n.GetIntValue(); } }, { "isAccessRecommendationEnabled", n => { IsAccessRecommendationEnabled = n.GetBoolValue(); } }, + { "isAgenticExperienceEnabled", n => { IsAgenticExperienceEnabled = n.GetBoolValue(); } }, { "isApprovalJustificationRequired", n => { IsApprovalJustificationRequired = n.GetBoolValue(); } }, { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, @@ -169,6 +176,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteEnumValue("accessReviewTimeoutBehavior", AccessReviewTimeoutBehavior); writer.WriteIntValue("durationInDays", DurationInDays); writer.WriteBoolValue("isAccessRecommendationEnabled", IsAccessRecommendationEnabled); + writer.WriteBoolValue("isAgenticExperienceEnabled", IsAgenticExperienceEnabled); writer.WriteBoolValue("isApprovalJustificationRequired", IsApprovalJustificationRequired); writer.WriteBoolValue("isEnabled", IsEnabled); writer.WriteStringValue("@odata.type", OdataType); diff --git a/src/Microsoft.Graph/Generated/Models/AuthContext.cs b/src/Microsoft.Graph/Generated/Models/AuthContext.cs new file mode 100644 index 00000000000..129a1c72b35 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AuthContext.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 AuthContext : global::Microsoft.Graph.Beta.Models.SignInContext, IParsable + #pragma warning restore CS1591 + { + /// Supported values are c1 through c99. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthenticationContextValue + { + get { return BackingStore?.Get("authenticationContextValue"); } + set { BackingStore?.Set("authenticationContextValue", value); } + } +#nullable restore +#else + public string AuthenticationContextValue + { + get { return BackingStore?.Get("authenticationContextValue"); } + set { BackingStore?.Set("authenticationContextValue", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AuthContext() : base() + { + OdataType = "#microsoft.graph.authContext"; + } + /// + /// 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.AuthContext CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AuthContext(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "authenticationContextValue", n => { AuthenticationContextValue = 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("authenticationContextValue", AuthenticationContextValue); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationFlow.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationFlow.cs new file mode 100644 index 00000000000..96ae3766f95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationFlow.cs @@ -0,0 +1,89 @@ +// +#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 AuthenticationFlow : 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 + /// Represents the transfer methods in scope for the policy. The possible values are: none, deviceCodeFlow, authenticationTransfer, unknownFutureValue. Default value is none. + public global::Microsoft.Graph.Beta.Models.ConditionalAccessTransferMethods? TransferMethod + { + get { return BackingStore?.Get("transferMethod"); } + set { BackingStore?.Set("transferMethod", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AuthenticationFlow() + { + 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.AuthenticationFlow CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AuthenticationFlow(); + } + /// + /// 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(); } }, + { "transferMethod", n => { TransferMethod = 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.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("transferMethod", TransferMethod); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationStrengthUsage.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationStrengthUsage.cs index 141c42db301..c6e66b46e11 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationStrengthUsage.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationStrengthUsage.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The mfa property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Mfa + { + get { return BackingStore?.Get?>("mfa"); } + set { BackingStore?.Set("mfa", value); } + } +#nullable restore +#else + public List Mfa + { + get { return BackingStore?.Get>("mfa"); } + set { BackingStore?.Set("mfa", value); } + } +#endif + /// The none property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? None + { + get { return BackingStore?.Get?>("none"); } + set { BackingStore?.Set("none", value); } + } +#nullable restore +#else + public List None + { + get { return BackingStore?.Get>("none"); } + set { BackingStore?.Set("none", value); } + } +#endif /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "mfa", n => { Mfa = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "none", n => { None = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("mfa", Mfa); + writer.WriteCollectionOfObjectValues("none", None); writer.WriteStringValue("@odata.type", OdataType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Models/CaPoliciesDeletableRoot.cs b/src/Microsoft.Graph/Generated/Models/CaPoliciesDeletableRoot.cs new file mode 100644 index 00000000000..39a146253e7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CaPoliciesDeletableRoot.cs @@ -0,0 +1,82 @@ +// +#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 CaPoliciesDeletableRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The namedLocations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? NamedLocations + { + get { return BackingStore?.Get?>("namedLocations"); } + set { BackingStore?.Set("namedLocations", value); } + } +#nullable restore +#else + public List NamedLocations + { + get { return BackingStore?.Get>("namedLocations"); } + set { BackingStore?.Set("namedLocations", value); } + } +#endif + /// The policies property +#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 + /// + /// 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.CaPoliciesDeletableRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "namedLocations", n => { NamedLocations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.NamedLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.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("namedLocations", NamedLocations); + writer.WriteCollectionOfObjectValues("policies", Policies); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs b/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs index bf81036654c..cbdefc64631 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudCommunications.cs @@ -71,7 +71,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// A collection of structured question-and-answer (Q&A) thread in Teams directly associated with online meetings. + /// A collection of structured question-and-answer (Q&A) threads in Teams directly associated with online meetings. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? OnlineMeetingConversations diff --git a/src/Microsoft.Graph/Generated/Models/CompliantNetworkNamedLocation.cs b/src/Microsoft.Graph/Generated/Models/CompliantNetworkNamedLocation.cs new file mode 100644 index 00000000000..62872abff6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CompliantNetworkNamedLocation.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CompliantNetworkNamedLocation : global::Microsoft.Graph.Beta.Models.NamedLocation, IParsable + #pragma warning restore CS1591 + { + /// The compliantNetworkType property + public global::Microsoft.Graph.Beta.Models.CompliantNetworkType? CompliantNetworkType + { + get { return BackingStore?.Get("compliantNetworkType"); } + set { BackingStore?.Set("compliantNetworkType", value); } + } + /// true if this location is explicitly trusted. Optional. Default value is false. + public bool? IsTrusted + { + get { return BackingStore?.Get("isTrusted"); } + set { BackingStore?.Set("isTrusted", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CompliantNetworkNamedLocation() : base() + { + OdataType = "#microsoft.graph.compliantNetworkNamedLocation"; + } + /// + /// 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.CompliantNetworkNamedLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CompliantNetworkNamedLocation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "compliantNetworkType", n => { CompliantNetworkType = n.GetEnumValue(); } }, + { "isTrusted", n => { IsTrusted = 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.WriteEnumValue("compliantNetworkType", CompliantNetworkType); + writer.WriteBoolValue("isTrusted", IsTrusted); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CompliantNetworkType.cs b/src/Microsoft.Graph/Generated/Models/CompliantNetworkType.cs new file mode 100644 index 00000000000..00b28a2f78e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CompliantNetworkType.cs @@ -0,0 +1,20 @@ +// +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 CompliantNetworkType + #pragma warning restore CS1591 + { + [EnumMember(Value = "allTenantCompliantNetworks")] + #pragma warning disable CS1591 + AllTenantCompliantNetworks, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicy.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicy.cs new file mode 100644 index 00000000000..419602136a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicy.cs @@ -0,0 +1,190 @@ +// +#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 ConditionalAccessPolicy : global::Microsoft.Graph.Beta.Models.PolicyDeletableItem, IParsable + #pragma warning restore CS1591 + { + /// The conditions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ConditionalAccessConditionSet? Conditions + { + get { return BackingStore?.Get("conditions"); } + set { BackingStore?.Set("conditions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ConditionalAccessConditionSet Conditions + { + get { return BackingStore?.Get("conditions"); } + set { BackingStore?.Set("conditions", value); } + } +#endif + /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Not used. +#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 + /// Specifies a display name for the conditionalAccessPolicy object. +#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 + /// Specifies the grant controls that must be fulfilled to pass the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ConditionalAccessGrantControls? GrantControls + { + get { return BackingStore?.Get("grantControls"); } + set { BackingStore?.Set("grantControls", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ConditionalAccessGrantControls GrantControls + { + get { return BackingStore?.Get("grantControls"); } + set { BackingStore?.Set("grantControls", value); } + } +#endif + /// The id property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + public DateTimeOffset? ModifiedDateTime + { + get { return BackingStore?.Get("modifiedDateTime"); } + set { BackingStore?.Set("modifiedDateTime", value); } + } + /// Specifies the session controls that are enforced after sign-in. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ConditionalAccessSessionControls? SessionControls + { + get { return BackingStore?.Get("sessionControls"); } + set { BackingStore?.Set("sessionControls", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ConditionalAccessSessionControls SessionControls + { + get { return BackingStore?.Get("sessionControls"); } + set { BackingStore?.Set("sessionControls", value); } + } +#endif + /// The state property + public global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicyState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ConditionalAccessPolicy() : base() + { + OdataType = "#microsoft.graph.conditionalAccessPolicy"; + } + /// + /// 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.ConditionalAccessPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.whatIfAnalysisResult" => new global::Microsoft.Graph.Beta.Models.WhatIfAnalysisResult(), + _ => new global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "conditions", n => { Conditions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ConditionalAccessConditionSet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "grantControls", n => { GrantControls = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ConditionalAccessGrantControls.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "sessionControls", n => { SessionControls = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ConditionalAccessSessionControls.CreateFromDiscriminatorValue); } }, + { "state", n => { State = 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("conditions", Conditions); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("grantControls", GrantControls); + writer.WriteStringValue("id", Id); + writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); + writer.WriteObjectValue("sessionControls", SessionControls); + writer.WriteEnumValue("state", State); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicyCollectionResponse.cs new file mode 100644 index 00000000000..6b1a62be24e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicyCollectionResponse.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 ConditionalAccessPolicyCollectionResponse : 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.ConditionalAccessPolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicyCollectionResponse(); + } + /// + /// 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.ConditionalAccessPolicy.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/ConditionalAccessPolicyState.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicyState.cs new file mode 100644 index 00000000000..a54fcf24337 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicyState.cs @@ -0,0 +1,24 @@ +// +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 ConditionalAccessPolicyState + #pragma warning restore CS1591 + { + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "enabledForReportingButNotEnforced")] + #pragma warning disable CS1591 + EnabledForReportingButNotEnforced, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessRoot.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessRoot.cs index 462a4b312d2..f856516d177 100644 --- a/src/Microsoft.Graph/Generated/Models/ConditionalAccessRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessRoot.cs @@ -59,6 +59,54 @@ public partial class ConditionalAccessRoot : global::Microsoft.Graph.Beta.Models get { return BackingStore?.Get("authenticationStrengths"); } set { BackingStore?.Set("authenticationStrengths", value); } } +#endif + /// The deletedItems property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot? DeletedItems + { + get { return BackingStore?.Get("deletedItems"); } + set { BackingStore?.Set("deletedItems", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot DeletedItems + { + get { return BackingStore?.Get("deletedItems"); } + set { BackingStore?.Set("deletedItems", value); } + } +#endif + /// Read-only. Nullable. Returns a collection of the specified named locations. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? NamedLocations + { + get { return BackingStore?.Get?>("namedLocations"); } + set { BackingStore?.Set("namedLocations", value); } + } +#nullable restore +#else + public List NamedLocations + { + get { return BackingStore?.Get>("namedLocations"); } + set { BackingStore?.Set("namedLocations", value); } + } +#endif + /// Read-only. Nullable. Returns a collection of the specified Conditional Access policies. +#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 /// Read-only. Nullable. Returns a collection of the specified Conditional Access templates. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -97,6 +145,9 @@ public override IDictionary> GetFieldDeserializers() { "authenticationContextClassReferences", n => { AuthenticationContextClassReferences = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AuthenticationContextClassReference.CreateFromDiscriminatorValue)?.AsList(); } }, { "authenticationStrength", n => { AuthenticationStrength = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AuthenticationStrengthRoot.CreateFromDiscriminatorValue); } }, { "authenticationStrengths", n => { AuthenticationStrengths = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AuthenticationStrengthRoot.CreateFromDiscriminatorValue); } }, + { "deletedItems", n => { DeletedItems = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot.CreateFromDiscriminatorValue); } }, + { "namedLocations", n => { NamedLocations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.NamedLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "templates", n => { Templates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConditionalAccessTemplate.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -111,6 +162,9 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("authenticationContextClassReferences", AuthenticationContextClassReferences); writer.WriteObjectValue("authenticationStrength", AuthenticationStrength); writer.WriteObjectValue("authenticationStrengths", AuthenticationStrengths); + writer.WriteObjectValue("deletedItems", DeletedItems); + writer.WriteCollectionOfObjectValues("namedLocations", NamedLocations); + writer.WriteCollectionOfObjectValues("policies", Policies); writer.WriteCollectionOfObjectValues("templates", Templates); } } diff --git a/src/Microsoft.Graph/Generated/Models/CountryLookupMethodType.cs b/src/Microsoft.Graph/Generated/Models/CountryLookupMethodType.cs new file mode 100644 index 00000000000..31ef7013318 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CountryLookupMethodType.cs @@ -0,0 +1,24 @@ +// +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 CountryLookupMethodType + #pragma warning restore CS1591 + { + [EnumMember(Value = "clientIpAddress")] + #pragma warning disable CS1591 + ClientIpAddress, + #pragma warning restore CS1591 + [EnumMember(Value = "authenticatorAppGps")] + #pragma warning disable CS1591 + AuthenticatorAppGps, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CountryNamedLocation.cs b/src/Microsoft.Graph/Generated/Models/CountryNamedLocation.cs new file mode 100644 index 00000000000..67b7e1f6c31 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CountryNamedLocation.cs @@ -0,0 +1,87 @@ +// +#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 CountryNamedLocation : global::Microsoft.Graph.Beta.Models.NamedLocation, IParsable + #pragma warning restore CS1591 + { + /// List of countries and/or regions in two-letter format specified by ISO 3166-2. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CountriesAndRegions + { + get { return BackingStore?.Get?>("countriesAndRegions"); } + set { BackingStore?.Set("countriesAndRegions", value); } + } +#nullable restore +#else + public List CountriesAndRegions + { + get { return BackingStore?.Get>("countriesAndRegions"); } + set { BackingStore?.Set("countriesAndRegions", value); } + } +#endif + /// Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress (default) and authenticatorAppGps. + public global::Microsoft.Graph.Beta.Models.CountryLookupMethodType? CountryLookupMethod + { + get { return BackingStore?.Get("countryLookupMethod"); } + set { BackingStore?.Set("countryLookupMethod", value); } + } + /// true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false. + public bool? IncludeUnknownCountriesAndRegions + { + get { return BackingStore?.Get("includeUnknownCountriesAndRegions"); } + set { BackingStore?.Set("includeUnknownCountriesAndRegions", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CountryNamedLocation() : base() + { + OdataType = "#microsoft.graph.countryNamedLocation"; + } + /// + /// 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.CountryNamedLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CountryNamedLocation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "countriesAndRegions", n => { CountriesAndRegions = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "countryLookupMethod", n => { CountryLookupMethod = n.GetEnumValue(); } }, + { "includeUnknownCountriesAndRegions", n => { IncludeUnknownCountriesAndRegions = 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.WriteCollectionOfPrimitiveValues("countriesAndRegions", CountriesAndRegions); + writer.WriteEnumValue("countryLookupMethod", CountryLookupMethod); + writer.WriteBoolValue("includeUnknownCountriesAndRegions", IncludeUnknownCountriesAndRegions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs index 50cda869e22..efec94a2fd0 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs @@ -2,7 +2,6 @@ #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; @@ -10,15 +9,9 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class CrossTenantAccessPolicyConfigurationPartner : IAdditionalDataHolder, IBackedModel, IParsable + public partial class CrossTenantAccessPolicyConfigurationPartner : global::Microsoft.Graph.Beta.Models.PolicyDeletableItem, 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); } - } /// Determines the partner-specific configuration for automatic user consent settings. Unless configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -99,8 +92,6 @@ public IDictionary AdditionalData set { BackingStore?.Set("b2bDirectConnectOutbound", value); } } #endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } /// Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -145,22 +136,6 @@ public bool? IsServiceProvider get { return BackingStore?.Get("isServiceProvider"); } set { BackingStore?.Set("isServiceProvider", 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 tenant identifier for the partner Microsoft Entra organization. Read-only. Key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -196,17 +171,16 @@ public string TenantId /// /// Instantiates a new and sets the default values. /// - public CrossTenantAccessPolicyConfigurationPartner() + public CrossTenantAccessPolicyConfigurationPartner() : base() { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); + OdataType = "#microsoft.graph.crossTenantAccessPolicyConfigurationPartner"; } /// /// 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.CrossTenantAccessPolicyConfigurationPartner CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); return new global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner(); @@ -215,9 +189,9 @@ public CrossTenantAccessPolicyConfigurationPartner() /// The deserialization information for the current model /// /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() + public override IDictionary> GetFieldDeserializers() { - return new Dictionary> + return new Dictionary>(base.GetFieldDeserializers()) { { "automaticUserConsentSettings", n => { AutomaticUserConsentSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.InboundOutboundPolicyConfiguration.CreateFromDiscriminatorValue); } }, { "b2bCollaborationInbound", n => { B2bCollaborationInbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, @@ -228,7 +202,6 @@ public virtual IDictionary> GetFieldDeserializers() { "inboundTrust", n => { InboundTrust = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, { "isInMultiTenantOrganization", n => { IsInMultiTenantOrganization = n.GetBoolValue(); } }, { "isServiceProvider", n => { IsServiceProvider = n.GetBoolValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "tenantRestrictions", n => { TenantRestrictions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyTenantRestrictions.CreateFromDiscriminatorValue); } }, }; @@ -237,9 +210,10 @@ public virtual IDictionary> GetFieldDeserializers() /// Serializes information the current object /// /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) + public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); writer.WriteObjectValue("automaticUserConsentSettings", AutomaticUserConsentSettings); writer.WriteObjectValue("b2bCollaborationInbound", B2bCollaborationInbound); writer.WriteObjectValue("b2bCollaborationOutbound", B2bCollaborationOutbound); @@ -249,10 +223,8 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteObjectValue("inboundTrust", InboundTrust); writer.WriteBoolValue("isInMultiTenantOrganization", IsInMultiTenantOrganization); writer.WriteBoolValue("isServiceProvider", IsServiceProvider); - writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("tenantId", TenantId); writer.WriteObjectValue("tenantRestrictions", TenantRestrictions); - writer.WriteAdditionalData(AdditionalData); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs index e856f950080..8a70cb8f46d 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartner.cs @@ -2,7 +2,6 @@ #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; @@ -10,17 +9,9 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class CrossTenantIdentitySyncPolicyPartner : IAdditionalDataHolder, IBackedModel, IParsable + public partial class CrossTenantIdentitySyncPolicyPartner : global::Microsoft.Graph.Beta.Models.PolicyDeletableItem, 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 for the cross-tenant user synchronization policy. Use the name of the partner Microsoft Entra tenant to easily identify the policy. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -52,22 +43,6 @@ public string ExternalCloudAuthorizedApplicationId get { return BackingStore?.Get("externalCloudAuthorizedApplicationId"); } set { BackingStore?.Set("externalCloudAuthorizedApplicationId", 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 /// Tenant identifier for the partner Microsoft Entra organization. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -104,17 +79,16 @@ public string TenantId /// /// Instantiates a new and sets the default values. /// - public CrossTenantIdentitySyncPolicyPartner() + public CrossTenantIdentitySyncPolicyPartner() : base() { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); + OdataType = "#microsoft.graph.crossTenantIdentitySyncPolicyPartner"; } /// /// 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.CrossTenantIdentitySyncPolicyPartner CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); return new global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner(); @@ -123,13 +97,12 @@ public CrossTenantIdentitySyncPolicyPartner() /// The deserialization information for the current model /// /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() + public override IDictionary> GetFieldDeserializers() { - return new Dictionary> + return new Dictionary>(base.GetFieldDeserializers()) { { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "externalCloudAuthorizedApplicationId", n => { ExternalCloudAuthorizedApplicationId = n.GetStringValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "userSyncInbound", n => { UserSyncInbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantUserSyncInbound.CreateFromDiscriminatorValue); } }, }; @@ -138,15 +111,14 @@ public virtual IDictionary> GetFieldDeserializers() /// Serializes information the current object /// /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) + public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("externalCloudAuthorizedApplicationId", ExternalCloudAuthorizedApplicationId); - writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("tenantId", TenantId); writer.WriteObjectValue("userSyncInbound", UserSyncInbound); - writer.WriteAdditionalData(AdditionalData); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartnerCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartnerCollectionResponse.cs new file mode 100644 index 00000000000..3ad4d457f8c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantIdentitySyncPolicyPartnerCollectionResponse.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 CrossTenantIdentitySyncPolicyPartnerCollectionResponse : 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.CrossTenantIdentitySyncPolicyPartnerCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartnerCollectionResponse(); + } + /// + /// 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.CrossTenantIdentitySyncPolicyPartner.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/DeviceInfo.cs b/src/Microsoft.Graph/Generated/Models/DeviceInfo.cs new file mode 100644 index 00000000000..84fba3fc265 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceInfo.cs @@ -0,0 +1,593 @@ +// +#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 DeviceInfo : 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; } + /// Unique identifier set by Azure Device Registration Service at the time of registration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceId + { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", value); } + } +#nullable restore +#else + public string DeviceId + { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", value); } + } +#endif + /// The display name for the device. +#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 + /// Enrollment profile applied to the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EnrollmentProfileName + { + get { return BackingStore?.Get("enrollmentProfileName"); } + set { BackingStore?.Set("enrollmentProfileName", value); } + } +#nullable restore +#else + public string EnrollmentProfileName + { + get { return BackingStore?.Get("enrollmentProfileName"); } + set { BackingStore?.Set("enrollmentProfileName", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute1 + { + get { return BackingStore?.Get("extensionAttribute1"); } + set { BackingStore?.Set("extensionAttribute1", value); } + } +#nullable restore +#else + public string ExtensionAttribute1 + { + get { return BackingStore?.Get("extensionAttribute1"); } + set { BackingStore?.Set("extensionAttribute1", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute10 + { + get { return BackingStore?.Get("extensionAttribute10"); } + set { BackingStore?.Set("extensionAttribute10", value); } + } +#nullable restore +#else + public string ExtensionAttribute10 + { + get { return BackingStore?.Get("extensionAttribute10"); } + set { BackingStore?.Set("extensionAttribute10", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute11 + { + get { return BackingStore?.Get("extensionAttribute11"); } + set { BackingStore?.Set("extensionAttribute11", value); } + } +#nullable restore +#else + public string ExtensionAttribute11 + { + get { return BackingStore?.Get("extensionAttribute11"); } + set { BackingStore?.Set("extensionAttribute11", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute12 + { + get { return BackingStore?.Get("extensionAttribute12"); } + set { BackingStore?.Set("extensionAttribute12", value); } + } +#nullable restore +#else + public string ExtensionAttribute12 + { + get { return BackingStore?.Get("extensionAttribute12"); } + set { BackingStore?.Set("extensionAttribute12", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute13 + { + get { return BackingStore?.Get("extensionAttribute13"); } + set { BackingStore?.Set("extensionAttribute13", value); } + } +#nullable restore +#else + public string ExtensionAttribute13 + { + get { return BackingStore?.Get("extensionAttribute13"); } + set { BackingStore?.Set("extensionAttribute13", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute14 + { + get { return BackingStore?.Get("extensionAttribute14"); } + set { BackingStore?.Set("extensionAttribute14", value); } + } +#nullable restore +#else + public string ExtensionAttribute14 + { + get { return BackingStore?.Get("extensionAttribute14"); } + set { BackingStore?.Set("extensionAttribute14", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute15 + { + get { return BackingStore?.Get("extensionAttribute15"); } + set { BackingStore?.Set("extensionAttribute15", value); } + } +#nullable restore +#else + public string ExtensionAttribute15 + { + get { return BackingStore?.Get("extensionAttribute15"); } + set { BackingStore?.Set("extensionAttribute15", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute2 + { + get { return BackingStore?.Get("extensionAttribute2"); } + set { BackingStore?.Set("extensionAttribute2", value); } + } +#nullable restore +#else + public string ExtensionAttribute2 + { + get { return BackingStore?.Get("extensionAttribute2"); } + set { BackingStore?.Set("extensionAttribute2", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute3 + { + get { return BackingStore?.Get("extensionAttribute3"); } + set { BackingStore?.Set("extensionAttribute3", value); } + } +#nullable restore +#else + public string ExtensionAttribute3 + { + get { return BackingStore?.Get("extensionAttribute3"); } + set { BackingStore?.Set("extensionAttribute3", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute4 + { + get { return BackingStore?.Get("extensionAttribute4"); } + set { BackingStore?.Set("extensionAttribute4", value); } + } +#nullable restore +#else + public string ExtensionAttribute4 + { + get { return BackingStore?.Get("extensionAttribute4"); } + set { BackingStore?.Set("extensionAttribute4", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute5 + { + get { return BackingStore?.Get("extensionAttribute5"); } + set { BackingStore?.Set("extensionAttribute5", value); } + } +#nullable restore +#else + public string ExtensionAttribute5 + { + get { return BackingStore?.Get("extensionAttribute5"); } + set { BackingStore?.Set("extensionAttribute5", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute6 + { + get { return BackingStore?.Get("extensionAttribute6"); } + set { BackingStore?.Set("extensionAttribute6", value); } + } +#nullable restore +#else + public string ExtensionAttribute6 + { + get { return BackingStore?.Get("extensionAttribute6"); } + set { BackingStore?.Set("extensionAttribute6", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute7 + { + get { return BackingStore?.Get("extensionAttribute7"); } + set { BackingStore?.Set("extensionAttribute7", value); } + } +#nullable restore +#else + public string ExtensionAttribute7 + { + get { return BackingStore?.Get("extensionAttribute7"); } + set { BackingStore?.Set("extensionAttribute7", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute8 + { + get { return BackingStore?.Get("extensionAttribute8"); } + set { BackingStore?.Set("extensionAttribute8", value); } + } +#nullable restore +#else + public string ExtensionAttribute8 + { + get { return BackingStore?.Get("extensionAttribute8"); } + set { BackingStore?.Set("extensionAttribute8", value); } + } +#endif + /// Extension attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExtensionAttribute9 + { + get { return BackingStore?.Get("extensionAttribute9"); } + set { BackingStore?.Set("extensionAttribute9", value); } + } +#nullable restore +#else + public string ExtensionAttribute9 + { + get { return BackingStore?.Get("extensionAttribute9"); } + set { BackingStore?.Set("extensionAttribute9", value); } + } +#endif + /// Indicates the device compliance status with Mobile Management Device (MDM) policies. Default is false. + public bool? IsCompliant + { + get { return BackingStore?.Get("isCompliant"); } + set { BackingStore?.Set("isCompliant", value); } + } + /// Manufacturer of the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#nullable restore +#else + public string Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#endif + /// Application identifier used to register device into MDM. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MdmAppId + { + get { return BackingStore?.Get("mdmAppId"); } + set { BackingStore?.Set("mdmAppId", value); } + } +#nullable restore +#else + public string MdmAppId + { + get { return BackingStore?.Get("mdmAppId"); } + set { BackingStore?.Set("mdmAppId", value); } + } +#endif + /// Model of the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Model + { + get { return BackingStore?.Get("model"); } + set { BackingStore?.Set("model", value); } + } +#nullable restore +#else + public string Model + { + get { return BackingStore?.Get("model"); } + set { BackingStore?.Set("model", 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 + /// The type of operating system on the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OperatingSystem + { + get { return BackingStore?.Get("operatingSystem"); } + set { BackingStore?.Set("operatingSystem", value); } + } +#nullable restore +#else + public string OperatingSystem + { + get { return BackingStore?.Get("operatingSystem"); } + set { BackingStore?.Set("operatingSystem", value); } + } +#endif + /// The version of the operating system on the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OperatingSystemVersion + { + get { return BackingStore?.Get("operatingSystemVersion"); } + set { BackingStore?.Set("operatingSystemVersion", value); } + } +#nullable restore +#else + public string OperatingSystemVersion + { + get { return BackingStore?.Get("operatingSystemVersion"); } + set { BackingStore?.Set("operatingSystemVersion", value); } + } +#endif + /// Ownership of the device. This property is set by Intune. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Ownership + { + get { return BackingStore?.Get("ownership"); } + set { BackingStore?.Set("ownership", value); } + } +#nullable restore +#else + public string Ownership + { + get { return BackingStore?.Get("ownership"); } + set { BackingStore?.Set("ownership", value); } + } +#endif + /// A collection of physical identifiers for the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PhysicalIds + { + get { return BackingStore?.Get?>("physicalIds"); } + set { BackingStore?.Set("physicalIds", value); } + } +#nullable restore +#else + public List PhysicalIds + { + get { return BackingStore?.Get>("physicalIds"); } + set { BackingStore?.Set("physicalIds", value); } + } +#endif + /// The profile type of the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProfileType + { + get { return BackingStore?.Get("profileType"); } + set { BackingStore?.Set("profileType", value); } + } +#nullable restore +#else + public string ProfileType + { + get { return BackingStore?.Get("profileType"); } + set { BackingStore?.Set("profileType", value); } + } +#endif + /// List of labels applied to the device by the system. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SystemLabels + { + get { return BackingStore?.Get?>("systemLabels"); } + set { BackingStore?.Set("systemLabels", value); } + } +#nullable restore +#else + public List SystemLabels + { + get { return BackingStore?.Get>("systemLabels"); } + set { BackingStore?.Set("systemLabels", value); } + } +#endif + /// Type of trust for the joined device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TrustType + { + get { return BackingStore?.Get("trustType"); } + set { BackingStore?.Set("trustType", value); } + } +#nullable restore +#else + public string TrustType + { + get { return BackingStore?.Get("trustType"); } + set { BackingStore?.Set("trustType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeviceInfo() + { + 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.DeviceInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DeviceInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enrollmentProfileName", n => { EnrollmentProfileName = n.GetStringValue(); } }, + { "extensionAttribute1", n => { ExtensionAttribute1 = n.GetStringValue(); } }, + { "extensionAttribute10", n => { ExtensionAttribute10 = n.GetStringValue(); } }, + { "extensionAttribute11", n => { ExtensionAttribute11 = n.GetStringValue(); } }, + { "extensionAttribute12", n => { ExtensionAttribute12 = n.GetStringValue(); } }, + { "extensionAttribute13", n => { ExtensionAttribute13 = n.GetStringValue(); } }, + { "extensionAttribute14", n => { ExtensionAttribute14 = n.GetStringValue(); } }, + { "extensionAttribute15", n => { ExtensionAttribute15 = n.GetStringValue(); } }, + { "extensionAttribute2", n => { ExtensionAttribute2 = n.GetStringValue(); } }, + { "extensionAttribute3", n => { ExtensionAttribute3 = n.GetStringValue(); } }, + { "extensionAttribute4", n => { ExtensionAttribute4 = n.GetStringValue(); } }, + { "extensionAttribute5", n => { ExtensionAttribute5 = n.GetStringValue(); } }, + { "extensionAttribute6", n => { ExtensionAttribute6 = n.GetStringValue(); } }, + { "extensionAttribute7", n => { ExtensionAttribute7 = n.GetStringValue(); } }, + { "extensionAttribute8", n => { ExtensionAttribute8 = n.GetStringValue(); } }, + { "extensionAttribute9", n => { ExtensionAttribute9 = n.GetStringValue(); } }, + { "isCompliant", n => { IsCompliant = n.GetBoolValue(); } }, + { "manufacturer", n => { Manufacturer = n.GetStringValue(); } }, + { "mdmAppId", n => { MdmAppId = n.GetStringValue(); } }, + { "model", n => { Model = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, + { "operatingSystemVersion", n => { OperatingSystemVersion = n.GetStringValue(); } }, + { "ownership", n => { Ownership = n.GetStringValue(); } }, + { "physicalIds", n => { PhysicalIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "profileType", n => { ProfileType = n.GetStringValue(); } }, + { "systemLabels", n => { SystemLabels = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "trustType", n => { TrustType = 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("deviceId", DeviceId); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("enrollmentProfileName", EnrollmentProfileName); + writer.WriteStringValue("extensionAttribute1", ExtensionAttribute1); + writer.WriteStringValue("extensionAttribute10", ExtensionAttribute10); + writer.WriteStringValue("extensionAttribute11", ExtensionAttribute11); + writer.WriteStringValue("extensionAttribute12", ExtensionAttribute12); + writer.WriteStringValue("extensionAttribute13", ExtensionAttribute13); + writer.WriteStringValue("extensionAttribute14", ExtensionAttribute14); + writer.WriteStringValue("extensionAttribute15", ExtensionAttribute15); + writer.WriteStringValue("extensionAttribute2", ExtensionAttribute2); + writer.WriteStringValue("extensionAttribute3", ExtensionAttribute3); + writer.WriteStringValue("extensionAttribute4", ExtensionAttribute4); + writer.WriteStringValue("extensionAttribute5", ExtensionAttribute5); + writer.WriteStringValue("extensionAttribute6", ExtensionAttribute6); + writer.WriteStringValue("extensionAttribute7", ExtensionAttribute7); + writer.WriteStringValue("extensionAttribute8", ExtensionAttribute8); + writer.WriteStringValue("extensionAttribute9", ExtensionAttribute9); + writer.WriteBoolValue("isCompliant", IsCompliant); + writer.WriteStringValue("manufacturer", Manufacturer); + writer.WriteStringValue("mdmAppId", MdmAppId); + writer.WriteStringValue("model", Model); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("operatingSystem", OperatingSystem); + writer.WriteStringValue("operatingSystemVersion", OperatingSystemVersion); + writer.WriteStringValue("ownership", Ownership); + writer.WriteCollectionOfPrimitiveValues("physicalIds", PhysicalIds); + writer.WriteStringValue("profileType", ProfileType); + writer.WriteCollectionOfPrimitiveValues("systemLabels", SystemLabels); + writer.WriteStringValue("trustType", TrustType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs index ca7fe3fac01..afc2417139b 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationChoiceSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default option for choice setting + /// Default option for the choice setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DefaultOptionId @@ -28,7 +28,7 @@ public string DefaultOptionId set { BackingStore?.Set("defaultOptionId", value); } } #endif - /// Options for the setting that can be selected + /// Options for the setting that can be selected. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Options diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs index 80a44fa67b0..6f3172b7682 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs @@ -38,7 +38,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Setting definition id that is being referred to a setting. Applicable for reusable setting. + /// Setting definition id that is being referred to a setting. Applicable for reusable setting #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SettingDefinitionId diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs index a31a2addc28..b92901a74b7 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSettingGroupDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Dependent child settings to this group of settings. + /// Dependent child settings to this group of settings #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ChildIds diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs index e4a8fc09e4b..0d9b9121276 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSimpleSettingCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSimpleSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of simple settings in the collection. Valid values 1 to 100 + /// Maximum number of simple settings in the collection public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of simple settings in the collection. Valid values 1 to 100 + /// Minimum number of simple settings in the collection public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs index 68f64c2c089..5e96431756d 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs @@ -29,7 +29,7 @@ public List FileTypes set { BackingStore?.Set("fileTypes", value); } } #endif - /// Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + /// Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationStringFormat? Format { get { return BackingStore?.Get("format"); } @@ -57,13 +57,13 @@ public bool? IsSecret get { return BackingStore?.Get("isSecret"); } set { BackingStore?.Set("isSecret", value); } } - /// Maximum length of string + /// Maximum length of string. Valid values 0 to 87516 public long? MaximumLength { get { return BackingStore?.Get("maximumLength"); } set { BackingStore?.Set("maximumLength", value); } } - /// Minimum length of string + /// Minimum length of string. Valid values 0 to 87516 public long? MinimumLength { get { return BackingStore?.Get("minimumLength"); } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 018a89cd4b1..881942ada6c 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -377,6 +377,7 @@ public Entity() "#microsoft.graph.callTranscript" => new global::Microsoft.Graph.Beta.Models.CallTranscript(), "#microsoft.graph.cancelMediaProcessingOperation" => new global::Microsoft.Graph.Beta.Models.CancelMediaProcessingOperation(), "#microsoft.graph.canvasLayout" => new global::Microsoft.Graph.Beta.Models.CanvasLayout(), + "#microsoft.graph.caPoliciesDeletableRoot" => new global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot(), "#microsoft.graph.cartToClassAssociation" => new global::Microsoft.Graph.Beta.Models.CartToClassAssociation(), "#microsoft.graph.certificateAuthorityAsEntity" => new global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity(), "#microsoft.graph.certificateAuthorityDetail" => new global::Microsoft.Graph.Beta.Models.CertificateAuthorityDetail(), @@ -1203,12 +1204,14 @@ public Entity() "#microsoft.graph.mobileAppInstallStatus" => new global::Microsoft.Graph.Beta.Models.MobileAppInstallStatus(), "#microsoft.graph.mobileAppInstallSummary" => new global::Microsoft.Graph.Beta.Models.MobileAppInstallSummary(), "#microsoft.graph.mobileAppIntentAndState" => new global::Microsoft.Graph.Beta.Models.MobileAppIntentAndState(), + "#microsoft.graph.mobileAppManagementPolicy" => new global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy(), "#microsoft.graph.mobileAppPolicySetItem" => new global::Microsoft.Graph.Beta.Models.MobileAppPolicySetItem(), "#microsoft.graph.mobileAppProvisioningConfigGroupAssignment" => new global::Microsoft.Graph.Beta.Models.MobileAppProvisioningConfigGroupAssignment(), "#microsoft.graph.mobileAppRelationship" => new global::Microsoft.Graph.Beta.Models.MobileAppRelationship(), "#microsoft.graph.mobileAppSupersedence" => new global::Microsoft.Graph.Beta.Models.MobileAppSupersedence(), "#microsoft.graph.mobileAppTroubleshootingEvent" => new global::Microsoft.Graph.Beta.Models.MobileAppTroubleshootingEvent(), "#microsoft.graph.mobileContainedApp" => new global::Microsoft.Graph.Beta.Models.MobileContainedApp(), + "#microsoft.graph.mobileDeviceManagementPolicy" => new global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy(), "#microsoft.graph.mobileLobApp" => new global::Microsoft.Graph.Beta.Models.MobileLobApp(), "#microsoft.graph.mobileThreatDefenseConnector" => new global::Microsoft.Graph.Beta.Models.MobileThreatDefenseConnector(), "#microsoft.graph.mobilityManagementPolicy" => new global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy(), @@ -1430,6 +1433,7 @@ public Entity() "#microsoft.graph.platformCredentialAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.PlatformCredentialAuthenticationMethod(), "#microsoft.graph.playPromptOperation" => new global::Microsoft.Graph.Beta.Models.PlayPromptOperation(), "#microsoft.graph.policyBase" => new global::Microsoft.Graph.Beta.Models.PolicyBase(), + "#microsoft.graph.policyDeletableRoot" => new global::Microsoft.Graph.Beta.Models.PolicyDeletableRoot(), "#microsoft.graph.policyFile" => new global::Microsoft.Graph.Beta.Models.PolicyFile(), "#microsoft.graph.policyRoot" => new global::Microsoft.Graph.Beta.Models.PolicyRoot(), "#microsoft.graph.policySet" => new global::Microsoft.Graph.Beta.Models.PolicySet(), diff --git a/src/Microsoft.Graph/Generated/Models/IdentitySet.cs b/src/Microsoft.Graph/Generated/Models/IdentitySet.cs index 68bcfc70c5e..bcb09d262e7 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentitySet.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Optional. The application associated with this action. + /// The Identity of the Application. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? Application @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Optional. The device associated with this action. + /// The Identity of the Device. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? Device @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Optional. The user associated with this action. + /// The Identity of the User. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? User diff --git a/src/Microsoft.Graph/Generated/Models/InsiderRiskLevel.cs b/src/Microsoft.Graph/Generated/Models/InsiderRiskLevel.cs new file mode 100644 index 00000000000..009d5a18d33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/InsiderRiskLevel.cs @@ -0,0 +1,32 @@ +// +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 InsiderRiskLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "minor")] + #pragma warning disable CS1591 + Minor, + #pragma warning restore CS1591 + [EnumMember(Value = "moderate")] + #pragma warning disable CS1591 + Moderate, + #pragma warning restore CS1591 + [EnumMember(Value = "elevated")] + #pragma warning disable CS1591 + Elevated, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs index 6b745a592e8..4dcbf7a8540 100644 --- a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Assignments @@ -83,7 +83,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Optional profile expiration date and time. + /// Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. public DateTimeOffset? ExpirationDateTime { get { return BackingStore?.Get("expirationDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs b/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs index b2ae62df9de..4fbb9d50b54 100644 --- a/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs +++ b/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs @@ -69,7 +69,7 @@ public bool? AllowWidgetContentSync set { BackingStore?.Set("apps", value); } } #endif - /// A custom browser protocol to open weblink on iOS. + /// A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CustomBrowserProtocol diff --git a/src/Microsoft.Graph/Generated/Models/IpApplicationSegment.cs b/src/Microsoft.Graph/Generated/Models/IpApplicationSegment.cs index cb5fda7eef9..469fdc19954 100644 --- a/src/Microsoft.Graph/Generated/Models/IpApplicationSegment.cs +++ b/src/Microsoft.Graph/Generated/Models/IpApplicationSegment.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Beta.Models public partial class IpApplicationSegment : global::Microsoft.Graph.Beta.Models.ApplicationSegment, IParsable #pragma warning restore CS1591 { + /// The action property + public global::Microsoft.Graph.Beta.Models.ActionType? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } /// The on-premises nonweb application published through Microsoft Entra application proxy. Expanded by default and supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -103,6 +109,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "action", n => { Action = n.GetEnumValue(); } }, { "application", n => { Application = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Application.CreateFromDiscriminatorValue); } }, { "destinationHost", n => { DestinationHost = n.GetStringValue(); } }, { "destinationType", n => { DestinationType = n.GetEnumValue(); } }, @@ -119,6 +126,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteEnumValue("action", Action); writer.WriteObjectValue("application", Application); writer.WriteStringValue("destinationHost", DestinationHost); writer.WriteEnumValue("destinationType", DestinationType); diff --git a/src/Microsoft.Graph/Generated/Models/IpNamedLocation.cs b/src/Microsoft.Graph/Generated/Models/IpNamedLocation.cs new file mode 100644 index 00000000000..43d9326100c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IpNamedLocation.cs @@ -0,0 +1,79 @@ +// +#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 IpNamedLocation : global::Microsoft.Graph.Beta.Models.NamedLocation, IParsable + #pragma warning restore CS1591 + { + /// List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IpRanges + { + get { return BackingStore?.Get?>("ipRanges"); } + set { BackingStore?.Set("ipRanges", value); } + } +#nullable restore +#else + public List IpRanges + { + get { return BackingStore?.Get>("ipRanges"); } + set { BackingStore?.Set("ipRanges", value); } + } +#endif + /// true if this location is explicitly trusted. Optional. Default value is false. + public bool? IsTrusted + { + get { return BackingStore?.Get("isTrusted"); } + set { BackingStore?.Set("isTrusted", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public IpNamedLocation() : base() + { + OdataType = "#microsoft.graph.ipNamedLocation"; + } + /// + /// 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.IpNamedLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IpNamedLocation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "ipRanges", n => { IpRanges = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IpRange.CreateFromDiscriminatorValue)?.AsList(); } }, + { "isTrusted", n => { IsTrusted = 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.WriteCollectionOfObjectValues("ipRanges", IpRanges); + writer.WriteBoolValue("isTrusted", IsTrusted); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs index 9e5906a462e..ddf8e08d860 100644 --- a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MacOsLobAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + /// Whether or not to uninstall the app when device is removed from Intune. public bool? UninstallOnDeviceRemoval { get { return BackingStore?.Get("uninstallOnDeviceRemoval"); } diff --git a/src/Microsoft.Graph/Generated/Models/MobileApp.cs b/src/Microsoft.Graph/Generated/Models/MobileApp.cs index ee548967fdf..6bfa3001192 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileApp.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileApp.cs @@ -45,13 +45,13 @@ public partial class MobileApp : global::Microsoft.Graph.Beta.Models.Entity, IPa set { BackingStore?.Set("categories", value); } } #endif - /// The date and time the app was created. This property is read-only. + /// The date and time the app was created. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The total number of dependencies the child app has. This property is read-only. + /// The total number of dependencies the child app has. public int? DependentAppCount { get { return BackingStore?.Get("dependentAppCount"); } @@ -121,7 +121,7 @@ public string InformationUrl set { BackingStore?.Set("informationUrl", value); } } #endif - /// The value indicating whether the app is assigned to at least one group. This property is read-only. + /// The value indicating whether the app is assigned to at least one group. public bool? IsAssigned { get { return BackingStore?.Get("isAssigned"); } @@ -149,7 +149,7 @@ public bool? IsFeatured set { BackingStore?.Set("largeIcon", value); } } #endif - /// The date and time the app was last modified. This property is read-only. + /// The date and time the app was last modified. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } @@ -225,7 +225,7 @@ public string Publisher get { return BackingStore?.Get("publishingState"); } set { BackingStore?.Set("publishingState", value); } } - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Relationships @@ -269,7 +269,7 @@ public int? SupersedingAppCount get { return BackingStore?.Get("supersedingAppCount"); } set { BackingStore?.Set("supersedingAppCount", value); } } - /// The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. + /// The upload state. public int? UploadState { get { return BackingStore?.Get("uploadState"); } diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppManagementPolicy.cs b/src/Microsoft.Graph/Generated/Models/MobileAppManagementPolicy.cs new file mode 100644 index 00000000000..8f8eac039d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileAppManagementPolicy.cs @@ -0,0 +1,46 @@ +// +#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 MobileAppManagementPolicy : global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.MobileAppManagementPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy(); + } + /// + /// 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/MobileAppManagementPolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MobileAppManagementPolicyCollectionResponse.cs new file mode 100644 index 00000000000..9022d38d32f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileAppManagementPolicyCollectionResponse.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 MobileAppManagementPolicyCollectionResponse : 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.MobileAppManagementPolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicyCollectionResponse(); + } + /// + /// 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.MobileAppManagementPolicy.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/MobileDeviceManagementPolicy.cs b/src/Microsoft.Graph/Generated/Models/MobileDeviceManagementPolicy.cs new file mode 100644 index 00000000000..4b7cbab8cb5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileDeviceManagementPolicy.cs @@ -0,0 +1,46 @@ +// +#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 MobileDeviceManagementPolicy : global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.MobileDeviceManagementPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy(); + } + /// + /// 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/MobileDeviceManagementPolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MobileDeviceManagementPolicyCollectionResponse.cs new file mode 100644 index 00000000000..4b687448b83 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MobileDeviceManagementPolicyCollectionResponse.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 MobileDeviceManagementPolicyCollectionResponse : 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.MobileDeviceManagementPolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicyCollectionResponse(); + } + /// + /// 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.MobileDeviceManagementPolicy.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/MobilityManagementPolicy.cs b/src/Microsoft.Graph/Generated/Models/MobilityManagementPolicy.cs index 82b4aecfcd3..b5f776c1e52 100644 --- a/src/Microsoft.Graph/Generated/Models/MobilityManagementPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/MobilityManagementPolicy.cs @@ -128,7 +128,13 @@ public string TermsOfUseUrl public static new global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.mobileAppManagementPolicy" => new global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy(), + "#microsoft.graph.mobileDeviceManagementPolicy" => new global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy(), + _ => new global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/NamedLocation.cs b/src/Microsoft.Graph/Generated/Models/NamedLocation.cs new file mode 100644 index 00000000000..d423311292c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NamedLocation.cs @@ -0,0 +1,114 @@ +// +#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 NamedLocation : global::Microsoft.Graph.Beta.Models.PolicyDeletableItem, IParsable + #pragma warning restore CS1591 + { + /// The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Human-readable name of the location. +#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 + /// Identifier of a namedLocation object. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? ModifiedDateTime + { + get { return BackingStore?.Get("modifiedDateTime"); } + set { BackingStore?.Set("modifiedDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public NamedLocation() : base() + { + OdataType = "#microsoft.graph.namedLocation"; + } + /// + /// 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.NamedLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.compliantNetworkNamedLocation" => new global::Microsoft.Graph.Beta.Models.CompliantNetworkNamedLocation(), + "#microsoft.graph.countryNamedLocation" => new global::Microsoft.Graph.Beta.Models.CountryNamedLocation(), + "#microsoft.graph.ipNamedLocation" => new global::Microsoft.Graph.Beta.Models.IpNamedLocation(), + "#microsoft.graph.privateLinkNamedLocation" => new global::Microsoft.Graph.Beta.Models.PrivateLinkNamedLocation(), + "#microsoft.graph.serviceTagNamedLocation" => new global::Microsoft.Graph.Beta.Models.ServiceTagNamedLocation(), + _ => new global::Microsoft.Graph.Beta.Models.NamedLocation(), + }; + } + /// + /// 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(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = 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.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("id", Id); + writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/NamedLocationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/NamedLocationCollectionResponse.cs new file mode 100644 index 00000000000..a7fd479d31b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NamedLocationCollectionResponse.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 NamedLocationCollectionResponse : 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.NamedLocationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.NamedLocationCollectionResponse(); + } + /// + /// 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.NamedLocation.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/Networkaccess/Connectivity.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/Connectivity.cs index d4b3c51f6e6..59757814fbd 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/Connectivity.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/Connectivity.cs @@ -44,7 +44,7 @@ public partial class Connectivity : global::Microsoft.Graph.Beta.Models.Entity, set { BackingStore?.Set("remoteNetworks", value); } } #endif - /// The webCategories property + /// The URL category. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? WebCategories diff --git a/src/Microsoft.Graph/Generated/Models/PolicyDeletableItem.cs b/src/Microsoft.Graph/Generated/Models/PolicyDeletableItem.cs new file mode 100644 index 00000000000..024728649f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyDeletableItem.cs @@ -0,0 +1,103 @@ +// +#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 PolicyDeletableItem : 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; } + /// Shows the last date and time the policy was deleted. + public DateTimeOffset? DeletedDateTime + { + get { return BackingStore?.Get("deletedDateTime"); } + set { BackingStore?.Set("deletedDateTime", 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 PolicyDeletableItem() + { + 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.PolicyDeletableItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.compliantNetworkNamedLocation" => new global::Microsoft.Graph.Beta.Models.CompliantNetworkNamedLocation(), + "#microsoft.graph.conditionalAccessPolicy" => new global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy(), + "#microsoft.graph.countryNamedLocation" => new global::Microsoft.Graph.Beta.Models.CountryNamedLocation(), + "#microsoft.graph.crossTenantAccessPolicyConfigurationPartner" => new global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner(), + "#microsoft.graph.crossTenantIdentitySyncPolicyPartner" => new global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner(), + "#microsoft.graph.ipNamedLocation" => new global::Microsoft.Graph.Beta.Models.IpNamedLocation(), + "#microsoft.graph.namedLocation" => new global::Microsoft.Graph.Beta.Models.NamedLocation(), + "#microsoft.graph.privateLinkNamedLocation" => new global::Microsoft.Graph.Beta.Models.PrivateLinkNamedLocation(), + "#microsoft.graph.serviceTagNamedLocation" => new global::Microsoft.Graph.Beta.Models.ServiceTagNamedLocation(), + "#microsoft.graph.whatIfAnalysisResult" => new global::Microsoft.Graph.Beta.Models.WhatIfAnalysisResult(), + _ => new global::Microsoft.Graph.Beta.Models.PolicyDeletableItem(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "deletedDateTime", n => { DeletedDateTime = 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.WriteDateTimeOffsetValue("deletedDateTime", DeletedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyDeletableRoot.cs b/src/Microsoft.Graph/Generated/Models/PolicyDeletableRoot.cs new file mode 100644 index 00000000000..72659c051db --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyDeletableRoot.cs @@ -0,0 +1,82 @@ +// +#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 PolicyDeletableRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Represents the partner-specific configuration for cross-tenant access and tenant restrictions. Cross-tenant access settings include inbound and outbound settings of Microsoft Entra B2B collaboration and B2B direct connect. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CrossTenantPartners + { + get { return BackingStore?.Get?>("crossTenantPartners"); } + set { BackingStore?.Set("crossTenantPartners", value); } + } +#nullable restore +#else + public List CrossTenantPartners + { + get { return BackingStore?.Get>("crossTenantPartners"); } + set { BackingStore?.Set("crossTenantPartners", value); } + } +#endif + /// Defines the cross-tenant policy for synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CrossTenantSyncPolicyPartners + { + get { return BackingStore?.Get?>("crossTenantSyncPolicyPartners"); } + set { BackingStore?.Set("crossTenantSyncPolicyPartners", value); } + } +#nullable restore +#else + public List CrossTenantSyncPolicyPartners + { + get { return BackingStore?.Get>("crossTenantSyncPolicyPartners"); } + set { BackingStore?.Set("crossTenantSyncPolicyPartners", 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.PolicyDeletableRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PolicyDeletableRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "crossTenantPartners", n => { CrossTenantPartners = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue)?.AsList(); } }, + { "crossTenantSyncPolicyPartners", n => { CrossTenantSyncPolicyPartners = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner.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("crossTenantPartners", CrossTenantPartners); + writer.WriteCollectionOfObjectValues("crossTenantSyncPolicyPartners", CrossTenantSyncPolicyPartners); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs index 993121cadb5..30f59c1066c 100644 --- a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs @@ -171,6 +171,22 @@ public partial class PolicyRoot : global::Microsoft.Graph.Beta.Models.Entity, IP get { return BackingStore?.Get>("claimsMappingPolicies"); } set { BackingStore?.Set("claimsMappingPolicies", value); } } +#endif + /// The custom rules that define an access scenario. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConditionalAccessPolicies + { + get { return BackingStore?.Get?>("conditionalAccessPolicies"); } + set { BackingStore?.Set("conditionalAccessPolicies", value); } + } +#nullable restore +#else + public List ConditionalAccessPolicies + { + get { return BackingStore?.Get>("conditionalAccessPolicies"); } + set { BackingStore?.Set("conditionalAccessPolicies", value); } + } #endif /// The custom rules that define an access scenario when interacting with external Microsoft Entra tenants. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -203,6 +219,22 @@ public partial class PolicyRoot : global::Microsoft.Graph.Beta.Models.Entity, IP get { return BackingStore?.Get("defaultAppManagementPolicy"); } set { BackingStore?.Set("defaultAppManagementPolicy", value); } } +#endif + /// Policies that support soft-delete functionality and can be restored within 30 days. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PolicyDeletableRoot? DeletedItems + { + get { return BackingStore?.Get("deletedItems"); } + set { BackingStore?.Set("deletedItems", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PolicyDeletableRoot DeletedItems + { + get { return BackingStore?.Get("deletedItems"); } + set { BackingStore?.Set("deletedItems", value); } + } #endif /// Represents the policy scope that controls quota restrictions, additional authentication, and authorization policies to register device identities to your organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -319,32 +351,32 @@ public partial class PolicyRoot : global::Microsoft.Graph.Beta.Models.Entity, IP /// The policy that defines autoenrollment configuration for a mobility management (MDM or MAM) application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? MobileAppManagementPolicies + public List? MobileAppManagementPolicies { - get { return BackingStore?.Get?>("mobileAppManagementPolicies"); } + get { return BackingStore?.Get?>("mobileAppManagementPolicies"); } set { BackingStore?.Set("mobileAppManagementPolicies", value); } } #nullable restore #else - public List MobileAppManagementPolicies + public List MobileAppManagementPolicies { - get { return BackingStore?.Get>("mobileAppManagementPolicies"); } + get { return BackingStore?.Get>("mobileAppManagementPolicies"); } set { BackingStore?.Set("mobileAppManagementPolicies", value); } } #endif /// The mobileDeviceManagementPolicies property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? MobileDeviceManagementPolicies + public List? MobileDeviceManagementPolicies { - get { return BackingStore?.Get?>("mobileDeviceManagementPolicies"); } + get { return BackingStore?.Get?>("mobileDeviceManagementPolicies"); } set { BackingStore?.Set("mobileDeviceManagementPolicies", value); } } #nullable restore #else - public List MobileDeviceManagementPolicies + public List MobileDeviceManagementPolicies { - get { return BackingStore?.Get>("mobileDeviceManagementPolicies"); } + get { return BackingStore?.Get>("mobileDeviceManagementPolicies"); } set { BackingStore?.Set("mobileDeviceManagementPolicies", value); } } #endif @@ -488,8 +520,10 @@ public override IDictionary> GetFieldDeserializers() { "authorizationPolicy", n => { AuthorizationPolicy = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AuthorizationPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "b2cAuthenticationMethodsPolicy", n => { B2cAuthenticationMethodsPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.B2cAuthenticationMethodsPolicy.CreateFromDiscriminatorValue); } }, { "claimsMappingPolicies", n => { ClaimsMappingPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ClaimsMappingPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "conditionalAccessPolicies", n => { ConditionalAccessPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "crossTenantAccessPolicy", n => { CrossTenantAccessPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicy.CreateFromDiscriminatorValue); } }, { "defaultAppManagementPolicy", n => { DefaultAppManagementPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TenantAppManagementPolicy.CreateFromDiscriminatorValue); } }, + { "deletedItems", n => { DeletedItems = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PolicyDeletableRoot.CreateFromDiscriminatorValue); } }, { "deviceRegistrationPolicy", n => { DeviceRegistrationPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceRegistrationPolicy.CreateFromDiscriminatorValue); } }, { "directoryRoleAccessReviewPolicy", n => { DirectoryRoleAccessReviewPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryRoleAccessReviewPolicy.CreateFromDiscriminatorValue); } }, { "externalIdentitiesPolicy", n => { ExternalIdentitiesPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExternalIdentitiesPolicy.CreateFromDiscriminatorValue); } }, @@ -497,8 +531,8 @@ public override IDictionary> GetFieldDeserializers() { "federatedTokenValidationPolicy", n => { FederatedTokenValidationPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.FederatedTokenValidationPolicy.CreateFromDiscriminatorValue); } }, { "homeRealmDiscoveryPolicies", n => { HomeRealmDiscoveryPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "identitySecurityDefaultsEnforcementPolicy", n => { IdentitySecurityDefaultsEnforcementPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySecurityDefaultsEnforcementPolicy.CreateFromDiscriminatorValue); } }, - { "mobileAppManagementPolicies", n => { MobileAppManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, - { "mobileDeviceManagementPolicies", n => { MobileDeviceManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "mobileAppManagementPolicies", n => { MobileAppManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "mobileDeviceManagementPolicies", n => { MobileDeviceManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "permissionGrantPolicies", n => { PermissionGrantPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PermissionGrantPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "permissionGrantPreApprovalPolicies", n => { PermissionGrantPreApprovalPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PermissionGrantPreApprovalPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleManagementPolicies", n => { RoleManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -526,8 +560,10 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("authorizationPolicy", AuthorizationPolicy); writer.WriteObjectValue("b2cAuthenticationMethodsPolicy", B2cAuthenticationMethodsPolicy); writer.WriteCollectionOfObjectValues("claimsMappingPolicies", ClaimsMappingPolicies); + writer.WriteCollectionOfObjectValues("conditionalAccessPolicies", ConditionalAccessPolicies); writer.WriteObjectValue("crossTenantAccessPolicy", CrossTenantAccessPolicy); writer.WriteObjectValue("defaultAppManagementPolicy", DefaultAppManagementPolicy); + writer.WriteObjectValue("deletedItems", DeletedItems); writer.WriteObjectValue("deviceRegistrationPolicy", DeviceRegistrationPolicy); writer.WriteObjectValue("directoryRoleAccessReviewPolicy", DirectoryRoleAccessReviewPolicy); writer.WriteObjectValue("externalIdentitiesPolicy", ExternalIdentitiesPolicy); @@ -535,8 +571,8 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("federatedTokenValidationPolicy", FederatedTokenValidationPolicy); writer.WriteCollectionOfObjectValues("homeRealmDiscoveryPolicies", HomeRealmDiscoveryPolicies); writer.WriteObjectValue("identitySecurityDefaultsEnforcementPolicy", IdentitySecurityDefaultsEnforcementPolicy); - writer.WriteCollectionOfObjectValues("mobileAppManagementPolicies", MobileAppManagementPolicies); - writer.WriteCollectionOfObjectValues("mobileDeviceManagementPolicies", MobileDeviceManagementPolicies); + writer.WriteCollectionOfObjectValues("mobileAppManagementPolicies", MobileAppManagementPolicies); + writer.WriteCollectionOfObjectValues("mobileDeviceManagementPolicies", MobileDeviceManagementPolicies); writer.WriteCollectionOfObjectValues("permissionGrantPolicies", PermissionGrantPolicies); writer.WriteCollectionOfObjectValues("permissionGrantPreApprovalPolicies", PermissionGrantPreApprovalPolicies); writer.WriteCollectionOfObjectValues("roleManagementPolicies", RoleManagementPolicies); diff --git a/src/Microsoft.Graph/Generated/Models/PrivateLinkNamedLocation.cs b/src/Microsoft.Graph/Generated/Models/PrivateLinkNamedLocation.cs new file mode 100644 index 00000000000..e204c0aaf18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PrivateLinkNamedLocation.cs @@ -0,0 +1,79 @@ +// +#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 PrivateLinkNamedLocation : global::Microsoft.Graph.Beta.Models.NamedLocation, IParsable + #pragma warning restore CS1591 + { + /// The isTrusted property + public bool? IsTrusted + { + get { return BackingStore?.Get("isTrusted"); } + set { BackingStore?.Set("isTrusted", value); } + } + /// The privateLinkResourcePolicyIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PrivateLinkResourcePolicyIds + { + get { return BackingStore?.Get?>("privateLinkResourcePolicyIds"); } + set { BackingStore?.Set("privateLinkResourcePolicyIds", value); } + } +#nullable restore +#else + public List PrivateLinkResourcePolicyIds + { + get { return BackingStore?.Get>("privateLinkResourcePolicyIds"); } + set { BackingStore?.Set("privateLinkResourcePolicyIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PrivateLinkNamedLocation() : base() + { + OdataType = "#microsoft.graph.privateLinkNamedLocation"; + } + /// + /// 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.PrivateLinkNamedLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PrivateLinkNamedLocation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isTrusted", n => { IsTrusted = n.GetBoolValue(); } }, + { "privateLinkResourcePolicyIds", n => { PrivateLinkResourcePolicyIds = 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.WriteBoolValue("isTrusted", IsTrusted); + writer.WriteCollectionOfPrimitiveValues("privateLinkResourcePolicyIds", PrivateLinkResourcePolicyIds); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyArtifactCount.cs b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyArtifactCount.cs new file mode 100644 index 00000000000..520bfe38338 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyArtifactCount.cs @@ -0,0 +1,113 @@ +// +#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 ProtectionPolicyArtifactCount : 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 number of artifacts whose protection is completed. + public int? Completed + { + get { return BackingStore?.Get("completed"); } + set { BackingStore?.Set("completed", value); } + } + /// The number of artifacts whose protection failed. + public int? Failed + { + get { return BackingStore?.Get("failed"); } + set { BackingStore?.Set("failed", value); } + } + /// The number of artifacts whose protection is in progress. + public int? InProgress + { + get { return BackingStore?.Get("inProgress"); } + set { BackingStore?.Set("inProgress", 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 number of artifacts present in the protection policy. + public int? Total + { + get { return BackingStore?.Get("total"); } + set { BackingStore?.Set("total", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ProtectionPolicyArtifactCount() + { + 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.ProtectionPolicyArtifactCount CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ProtectionPolicyArtifactCount(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "completed", n => { Completed = n.GetIntValue(); } }, + { "failed", n => { Failed = n.GetIntValue(); } }, + { "inProgress", n => { InProgress = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "total", n => { Total = n.GetIntValue(); } }, + }; + } + /// + /// 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("completed", Completed); + writer.WriteIntValue("failed", Failed); + writer.WriteIntValue("inProgress", InProgress); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("total", Total); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs index faaed7b8726..50e258faaef 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs @@ -44,7 +44,7 @@ public string BillingPolicyId set { BackingStore?.Set("createdBy", value); } } #endif - /// The time of creation of the policy. + /// The date and time when the policy 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"); } @@ -66,6 +66,12 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif + /// Indicates whether the policy is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } /// The identity of the person who last modified the policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -82,12 +88,28 @@ public string DisplayName set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The timestamp of the last modification of the policy. + /// 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. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } + /// The count of artifacts in the protection policy by status. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ProtectionPolicyArtifactCount? ProtectionPolicyArtifactCount + { + get { return BackingStore?.Get("protectionPolicyArtifactCount"); } + set { BackingStore?.Set("protectionPolicyArtifactCount", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ProtectionPolicyArtifactCount ProtectionPolicyArtifactCount + { + get { return BackingStore?.Get("protectionPolicyArtifactCount"); } + set { BackingStore?.Set("protectionPolicyArtifactCount", value); } + } +#endif /// Contains the retention setting details for the policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -139,8 +161,10 @@ public override IDictionary> GetFieldDeserializers() { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "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(); } }, { "status", n => { Status = n.GetEnumValue(); } }, }; @@ -157,8 +181,10 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("createdBy", CreatedBy); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("isEnabled", IsEnabled); writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteObjectValue("protectionPolicyArtifactCount", ProtectionPolicyArtifactCount); writer.WriteCollectionOfObjectValues("retentionSettings", RetentionSettings); writer.WriteEnumValue("status", Status); } diff --git a/src/Microsoft.Graph/Generated/Models/Report.cs b/src/Microsoft.Graph/Generated/Models/Report.cs index fd05cd55f55..20a1b0b8bd3 100644 --- a/src/Microsoft.Graph/Generated/Models/Report.cs +++ b/src/Microsoft.Graph/Generated/Models/Report.cs @@ -22,7 +22,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The http content that has the data + /// Report content; details vary by report type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public byte[]? Content diff --git a/src/Microsoft.Graph/Generated/Models/Security/SecurityGroupEvidence.cs b/src/Microsoft.Graph/Generated/Models/Security/SecurityGroupEvidence.cs index fdbd185338c..c61cb1a3301 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/SecurityGroupEvidence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/SecurityGroupEvidence.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Beta.Models.Security public partial class SecurityGroupEvidence : global::Microsoft.Graph.Beta.Models.Security.AlertEvidence, IParsable #pragma warning restore CS1591 { + /// The unique group identifier assigned by the on-premises Active Directory. + public Guid? ActiveDirectoryObjectGuid + { + get { return BackingStore?.Get("activeDirectoryObjectGuid"); } + set { BackingStore?.Set("activeDirectoryObjectGuid", value); } + } /// The name of the security group. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -27,6 +33,38 @@ public string DisplayName get { return BackingStore?.Get("displayName"); } set { BackingStore?.Set("displayName", value); } } +#endif + /// The distinguished name of the security group. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DistinguishedName + { + get { return BackingStore?.Get("distinguishedName"); } + set { BackingStore?.Set("distinguishedName", value); } + } +#nullable restore +#else + public string DistinguishedName + { + get { return BackingStore?.Get("distinguishedName"); } + set { BackingStore?.Set("distinguishedName", value); } + } +#endif + /// The friendly name of the security group. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FriendlyName + { + get { return BackingStore?.Get("friendlyName"); } + set { BackingStore?.Set("friendlyName", value); } + } +#nullable restore +#else + public string FriendlyName + { + get { return BackingStore?.Get("friendlyName"); } + set { BackingStore?.Set("friendlyName", value); } + } #endif /// Unique identifier of the security group. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,6 +81,22 @@ public string SecurityGroupId get { return BackingStore?.Get("securityGroupId"); } set { BackingStore?.Set("securityGroupId", value); } } +#endif + /// The security identifier of the group. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Sid + { + get { return BackingStore?.Get("sid"); } + set { BackingStore?.Set("sid", value); } + } +#nullable restore +#else + public string Sid + { + get { return BackingStore?.Get("sid"); } + set { BackingStore?.Set("sid", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -69,8 +123,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "activeDirectoryObjectGuid", n => { ActiveDirectoryObjectGuid = n.GetGuidValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "distinguishedName", n => { DistinguishedName = n.GetStringValue(); } }, + { "friendlyName", n => { FriendlyName = n.GetStringValue(); } }, { "securityGroupId", n => { SecurityGroupId = n.GetStringValue(); } }, + { "sid", n => { Sid = n.GetStringValue(); } }, }; } /// @@ -81,8 +139,12 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteGuidValue("activeDirectoryObjectGuid", ActiveDirectoryObjectGuid); writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("distinguishedName", DistinguishedName); + writer.WriteStringValue("friendlyName", FriendlyName); writer.WriteStringValue("securityGroupId", SecurityGroupId); + writer.WriteStringValue("sid", Sid); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs index 3ab62abc1fd..2dd9c61911d 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs @@ -29,6 +29,12 @@ public string AccountName set { BackingStore?.Set("accountName", value); } } #endif + /// The unique user identifier assigned by the on-premises Active Directory. + public Guid? ActiveDirectoryObjectGuid + { + get { return BackingStore?.Get("activeDirectoryObjectGuid"); } + set { BackingStore?.Set("activeDirectoryObjectGuid", value); } + } /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { @@ -176,6 +182,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "accountName", n => { AccountName = n.GetStringValue(); } }, + { "activeDirectoryObjectGuid", n => { ActiveDirectoryObjectGuid = n.GetGuidValue(); } }, { "azureAdUserId", n => { AzureAdUserId = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "domainName", n => { DomainName = n.GetStringValue(); } }, @@ -193,6 +200,7 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("accountName", AccountName); + writer.WriteGuidValue("activeDirectoryObjectGuid", ActiveDirectoryObjectGuid); writer.WriteStringValue("azureAdUserId", AzureAdUserId); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("domainName", DomainName); diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipalSignIn.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipalSignIn.cs new file mode 100644 index 00000000000..97c8ef80690 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipalSignIn.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 ServicePrincipalSignIn : global::Microsoft.Graph.Beta.Models.SignInIdentity, IParsable + #pragma warning restore CS1591 + { + /// appId of the service principal that is signing in. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ServicePrincipalId + { + get { return BackingStore?.Get("servicePrincipalId"); } + set { BackingStore?.Set("servicePrincipalId", value); } + } +#nullable restore +#else + public string ServicePrincipalId + { + get { return BackingStore?.Get("servicePrincipalId"); } + set { BackingStore?.Set("servicePrincipalId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ServicePrincipalSignIn() : base() + { + OdataType = "#microsoft.graph.servicePrincipalSignIn"; + } + /// + /// 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.ServicePrincipalSignIn CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ServicePrincipalSignIn(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "servicePrincipalId", n => { ServicePrincipalId = 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("servicePrincipalId", ServicePrincipalId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ServiceTagNamedLocation.cs b/src/Microsoft.Graph/Generated/Models/ServiceTagNamedLocation.cs new file mode 100644 index 00000000000..b9f5d63fad5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ServiceTagNamedLocation.cs @@ -0,0 +1,79 @@ +// +#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 ServiceTagNamedLocation : global::Microsoft.Graph.Beta.Models.NamedLocation, IParsable + #pragma warning restore CS1591 + { + /// The isTrusted property + public bool? IsTrusted + { + get { return BackingStore?.Get("isTrusted"); } + set { BackingStore?.Set("isTrusted", value); } + } + /// The serviceTags property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ServiceTags + { + get { return BackingStore?.Get?>("serviceTags"); } + set { BackingStore?.Set("serviceTags", value); } + } +#nullable restore +#else + public List ServiceTags + { + get { return BackingStore?.Get>("serviceTags"); } + set { BackingStore?.Set("serviceTags", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ServiceTagNamedLocation() : base() + { + OdataType = "#microsoft.graph.serviceTagNamedLocation"; + } + /// + /// 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.ServiceTagNamedLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ServiceTagNamedLocation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isTrusted", n => { IsTrusted = n.GetBoolValue(); } }, + { "serviceTags", n => { ServiceTags = 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.WriteBoolValue("isTrusted", IsTrusted); + writer.WriteCollectionOfPrimitiveValues("serviceTags", ServiceTags); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SignInConditions.cs b/src/Microsoft.Graph/Generated/Models/SignInConditions.cs new file mode 100644 index 00000000000..d21950b0577 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SignInConditions.cs @@ -0,0 +1,201 @@ +// +#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 SignInConditions : 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); } + } + /// Type of authentication flow. The possible value is: deviceCodeFlow or authenticationTransfer. Default value is none. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AuthenticationFlow? AuthenticationFlow + { + get { return BackingStore?.Get("authenticationFlow"); } + set { BackingStore?.Set("authenticationFlow", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AuthenticationFlow AuthenticationFlow + { + get { return BackingStore?.Get("authenticationFlow"); } + set { BackingStore?.Set("authenticationFlow", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Client application type. The possible value is: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other, unknownFutureValue. Default value is all. + public global::Microsoft.Graph.Beta.Models.ConditionalAccessClientApp? ClientAppType + { + get { return BackingStore?.Get("clientAppType"); } + set { BackingStore?.Set("clientAppType", value); } + } + /// Country from where the identity is authenticating. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Country + { + get { return BackingStore?.Get("country"); } + set { BackingStore?.Set("country", value); } + } +#nullable restore +#else + public string Country + { + get { return BackingStore?.Get("country"); } + set { BackingStore?.Set("country", value); } + } +#endif + /// Information about the device used for the sign-in. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DeviceInfo? DeviceInfo + { + get { return BackingStore?.Get("deviceInfo"); } + set { BackingStore?.Set("deviceInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DeviceInfo DeviceInfo + { + get { return BackingStore?.Get("deviceInfo"); } + set { BackingStore?.Set("deviceInfo", value); } + } +#endif + /// Device platform. The possible value is: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue, linux. Default value is all. + public global::Microsoft.Graph.Beta.Models.ConditionalAccessDevicePlatform? DevicePlatform + { + get { return BackingStore?.Get("devicePlatform"); } + set { BackingStore?.Set("devicePlatform", value); } + } + /// Insider risk associated with the authenticating user. The possible value is: none, minor, moderate, elevated, unknownFutureValue. Default value is none. + public global::Microsoft.Graph.Beta.Models.InsiderRiskLevel? InsiderRiskLevel + { + get { return BackingStore?.Get("insiderRiskLevel"); } + set { BackingStore?.Set("insiderRiskLevel", value); } + } + /// Ip address of the authenticating identity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IpAddress + { + get { return BackingStore?.Get("ipAddress"); } + set { BackingStore?.Set("ipAddress", value); } + } +#nullable restore +#else + public string IpAddress + { + get { return BackingStore?.Get("ipAddress"); } + set { BackingStore?.Set("ipAddress", 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 + /// Risk associated with the service principal. The possible value is: low, medium, high, hidden, none, unknownFutureValue. Default value is none. + public global::Microsoft.Graph.Beta.Models.RiskLevel? ServicePrincipalRiskLevel + { + get { return BackingStore?.Get("servicePrincipalRiskLevel"); } + set { BackingStore?.Set("servicePrincipalRiskLevel", value); } + } + /// Sign-in risk associated with the user. The possible value is: low, medium, high, hidden, none, unknownFutureValue. Default value is none. + public global::Microsoft.Graph.Beta.Models.RiskLevel? SignInRiskLevel + { + get { return BackingStore?.Get("signInRiskLevel"); } + set { BackingStore?.Set("signInRiskLevel", value); } + } + /// The authenticating user's risk level. The possible value is: low, medium, high, hidden, none, unknownFutureValue. Default value is none. + public global::Microsoft.Graph.Beta.Models.RiskLevel? UserRiskLevel + { + get { return BackingStore?.Get("userRiskLevel"); } + set { BackingStore?.Set("userRiskLevel", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SignInConditions() + { + 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.SignInConditions CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SignInConditions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "authenticationFlow", n => { AuthenticationFlow = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AuthenticationFlow.CreateFromDiscriminatorValue); } }, + { "clientAppType", n => { ClientAppType = n.GetEnumValue(); } }, + { "country", n => { Country = n.GetStringValue(); } }, + { "deviceInfo", n => { DeviceInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceInfo.CreateFromDiscriminatorValue); } }, + { "devicePlatform", n => { DevicePlatform = n.GetEnumValue(); } }, + { "insiderRiskLevel", n => { InsiderRiskLevel = n.GetEnumValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "servicePrincipalRiskLevel", n => { ServicePrincipalRiskLevel = n.GetEnumValue(); } }, + { "signInRiskLevel", n => { SignInRiskLevel = n.GetEnumValue(); } }, + { "userRiskLevel", n => { UserRiskLevel = 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("authenticationFlow", AuthenticationFlow); + writer.WriteEnumValue("clientAppType", ClientAppType); + writer.WriteStringValue("country", Country); + writer.WriteObjectValue("deviceInfo", DeviceInfo); + writer.WriteEnumValue("devicePlatform", DevicePlatform); + writer.WriteEnumValue("insiderRiskLevel", InsiderRiskLevel); + writer.WriteStringValue("ipAddress", IpAddress); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("servicePrincipalRiskLevel", ServicePrincipalRiskLevel); + writer.WriteEnumValue("signInRiskLevel", SignInRiskLevel); + writer.WriteEnumValue("userRiskLevel", UserRiskLevel); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SignInContext.cs b/src/Microsoft.Graph/Generated/Models/SignInContext.cs new file mode 100644 index 00000000000..4eeaf4c83e1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SignInContext.cs @@ -0,0 +1,88 @@ +// +#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 SignInContext : 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 SignInContext() + { + 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.SignInContext CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.applicationContext" => new global::Microsoft.Graph.Beta.Models.ApplicationContext(), + "#microsoft.graph.authContext" => new global::Microsoft.Graph.Beta.Models.AuthContext(), + "#microsoft.graph.userActionContext" => new global::Microsoft.Graph.Beta.Models.UserActionContext(), + _ => new global::Microsoft.Graph.Beta.Models.SignInContext(), + }; + } + /// + /// 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/SignInIdentity.cs b/src/Microsoft.Graph/Generated/Models/SignInIdentity.cs new file mode 100644 index 00000000000..8f29a8728ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SignInIdentity.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SignInIdentity : 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 SignInIdentity() + { + 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.SignInIdentity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.servicePrincipalSignIn" => new global::Microsoft.Graph.Beta.Models.ServicePrincipalSignIn(), + "#microsoft.graph.userSignIn" => new global::Microsoft.Graph.Beta.Models.UserSignIn(), + _ => new global::Microsoft.Graph.Beta.Models.SignInIdentity(), + }; + } + /// + /// 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/UserAction.cs b/src/Microsoft.Graph/Generated/Models/UserAction.cs new file mode 100644 index 00000000000..11b3398ccc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserAction.cs @@ -0,0 +1,24 @@ +// +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 UserAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "registerSecurityInformation")] + #pragma warning disable CS1591 + RegisterSecurityInformation, + #pragma warning restore CS1591 + [EnumMember(Value = "registerOrJoinDevices")] + #pragma warning disable CS1591 + RegisterOrJoinDevices, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UserActionContext.cs b/src/Microsoft.Graph/Generated/Models/UserActionContext.cs new file mode 100644 index 00000000000..132a7a145f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserActionContext.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserActionContext : global::Microsoft.Graph.Beta.Models.SignInContext, IParsable + #pragma warning restore CS1591 + { + /// Represents the user action that the authenticating identity is performing. The possible values are: registerSecurityInformation, registerOrJoinDevices, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.UserAction? UserAction + { + get { return BackingStore?.Get("userAction"); } + set { BackingStore?.Set("userAction", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UserActionContext() : base() + { + OdataType = "#microsoft.graph.userActionContext"; + } + /// + /// 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.UserActionContext CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UserActionContext(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "userAction", n => { UserAction = 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("userAction", UserAction); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UserSignIn.cs b/src/Microsoft.Graph/Generated/Models/UserSignIn.cs new file mode 100644 index 00000000000..d08d7d6daa7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserSignIn.cs @@ -0,0 +1,97 @@ +// +#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 UserSignIn : global::Microsoft.Graph.Beta.Models.SignInIdentity, IParsable + #pragma warning restore CS1591 + { + /// TenantId of the guest user as applies to Microsoft Entra B2B scenarios. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalTenantId + { + get { return BackingStore?.Get("externalTenantId"); } + set { BackingStore?.Set("externalTenantId", value); } + } +#nullable restore +#else + public string ExternalTenantId + { + get { return BackingStore?.Get("externalTenantId"); } + set { BackingStore?.Set("externalTenantId", value); } + } +#endif + /// The externalUserType property + public global::Microsoft.Graph.Beta.Models.ConditionalAccessGuestOrExternalUserTypes? ExternalUserType + { + get { return BackingStore?.Get("externalUserType"); } + set { BackingStore?.Set("externalUserType", value); } + } + /// Object ID of the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UserSignIn() : base() + { + OdataType = "#microsoft.graph.userSignIn"; + } + /// + /// 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.UserSignIn CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UserSignIn(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "externalTenantId", n => { ExternalTenantId = n.GetStringValue(); } }, + { "externalUserType", n => { ExternalUserType = n.GetEnumValue(); } }, + { "userId", n => { UserId = 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("externalTenantId", ExternalTenantId); + writer.WriteEnumValue("externalUserType", ExternalUserType); + writer.WriteStringValue("userId", UserId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WhatIfAnalysisReasons.cs b/src/Microsoft.Graph/Generated/Models/WhatIfAnalysisReasons.cs new file mode 100644 index 00000000000..2c7104aece8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WhatIfAnalysisReasons.cs @@ -0,0 +1,97 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum WhatIfAnalysisReasons + #pragma warning restore CS1591 + { + [EnumMember(Value = "notSet")] + #pragma warning disable CS1591 + NotSet = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "notEnoughInformation")] + #pragma warning disable CS1591 + NotEnoughInformation = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "invalidCondition")] + #pragma warning disable CS1591 + InvalidCondition = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "users")] + #pragma warning disable CS1591 + Users = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "workloadIdentities")] + #pragma warning disable CS1591 + WorkloadIdentities = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "application")] + #pragma warning disable CS1591 + Application = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "userActions")] + #pragma warning disable CS1591 + UserActions = 64, + #pragma warning restore CS1591 + [EnumMember(Value = "authenticationContext")] + #pragma warning disable CS1591 + AuthenticationContext = 128, + #pragma warning restore CS1591 + [EnumMember(Value = "devicePlatform")] + #pragma warning disable CS1591 + DevicePlatform = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "devices")] + #pragma warning disable CS1591 + Devices = 512, + #pragma warning restore CS1591 + [EnumMember(Value = "clientApps")] + #pragma warning disable CS1591 + ClientApps = 1024, + #pragma warning restore CS1591 + [EnumMember(Value = "location")] + #pragma warning disable CS1591 + Location = 2048, + #pragma warning restore CS1591 + [EnumMember(Value = "signInRisk")] + #pragma warning disable CS1591 + SignInRisk = 4096, + #pragma warning restore CS1591 + [EnumMember(Value = "emptyPolicy")] + #pragma warning disable CS1591 + EmptyPolicy = 8192, + #pragma warning restore CS1591 + [EnumMember(Value = "invalidPolicy")] + #pragma warning disable CS1591 + InvalidPolicy = 16384, + #pragma warning restore CS1591 + [EnumMember(Value = "policyNotEnabled")] + #pragma warning disable CS1591 + PolicyNotEnabled = 32768, + #pragma warning restore CS1591 + [EnumMember(Value = "userRisk")] + #pragma warning disable CS1591 + UserRisk = 65536, + #pragma warning restore CS1591 + [EnumMember(Value = "time")] + #pragma warning disable CS1591 + Time = 131072, + #pragma warning restore CS1591 + [EnumMember(Value = "insiderRisk")] + #pragma warning disable CS1591 + InsiderRisk = 262144, + #pragma warning restore CS1591 + [EnumMember(Value = "authenticationFlow")] + #pragma warning disable CS1591 + AuthenticationFlow = 524288, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 1048576, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WhatIfAnalysisResult.cs b/src/Microsoft.Graph/Generated/Models/WhatIfAnalysisResult.cs new file mode 100644 index 00000000000..ddcdcf72bae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WhatIfAnalysisResult.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WhatIfAnalysisResult : global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy, IParsable + #pragma warning restore CS1591 + { + /// The analysisReasons property + public global::Microsoft.Graph.Beta.Models.WhatIfAnalysisReasons? AnalysisReasons + { + get { return BackingStore?.Get("analysisReasons"); } + set { BackingStore?.Set("analysisReasons", value); } + } + /// Specifies whether the policy applies to the sign-in properties provided in the request body. If policyApplies is true, the policy applies to the sign-in based on the sign-in properties provided. If policyApplies is false, the policy doesn't apply to the sign-in based on the sign-in properties provided and the analysisReasons property is populated to show the reason for the policy not applying. + public bool? PolicyApplies + { + get { return BackingStore?.Get("policyApplies"); } + set { BackingStore?.Set("policyApplies", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public WhatIfAnalysisResult() : base() + { + OdataType = "#microsoft.graph.whatIfAnalysisResult"; + } + /// + /// 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.WhatIfAnalysisResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WhatIfAnalysisResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "analysisReasons", n => { AnalysisReasons = n.GetEnumValue(); } }, + { "policyApplies", n => { PolicyApplies = 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.WriteEnumValue("analysisReasons", AnalysisReasons); + writer.WriteBoolValue("policyApplies", PolicyApplies); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs index 64fd624442a..cc511505695 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + /// Whether or not to use device execution context for Windows AppX mobile app. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs index 971deb7599b..fbef5acde18 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs @@ -51,7 +51,7 @@ public int? ComputerNameSuffixRandomCharCount get { return BackingStore?.Get("computerNameSuffixRandomCharCount"); } set { BackingStore?.Set("computerNameSuffixRandomCharCount", value); } } - /// Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + /// Reference to device configurations required for network connectivity #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? NetworkAccessConfigurations diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs index 7bcece30ee9..6f143dacb06 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsUniversalAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + /// Whether or not to use device execution context for Windows Universal AppX mobile app. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs index 0f44daff37a..ac5c322da9c 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs @@ -41,8 +41,8 @@ public PolicyLinkItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Delete a tlsInspectionPolicyLink object. Used to unlink a tlsInspectionPolicy from a filtering profile. - /// Find more info here + /// Delete a threatIntelligencePolicyLink object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a tlsInspectionPolicyLink object. Used to unlink a tlsInspectionPolicy from a filtering profile. + /// Delete a threatIntelligencePolicyLink object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs index b4f65808c0a..5124a76a01f 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get a list of the threatIntelligencePolicyLink objects and their properties. - /// Find more info here + /// Get a list of the tlsInspectionPolicyLink objects on a filtering profile. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the threatIntelligencePolicyLink objects and their properties. + /// Get a list of the tlsInspectionPolicyLink objects on a filtering profile. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.NetworkAccess.FilteringProfiles.Item.Policies.PoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the threatIntelligencePolicyLink objects and their properties. + /// Get a list of the tlsInspectionPolicyLink objects on a filtering profile. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.cs new file mode 100644 index 00000000000..37eacf0959f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count; +using Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.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.Policies.ConditionalAccessPolicies +{ + /// + /// Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. + /// The unique identifier of conditionalAccessPolicy + /// A + public global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conditionalAccessPolicy%2Did", position); + return new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder(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 ConditionalAccessPoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/conditionalAccessPolicies{?%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 ConditionalAccessPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/conditionalAccessPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The custom rules that define an access scenario. + /// + /// 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.ConditionalAccessPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to conditionalAccessPolicies for policies + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The custom rules that define an access scenario. + /// + /// 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 conditionalAccessPolicies for policies + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.Policies.ConditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The custom rules that define an access scenario. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPoliciesRequestBuilderGetQueryParameters + { + /// 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 ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration : 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 ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a76b384de6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/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.Policies.ConditionalAccessPolicies.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}/policies/conditionalAccessPolicies/$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}/policies/conditionalAccessPolicies/$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.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.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/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..275b8605076 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore; +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.Policies.ConditionalAccessPolicies.Item +{ + /// + /// Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.RestoreRequestBuilder(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 ConditionalAccessPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/conditionalAccessPolicies/{conditionalAccessPolicy%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 ConditionalAccessPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/conditionalAccessPolicies/{conditionalAccessPolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property conditionalAccessPolicies for policies + /// + /// 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 custom rules that define an access scenario. + /// + /// 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property conditionalAccessPolicies in policies + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property conditionalAccessPolicies for policies + /// + /// 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 custom rules that define an access scenario. + /// + /// 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 conditionalAccessPolicies in policies + /// + /// 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.ConditionalAccessPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy 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.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder(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 ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The custom rules that define an access scenario. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConditionalAccessPolicyItemRequestBuilderGetQueryParameters + { + /// 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 ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration : 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 ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..48d6ed63810 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Policies.ConditionalAccessPolicies.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/conditionalAccessPolicies/{conditionalAccessPolicy%2Did}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/conditionalAccessPolicies/{conditionalAccessPolicy%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// 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.Policies.ConditionalAccessPolicies.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs index d4b87fb3d17..3a19f2c30e2 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization; +using Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class CrossTenantAccessPolicyConfigurationPartnerTenantItemReques { get => new global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index a3e305fb633..2e27f665384 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Id [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IdentitySynchronizationRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..60b937ad697 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/crossTenantAccessPolicy/partners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/identitySynchronization/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/crossTenantAccessPolicy/partners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/identitySynchronization/restore", rawUrl) + { + } + /// + /// Restore a deleted crossTenantIdentitySyncPolicyPartner 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a deleted crossTenantIdentitySyncPolicyPartner 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 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.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..46d42dd6d8e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.Policies.CrossTenantAccessPolicy.Partners.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/crossTenantAccessPolicy/partners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/crossTenantAccessPolicy/partners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/restore", rawUrl) + { + } + /// + /// Restore a deleted crossTenantAccessPolicyConfigurationPartner 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a deleted crossTenantAccessPolicyConfigurationPartner 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 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.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..6a1ab9d71d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/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.Policies.DeletedItems.CrossTenantPartners.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}/policies/deletedItems/crossTenantPartners/$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}/policies/deletedItems/crossTenantPartners/$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.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.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/Policies/DeletedItems/CrossTenantPartners/CrossTenantPartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/CrossTenantPartnersRequestBuilder.cs new file mode 100644 index 00000000000..edc784ff0bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/CrossTenantPartnersRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.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.Policies.DeletedItems.CrossTenantPartners +{ + /// + /// Provides operations to manage the crossTenantPartners property of the microsoft.graph.policyDeletableRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantPartnersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the crossTenantPartners property of the microsoft.graph.policyDeletableRoot entity. + /// The unique identifier of crossTenantAccessPolicyConfigurationPartner + /// A + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("crossTenantAccessPolicyConfigurationPartner%2DtenantId", position); + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder(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 CrossTenantPartnersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners{?%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 CrossTenantPartnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// 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.CrossTenantAccessPolicyConfigurationPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to crossTenantPartners for policies + /// + /// 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.CrossTenantAccessPolicyConfigurationPartner body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner 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.CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + /// 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 crossTenantPartners for policies + /// + /// 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.CrossTenantAccessPolicyConfigurationPartner body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner 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.Policies.DeletedItems.CrossTenantPartners.CrossTenantPartnersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.CrossTenantPartnersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantPartnersRequestBuilderGetQueryParameters + { + /// 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 CrossTenantPartnersRequestBuilderGetRequestConfiguration : 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 CrossTenantPartnersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs new file mode 100644 index 00000000000..60a73f5ffbd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs @@ -0,0 +1,243 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore; +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.Policies.DeletedItems.CrossTenantPartners.Item +{ + /// + /// Provides operations to manage the crossTenantPartners property of the microsoft.graph.policyDeletableRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the identitySynchronization property of the microsoft.graph.crossTenantAccessPolicyConfigurationPartner entity. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder IdentitySynchronization + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.RestoreRequestBuilder(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 CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}{?%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 CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// 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 policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// 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.CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property crossTenantPartners in policies + /// + /// 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.CrossTenantAccessPolicyConfigurationPartner body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner 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.CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + /// 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 policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + /// 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 crossTenantPartners in policies + /// + /// 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.CrossTenantAccessPolicyConfigurationPartner body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner 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.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder(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 CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters + { + /// 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 CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration : 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 CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs new file mode 100644 index 00000000000..8b15aa29880 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore; +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.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization +{ + /// + /// Provides operations to manage the identitySynchronization property of the microsoft.graph.crossTenantAccessPolicyConfigurationPartner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class IdentitySynchronizationRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder(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 IdentitySynchronizationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/identitySynchronization{?%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 IdentitySynchronizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/identitySynchronization{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property identitySynchronization for policies + /// + /// 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); + } + /// + /// Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. + /// + /// 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.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property identitySynchronization in policies + /// + /// 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 PutAsync(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(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.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property identitySynchronization for policies + /// + /// 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; + } + /// + /// Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. + /// + /// 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 identitySynchronization in policies + /// + /// 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 ToPutRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, 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.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder(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 IdentitySynchronizationRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class IdentitySynchronizationRequestBuilderGetQueryParameters + { + /// 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 IdentitySynchronizationRequestBuilderGetRequestConfiguration : 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 IdentitySynchronizationRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/IdentitySynchronization/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/IdentitySynchronization/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..7d891990e60 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/IdentitySynchronization/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/identitySynchronization/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/identitySynchronization/restore", rawUrl) + { + } + /// + /// Restore a deleted crossTenantIdentitySyncPolicyPartner 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a deleted crossTenantIdentitySyncPolicyPartner 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 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.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..395d9106e22 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantPartners/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.Policies.DeletedItems.CrossTenantPartners.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantPartners/{crossTenantAccessPolicyConfigurationPartner%2DtenantId}/restore", rawUrl) + { + } + /// + /// Restore a deleted crossTenantAccessPolicyConfigurationPartner 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a deleted crossTenantAccessPolicyConfigurationPartner 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 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.Policies.DeletedItems.CrossTenantPartners.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..efe1325473c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/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.Policies.DeletedItems.CrossTenantSyncPolicyPartners.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}/policies/deletedItems/crossTenantSyncPolicyPartners/$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}/policies/deletedItems/crossTenantSyncPolicyPartners/$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.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.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/Policies/DeletedItems/CrossTenantSyncPolicyPartners/CrossTenantSyncPolicyPartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/CrossTenantSyncPolicyPartnersRequestBuilder.cs new file mode 100644 index 00000000000..e74685b5e62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/CrossTenantSyncPolicyPartnersRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.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.Policies.DeletedItems.CrossTenantSyncPolicyPartners +{ + /// + /// Provides operations to manage the crossTenantSyncPolicyPartners property of the microsoft.graph.policyDeletableRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantSyncPolicyPartnersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the crossTenantSyncPolicyPartners property of the microsoft.graph.policyDeletableRoot entity. + /// The unique identifier of crossTenantIdentitySyncPolicyPartner + /// A + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("crossTenantIdentitySyncPolicyPartner%2DtenantId", position); + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder(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 CrossTenantSyncPolicyPartnersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners{?%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 CrossTenantSyncPolicyPartnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// 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.CrossTenantIdentitySyncPolicyPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to crossTenantSyncPolicyPartners for policies + /// + /// 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.CrossTenantIdentitySyncPolicyPartner body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner 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.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + /// 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 crossTenantSyncPolicyPartners for policies + /// + /// 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.CrossTenantIdentitySyncPolicyPartner body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner 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.Policies.DeletedItems.CrossTenantSyncPolicyPartners.CrossTenantSyncPolicyPartnersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.CrossTenantSyncPolicyPartnersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters + { + /// 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 CrossTenantSyncPolicyPartnersRequestBuilderGetRequestConfiguration : 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 CrossTenantSyncPolicyPartnersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Item/CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Item/CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.cs new file mode 100644 index 00000000000..abe0cf22a4b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Item/CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.cs @@ -0,0 +1,237 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore; +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.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item +{ + /// + /// Provides operations to manage the crossTenantSyncPolicyPartners property of the microsoft.graph.policyDeletableRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.RestoreRequestBuilder(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 CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners/{crossTenantIdentitySyncPolicyPartner%2DtenantId}{?%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 CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners/{crossTenantIdentitySyncPolicyPartner%2DtenantId}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// 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 policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// 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.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property crossTenantSyncPolicyPartners in policies + /// + /// 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 PutAsync(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(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.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + /// 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 policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + /// 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 crossTenantSyncPolicyPartners in policies + /// + /// 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 ToPutRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, 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.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder(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 CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters + { + /// 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 CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetRequestConfiguration : 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 CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..66d4d02cf80 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/CrossTenantSyncPolicyPartners/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#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.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners/{crossTenantIdentitySyncPolicyPartner%2DtenantId}/restore", 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 RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems/crossTenantSyncPolicyPartners/{crossTenantIdentitySyncPolicyPartner%2DtenantId}/restore", rawUrl) + { + } + /// + /// Restore a deleted crossTenantIdentitySyncPolicyPartner 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 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 }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a deleted crossTenantIdentitySyncPolicyPartner 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 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.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.RestoreRequestBuilder(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 RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeletedItems/DeletedItemsRequestBuilder.cs new file mode 100644 index 00000000000..b79b5ba0d9f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/DeletedItems/DeletedItemsRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners; +using Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners; +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.Policies.DeletedItems +{ + /// + /// Provides operations to manage the deletedItems property of the microsoft.graph.policyRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the crossTenantPartners property of the microsoft.graph.policyDeletableRoot entity. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.CrossTenantPartnersRequestBuilder CrossTenantPartners + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.CrossTenantPartnersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the crossTenantSyncPolicyPartners property of the microsoft.graph.policyDeletableRoot entity. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.CrossTenantSyncPolicyPartnersRequestBuilder CrossTenantSyncPolicyPartners + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.CrossTenantSyncPolicyPartnersRequestBuilder(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 DeletedItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems{?%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 DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/deletedItems{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deletedItems for policies + /// + /// 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); + } + /// + /// Policies that support soft-delete functionality and can be restored within 30 days. + /// + /// 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.PolicyDeletableRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deletedItems in policies + /// + /// 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.PolicyDeletableRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PolicyDeletableRoot 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.PolicyDeletableRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deletedItems for policies + /// + /// 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; + } + /// + /// Policies that support soft-delete functionality and can be restored within 30 days. + /// + /// 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 deletedItems in policies + /// + /// 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.PolicyDeletableRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PolicyDeletableRoot 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.Policies.DeletedItems.DeletedItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.DeletedItems.DeletedItemsRequestBuilder(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 DeletedItemsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Policies that support soft-delete functionality and can be restored within 30 days. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetQueryParameters + { + /// 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 DeletedItemsRequestBuilderGetRequestConfiguration : 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 DeletedItemsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs index 03259bd8179..c5a92a80b71 100644 --- a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. - /// Find more info here + /// Get a list of the federatedTokenValidationPolicy objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class FederatedTokenValidationPolicyRequestBuilderDeleteRequestCo { } /// - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs index b62055286ce..3a0b6f52b00 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs @@ -22,7 +22,7 @@ public partial class CountRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", pathParameters) { } /// @@ -30,7 +30,7 @@ public CountRequestBuilder(Dictionary pathParameters, IRequestAd /// /// 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}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", rawUrl) + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs index 985b5ee3a78..dfa0073d020 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs @@ -48,7 +48,7 @@ public partial class IncludedGroupsRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public IncludedGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public IncludedGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// @@ -56,7 +56,7 @@ public IncludedGroupsRequestBuilder(Dictionary pathParameters, I /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public IncludedGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public IncludedGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs index ee5df088273..5ceff687e7b 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs @@ -11,7 +11,7 @@ namespace Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.Item { /// - /// Builds and executes requests for operations under \policies\mobileAppManagementPolicies\{mobilityManagementPolicy-id}\includedGroups\{group-id} + /// Builds and executes requests for operations under \policies\mobileAppManagementPolicies\{mobileAppManagementPolicy-id}\includedGroups\{group-id} /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupItemRequestBuilder : BaseRequestBuilder @@ -31,7 +31,7 @@ public partial class GroupItemRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public GroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}", pathParameters) + public GroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}", pathParameters) { } /// @@ -39,7 +39,7 @@ public GroupItemRequestBuilder(Dictionary pathParameters, IReque /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public GroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}", rawUrl) + public GroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}", rawUrl) { } } diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs index 524b7524a4c..8483557a4fc 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs @@ -22,7 +22,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", pathParameters) { } /// @@ -30,7 +30,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index b9411a59a17..fac8e441e13 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -22,7 +22,7 @@ public partial class CountRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) { } /// @@ -30,7 +30,7 @@ public CountRequestBuilder(Dictionary pathParameters, IRequestAd /// /// 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}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index 09f345a74e7..cc88a0791ad 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -14,7 +14,7 @@ namespace Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.Item.ServiceProvisioningErrors { /// - /// Builds and executes requests for operations under \policies\mobileAppManagementPolicies\{mobilityManagementPolicy-id}\includedGroups\{group-id}\serviceProvisioningErrors + /// Builds and executes requests for operations under \policies\mobileAppManagementPolicies\{mobileAppManagementPolicy-id}\includedGroups\{group-id}\serviceProvisioningErrors /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder @@ -29,7 +29,7 @@ public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilde /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// @@ -37,7 +37,7 @@ public ServiceProvisioningErrorsRequestBuilder(Dictionary pathPa /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs index c36ae04a99a..cd08e3ab947 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -120,7 +120,7 @@ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}", PathParameters); + var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}/includedGroups/$ref", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/MobilityManagementPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/MobileAppManagementPolicyItemRequestBuilder.cs similarity index 75% rename from src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/MobilityManagementPolicyItemRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/MobileAppManagementPolicyItemRequestBuilder.cs index 19ed6446a48..575b3b6bcbc 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/MobilityManagementPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/Item/MobileAppManagementPolicyItemRequestBuilder.cs @@ -17,7 +17,7 @@ namespace Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item /// Provides operations to manage the mobileAppManagementPolicies property of the microsoft.graph.policyRoot entity. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MobilityManagementPolicyItemRequestBuilder : BaseRequestBuilder + public partial class MobileAppManagementPolicyItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the includedGroups property of the microsoft.graph.mobilityManagementPolicy entity. public global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder IncludedGroups @@ -25,19 +25,19 @@ public partial class MobilityManagementPolicyItemRequestBuilder : BaseRequestBui get => new global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder(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 MobilityManagementPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}{?%24expand,%24select}", pathParameters) + public MobileAppManagementPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%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 MobilityManagementPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}{?%24expand,%24select}", rawUrl) + public MobileAppManagementPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileAppManagementPolicies/{mobileAppManagementPolicy%2Did}{?%24expand,%24select}", rawUrl) { } /// @@ -67,17 +67,17 @@ public async Task DeleteAsync(Action /// - /// 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); @@ -85,24 +85,24 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a mobilityManagementPolicy object. /// Find more info here /// - /// 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.MobilityManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a mobilityManagementPolicy object. @@ -139,11 +139,11 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration 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); @@ -159,11 +159,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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.MobilityManagementPolicy body, Action>? requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action> requestConfiguration = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -176,25 +176,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.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder(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 MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + public partial class MobileAppManagementPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration { } /// /// Read the properties and relationships of a mobilityManagementPolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MobilityManagementPolicyItemRequestBuilderGetQueryParameters + public partial class MobileAppManagementPolicyItemRequestBuilderGetQueryParameters { /// Expand related entities #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -222,7 +222,7 @@ public partial class MobilityManagementPolicyItemRequestBuilderGetQueryParameter /// [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 MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class MobileAppManagementPolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration { } /// @@ -230,7 +230,7 @@ public partial class MobilityManagementPolicyItemRequestBuilderGetRequestConfigu /// [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 MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + public partial class MobileAppManagementPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/MobileAppManagementPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/MobileAppManagementPoliciesRequestBuilder.cs index 8ce94f91bcd..6e510a2ca2b 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/MobileAppManagementPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileAppManagementPolicies/MobileAppManagementPoliciesRequestBuilder.cs @@ -26,15 +26,15 @@ public partial class MobileAppManagementPoliciesRequestBuilder : BaseRequestBuil get => new global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the mobileAppManagementPolicies property of the microsoft.graph.policyRoot entity. - /// The unique identifier of mobilityManagementPolicy - /// A - public global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder this[string position] + /// The unique identifier of mobileAppManagementPolicy + /// A + public global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("mobilityManagementPolicy%2Did", position); - return new global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder(urlTplParams, RequestAdapter); + urlTplParams.Add("mobileAppManagementPolicy%2Did", position); + return new global::Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder(urlTplParams, RequestAdapter); } } /// @@ -57,17 +57,17 @@ public MobileAppManagementPoliciesRequestBuilder(string rawUrl, IRequestAdapter /// Get a list of the mobilityManagementPolicy 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); @@ -75,23 +75,23 @@ public MobileAppManagementPoliciesRequestBuilder(string rawUrl, IRequestAdapter { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to mobileAppManagementPolicies for policies /// - /// 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.MobilityManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -100,7 +100,7 @@ public MobileAppManagementPoliciesRequestBuilder(string rawUrl, IRequestAdapter { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the mobilityManagementPolicy objects and their properties. @@ -129,11 +129,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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.MobilityManagementPolicy body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy body, Action> requestConfiguration = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs index 76a2d1c5ec4..182755a7a90 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Count/CountRequestBuilder.cs @@ -22,7 +22,7 @@ public partial class CountRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", pathParameters) { } /// @@ -30,7 +30,7 @@ public CountRequestBuilder(Dictionary pathParameters, IRequestAd /// /// 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}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", rawUrl) + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/$count{?%24filter,%24search}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs index 5994364320a..b56af3c58dc 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/IncludedGroupsRequestBuilder.cs @@ -48,7 +48,7 @@ public partial class IncludedGroupsRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public IncludedGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public IncludedGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// @@ -56,7 +56,7 @@ public IncludedGroupsRequestBuilder(Dictionary pathParameters, I /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public IncludedGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public IncludedGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs index 18d086d1e80..6e6f414a079 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/GroupItemRequestBuilder.cs @@ -11,7 +11,7 @@ namespace Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.Item { /// - /// Builds and executes requests for operations under \policies\mobileDeviceManagementPolicies\{mobilityManagementPolicy-id}\includedGroups\{group-id} + /// Builds and executes requests for operations under \policies\mobileDeviceManagementPolicies\{mobileDeviceManagementPolicy-id}\includedGroups\{group-id} /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupItemRequestBuilder : BaseRequestBuilder @@ -31,7 +31,7 @@ public partial class GroupItemRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public GroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}", pathParameters) + public GroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}", pathParameters) { } /// @@ -39,7 +39,7 @@ public GroupItemRequestBuilder(Dictionary pathParameters, IReque /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public GroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}", rawUrl) + public GroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}", rawUrl) { } } diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs index d259201f090..2a2b5c2fe87 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/Ref/RefRequestBuilder.cs @@ -22,7 +22,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", pathParameters) { } /// @@ -30,7 +30,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}/$ref", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs index 1b068992183..f8e39587d3c 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -22,7 +22,7 @@ public partial class CountRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) { } /// @@ -30,7 +30,7 @@ public CountRequestBuilder(Dictionary pathParameters, IRequestAd /// /// 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}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs index e50d4f44f9e..42156e76e40 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Item/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -14,7 +14,7 @@ namespace Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.Item.ServiceProvisioningErrors { /// - /// Builds and executes requests for operations under \policies\mobileDeviceManagementPolicies\{mobilityManagementPolicy-id}\includedGroups\{group-id}\serviceProvisioningErrors + /// Builds and executes requests for operations under \policies\mobileDeviceManagementPolicies\{mobileDeviceManagementPolicy-id}\includedGroups\{group-id}\serviceProvisioningErrors /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder @@ -29,7 +29,7 @@ public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilde /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// @@ -37,7 +37,7 @@ public ServiceProvisioningErrorsRequestBuilder(Dictionary pathPa /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/{group%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs index 7ffae3dcb0b..dca78141bac 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/IncludedGroups/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -120,7 +120,7 @@ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}", PathParameters); + var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}/includedGroups/$ref", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/MobilityManagementPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/MobileDeviceManagementPolicyItemRequestBuilder.cs similarity index 73% rename from src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/MobilityManagementPolicyItemRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/MobileDeviceManagementPolicyItemRequestBuilder.cs index 548e1b6ea87..a1a4448b547 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/MobilityManagementPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/Item/MobileDeviceManagementPolicyItemRequestBuilder.cs @@ -17,7 +17,7 @@ namespace Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item /// Provides operations to manage the mobileDeviceManagementPolicies property of the microsoft.graph.policyRoot entity. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MobilityManagementPolicyItemRequestBuilder : BaseRequestBuilder + public partial class MobileDeviceManagementPolicyItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the includedGroups property of the microsoft.graph.mobilityManagementPolicy entity. public global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder IncludedGroups @@ -25,19 +25,19 @@ public partial class MobilityManagementPolicyItemRequestBuilder : BaseRequestBui get => new global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder(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 MobilityManagementPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}{?%24expand,%24select}", pathParameters) + public MobileDeviceManagementPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%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 MobilityManagementPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}{?%24expand,%24select}", rawUrl) + public MobileDeviceManagementPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobileDeviceManagementPolicy%2Did}{?%24expand,%24select}", rawUrl) { } /// @@ -67,17 +67,17 @@ public async Task DeleteAsync(Action /// - /// 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); @@ -85,24 +85,24 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a mobilityManagementPolicy object. /// Find more info here /// - /// 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.MobilityManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a mobilityManagementPolicy object. @@ -139,11 +139,11 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration 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); @@ -159,11 +159,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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.MobilityManagementPolicy body, Action>? requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default) + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action> requestConfiguration = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -176,25 +176,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.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder(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 MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + public partial class MobileDeviceManagementPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration { } /// /// Read the properties and relationships of a mobilityManagementPolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MobilityManagementPolicyItemRequestBuilderGetQueryParameters + public partial class MobileDeviceManagementPolicyItemRequestBuilderGetQueryParameters { /// Expand related entities #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -222,7 +222,7 @@ public partial class MobilityManagementPolicyItemRequestBuilderGetQueryParameter /// [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 MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class MobileDeviceManagementPolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration { } /// @@ -230,7 +230,7 @@ public partial class MobilityManagementPolicyItemRequestBuilderGetRequestConfigu /// [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 MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + public partial class MobileDeviceManagementPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/MobileDeviceManagementPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/MobileDeviceManagementPoliciesRequestBuilder.cs index f8694a81302..64ad2328170 100644 --- a/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/MobileDeviceManagementPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/MobileDeviceManagementPolicies/MobileDeviceManagementPoliciesRequestBuilder.cs @@ -26,15 +26,15 @@ public partial class MobileDeviceManagementPoliciesRequestBuilder : BaseRequestB get => new global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the mobileDeviceManagementPolicies property of the microsoft.graph.policyRoot entity. - /// The unique identifier of mobilityManagementPolicy - /// A - public global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder this[string position] + /// The unique identifier of mobileDeviceManagementPolicy + /// A + public global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("mobilityManagementPolicy%2Did", position); - return new global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder(urlTplParams, RequestAdapter); + urlTplParams.Add("mobileDeviceManagementPolicy%2Did", position); + return new global::Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder(urlTplParams, RequestAdapter); } } /// @@ -57,17 +57,17 @@ public MobileDeviceManagementPoliciesRequestBuilder(string rawUrl, IRequestAdapt /// Get a list of the mobilityManagementPolicy 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); @@ -75,23 +75,23 @@ public MobileDeviceManagementPoliciesRequestBuilder(string rawUrl, IRequestAdapt { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to mobileDeviceManagementPolicies for policies /// - /// 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.MobilityManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -100,7 +100,7 @@ public MobileDeviceManagementPoliciesRequestBuilder(string rawUrl, IRequestAdapt { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the mobilityManagementPolicy objects and their properties. @@ -129,11 +129,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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.MobilityManagementPolicy body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MobilityManagementPolicy body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy body, Action> requestConfiguration = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); diff --git a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs index a0a6db713d1..2f9fcb57798 100644 --- a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs @@ -12,8 +12,10 @@ using Microsoft.Graph.Beta.Policies.AuthorizationPolicy; using Microsoft.Graph.Beta.Policies.B2cAuthenticationMethodsPolicy; using Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies; +using Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies; using Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy; using Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy; +using Microsoft.Graph.Beta.Policies.DeletedItems; using Microsoft.Graph.Beta.Policies.DeviceRegistrationPolicy; using Microsoft.Graph.Beta.Policies.DirectoryRoleAccessReviewPolicy; using Microsoft.Graph.Beta.Policies.ExternalIdentitiesPolicy; @@ -96,6 +98,11 @@ public partial class PoliciesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies.ClaimsMappingPoliciesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. + public global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder ConditionalAccessPolicies + { + get => new global::Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the crossTenantAccessPolicy property of the microsoft.graph.policyRoot entity. public global::Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.CrossTenantAccessPolicyRequestBuilder CrossTenantAccessPolicy { @@ -106,6 +113,11 @@ public partial class PoliciesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy.DefaultAppManagementPolicyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the deletedItems property of the microsoft.graph.policyRoot entity. + public global::Microsoft.Graph.Beta.Policies.DeletedItems.DeletedItemsRequestBuilder DeletedItems + { + get => new global::Microsoft.Graph.Beta.Policies.DeletedItems.DeletedItemsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the deviceRegistrationPolicy property of the microsoft.graph.policyRoot entity. public global::Microsoft.Graph.Beta.Policies.DeviceRegistrationPolicy.DeviceRegistrationPolicyRequestBuilder DeviceRegistrationPolicy { diff --git a/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs index e14192c2d71..891e2fd1d0e 100644 --- a/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs @@ -48,8 +48,8 @@ public RiskDetectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Retrieve the properties of a collection of riskDetection objects. - /// Find more info here + /// Retrieve the properties of a riskDetection object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -97,7 +97,7 @@ public RiskDetectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of a collection of riskDetection objects. + /// Retrieve the properties of a riskDetection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +147,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.RiskDetections.RiskDetectionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties of a collection of riskDetection objects. + /// Retrieve the properties of a riskDetection object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskDetectionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs index 9c40dd4638e..8b3549d5b02 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs @@ -59,8 +59,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. - /// Find more info here + /// Update a customClaimsPolicy object. + /// Find more info here /// /// A /// The request body @@ -85,8 +85,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. - /// Find more info here + /// Update a customClaimsPolicy object. + /// Find more info here /// /// A /// The request body @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Update a customClaimsPolicy object. /// /// A /// The request body @@ -152,7 +152,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return requestInfo; } /// - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Update a customClaimsPolicy object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index ede6578abc4..f5340e0c7f2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Return the metadata for a list. - /// Find more info here + /// Get the list of richLongRunningOperations associated with a list. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -185,7 +185,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Return the metadata for a list. + /// Get the list of richLongRunningOperations associated with a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +243,7 @@ public partial class ListItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Return the metadata for a list. + /// Get the list of richLongRunningOperations associated with a list. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ListItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs index 2a8dbf99de9..671f516e02b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs @@ -84,8 +84,8 @@ public PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BaseSitePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new newsLinkPage in the site pages list of a site. - /// Find more info here + /// Create a new sitePage in the site pages list in a site. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new newsLinkPage in the site pages list of a site. + /// Create a new sitePage in the site pages list in a site. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.cs index 6c6b4ea80db..8936ff05d32 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.FileStorageContainerTypeAppPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. - /// Find more info here + /// Update the properties of a fileStorageContainerTypeAppPermissionGrant object. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. + /// Update the properties of a fileStorageContainerTypeAppPermissionGrant object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 2ca84c74045..ee2161fc8f9 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the role of a conversationMember in a team.or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team.or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 11015c6db71..1a51c293c93 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -96,8 +96,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified channel. + /// Find more info here /// /// A /// The request body @@ -141,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index bcd992286b4..1afbfc40469 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -108086,7 +108086,262 @@ Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder: Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|authenticationStrengths:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.AuthenticationStrengths.AuthenticationStrengthsRequestBuilder Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|deletedItems:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.DeletedItemsRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|evaluate:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|namedLocations:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.NamedLocationsRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|policies:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.PoliciesRequestBuilder Microsoft.Graph.Beta.Identity.ConditionalAccess.conditionalAccessRequestBuilder::|public|templates:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Templates.TemplatesRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|namedLocations:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.NamedLocationsRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|policies:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.PoliciesRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.deletedItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.DeletedItemsRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::[NamedLocationId:string]:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Item.NamedLocationItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocationCollectionResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.namedLocationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.NamedLocations.NamedLocationsRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder.policiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::[ConditionalAccessPolicyId:string]:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Item.ConditionalAccessPolicyItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicyCollectionResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.policiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.DeletedItems.Policies.PoliciesRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|AppliedPoliciesOnly:bool? +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|SignInConditions:global.Microsoft.Graph.Beta.Models.SignInConditions +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|SignInContext:global.Microsoft.Graph.Beta.Models.SignInContext +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|public|SignInIdentity:global.Microsoft.Graph.Beta.Models.SignInIdentity +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostResponse::|public|Value:List +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluatePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder.evaluateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder::|public|PostAsEvaluatePostResponseAsync(body:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateResponse-->global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.evaluateResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder.NamedLocationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder.namedLocationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::[NamedLocationId:string]:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Item.NamedLocationItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocationCollectionResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.NamedLocation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.namedLocationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.NamedLocations.NamedLocationsRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder.policiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::[ConditionalAccessPolicyId:string]:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Item.ConditionalAccessPolicyItemRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicyCollectionResponse +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.policiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ConditionalAccess.Policies.PoliciesRequestBuilder Microsoft.Graph.Beta.Identity.ConditionalAccess.Templates.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Identity.ConditionalAccess.Templates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Identity.ConditionalAccess.Templates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -146345,6 +146600,9 @@ Microsoft.Graph.Beta.Models.actionSummary::|public|OdataType:string Microsoft.Graph.Beta.Models.actionSummary::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.actionSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ActionSummary Microsoft.Graph.Beta.Models.actionSummary~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.actionType::0000-tunnel +Microsoft.Graph.Beta.Models.actionType::0001-exclude +Microsoft.Graph.Beta.Models.actionType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.actionUrl::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.actionUrl::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.actionUrl::|public|constructor():void @@ -149538,6 +149796,13 @@ Microsoft.Graph.Beta.Models.applicationCollectionResponse::|public|GetFieldDeser Microsoft.Graph.Beta.Models.applicationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.applicationCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.applicationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ApplicationCollectionResponse +Microsoft.Graph.Beta.Models.applicationContext-->global.Microsoft.Graph.Beta.Models.SignInContext +Microsoft.Graph.Beta.Models.applicationContext::|public|constructor():void +Microsoft.Graph.Beta.Models.applicationContext::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.applicationContext::|public|IncludeApplications:List +Microsoft.Graph.Beta.Models.applicationContext::|public|OdataType:string +Microsoft.Graph.Beta.Models.applicationContext::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.applicationContext::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ApplicationContext Microsoft.Graph.Beta.Models.applicationEnforcedRestrictionsSessionControl-->global.Microsoft.Graph.Beta.Models.ConditionalAccessSessionControl Microsoft.Graph.Beta.Models.applicationEnforcedRestrictionsSessionControl::|public|constructor():void Microsoft.Graph.Beta.Models.applicationEnforcedRestrictionsSessionControl::|public|GetFieldDeserializers():IDictionary> @@ -150362,6 +150627,7 @@ Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|constructor():void Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|DurationInDays:int? Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|IsAccessRecommendationEnabled:bool? +Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|IsAgenticExperienceEnabled:bool? Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|IsApprovalJustificationRequired:bool? Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|IsEnabled:bool? Microsoft.Graph.Beta.Models.assignmentReviewSettings::|public|OdataType:string @@ -150902,6 +151168,13 @@ Microsoft.Graph.Beta.Models.auditUserIdentity::|public|HomeTenantName:string Microsoft.Graph.Beta.Models.auditUserIdentity::|public|OdataType:string Microsoft.Graph.Beta.Models.auditUserIdentity::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.auditUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuditUserIdentity +Microsoft.Graph.Beta.Models.authContext-->global.Microsoft.Graph.Beta.Models.SignInContext +Microsoft.Graph.Beta.Models.authContext::|public|AuthenticationContextValue:string +Microsoft.Graph.Beta.Models.authContext::|public|constructor():void +Microsoft.Graph.Beta.Models.authContext::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.authContext::|public|OdataType:string +Microsoft.Graph.Beta.Models.authContext::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.authContext::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuthContext Microsoft.Graph.Beta.Models.authentication-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.authentication::|public|EmailMethods:List Microsoft.Graph.Beta.Models.authentication::|public|ExternalAuthenticationMethods:List @@ -151196,6 +151469,14 @@ Microsoft.Graph.Beta.Models.authenticationFailureReasonCode::0004-other Microsoft.Graph.Beta.Models.authenticationFailureReasonCode::0005-unknownFutureValue Microsoft.Graph.Beta.Models.authenticationFailureReasonCode::0006-userError Microsoft.Graph.Beta.Models.authenticationFailureReasonCode::0007-configError +Microsoft.Graph.Beta.Models.authenticationFlow::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.authenticationFlow::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.authenticationFlow::|public|constructor():void +Microsoft.Graph.Beta.Models.authenticationFlow::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.authenticationFlow::|public|OdataType:string +Microsoft.Graph.Beta.Models.authenticationFlow::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.authenticationFlow::|public|TransferMethod:global.Microsoft.Graph.Beta.Models.ConditionalAccessTransferMethods? +Microsoft.Graph.Beta.Models.authenticationFlow::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuthenticationFlow Microsoft.Graph.Beta.Models.authenticationFlowsPolicy-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.authenticationFlowsPolicy::|public|Description:string Microsoft.Graph.Beta.Models.authenticationFlowsPolicy::|public|DisplayName:string @@ -151204,6 +151485,7 @@ Microsoft.Graph.Beta.Models.authenticationFlowsPolicy::|public|OdataType:string Microsoft.Graph.Beta.Models.authenticationFlowsPolicy::|public|SelfServiceSignUp:global.Microsoft.Graph.Beta.Models.SelfServiceSignUpAuthenticationFlowConfiguration Microsoft.Graph.Beta.Models.authenticationFlowsPolicy::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.authenticationFlowsPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuthenticationFlowsPolicy +Microsoft.Graph.Beta.Models.authenticationFlow~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.authenticationListener-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.authenticationListener::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.authenticationListener::|public|OdataType:string @@ -151479,6 +151761,8 @@ Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|AdditionalData: Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|constructor():void Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|Mfa:List +Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|None:List Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|OdataType:string Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.authenticationStrengthUsage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuthenticationStrengthUsage @@ -154152,6 +154436,13 @@ Microsoft.Graph.Beta.Models.canvasLayout::|public|OdataType:string Microsoft.Graph.Beta.Models.canvasLayout::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.canvasLayout::|public|VerticalSection:global.Microsoft.Graph.Beta.Models.VerticalSection Microsoft.Graph.Beta.Models.canvasLayout::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CanvasLayout +Microsoft.Graph.Beta.Models.caPoliciesDeletableRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.caPoliciesDeletableRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.caPoliciesDeletableRoot::|public|NamedLocations:List +Microsoft.Graph.Beta.Models.caPoliciesDeletableRoot::|public|OdataType:string +Microsoft.Graph.Beta.Models.caPoliciesDeletableRoot::|public|Policies:List +Microsoft.Graph.Beta.Models.caPoliciesDeletableRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.caPoliciesDeletableRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot Microsoft.Graph.Beta.Models.cartToClassAssociation-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.cartToClassAssociation::|public|ClassroomIds:List Microsoft.Graph.Beta.Models.cartToClassAssociation::|public|CreatedDateTime:DateTimeOffset? @@ -157273,6 +157564,16 @@ Microsoft.Graph.Beta.Models.complianceStatus::0005-error Microsoft.Graph.Beta.Models.complianceStatus::0006-conflict Microsoft.Graph.Beta.Models.complianceStatus::0007-notAssigned Microsoft.Graph.Beta.Models.compliance~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation-->global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation::|public|CompliantNetworkType:global.Microsoft.Graph.Beta.Models.CompliantNetworkType? +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation::|public|constructor():void +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation::|public|IsTrusted:bool? +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation::|public|OdataType:string +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.compliantNetworkNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CompliantNetworkNamedLocation +Microsoft.Graph.Beta.Models.compliantNetworkType::0000-allTenantCompliantNetworks +Microsoft.Graph.Beta.Models.compliantNetworkType::0001-unknownFutureValue Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|constructor():void @@ -157510,6 +157811,26 @@ Microsoft.Graph.Beta.Models.conditionalAccessPlatforms::|public|OdataType:string Microsoft.Graph.Beta.Models.conditionalAccessPlatforms::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.conditionalAccessPlatforms::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConditionalAccessPlatforms Microsoft.Graph.Beta.Models.conditionalAccessPlatforms~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.conditionalAccessPolicy-->global.Microsoft.Graph.Beta.Models.PolicyDeletableItem +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|Conditions:global.Microsoft.Graph.Beta.Models.ConditionalAccessConditionSet +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|Description:string +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|DisplayName:string +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|GrantControls:global.Microsoft.Graph.Beta.Models.ConditionalAccessGrantControls +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|Id:string +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|ModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|SessionControls:global.Microsoft.Graph.Beta.Models.ConditionalAccessSessionControls +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|public|State:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicyState? +Microsoft.Graph.Beta.Models.conditionalAccessPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Models.conditionalAccessPolicyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.conditionalAccessPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.conditionalAccessPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.conditionalAccessPolicyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.conditionalAccessPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicyCollectionResponse Microsoft.Graph.Beta.Models.conditionalAccessPolicyDetail::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.conditionalAccessPolicyDetail::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.conditionalAccessPolicyDetail::|public|Conditions:global.Microsoft.Graph.Beta.Models.ConditionalAccessConditionSet @@ -157521,12 +157842,18 @@ Microsoft.Graph.Beta.Models.conditionalAccessPolicyDetail::|public|Serialize(wri Microsoft.Graph.Beta.Models.conditionalAccessPolicyDetail::|public|SessionControls:global.Microsoft.Graph.Beta.Models.ConditionalAccessSessionControls Microsoft.Graph.Beta.Models.conditionalAccessPolicyDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicyDetail Microsoft.Graph.Beta.Models.conditionalAccessPolicyDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.conditionalAccessPolicyState::0000-enabled +Microsoft.Graph.Beta.Models.conditionalAccessPolicyState::0001-disabled +Microsoft.Graph.Beta.Models.conditionalAccessPolicyState::0002-enabledForReportingButNotEnforced Microsoft.Graph.Beta.Models.conditionalAccessRoot-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|AuthenticationContextClassReferences:List Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|AuthenticationStrength:global.Microsoft.Graph.Beta.Models.AuthenticationStrengthRoot Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|AuthenticationStrengths:global.Microsoft.Graph.Beta.Models.AuthenticationStrengthRoot +Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|DeletedItems:global.Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|NamedLocations:List Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|OdataType:string +Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|Policies:List Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.conditionalAccessRoot::|public|Templates:List Microsoft.Graph.Beta.Models.conditionalAccessRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ConditionalAccessRoot @@ -158547,6 +158874,18 @@ Microsoft.Graph.Beta.Models.corsConfiguration_v2::|public|Resource:string Microsoft.Graph.Beta.Models.corsConfiguration_v2::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.corsConfiguration_v2::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CorsConfiguration_v2 Microsoft.Graph.Beta.Models.corsConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.countryLookupMethodType::0000-clientIpAddress +Microsoft.Graph.Beta.Models.countryLookupMethodType::0001-authenticatorAppGps +Microsoft.Graph.Beta.Models.countryLookupMethodType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.countryNamedLocation-->global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Models.countryNamedLocation::|public|constructor():void +Microsoft.Graph.Beta.Models.countryNamedLocation::|public|CountriesAndRegions:List +Microsoft.Graph.Beta.Models.countryNamedLocation::|public|CountryLookupMethod:global.Microsoft.Graph.Beta.Models.CountryLookupMethodType? +Microsoft.Graph.Beta.Models.countryNamedLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.countryNamedLocation::|public|IncludeUnknownCountriesAndRegions:bool? +Microsoft.Graph.Beta.Models.countryNamedLocation::|public|OdataType:string +Microsoft.Graph.Beta.Models.countryNamedLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.countryNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CountryNamedLocation Microsoft.Graph.Beta.Models.countryRegion::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.countryRegion::|public|AddressFormat:string Microsoft.Graph.Beta.Models.countryRegion::|public|BackingStore:IBackingStore @@ -158675,13 +159014,12 @@ Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|TenantRestrictions:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyTenantRestrictions Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationDefault -Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner-->global.Microsoft.Graph.Beta.Models.PolicyDeletableItem Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|AutomaticUserConsentSettings:global.Microsoft.Graph.Beta.Models.InboundOutboundPolicyConfiguration Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bCollaborationInbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bCollaborationOutbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bDirectConnectInbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bDirectConnectOutbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting -Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|constructor():void Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|IdentitySynchronization:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner @@ -158698,7 +159036,6 @@ Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartnerCollectio Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartnerCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartnerCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartnerCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartnerCollectionResponse -Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.crossTenantAccessPolicyInboundTrust::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.crossTenantAccessPolicyInboundTrust::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.crossTenantAccessPolicyInboundTrust::|public|constructor():void @@ -158744,8 +159081,7 @@ Microsoft.Graph.Beta.Models.crossTenantAccessPolicyTenantRestrictions::|public|G Microsoft.Graph.Beta.Models.crossTenantAccessPolicyTenantRestrictions::|public|OdataType:string Microsoft.Graph.Beta.Models.crossTenantAccessPolicyTenantRestrictions::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.crossTenantAccessPolicyTenantRestrictions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyTenantRestrictions -Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|AdditionalData:IDictionary -Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner-->global.Microsoft.Graph.Beta.Models.PolicyDeletableItem Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|constructor():void Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|DisplayName:string Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|ExternalCloudAuthorizedApplicationId:string @@ -158755,7 +159091,11 @@ Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|Serial Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|TenantId:string Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|public|UserSyncInbound:global.Microsoft.Graph.Beta.Models.CrossTenantUserSyncInbound Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner -Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartner~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartnerCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartnerCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartnerCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartnerCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.crossTenantIdentitySyncPolicyPartnerCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartnerCollectionResponse Microsoft.Graph.Beta.Models.crossTenantUserSyncInbound::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.crossTenantUserSyncInbound::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.crossTenantUserSyncInbound::|public|constructor():void @@ -161778,6 +162118,43 @@ Microsoft.Graph.Beta.Models.deviceHealthScriptTimeSchedule::|static|public|Creat Microsoft.Graph.Beta.Models.deviceHealthScriptType::0000-deviceHealthScript Microsoft.Graph.Beta.Models.deviceHealthScriptType::0001-managedInstallerScript Microsoft.Graph.Beta.Models.deviceHealth~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.deviceInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.deviceInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.deviceInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.deviceInfo::|public|DeviceId:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|DisplayName:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|EnrollmentProfileName:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute10:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute11:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute12:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute13:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute14:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute15:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute1:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute2:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute3:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute4:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute5:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute6:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute7:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute8:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|ExtensionAttribute9:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.deviceInfo::|public|IsCompliant:bool? +Microsoft.Graph.Beta.Models.deviceInfo::|public|Manufacturer:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|MdmAppId:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|Model:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|OperatingSystem:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|OperatingSystemVersion:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|Ownership:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|PhysicalIds:List +Microsoft.Graph.Beta.Models.deviceInfo::|public|ProfileType:string +Microsoft.Graph.Beta.Models.deviceInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.deviceInfo::|public|SystemLabels:List +Microsoft.Graph.Beta.Models.deviceInfo::|public|TrustType:string +Microsoft.Graph.Beta.Models.deviceInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceInfo +Microsoft.Graph.Beta.Models.deviceInfo~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.deviceInstallState-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.deviceInstallState::|public|DeviceId:string Microsoft.Graph.Beta.Models.deviceInstallState::|public|DeviceName:string @@ -172565,6 +172942,11 @@ Microsoft.Graph.Beta.Models.initiatorType::0003-unknownFutureValue Microsoft.Graph.Beta.Models.inkAccessSetting::0000-notConfigured Microsoft.Graph.Beta.Models.inkAccessSetting::0001-enabled Microsoft.Graph.Beta.Models.inkAccessSetting::0002-disabled +Microsoft.Graph.Beta.Models.insiderRiskLevel::0000-none +Microsoft.Graph.Beta.Models.insiderRiskLevel::0001-minor +Microsoft.Graph.Beta.Models.insiderRiskLevel::0002-moderate +Microsoft.Graph.Beta.Models.insiderRiskLevel::0003-elevated +Microsoft.Graph.Beta.Models.insiderRiskLevel::0004-unknownFutureValue Microsoft.Graph.Beta.Models.insightIdentity::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.insightIdentity::|public|Address:string Microsoft.Graph.Beta.Models.insightIdentity::|public|BackingStore:IBackingStore @@ -173958,6 +174340,7 @@ Microsoft.Graph.Beta.Models.iosWiFiConfiguration::|public|Ssid:string Microsoft.Graph.Beta.Models.iosWiFiConfiguration::|public|WiFiSecurityType:global.Microsoft.Graph.Beta.Models.WiFiSecurityType? Microsoft.Graph.Beta.Models.iosWiFiConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IosWiFiConfiguration Microsoft.Graph.Beta.Models.ipApplicationSegment-->global.Microsoft.Graph.Beta.Models.ApplicationSegment +Microsoft.Graph.Beta.Models.ipApplicationSegment::|public|Action:global.Microsoft.Graph.Beta.Models.ActionType? Microsoft.Graph.Beta.Models.ipApplicationSegment::|public|Application:global.Microsoft.Graph.Beta.Models.Application Microsoft.Graph.Beta.Models.ipApplicationSegment::|public|constructor():void Microsoft.Graph.Beta.Models.ipApplicationSegment::|public|DestinationHost:string @@ -173985,6 +174368,14 @@ Microsoft.Graph.Beta.Models.ipCategory::|public|Serialize(writer:ISerializationW Microsoft.Graph.Beta.Models.ipCategory::|public|Vendor:string Microsoft.Graph.Beta.Models.ipCategory::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IpCategory Microsoft.Graph.Beta.Models.ipCategory~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.ipNamedLocation-->global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Models.ipNamedLocation::|public|constructor():void +Microsoft.Graph.Beta.Models.ipNamedLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.ipNamedLocation::|public|IpRanges:List +Microsoft.Graph.Beta.Models.ipNamedLocation::|public|IsTrusted:bool? +Microsoft.Graph.Beta.Models.ipNamedLocation::|public|OdataType:string +Microsoft.Graph.Beta.Models.ipNamedLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.ipNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IpNamedLocation Microsoft.Graph.Beta.Models.ipRange::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.ipRange::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.ipRange::|public|constructor():void @@ -180062,6 +180453,16 @@ Microsoft.Graph.Beta.Models.mobileAppIntentAndStateDetail::|public|Serialize(wri Microsoft.Graph.Beta.Models.mobileAppIntentAndStateDetail::|public|SupportedDeviceTypes:List Microsoft.Graph.Beta.Models.mobileAppIntentAndStateDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MobileAppIntentAndStateDetail Microsoft.Graph.Beta.Models.mobileAppIntentAndStateDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.mobileAppManagementPolicy-->global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy +Microsoft.Graph.Beta.Models.mobileAppManagementPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mobileAppManagementPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.mobileAppManagementPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mobileAppManagementPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy +Microsoft.Graph.Beta.Models.mobileAppManagementPolicyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.mobileAppManagementPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mobileAppManagementPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mobileAppManagementPolicyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.mobileAppManagementPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicyCollectionResponse Microsoft.Graph.Beta.Models.mobileAppPolicySetItem-->global.Microsoft.Graph.Beta.Models.PolicySetItem Microsoft.Graph.Beta.Models.mobileAppPolicySetItem::|public|constructor():void Microsoft.Graph.Beta.Models.mobileAppPolicySetItem::|public|GetFieldDeserializers():IDictionary> @@ -180199,6 +180600,16 @@ Microsoft.Graph.Beta.Models.mobileContainedAppCollectionResponse::|public|GetFie Microsoft.Graph.Beta.Models.mobileContainedAppCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.mobileContainedAppCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.mobileContainedAppCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MobileContainedAppCollectionResponse +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicy-->global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.mobileDeviceManagementPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicyCollectionResponse Microsoft.Graph.Beta.Models.mobileLobApp-->global.Microsoft.Graph.Beta.Models.MobileApp Microsoft.Graph.Beta.Models.mobileLobApp::|public|CommittedContentVersion:string Microsoft.Graph.Beta.Models.mobileLobApp::|public|constructor():void @@ -180487,6 +180898,21 @@ Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|publ Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse +Microsoft.Graph.Beta.Models.namedLocation-->global.Microsoft.Graph.Beta.Models.PolicyDeletableItem +Microsoft.Graph.Beta.Models.namedLocation::|public|constructor():void +Microsoft.Graph.Beta.Models.namedLocation::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.namedLocation::|public|DisplayName:string +Microsoft.Graph.Beta.Models.namedLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.namedLocation::|public|Id:string +Microsoft.Graph.Beta.Models.namedLocation::|public|ModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.namedLocation::|public|OdataType:string +Microsoft.Graph.Beta.Models.namedLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.namedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Models.namedLocationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.namedLocationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.namedLocationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.namedLocationCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.namedLocationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.NamedLocationCollectionResponse Microsoft.Graph.Beta.Models.namePronunciationSettings-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.namePronunciationSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.namePronunciationSettings::|public|IsEnabledInOrganization:bool? @@ -186570,6 +186996,22 @@ Microsoft.Graph.Beta.Models.policyBinding::|public|OdataType:string Microsoft.Graph.Beta.Models.policyBinding::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.policyBinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyBinding Microsoft.Graph.Beta.Models.policyBinding~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.policyDeletableItem::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.policyDeletableItem::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.policyDeletableItem::|public|constructor():void +Microsoft.Graph.Beta.Models.policyDeletableItem::|public|DeletedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.policyDeletableItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.policyDeletableItem::|public|OdataType:string +Microsoft.Graph.Beta.Models.policyDeletableItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.policyDeletableItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyDeletableItem +Microsoft.Graph.Beta.Models.policyDeletableItem~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.policyDeletableRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.policyDeletableRoot::|public|CrossTenantPartners:List +Microsoft.Graph.Beta.Models.policyDeletableRoot::|public|CrossTenantSyncPolicyPartners:List +Microsoft.Graph.Beta.Models.policyDeletableRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.policyDeletableRoot::|public|OdataType:string +Microsoft.Graph.Beta.Models.policyDeletableRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.policyDeletableRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyDeletableRoot Microsoft.Graph.Beta.Models.policyFile-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.policyFile::|public|Content:byte[] Microsoft.Graph.Beta.Models.policyFile::|public|FileType:global.Microsoft.Graph.Beta.Models.PolicyFileType? @@ -186645,8 +187087,10 @@ Microsoft.Graph.Beta.Models.policyRoot::|public|AuthenticationStrengthPolicies:L Microsoft.Graph.Beta.Models.policyRoot::|public|AuthorizationPolicy:List Microsoft.Graph.Beta.Models.policyRoot::|public|B2cAuthenticationMethodsPolicy:global.Microsoft.Graph.Beta.Models.B2cAuthenticationMethodsPolicy Microsoft.Graph.Beta.Models.policyRoot::|public|ClaimsMappingPolicies:List +Microsoft.Graph.Beta.Models.policyRoot::|public|ConditionalAccessPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|CrossTenantAccessPolicy:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicy Microsoft.Graph.Beta.Models.policyRoot::|public|DefaultAppManagementPolicy:global.Microsoft.Graph.Beta.Models.TenantAppManagementPolicy +Microsoft.Graph.Beta.Models.policyRoot::|public|DeletedItems:global.Microsoft.Graph.Beta.Models.PolicyDeletableRoot Microsoft.Graph.Beta.Models.policyRoot::|public|DeviceRegistrationPolicy:global.Microsoft.Graph.Beta.Models.DeviceRegistrationPolicy Microsoft.Graph.Beta.Models.policyRoot::|public|DirectoryRoleAccessReviewPolicy:global.Microsoft.Graph.Beta.Models.DirectoryRoleAccessReviewPolicy Microsoft.Graph.Beta.Models.policyRoot::|public|ExternalIdentitiesPolicy:global.Microsoft.Graph.Beta.Models.ExternalIdentitiesPolicy @@ -186655,8 +187099,8 @@ Microsoft.Graph.Beta.Models.policyRoot::|public|FederatedTokenValidationPolicy:g Microsoft.Graph.Beta.Models.policyRoot::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.policyRoot::|public|HomeRealmDiscoveryPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|IdentitySecurityDefaultsEnforcementPolicy:global.Microsoft.Graph.Beta.Models.IdentitySecurityDefaultsEnforcementPolicy -Microsoft.Graph.Beta.Models.policyRoot::|public|MobileAppManagementPolicies:List -Microsoft.Graph.Beta.Models.policyRoot::|public|MobileDeviceManagementPolicies:List +Microsoft.Graph.Beta.Models.policyRoot::|public|MobileAppManagementPolicies:List +Microsoft.Graph.Beta.Models.policyRoot::|public|MobileDeviceManagementPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|OdataType:string Microsoft.Graph.Beta.Models.policyRoot::|public|PermissionGrantPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|PermissionGrantPreApprovalPolicies:List @@ -188544,6 +188988,14 @@ Microsoft.Graph.Beta.Models.privateLinkDetails::|public|ResourceId:string Microsoft.Graph.Beta.Models.privateLinkDetails::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.privateLinkDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PrivateLinkDetails Microsoft.Graph.Beta.Models.privateLinkDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.privateLinkNamedLocation-->global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Models.privateLinkNamedLocation::|public|constructor():void +Microsoft.Graph.Beta.Models.privateLinkNamedLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.privateLinkNamedLocation::|public|IsTrusted:bool? +Microsoft.Graph.Beta.Models.privateLinkNamedLocation::|public|OdataType:string +Microsoft.Graph.Beta.Models.privateLinkNamedLocation::|public|PrivateLinkResourcePolicyIds:List +Microsoft.Graph.Beta.Models.privateLinkNamedLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.privateLinkNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PrivateLinkNamedLocation Microsoft.Graph.Beta.Models.privateNetworkDestinationType::0000-ipAddress Microsoft.Graph.Beta.Models.privateNetworkDestinationType::0001-ipRange Microsoft.Graph.Beta.Models.privateNetworkDestinationType::0002-ipRangeCidr @@ -189377,15 +189829,29 @@ Microsoft.Graph.Beta.Models.protectGroup::|public|OdataType:string Microsoft.Graph.Beta.Models.protectGroup::|public|Privacy:global.Microsoft.Graph.Beta.Models.GroupPrivacy? Microsoft.Graph.Beta.Models.protectGroup::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.protectGroup::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProtectGroup +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|Completed:int? +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|constructor():void +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|Failed:int? +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|InProgress:int? +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|OdataType:string +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|public|Total:int? +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProtectionPolicyArtifactCount +Microsoft.Graph.Beta.Models.protectionPolicyArtifactCount~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.protectionPolicyBase-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|BillingPolicyId:string Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|DisplayName:string Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|GetFieldDeserializers():IDictionary> +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|ProtectionPolicyArtifactCount:global.Microsoft.Graph.Beta.Models.ProtectionPolicyArtifactCount Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|RetentionSettings:List Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.protectionPolicyBase::|public|Status:global.Microsoft.Graph.Beta.Models.ProtectionPolicyStatus? @@ -198342,12 +198808,16 @@ Microsoft.Graph.Beta.Models.Security.securityComplianceUserChangeAuditRecord::|p Microsoft.Graph.Beta.Models.Security.securityComplianceUserChangeAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.securityComplianceUserChangeAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.SecurityComplianceUserChangeAuditRecord Microsoft.Graph.Beta.Models.Security.securityGroupEvidence-->global.Microsoft.Graph.Beta.Models.Security.AlertEvidence +Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|ActiveDirectoryObjectGuid:Guid? Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|constructor():void Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|DistinguishedName:string +Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|FriendlyName:string Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|SecurityGroupId:string Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|public|Sid:string Microsoft.Graph.Beta.Models.Security.securityGroupEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.SecurityGroupEvidence Microsoft.Graph.Beta.Models.Security.sensitivityLabel-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Security.sensitivityLabel::|public|Color:string @@ -199226,6 +199696,7 @@ Microsoft.Graph.Beta.Models.Security.user::|public|Serialize(writer:ISerializati Microsoft.Graph.Beta.Models.Security.user::|public|UserPrincipalName:string Microsoft.Graph.Beta.Models.Security.user::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.User Microsoft.Graph.Beta.Models.Security.userAccount::|public|AccountName:string +Microsoft.Graph.Beta.Models.Security.userAccount::|public|ActiveDirectoryObjectGuid:Guid? Microsoft.Graph.Beta.Models.Security.userAccount::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.Security.userAccount::|public|AzureAdUserId:string Microsoft.Graph.Beta.Models.Security.userAccount::|public|BackingStore:IBackingStore @@ -200340,6 +200811,13 @@ Microsoft.Graph.Beta.Models.servicePrincipalRiskDetectionCollectionResponse::|pu Microsoft.Graph.Beta.Models.servicePrincipalRiskDetectionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.servicePrincipalRiskDetectionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.servicePrincipalRiskDetectionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ServicePrincipalRiskDetectionCollectionResponse +Microsoft.Graph.Beta.Models.servicePrincipalSignIn-->global.Microsoft.Graph.Beta.Models.SignInIdentity +Microsoft.Graph.Beta.Models.servicePrincipalSignIn::|public|constructor():void +Microsoft.Graph.Beta.Models.servicePrincipalSignIn::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.servicePrincipalSignIn::|public|OdataType:string +Microsoft.Graph.Beta.Models.servicePrincipalSignIn::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.servicePrincipalSignIn::|public|ServicePrincipalId:string +Microsoft.Graph.Beta.Models.servicePrincipalSignIn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ServicePrincipalSignIn Microsoft.Graph.Beta.Models.servicePrincipalSignInActivity-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.servicePrincipalSignInActivity::|public|AppId:string Microsoft.Graph.Beta.Models.servicePrincipalSignInActivity::|public|ApplicationAuthenticationClientSignInActivity:global.Microsoft.Graph.Beta.Models.SignInActivity @@ -200432,6 +200910,14 @@ Microsoft.Graph.Beta.Models.serviceStorageQuotaBreakdownCollectionResponse::|pub Microsoft.Graph.Beta.Models.serviceStorageQuotaBreakdownCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.serviceStorageQuotaBreakdownCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.serviceStorageQuotaBreakdownCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ServiceStorageQuotaBreakdownCollectionResponse +Microsoft.Graph.Beta.Models.serviceTagNamedLocation-->global.Microsoft.Graph.Beta.Models.NamedLocation +Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|constructor():void +Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|IsTrusted:bool? +Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|OdataType:string +Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|ServiceTags:List +Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ServiceTagNamedLocation Microsoft.Graph.Beta.Models.serviceUpdateCategory::0000-preventOrFixIssue Microsoft.Graph.Beta.Models.serviceUpdateCategory::0001-planForChange Microsoft.Graph.Beta.Models.serviceUpdateCategory::0002-stayInformed @@ -201300,6 +201786,32 @@ Microsoft.Graph.Beta.Models.signInCollectionResponse::|public|GetFieldDeserializ Microsoft.Graph.Beta.Models.signInCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.signInCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.signInCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SignInCollectionResponse +Microsoft.Graph.Beta.Models.signInConditions::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.signInConditions::|public|AuthenticationFlow:global.Microsoft.Graph.Beta.Models.AuthenticationFlow +Microsoft.Graph.Beta.Models.signInConditions::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.signInConditions::|public|ClientAppType:global.Microsoft.Graph.Beta.Models.ConditionalAccessClientApp? +Microsoft.Graph.Beta.Models.signInConditions::|public|constructor():void +Microsoft.Graph.Beta.Models.signInConditions::|public|Country:string +Microsoft.Graph.Beta.Models.signInConditions::|public|DeviceInfo:global.Microsoft.Graph.Beta.Models.DeviceInfo +Microsoft.Graph.Beta.Models.signInConditions::|public|DevicePlatform:global.Microsoft.Graph.Beta.Models.ConditionalAccessDevicePlatform? +Microsoft.Graph.Beta.Models.signInConditions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.signInConditions::|public|InsiderRiskLevel:global.Microsoft.Graph.Beta.Models.InsiderRiskLevel? +Microsoft.Graph.Beta.Models.signInConditions::|public|IpAddress:string +Microsoft.Graph.Beta.Models.signInConditions::|public|OdataType:string +Microsoft.Graph.Beta.Models.signInConditions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.signInConditions::|public|ServicePrincipalRiskLevel:global.Microsoft.Graph.Beta.Models.RiskLevel? +Microsoft.Graph.Beta.Models.signInConditions::|public|SignInRiskLevel:global.Microsoft.Graph.Beta.Models.RiskLevel? +Microsoft.Graph.Beta.Models.signInConditions::|public|UserRiskLevel:global.Microsoft.Graph.Beta.Models.RiskLevel? +Microsoft.Graph.Beta.Models.signInConditions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SignInConditions +Microsoft.Graph.Beta.Models.signInConditions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.signInContext::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.signInContext::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.signInContext::|public|constructor():void +Microsoft.Graph.Beta.Models.signInContext::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.signInContext::|public|OdataType:string +Microsoft.Graph.Beta.Models.signInContext::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.signInContext::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SignInContext +Microsoft.Graph.Beta.Models.signInContext~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.signInFrequencyAuthenticationType::0000-primaryAndSecondaryAuthentication Microsoft.Graph.Beta.Models.signInFrequencyAuthenticationType::0001-secondaryAuthentication Microsoft.Graph.Beta.Models.signInFrequencyAuthenticationType::0002-unknownFutureValue @@ -201344,6 +201856,14 @@ Microsoft.Graph.Beta.Models.signInIdentifierType::0002-proxyAddress Microsoft.Graph.Beta.Models.signInIdentifierType::0003-qrCode Microsoft.Graph.Beta.Models.signInIdentifierType::0004-onPremisesUserPrincipalName Microsoft.Graph.Beta.Models.signInIdentifierType::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.signInIdentity::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.signInIdentity::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.signInIdentity::|public|constructor():void +Microsoft.Graph.Beta.Models.signInIdentity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.signInIdentity::|public|OdataType:string +Microsoft.Graph.Beta.Models.signInIdentity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.signInIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SignInIdentity +Microsoft.Graph.Beta.Models.signInIdentity~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.signInLocation::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.signInLocation::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.signInLocation::|public|City:string @@ -206632,6 +207152,16 @@ Microsoft.Graph.Beta.Models.userAccountSecurityType::0002-power Microsoft.Graph.Beta.Models.userAccountSecurityType::0003-administrator Microsoft.Graph.Beta.Models.userAccountSecurityType::0004-unknownFutureValue Microsoft.Graph.Beta.Models.userAccount~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.userAction::0000-registerSecurityInformation +Microsoft.Graph.Beta.Models.userAction::0001-registerOrJoinDevices +Microsoft.Graph.Beta.Models.userAction::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.userActionContext-->global.Microsoft.Graph.Beta.Models.SignInContext +Microsoft.Graph.Beta.Models.userActionContext::|public|constructor():void +Microsoft.Graph.Beta.Models.userActionContext::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.userActionContext::|public|OdataType:string +Microsoft.Graph.Beta.Models.userActionContext::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.userActionContext::|public|UserAction:global.Microsoft.Graph.Beta.Models.UserAction? +Microsoft.Graph.Beta.Models.userActionContext::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserActionContext Microsoft.Graph.Beta.Models.userActivity-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.userActivity::|public|ActivationUrl:string Microsoft.Graph.Beta.Models.userActivity::|public|ActivitySourceHost:string @@ -208162,6 +208692,15 @@ Microsoft.Graph.Beta.Models.userSettings::|public|Storage:global.Microsoft.Graph Microsoft.Graph.Beta.Models.userSettings::|public|Windows:List Microsoft.Graph.Beta.Models.userSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserSettings Microsoft.Graph.Beta.Models.userSet~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.userSignIn-->global.Microsoft.Graph.Beta.Models.SignInIdentity +Microsoft.Graph.Beta.Models.userSignIn::|public|constructor():void +Microsoft.Graph.Beta.Models.userSignIn::|public|ExternalTenantId:string +Microsoft.Graph.Beta.Models.userSignIn::|public|ExternalUserType:global.Microsoft.Graph.Beta.Models.ConditionalAccessGuestOrExternalUserTypes? +Microsoft.Graph.Beta.Models.userSignIn::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.userSignIn::|public|OdataType:string +Microsoft.Graph.Beta.Models.userSignIn::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.userSignIn::|public|UserId:string +Microsoft.Graph.Beta.Models.userSignIn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserSignIn Microsoft.Graph.Beta.Models.userSignInInsight-->global.Microsoft.Graph.Beta.Models.GovernanceInsight Microsoft.Graph.Beta.Models.userSignInInsight::|public|constructor():void Microsoft.Graph.Beta.Models.userSignInInsight::|public|GetFieldDeserializers():IDictionary> @@ -209394,6 +209933,35 @@ Microsoft.Graph.Beta.Models.wellknownListName::0000-none Microsoft.Graph.Beta.Models.wellknownListName::0001-defaultList Microsoft.Graph.Beta.Models.wellknownListName::0002-flaggedEmails Microsoft.Graph.Beta.Models.wellknownListName::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0000-notSet +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0001-notEnoughInformation +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0002-invalidCondition +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0003-users +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0004-workloadIdentities +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0005-application +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0006-userActions +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0007-authenticationContext +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0008-devicePlatform +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0009-devices +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0010-clientApps +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0011-location +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0012-signInRisk +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0013-emptyPolicy +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0014-invalidPolicy +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0015-policyNotEnabled +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0016-userRisk +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0017-time +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0018-insiderRisk +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0019-authenticationFlow +Microsoft.Graph.Beta.Models.whatIfAnalysisReasons::0020-unknownFutureValue +Microsoft.Graph.Beta.Models.whatIfAnalysisResult-->global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Models.whatIfAnalysisResult::|public|AnalysisReasons:global.Microsoft.Graph.Beta.Models.WhatIfAnalysisReasons? +Microsoft.Graph.Beta.Models.whatIfAnalysisResult::|public|constructor():void +Microsoft.Graph.Beta.Models.whatIfAnalysisResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.whatIfAnalysisResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.whatIfAnalysisResult::|public|PolicyApplies:bool? +Microsoft.Graph.Beta.Models.whatIfAnalysisResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.whatIfAnalysisResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WhatIfAnalysisResult Microsoft.Graph.Beta.Models.wiFiAuthenticationMethod::0000-certificate Microsoft.Graph.Beta.Models.wiFiAuthenticationMethod::0001-usernameAndPassword Microsoft.Graph.Beta.Models.wiFiAuthenticationMethod::0002-derivedCredential @@ -220398,6 +220966,58 @@ Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies.Item.ClaimsMappingPolicyItem Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies.Item.ClaimsMappingPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies.Item.ClaimsMappingPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ClaimsMappingPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies.Item.ClaimsMappingPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies.Item.ClaimsMappingPolicyItemRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder.conditionalAccessPoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::[ConditionalAccessPolicyId:string]:global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicyCollectionResponse +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.conditionalAccessPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.ConditionalAccessPolicyItemRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConditionalAccessPolicy +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.crossTenantAccessPolicyRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.crossTenantAccessPolicyRequestBuilder.crossTenantAccessPolicyRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.crossTenantAccessPolicyRequestBuilder.crossTenantAccessPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -220460,6 +221080,7 @@ Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantA Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|identitySynchronization:global.Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner; requestConfiguration?:Action>):RequestInformation @@ -220475,10 +221096,25 @@ Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySync Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.partnersRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.partnersRequestBuilder.partnersRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.Partners.partnersRequestBuilder.partnersRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -220577,6 +221213,151 @@ Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy.defaultAppManagementPol Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy.defaultAppManagementPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy.defaultAppManagementPolicyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TenantAppManagementPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy.defaultAppManagementPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy.DefaultAppManagementPolicyRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder.crossTenantPartnersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::[CrossTenantAccessPolicyConfigurationPartnerTenantId:string]:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Count.CountRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartnerCollectionResponse +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.crossTenantPartnersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.CrossTenantPartnersRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|identitySynchronization:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder.identitySynchronizationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder.identitySynchronizationRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder.identitySynchronizationRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder.identitySynchronizationRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder.identitySynchronizationRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.identitySynchronizationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.IdentitySynchronizationRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.IdentitySynchronization.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyConfigurationPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder.crossTenantSyncPolicyPartnersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::[CrossTenantIdentitySyncPolicyPartnerTenantId:string]:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Count.CountRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartnerCollectionResponse +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.crossTenantSyncPolicyPartnersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.CrossTenantSyncPolicyPartnersRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.CrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|crossTenantPartners:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantPartners.CrossTenantPartnersRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|crossTenantSyncPolicyPartners:global.Microsoft.Graph.Beta.Policies.DeletedItems.CrossTenantSyncPolicyPartners.CrossTenantSyncPolicyPartnersRequestBuilder +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PolicyDeletableRoot +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PolicyDeletableRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PolicyDeletableRoot +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PolicyDeletableRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.DeletedItems.deletedItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.Beta.Policies.DeviceRegistrationPolicy.deviceRegistrationPolicyRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.DeviceRegistrationPolicy.deviceRegistrationPolicyRequestBuilder.deviceRegistrationPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Policies.DeviceRegistrationPolicy.deviceRegistrationPolicyRequestBuilder.deviceRegistrationPolicyRequestBuilderGetQueryParameters::|public|Select:string[] @@ -220925,22 +221706,22 @@ Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.Re Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|includedGroups:global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder.MobileAppManagementPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder.MobileAppManagementPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder.MobileAppManagementPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder.MobileAppManagementPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder.MobileAppManagementPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|includedGroups:global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder.mobileAppManagementPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder.mobileAppManagementPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -220952,14 +221733,14 @@ Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPol Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder.mobileAppManagementPoliciesRequestBuilderGetQueryParameters::|public|Top:int? Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder.mobileAppManagementPoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder.mobileAppManagementPoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::[MobilityManagementPolicyId:string]:global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::[MobileAppManagementPolicyId:string]:global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Item.MobileAppManagementPolicyItemRequestBuilder Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.Count.CountRequestBuilder -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicyCollectionResponse -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicyCollectionResponse +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobileAppManagementPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.mobileAppManagementPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.MobileAppManagementPoliciesRequestBuilder Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -221054,22 +221835,22 @@ Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.Ref.RefRequestBuilder -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder.MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|includedGroups:global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder.MobileDeviceManagementPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder.MobileDeviceManagementPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder.MobileDeviceManagementPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder.MobileDeviceManagementPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder.MobileDeviceManagementPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|includedGroups:global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.IncludedGroups.IncludedGroupsRequestBuilder +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder.mobileDeviceManagementPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder.mobileDeviceManagementPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -221081,14 +221862,14 @@ Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagem Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder.mobileDeviceManagementPoliciesRequestBuilderGetQueryParameters::|public|Top:int? Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder.mobileDeviceManagementPoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder.mobileDeviceManagementPoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::[MobilityManagementPolicyId:string]:global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobilityManagementPolicyItemRequestBuilder +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::[MobileDeviceManagementPolicyId:string]:global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Item.MobileDeviceManagementPolicyItemRequestBuilder Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.Count.CountRequestBuilder -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicyCollectionResponse -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicyCollectionResponse +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobilityManagementPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.mobileDeviceManagementPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.MobileDeviceManagementPoliciesRequestBuilder Microsoft.Graph.Beta.Policies.PermissionGrantPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.PermissionGrantPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -221283,10 +222064,12 @@ Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|authenticationStre Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|authorizationPolicy:global.Microsoft.Graph.Beta.Policies.AuthorizationPolicy.AuthorizationPolicyRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|b2cAuthenticationMethodsPolicy:global.Microsoft.Graph.Beta.Policies.B2cAuthenticationMethodsPolicy.B2cAuthenticationMethodsPolicyRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|claimsMappingPolicies:global.Microsoft.Graph.Beta.Policies.ClaimsMappingPolicies.ClaimsMappingPoliciesRequestBuilder +Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|conditionalAccessPolicies:global.Microsoft.Graph.Beta.Policies.ConditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|crossTenantAccessPolicy:global.Microsoft.Graph.Beta.Policies.CrossTenantAccessPolicy.CrossTenantAccessPolicyRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|defaultAppManagementPolicy:global.Microsoft.Graph.Beta.Policies.DefaultAppManagementPolicy.DefaultAppManagementPolicyRequestBuilder +Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|deletedItems:global.Microsoft.Graph.Beta.Policies.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|deviceRegistrationPolicy:global.Microsoft.Graph.Beta.Policies.DeviceRegistrationPolicy.DeviceRegistrationPolicyRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|directoryRoleAccessReviewPolicy:global.Microsoft.Graph.Beta.Policies.DirectoryRoleAccessReviewPolicy.DirectoryRoleAccessReviewPolicyRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|externalIdentitiesPolicy:global.Microsoft.Graph.Beta.Policies.ExternalIdentitiesPolicy.ExternalIdentitiesPolicyRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 38697344916..4a71b7542cd 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "BFA0E9C3F778D6009D8A2C52363377698681316A831A30C3D71E35297FB985B041DA159DD2F05741F452713ED784B370CD374615658E614BC89D031C0B96BE05", + "descriptionHash": "28E6A3DAA61598C506857DC9DA0C0AEC432B84B118D77B57A5A1BFC3BC94647043C10CEE32ADE632B46A7DB11631513AF4B61E6849E8E80EFCF04ACEA2112B56", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.29.0",