diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs index 87085242a72..0c65e2db3e2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeletedItemsRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder LifecyclePolicies + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.WorkflowsRequestBuilder Workflows { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f943b2fa9b7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/$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.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 00000000000..b0820a8a8e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%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 CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// 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 CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 00000000000..7612ea05232 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%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 LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// 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 LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..6dddc85f90a --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,210 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder Versions + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(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 LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%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 LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecyclePolicies for identityGovernance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of soft-deleted lifecycle policies. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecyclePolicies for identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of soft-deleted lifecycle 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 ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(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 LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of soft-deleted lifecycle policies. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 00000000000..0907ad8c858 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 00000000000..84dadda50b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(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 ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%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 ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// The latest processing report for the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The latest processing report for the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// 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 ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..22c05ffbf97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$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.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 00000000000..0659fcde6fc --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%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 LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 00000000000..ef6c3f8e157 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(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 SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%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 SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// 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 SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 00000000000..4ad27170b23 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%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 LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 00000000000..659de16a0cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,177 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(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 RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%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 RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// 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 RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 00000000000..3daabf929b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%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 CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// 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 CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 00000000000..0bee785e004 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%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 LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// 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 LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..3e94b662a62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,155 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(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 LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%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 LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of previous versions of the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of previous versions of the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 00000000000..aac257eba9d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 00000000000..462b411cecf --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(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 ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%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 ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// The latest processing report for the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The latest processing report for the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// 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 ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..6151522c530 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$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.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 00000000000..a349d15190f --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%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 LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 00000000000..1c035ca2f06 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(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 SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%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 SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// 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 SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..fc63e16c36d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$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.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 00000000000..3f0025bf474 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%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 LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 00000000000..702ff84944c --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(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 RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%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 RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// 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 RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs new file mode 100644 index 00000000000..f58af8e15c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs @@ -0,0 +1,177 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did1", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(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 VersionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%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 VersionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of previous versions of the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of previous versions of the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilderGetQueryParameters + { + /// 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 VersionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs new file mode 100644 index 00000000000..d975d3ae75d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(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 LifecyclePoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies{?%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 LifecyclePoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the soft-deleted lifecyclePolicy objects in the lifecycle workflows deletedItemContainer. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the soft-deleted lifecyclePolicy objects in the lifecycle workflows deletedItemContainer. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the soft-deleted lifecyclePolicy objects in the lifecycle workflows deletedItemContainer. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilderGetQueryParameters + { + /// 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 LifecyclePoliciesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0f8c417d601 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/$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.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 00000000000..4fe04b5b9e4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%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 CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// 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 CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 00000000000..219d6c7b654 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%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 LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// 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 LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..e30eadf66c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder Versions + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(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 LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%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 LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a lifecyclePolicy object. This is a soft-delete operation: the policy can be restored with the restore action and appears under the deleted items container until it's permanently removed. To permanently delete a policy, use the deleted items path. A permanently deleted policy can't be restored. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicy object. You can also retrieve a soft-deleted policy from the lifecycle workflows deleted items container. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a lifecyclePolicy object. This is a soft-delete operation: the policy can be restored with the restore action and appears under the deleted items container until it's permanently removed. To permanently delete a policy, use the deleted items path. A permanently deleted policy can't be restored. + /// + /// 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 microsoft.graph.identityGovernance.lifecyclePolicy object. You can also retrieve a soft-deleted policy from the lifecycle workflows deleted items container. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(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 LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicy object. You can also retrieve a soft-deleted policy from the lifecycle workflows deleted items container. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 00000000000..d62c42695cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 00000000000..6da85ea4dfb --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,132 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(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 ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%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 ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read the latest lifecyclePolicyReport for a lifecyclePolicy. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the latest lifecyclePolicyReport for a lifecyclePolicy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the latest lifecyclePolicyReport for a lifecyclePolicy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// 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 ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..726079df0f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$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.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 00000000000..d5982358aab --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%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 LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 00000000000..e143c9a952d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(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 SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%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 SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List lifecyclePolicySubjectReport objects from a lifecyclePolicyReport. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List lifecyclePolicySubjectReport objects from a lifecyclePolicyReport. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List lifecyclePolicySubjectReport objects from a lifecyclePolicyReport. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// 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 SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 00000000000..491ca82a82f --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%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 LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 00000000000..612829033b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,177 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(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 RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%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 RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// 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 RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 00000000000..0fbc86ab31d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%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 CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// 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 CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 00000000000..80c58983df7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%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 LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// 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 LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 00000000000..288abb79ffb --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,155 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(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 LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%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 LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of previous versions of the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of previous versions of the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 00000000000..c52e438c6af --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(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 MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 00000000000..9c5e9b9d822 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(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 ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%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 ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// The latest processing report for the policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The latest processing report for the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// 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 ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..879a4802bc3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$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.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 00000000000..0ba36807602 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%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 LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 00000000000..40df0c509ce --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(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 SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%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 SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// 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 SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..e1861513c6e --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$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.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 00000000000..f7b8f26950c --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%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 LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 00000000000..6810d29b487 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(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 RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%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 RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// 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 RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs new file mode 100644 index 00000000000..973caac6f4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs @@ -0,0 +1,178 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did1", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(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 VersionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%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 VersionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the read-only version history of a lifecyclePolicy. Versions can be listed, but not created, updated, or deleted directly. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the read-only version history of a lifecyclePolicy. Versions can be listed, but not created, updated, or deleted directly. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the read-only version history of a lifecyclePolicy. Versions can be listed, but not created, updated, or deleted directly. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilderGetQueryParameters + { + /// 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 VersionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs new file mode 100644 index 00000000000..2184a7d7a2a --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(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 LifecyclePoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies{?%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 LifecyclePoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the lifecyclePolicy objects and their properties in the lifecycle workflows container. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new lifecyclePolicy object in the lifecycle workflows container. A policy is created for a specific subject type and takes effect according to its priority order. + /// 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.Models.IdentityGovernance.LifecyclePolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the lifecyclePolicy objects and their properties in the lifecycle workflows container. + /// + /// 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 lifecyclePolicy object in the lifecycle workflows container. A policy is created for a specific subject type and takes effect according to its priority order. + /// + /// 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.Models.IdentityGovernance.LifecyclePolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy 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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the lifecyclePolicy objects and their properties in the lifecycle workflows container. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilderGetQueryParameters + { + /// 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 LifecyclePoliciesRequestBuilderGetRequestConfiguration : 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 LifecyclePoliciesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..35e32b515bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/$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.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.cs new file mode 100644 index 00000000000..f3b852d029f --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item +{ + /// + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyPriorityConfigurationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/{lifecyclePolicyPriorityConfiguration%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 LifecyclePolicyPriorityConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/{lifecyclePolicyPriorityConfiguration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The ordered lifecycle policy identifiers for each subject type. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The ordered lifecycle policy identifiers for each subject type. + /// + /// 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 lifecyclePolicyPriorityConfigurations in identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration 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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The ordered lifecycle policy identifiers for each subject type. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyPriorityConfigurationItemRequestBuilderGetRequestConfiguration : 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 LifecyclePolicyPriorityConfigurationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.cs new file mode 100644 index 00000000000..1f58a7d6bac --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations +{ + /// + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// The unique identifier of lifecyclePolicyPriorityConfiguration + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyPriorityConfiguration%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder(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 LifecyclePolicyPriorityConfigurationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations{?%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 LifecyclePolicyPriorityConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The ordered lifecycle policy identifiers for each subject type. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The ordered lifecycle policy identifiers for each subject type. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The ordered lifecycle policy identifiers for each subject type. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters + { + /// 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 LifecyclePolicyPriorityConfigurationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs index 436224a4a92..dd99cfc0656 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs @@ -3,6 +3,8 @@ using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Settings; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.TaskDefinitions; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates; @@ -40,6 +42,16 @@ public partial class LifecycleWorkflowsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights.InsightsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder LifecyclePolicies + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder LifecyclePolicyPriorityConfigurations + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the settings property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Settings.SettingsRequestBuilder Settings { diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs index 7f0976a44da..a5049da261d 100644 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -35,7 +35,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs index 2521514d09c..d57cf577145 100644 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -35,7 +35,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs new file mode 100644 index 00000000000..0cc8d376618 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count; +using Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.Me.Lifecycle.ComplianceIssues +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// The unique identifier of complianceIssue + /// A + public global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("complianceIssue%2Did", position); + return new global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(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 ComplianceIssuesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues{?%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 ComplianceIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetQueryParameters + { + /// 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 ComplianceIssuesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..8abde45a238 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.Lifecycle.ComplianceIssues.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}/me/lifecycle/complianceIssues/$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}/me/lifecycle/complianceIssues/$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.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.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.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/Me/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs new file mode 100644 index 00000000000..16a26e474d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.Me.Lifecycle.ComplianceIssues.Item +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues/{complianceIssue%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 ComplianceIssueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetQueryParameters + { + /// 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 ComplianceIssueItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs new file mode 100644 index 00000000000..1ba10495cf5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.Me.Lifecycle.EffectiveGoverningPolicy +{ + /// + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/effectiveGoverningPolicy{?%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 EffectiveGoverningPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetQueryParameters + { + /// 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 EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/LifecycleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/LifecycleRequestBuilder.cs new file mode 100644 index 00000000000..d32ce16ff65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/LifecycleRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Lifecycle.ComplianceIssues; +using Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy; +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.Me.Lifecycle +{ + /// + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder ComplianceIssues + { + get => new global::Microsoft.Graph.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder EffectiveGoverningPolicy + { + get => new global::Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(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 LifecycleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle{?%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 LifecycleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecycle for me + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user's lifecycle policy state, including compliance and attestation information. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property lifecycle in me + /// + /// 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.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecycle for me + /// + /// 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 user's lifecycle policy state, including compliance and attestation information. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property lifecycle in me + /// + /// 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.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle 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.Me.Lifecycle.LifecycleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Lifecycle.LifecycleRequestBuilder(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 LifecycleRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The user's lifecycle policy state, including compliance and attestation information. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetQueryParameters + { + /// 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 LifecycleRequestBuilderGetRequestConfiguration : 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 LifecycleRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 00000000000..292a0567e12 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", 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 ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// 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.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(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 ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index f9ce9a808b2..0bce24a3b96 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy; +using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime; using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules; using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages; using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move; @@ -28,6 +29,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index f694a5cfd17..3128da800ee 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -11,6 +11,7 @@ using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete; using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply; using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll; +using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage; using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send; using Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Value; using Microsoft.Graph.Models.ODataErrors; @@ -91,6 +92,11 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reportMessage method. + public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder ReportMessage + { + get => new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the send method. public global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder Send { diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs new file mode 100644 index 00000000000..30cc056fd93 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReportMessagePostRequestBody : 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 IsMessageMoveRequested property + public bool? IsMessageMoveRequested + { + get { return BackingStore?.Get("IsMessageMoveRequested"); } + set { BackingStore?.Set("IsMessageMoveRequested", value); } + } + /// The ReportAction property + public global::Microsoft.Graph.Models.ReportAction? ReportAction + { + get { return BackingStore?.Get("ReportAction"); } + set { BackingStore?.Set("ReportAction", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReportMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + IsMessageMoveRequested = false; + } + /// + /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "IsMessageMoveRequested", n => { IsMessageMoveRequested = n.GetBoolValue(); } }, + { "ReportAction", n => { ReportAction = 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.WriteBoolValue("IsMessageMoveRequested", IsMessageMoveRequested); + writer.WriteEnumValue("ReportAction", ReportAction); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs new file mode 100644 index 00000000000..6b151f07eed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage +{ + /// + /// Provides operations to call the reportMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reportMessage", 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 ReportMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reportMessage", rawUrl) + { + } + /// + /// Invoke action reportMessage + /// + /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action reportMessage + /// + /// 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(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 ReportMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 00000000000..9fdb5a1200f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.MailFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/importMime", 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 ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// 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.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(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 ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs index 624e4e2f413..67a6589e045 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Me.MailFolders.Item.ChildFolders; using Microsoft.Graph.Me.MailFolders.Item.Copy; +using Microsoft.Graph.Me.MailFolders.Item.ImportMime; using Microsoft.Graph.Me.MailFolders.Item.MessageRules; using Microsoft.Graph.Me.MailFolders.Item.Messages; using Microsoft.Graph.Me.MailFolders.Item.Move; @@ -34,6 +35,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index baf776b7dd1..f8312865f06 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -11,6 +11,7 @@ using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete; using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply; using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll; +using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage; using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send; using Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Value; using Microsoft.Graph.Models.ODataErrors; @@ -91,6 +92,11 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reportMessage method. + public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder ReportMessage + { + get => new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the send method. public global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder Send { diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs new file mode 100644 index 00000000000..74ee2a19ae5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.ReportMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReportMessagePostRequestBody : 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 IsMessageMoveRequested property + public bool? IsMessageMoveRequested + { + get { return BackingStore?.Get("IsMessageMoveRequested"); } + set { BackingStore?.Set("IsMessageMoveRequested", value); } + } + /// The ReportAction property + public global::Microsoft.Graph.Models.ReportAction? ReportAction + { + get { return BackingStore?.Get("ReportAction"); } + set { BackingStore?.Set("ReportAction", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReportMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + IsMessageMoveRequested = false; + } + /// + /// 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.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "IsMessageMoveRequested", n => { IsMessageMoveRequested = n.GetBoolValue(); } }, + { "ReportAction", n => { ReportAction = 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.WriteBoolValue("IsMessageMoveRequested", IsMessageMoveRequested); + writer.WriteEnumValue("ReportAction", ReportAction); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs new file mode 100644 index 00000000000..8c071097bad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.MailFolders.Item.Messages.Item.ReportMessage +{ + /// + /// Provides operations to call the reportMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reportMessage", 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 ReportMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reportMessage", rawUrl) + { + } + /// + /// Invoke action reportMessage + /// + /// 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.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action reportMessage + /// + /// 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.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(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 ReportMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index c3b40ebc8af..fbddf1af26c 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -43,6 +43,7 @@ using Microsoft.Graph.Me.Insights; using Microsoft.Graph.Me.JoinedTeams; using Microsoft.Graph.Me.LicenseDetails; +using Microsoft.Graph.Me.Lifecycle; using Microsoft.Graph.Me.MailFolders; using Microsoft.Graph.Me.MailboxSettings; using Microsoft.Graph.Me.ManagedAppRegistrations; @@ -50,6 +51,9 @@ using Microsoft.Graph.Me.Manager; using Microsoft.Graph.Me.MemberOf; using Microsoft.Graph.Me.Messages; +using Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor; +using Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest; +using Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor; using Microsoft.Graph.Me.Notes; using Microsoft.Graph.Me.Oauth2PermissionGrants; using Microsoft.Graph.Me.OnPremisesSyncBehavior; @@ -311,6 +315,11 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Me.Lifecycle.LifecycleRequestBuilder Lifecycle + { + get => new global::Microsoft.Graph.Me.Lifecycle.LifecycleRequestBuilder(PathParameters, RequestAdapter); + } /// The mailboxSettings property public global::Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings { @@ -346,6 +355,21 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the addSelfAsSponsor method. + public global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceAddSelfAsSponsor + { + get => new global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the attest method. + public global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder MicrosoftGraphIdentityGovernanceAttest + { + get => new global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the removeSelfAsSponsor method. + public global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor + { + get => new global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the notes property of the microsoft.graph.user entity. public global::Microsoft.Graph.Me.Notes.NotesRequestBuilder Notes { diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 9401e083370..4f3d7cabf72 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -11,6 +11,7 @@ using Microsoft.Graph.Me.Messages.Item.PermanentDelete; using Microsoft.Graph.Me.Messages.Item.Reply; using Microsoft.Graph.Me.Messages.Item.ReplyAll; +using Microsoft.Graph.Me.Messages.Item.ReportMessage; using Microsoft.Graph.Me.Messages.Item.Send; using Microsoft.Graph.Me.Messages.Item.Value; using Microsoft.Graph.Models.ODataErrors; @@ -91,6 +92,11 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reportMessage method. + public global::Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessageRequestBuilder ReportMessage + { + get => new global::Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessageRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the send method. public global::Microsoft.Graph.Me.Messages.Item.Send.SendRequestBuilder Send { diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs new file mode 100644 index 00000000000..b472f77bffc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.Messages.Item.ReportMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReportMessagePostRequestBody : 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 IsMessageMoveRequested property + public bool? IsMessageMoveRequested + { + get { return BackingStore?.Get("IsMessageMoveRequested"); } + set { BackingStore?.Set("IsMessageMoveRequested", value); } + } + /// The ReportAction property + public global::Microsoft.Graph.Models.ReportAction? ReportAction + { + get { return BackingStore?.Get("ReportAction"); } + set { BackingStore?.Set("ReportAction", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReportMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + IsMessageMoveRequested = false; + } + /// + /// 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.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "IsMessageMoveRequested", n => { IsMessageMoveRequested = n.GetBoolValue(); } }, + { "ReportAction", n => { ReportAction = 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.WriteBoolValue("IsMessageMoveRequested", IsMessageMoveRequested); + writer.WriteEnumValue("ReportAction", ReportAction); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs new file mode 100644 index 00000000000..3b0f9b3b7a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Me.Messages.Item.ReportMessage +{ + /// + /// Provides operations to call the reportMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/reportMessage", 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 ReportMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/reportMessage", rawUrl) + { + } + /// + /// Invoke action reportMessage + /// + /// 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.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action reportMessage + /// + /// 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.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Me.Messages.Item.ReportMessage.ReportMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessageRequestBuilder(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 ReportMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs new file mode 100644 index 00000000000..ccfacf74181 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor +{ + /// + /// Provides operations to call the addSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.addSelfAsSponsor", 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 MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.addSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action addSelfAsSponsor + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action addSelfAsSponsor + /// + /// 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.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(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 MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs new file mode 100644 index 00000000000..04a73a7a9c8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.MicrosoftGraphIdentityGovernanceAttest +{ + /// + /// Provides operations to call the attest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.attest", 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 MicrosoftGraphIdentityGovernanceAttestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.attest", rawUrl) + { + } + /// + /// Invoke action attest + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action attest + /// + /// 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.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(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 MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs new file mode 100644 index 00000000000..145abf148ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor +{ + /// + /// Provides operations to call the removeSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.removeSelfAsSponsor", 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 MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.removeSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// 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.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(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 MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs index 6e8a3d931a1..3e826113d83 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs @@ -34,6 +34,40 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } + /// The lifecyclePolicyComplianceState property + public global::Microsoft.Graph.Models.LifecyclePolicyComplianceState? LifecyclePolicyComplianceState + { + get { return BackingStore?.Get("lifecyclePolicyComplianceState"); } + set { BackingStore?.Set("lifecyclePolicyComplianceState", value); } + } + /// The lifecyclePolicyComplianceStateLastModifiedDateTime property + public DateTimeOffset? LifecyclePolicyComplianceStateLastModifiedDateTime + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateLastModifiedDateTime"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateLastModifiedDateTime", value); } + } + /// The lifecyclePolicyComplianceStateReason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#nullable restore +#else + public string LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#endif + /// The lifecyclePolicyNonComplianceDisablementDateTime property + public DateTimeOffset? LifecyclePolicyNonComplianceDisablementDateTime + { + get { return BackingStore?.Get("lifecyclePolicyNonComplianceDisablementDateTime"); } + set { BackingStore?.Set("lifecyclePolicyNonComplianceDisablementDateTime", value); } + } /// The collection of application IDs designated as managers of this agent identity's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -93,6 +127,10 @@ public override IDictionary> GetFieldDeserializers() { { "agentIdentityBlueprintId", n => { AgentIdentityBlueprintId = n.GetStringValue(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lifecyclePolicyComplianceState", n => { LifecyclePolicyComplianceState = n.GetEnumValue(); } }, + { "lifecyclePolicyComplianceStateLastModifiedDateTime", n => { LifecyclePolicyComplianceStateLastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lifecyclePolicyComplianceStateReason", n => { LifecyclePolicyComplianceStateReason = n.GetStringValue(); } }, + { "lifecyclePolicyNonComplianceDisablementDateTime", n => { LifecyclePolicyNonComplianceDisablementDateTime = n.GetDateTimeOffsetValue(); } }, { "managerApplications", n => { ManagerApplications = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -107,6 +145,10 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("agentIdentityBlueprintId", AgentIdentityBlueprintId); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteEnumValue("lifecyclePolicyComplianceState", LifecyclePolicyComplianceState); + writer.WriteDateTimeOffsetValue("lifecyclePolicyComplianceStateLastModifiedDateTime", LifecyclePolicyComplianceStateLastModifiedDateTime); + writer.WriteStringValue("lifecyclePolicyComplianceStateReason", LifecyclePolicyComplianceStateReason); + writer.WriteDateTimeOffsetValue("lifecyclePolicyNonComplianceDisablementDateTime", LifecyclePolicyNonComplianceDisablementDateTime); writer.WriteCollectionOfObjectValues("sponsors", Sponsors); } } diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs index 258e32d5008..9a2db98c7b5 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs @@ -12,6 +12,40 @@ namespace Microsoft.Graph.Models public partial class AgentIdentityBlueprintPrincipal : global::Microsoft.Graph.Models.ServicePrincipal, IParsable #pragma warning restore CS1591 { + /// The lifecyclePolicyComplianceState property + public global::Microsoft.Graph.Models.LifecyclePolicyComplianceState? LifecyclePolicyComplianceState + { + get { return BackingStore?.Get("lifecyclePolicyComplianceState"); } + set { BackingStore?.Set("lifecyclePolicyComplianceState", value); } + } + /// The lifecyclePolicyComplianceStateLastModifiedDateTime property + public DateTimeOffset? LifecyclePolicyComplianceStateLastModifiedDateTime + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateLastModifiedDateTime"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateLastModifiedDateTime", value); } + } + /// The lifecyclePolicyComplianceStateReason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#nullable restore +#else + public string LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#endif + /// The lifecyclePolicyNonComplianceDisablementDateTime property + public DateTimeOffset? LifecyclePolicyNonComplianceDisablementDateTime + { + get { return BackingStore?.Get("lifecyclePolicyNonComplianceDisablementDateTime"); } + set { BackingStore?.Set("lifecyclePolicyNonComplianceDisablementDateTime", value); } + } /// The collection of application IDs designated as managers of this agent identity blueprint principal's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -69,6 +103,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "lifecyclePolicyComplianceState", n => { LifecyclePolicyComplianceState = n.GetEnumValue(); } }, + { "lifecyclePolicyComplianceStateLastModifiedDateTime", n => { LifecyclePolicyComplianceStateLastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lifecyclePolicyComplianceStateReason", n => { LifecyclePolicyComplianceStateReason = n.GetStringValue(); } }, + { "lifecyclePolicyNonComplianceDisablementDateTime", n => { LifecyclePolicyNonComplianceDisablementDateTime = n.GetDateTimeOffsetValue(); } }, { "managerApplications", n => { ManagerApplications = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -81,6 +119,10 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteEnumValue("lifecyclePolicyComplianceState", LifecyclePolicyComplianceState); + writer.WriteDateTimeOffsetValue("lifecyclePolicyComplianceStateLastModifiedDateTime", LifecyclePolicyComplianceStateLastModifiedDateTime); + writer.WriteStringValue("lifecyclePolicyComplianceStateReason", LifecyclePolicyComplianceStateReason); + writer.WriteDateTimeOffsetValue("lifecyclePolicyNonComplianceDisablementDateTime", LifecyclePolicyNonComplianceDisablementDateTime); writer.WriteCollectionOfObjectValues("sponsors", Sponsors); } } diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationInfo.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationInfo.cs new file mode 100644 index 00000000000..81283dbda1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationInfo.cs @@ -0,0 +1,86 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AuthenticationInfo : 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 AuthenticationInfo() + { + 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.Models.AuthenticationInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.clientCredentialAuthenticationInfo" => new global::Microsoft.Graph.Models.ClientCredentialAuthenticationInfo(), + _ => new global::Microsoft.Graph.Models.AuthenticationInfo(), + }; + } + /// + /// 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/AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs index d46b5b3760c..b6de28f9d87 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs @@ -18,6 +18,12 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } + /// The date and time of the authentication method's latest successful use, when usage data is available. Read-only. Nullable. The timestamp uses ISO 8601 format and is always in UTC. For example, 2026-10-28T15:30:00Z. + public DateTimeOffset? LastUsedDateTime + { + get { return BackingStore?.Get("lastUsedDateTime"); } + set { BackingStore?.Set("lastUsedDateTime", value); } + } /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -53,6 +59,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastUsedDateTime", n => { LastUsedDateTime = n.GetDateTimeOffsetValue(); } }, }; } /// @@ -64,6 +71,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("lastUsedDateTime", LastUsedDateTime); } } } diff --git a/src/Microsoft.Graph/Generated/Models/ClientCredentialAuthenticationInfo.cs b/src/Microsoft.Graph/Generated/Models/ClientCredentialAuthenticationInfo.cs new file mode 100644 index 00000000000..3512f654405 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClientCredentialAuthenticationInfo.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClientCredentialAuthenticationInfo : global::Microsoft.Graph.Models.AuthenticationInfo, IParsable + #pragma warning restore CS1591 + { + /// The URL endpoint used to obtain access tokens for authentication with the external system. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AccessTokenUrl + { + get { return BackingStore?.Get("accessTokenUrl"); } + set { BackingStore?.Set("accessTokenUrl", value); } + } +#nullable restore +#else + public string AccessTokenUrl + { + get { return BackingStore?.Get("accessTokenUrl"); } + set { BackingStore?.Set("accessTokenUrl", value); } + } +#endif + /// The client identifier used for authentication with the external system. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientId + { + get { return BackingStore?.Get("clientId"); } + set { BackingStore?.Set("clientId", value); } + } +#nullable restore +#else + public string ClientId + { + get { return BackingStore?.Get("clientId"); } + set { BackingStore?.Set("clientId", value); } + } +#endif + /// The name of the secret in Azure Key Vault that contains the client secret. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SecretName + { + get { return BackingStore?.Get("secretName"); } + set { BackingStore?.Set("secretName", value); } + } +#nullable restore +#else + public string SecretName + { + get { return BackingStore?.Get("secretName"); } + set { BackingStore?.Set("secretName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClientCredentialAuthenticationInfo() : base() + { + OdataType = "#microsoft.graph.clientCredentialAuthenticationInfo"; + } + /// + /// 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.Models.ClientCredentialAuthenticationInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ClientCredentialAuthenticationInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "accessTokenUrl", n => { AccessTokenUrl = n.GetStringValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "secretName", n => { SecretName = 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("accessTokenUrl", AccessTokenUrl); + writer.WriteStringValue("clientId", ClientId); + writer.WriteStringValue("secretName", SecretName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConnectionInfo.cs b/src/Microsoft.Graph/Generated/Models/ConnectionInfo.cs index 859607486e4..6f82ecd335a 100644 --- a/src/Microsoft.Graph/Generated/Models/ConnectionInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/ConnectionInfo.cs @@ -72,6 +72,7 @@ public ConnectionInfo() var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.externalSapAcConnectionInfo" => new global::Microsoft.Graph.Models.ExternalSapAcConnectionInfo(), "#microsoft.graph.externalTokenBasedSapIagConnectionInfo" => new global::Microsoft.Graph.Models.ExternalTokenBasedSapIagConnectionInfo(), _ => new global::Microsoft.Graph.Models.ConnectionInfo(), }; diff --git a/src/Microsoft.Graph/Generated/Models/ConnectorType.cs b/src/Microsoft.Graph/Generated/Models/ConnectorType.cs index c4d014ae131..041e1e09936 100644 --- a/src/Microsoft.Graph/Generated/Models/ConnectorType.cs +++ b/src/Microsoft.Graph/Generated/Models/ConnectorType.cs @@ -12,6 +12,10 @@ public enum ConnectorType #pragma warning disable CS1591 SapIag, #pragma warning restore CS1591 + [EnumMember(Value = "sapAc")] + #pragma warning disable CS1591 + SapAc, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 UnknownFutureValue, diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs index d0bd66fc7ac..e277b47c0b0 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs @@ -185,6 +185,22 @@ public string OwnerId get { return BackingStore?.Get("ownerId"); } set { BackingStore?.Set("ownerId", value); } } +#endif + /// The owners property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Owners + { + get { return BackingStore?.Get?>("owners"); } + set { BackingStore?.Set("owners", value); } + } +#nullable restore +#else + public List Owners + { + get { return BackingStore?.Get>("owners"); } + set { BackingStore?.Set("owners", value); } + } #endif /// The platform property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -337,6 +353,7 @@ public override IDictionary> GetFieldDeserializers() { "manifestId", n => { ManifestId = n.GetStringValue(); } }, { "manifestVersion", n => { ManifestVersion = n.GetStringValue(); } }, { "ownerId", n => { OwnerId = n.GetStringValue(); } }, + { "owners", n => { Owners = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PackageAccessEntity.CreateFromDiscriminatorValue)?.AsList(); } }, { "platform", n => { Platform = n.GetStringValue(); } }, { "publisher", n => { Publisher = n.GetStringValue(); } }, { "requestStatus", n => { RequestStatus = n.GetEnumValue(); } }, @@ -370,6 +387,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("manifestId", ManifestId); writer.WriteStringValue("manifestVersion", ManifestVersion); writer.WriteStringValue("ownerId", OwnerId); + writer.WriteCollectionOfObjectValues("owners", Owners); writer.WriteStringValue("platform", Platform); writer.WriteStringValue("publisher", Publisher); writer.WriteEnumValue("requestStatus", RequestStatus); diff --git a/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs b/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs index fec1dc5192a..93b293029a7 100644 --- a/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs @@ -13,6 +13,22 @@ namespace Microsoft.Graph.Models public partial class DeletedItemContainer : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// A collection of soft-deleted lifecycle policies. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? LifecyclePolicies + { + get { return BackingStore?.Get?>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#nullable restore +#else + public List LifecyclePolicies + { + get { return BackingStore?.Get>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#endif /// Deleted workflows that end up in the deletedItemsContainer. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "lifecyclePolicies", n => { LifecyclePolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "workflows", n => { Workflows = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("lifecyclePolicies", LifecyclePolicies); writer.WriteCollectionOfObjectValues("workflows", Workflows); } } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index a4848ffcdfb..c765338ee25 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -532,16 +532,33 @@ public Entity() "#microsoft.graph.identityBuiltInUserFlowAttribute" => new global::Microsoft.Graph.Models.IdentityBuiltInUserFlowAttribute(), "#microsoft.graph.identityContainer" => new global::Microsoft.Graph.Models.IdentityContainer(), "#microsoft.graph.identityCustomUserFlowAttribute" => new global::Microsoft.Graph.Models.IdentityCustomUserFlowAttribute(), + "#microsoft.graph.identityGovernance.accessPackageAssignmentRequiredRule" => new global::Microsoft.Graph.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule(), + "#microsoft.graph.identityGovernance.agentIdentityLifecycle" => new global::Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecycle(), + "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy" => new global::Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecyclePolicy(), + "#microsoft.graph.identityGovernance.attestationComplianceIssue" => new global::Microsoft.Graph.Models.IdentityGovernance.AttestationComplianceIssue(), + "#microsoft.graph.identityGovernance.complianceIssue" => new global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue(), "#microsoft.graph.identityGovernance.customTaskExtension" => new global::Microsoft.Graph.Models.IdentityGovernance.CustomTaskExtension(), + "#microsoft.graph.identityGovernance.guestLifecyclePolicy" => new global::Microsoft.Graph.Models.IdentityGovernance.GuestLifecyclePolicy(), + "#microsoft.graph.identityGovernance.identityLifecycle" => new global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle(), + "#microsoft.graph.identityGovernance.inactivityRule" => new global::Microsoft.Graph.Models.IdentityGovernance.InactivityRule(), "#microsoft.graph.identityGovernance.insights" => new global::Microsoft.Graph.Models.IdentityGovernance.Insights(), + "#microsoft.graph.identityGovernance.invitationRedemptionRule" => new global::Microsoft.Graph.Models.IdentityGovernance.InvitationRedemptionRule(), "#microsoft.graph.identityGovernance.lifecycleManagementSettings" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecycleManagementSettings(), + "#microsoft.graph.identityGovernance.lifecyclePolicy" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy(), + "#microsoft.graph.identityGovernance.lifecyclePolicyPriorityConfiguration" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration(), + "#microsoft.graph.identityGovernance.lifecyclePolicyReport" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport(), + "#microsoft.graph.identityGovernance.lifecyclePolicyRule" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule(), + "#microsoft.graph.identityGovernance.lifecyclePolicySubjectReport" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport(), "#microsoft.graph.identityGovernance.lifecycleWorkflowsContainer" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowsContainer(), + "#microsoft.graph.identityGovernance.periodicAttestationRule" => new global::Microsoft.Graph.Models.IdentityGovernance.PeriodicAttestationRule(), "#microsoft.graph.identityGovernance.run" => new global::Microsoft.Graph.Models.IdentityGovernance.Run(), + "#microsoft.graph.identityGovernance.sponsorPresenceRule" => new global::Microsoft.Graph.Models.IdentityGovernance.SponsorPresenceRule(), "#microsoft.graph.identityGovernance.subjectProcessingResult" => new global::Microsoft.Graph.Models.IdentityGovernance.SubjectProcessingResult(), "#microsoft.graph.identityGovernance.task" => new global::Microsoft.Graph.Models.IdentityGovernance.TaskObject(), "#microsoft.graph.identityGovernance.taskDefinition" => new global::Microsoft.Graph.Models.IdentityGovernance.TaskDefinition(), "#microsoft.graph.identityGovernance.taskProcessingResult" => new global::Microsoft.Graph.Models.IdentityGovernance.TaskProcessingResult(), "#microsoft.graph.identityGovernance.taskReport" => new global::Microsoft.Graph.Models.IdentityGovernance.TaskReport(), + "#microsoft.graph.identityGovernance.userIdentityLifecycle" => new global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle(), "#microsoft.graph.identityGovernance.userProcessingResult" => new global::Microsoft.Graph.Models.IdentityGovernance.UserProcessingResult(), "#microsoft.graph.identityGovernance.workflowTemplate" => new global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTemplate(), "#microsoft.graph.identityProvider" => new global::Microsoft.Graph.Models.IdentityProvider(), @@ -823,6 +840,8 @@ public Entity() "#microsoft.graph.protectionUnitsBulkJobBase" => new global::Microsoft.Graph.Models.ProtectionUnitsBulkJobBase(), "#microsoft.graph.provisioningObjectSummary" => new global::Microsoft.Graph.Models.ProvisioningObjectSummary(), "#microsoft.graph.publicKeyInfrastructureRoot" => new global::Microsoft.Graph.Models.PublicKeyInfrastructureRoot(), + "#microsoft.graph.pullPrintPrinter" => new global::Microsoft.Graph.Models.PullPrintPrinter(), + "#microsoft.graph.pullPrintPrinterCreateOperation" => new global::Microsoft.Graph.Models.PullPrintPrinterCreateOperation(), "#microsoft.graph.qrCode" => new global::Microsoft.Graph.Models.QrCode(), "#microsoft.graph.qrCodePinAuthenticationMethod" => new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethod(), "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethodConfiguration(), diff --git a/src/Microsoft.Graph/Generated/Models/ExternalSapAcConnectionInfo.cs b/src/Microsoft.Graph/Generated/Models/ExternalSapAcConnectionInfo.cs new file mode 100644 index 00000000000..d6e25adb724 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExternalSapAcConnectionInfo.cs @@ -0,0 +1,161 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExternalSapAcConnectionInfo : global::Microsoft.Graph.Models.ConnectionInfo, IParsable + #pragma warning restore CS1591 + { + /// The authenticationInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.AuthenticationInfo? AuthenticationInfo + { + get { return BackingStore?.Get("authenticationInfo"); } + set { BackingStore?.Set("authenticationInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.AuthenticationInfo AuthenticationInfo + { + get { return BackingStore?.Get("authenticationInfo"); } + set { BackingStore?.Set("authenticationInfo", value); } + } +#endif + /// The name of the Azure Key Vault that stores the credentials used for authentication. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? KeyVaultName + { + get { return BackingStore?.Get("keyVaultName"); } + set { BackingStore?.Set("keyVaultName", value); } + } +#nullable restore +#else + public string KeyVaultName + { + get { return BackingStore?.Get("keyVaultName"); } + set { BackingStore?.Set("keyVaultName", value); } + } +#endif + /// The Azure resource group that contains the Key Vault. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceGroup + { + get { return BackingStore?.Get("resourceGroup"); } + set { BackingStore?.Set("resourceGroup", value); } + } +#nullable restore +#else + public string ResourceGroup + { + get { return BackingStore?.Get("resourceGroup"); } + set { BackingStore?.Set("resourceGroup", value); } + } +#endif + /// The Azure subscription ID that contains the Key Vault. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#nullable restore +#else + public string SubscriptionId + { + get { return BackingStore?.Get("subscriptionId"); } + set { BackingStore?.Set("subscriptionId", value); } + } +#endif + /// The identifier of the target SAP AC system. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SystemId + { + get { return BackingStore?.Get("systemId"); } + set { BackingStore?.Set("systemId", value); } + } +#nullable restore +#else + public string SystemId + { + get { return BackingStore?.Get("systemId"); } + set { BackingStore?.Set("systemId", value); } + } +#endif + /// The user identifier used to connect to the SAP AC system. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserIdentifier + { + get { return BackingStore?.Get("userIdentifier"); } + set { BackingStore?.Set("userIdentifier", value); } + } +#nullable restore +#else + public string UserIdentifier + { + get { return BackingStore?.Get("userIdentifier"); } + set { BackingStore?.Set("userIdentifier", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExternalSapAcConnectionInfo() : base() + { + OdataType = "#microsoft.graph.externalSapAcConnectionInfo"; + } + /// + /// 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.Models.ExternalSapAcConnectionInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ExternalSapAcConnectionInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "authenticationInfo", n => { AuthenticationInfo = n.GetObjectValue(global::Microsoft.Graph.Models.AuthenticationInfo.CreateFromDiscriminatorValue); } }, + { "keyVaultName", n => { KeyVaultName = n.GetStringValue(); } }, + { "resourceGroup", n => { ResourceGroup = n.GetStringValue(); } }, + { "subscriptionId", n => { SubscriptionId = n.GetStringValue(); } }, + { "systemId", n => { SystemId = n.GetStringValue(); } }, + { "userIdentifier", n => { UserIdentifier = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("authenticationInfo", AuthenticationInfo); + writer.WriteStringValue("keyVaultName", KeyVaultName); + writer.WriteStringValue("resourceGroup", ResourceGroup); + writer.WriteStringValue("subscriptionId", SubscriptionId); + writer.WriteStringValue("systemId", SystemId); + writer.WriteStringValue("userIdentifier", UserIdentifier); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs index 977c6605908..851c30fd113 100644 --- a/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs +++ b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs @@ -34,6 +34,12 @@ public DateTimeOffset? CompletionDateTime get { return BackingStore?.Get("completionDateTime"); } set { BackingStore?.Set("completionDateTime", value); } } + /// The restoration destination. The possible values are: new, inPlace, unknownFutureValue. Nullable. Use inPlace to restore to the original location. + public global::Microsoft.Graph.Models.DestinationType? DestinationType + { + get { return BackingStore?.Get("destinationType"); } + set { BackingStore?.Set("destinationType", value); } + } /// Contains error details if the restoration fails or completes with an error. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -158,6 +164,7 @@ public override IDictionary> GetFieldDeserializers() { { "browseSessionId", n => { BrowseSessionId = n.GetStringValue(); } }, { "completionDateTime", n => { CompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "destinationType", n => { DestinationType = n.GetEnumValue(); } }, { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.PublicError.CreateFromDiscriminatorValue); } }, { "restorePointDateTime", n => { RestorePointDateTime = n.GetDateTimeOffsetValue(); } }, { "restoredItemKey", n => { RestoredItemKey = n.GetStringValue(); } }, @@ -178,6 +185,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("browseSessionId", BrowseSessionId); writer.WriteDateTimeOffsetValue("completionDateTime", CompletionDateTime); + writer.WriteEnumValue("destinationType", DestinationType); writer.WriteObjectValue("error", Error); writer.WriteStringValue("restoredItemKey", RestoredItemKey); writer.WriteStringValue("restoredItemPath", RestoredItemPath); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AccessPackageAssignmentRequiredRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AccessPackageAssignmentRequiredRule.cs new file mode 100644 index 00000000000..8c9d0b8438d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AccessPackageAssignmentRequiredRule.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageAssignmentRequiredRule : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AccessPackageAssignmentRequiredRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.accessPackageAssignmentRequiredRule"; + } + /// + /// 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.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule(); + } + /// + /// 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/IdentityGovernance/AgentBuilderPlatforms.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentBuilderPlatforms.cs new file mode 100644 index 00000000000..94d6361d6ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentBuilderPlatforms.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum AgentBuilderPlatforms + #pragma warning restore CS1591 + { + [EnumMember(Value = "microsoftCopilotStudio")] + #pragma warning disable CS1591 + MicrosoftCopilotStudio = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "foundry")] + #pragma warning disable CS1591 + Foundry = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecycle.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecycle.cs new file mode 100644 index 00000000000..e6ea2f1759c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecycle.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AgentIdentityLifecycle : global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AgentIdentityLifecycle() : base() + { + OdataType = "#microsoft.graph.identityGovernance.agentIdentityLifecycle"; + } + /// + /// 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.Models.IdentityGovernance.AgentIdentityLifecycle CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecycle(); + } + /// + /// 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/IdentityGovernance/AgentIdentityLifecyclePolicy.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecyclePolicy.cs new file mode 100644 index 00000000000..0043c6ed679 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecyclePolicy.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AgentIdentityLifecyclePolicy : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AgentIdentityLifecyclePolicy() : base() + { + OdataType = "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy"; + } + /// + /// 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.Models.IdentityGovernance.AgentIdentityLifecyclePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecyclePolicy(); + } + /// + /// 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/IdentityGovernance/AllExcludingAgentBuilderPlatformsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingAgentBuilderPlatformsSubjectSet.cs new file mode 100644 index 00000000000..d3767e63100 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingAgentBuilderPlatformsSubjectSet.cs @@ -0,0 +1,62 @@ +// +#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.Models.IdentityGovernance +{ + /// + /// Defines the scope as all agent identities except those created by the specified builder platforms. Agent identity lifecycle policies only; using this scope on another policy type returns HTTP 400. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllExcludingAgentBuilderPlatformsSubjectSet : global::Microsoft.Graph.Models.SubjectSet, IParsable + { + /// The excludedAgentBuilderPlatforms property + public global::Microsoft.Graph.Models.IdentityGovernance.AgentBuilderPlatforms? ExcludedAgentBuilderPlatforms + { + get { return BackingStore?.Get("excludedAgentBuilderPlatforms"); } + set { BackingStore?.Set("excludedAgentBuilderPlatforms", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AllExcludingAgentBuilderPlatformsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.allExcludingAgentBuilderPlatformsSubjectSet"; + } + /// + /// 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.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "excludedAgentBuilderPlatforms", n => { ExcludedAgentBuilderPlatforms = 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("excludedAgentBuilderPlatforms", ExcludedAgentBuilderPlatforms); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingGroupsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingGroupsSubjectSet.cs new file mode 100644 index 00000000000..fba27285f94 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingGroupsSubjectSet.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllExcludingGroupsSubjectSet : global::Microsoft.Graph.Models.SubjectSet, IParsable + #pragma warning restore CS1591 + { + /// The excludedGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExcludedGroups + { + get { return BackingStore?.Get?>("excludedGroups"); } + set { BackingStore?.Set("excludedGroups", value); } + } +#nullable restore +#else + public List ExcludedGroups + { + get { return BackingStore?.Get>("excludedGroups"); } + set { BackingStore?.Set("excludedGroups", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AllExcludingGroupsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet"; + } + /// + /// 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.Models.IdentityGovernance.AllExcludingGroupsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.AllExcludingGroupsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "excludedGroups", n => { ExcludedGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Group.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("excludedGroups", ExcludedGroups); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingSpecificObjectsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingSpecificObjectsSubjectSet.cs new file mode 100644 index 00000000000..b5c9e0e2e58 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingSpecificObjectsSubjectSet.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllExcludingSpecificObjectsSubjectSet : global::Microsoft.Graph.Models.SubjectSet, IParsable + #pragma warning restore CS1591 + { + /// The excludedObjects property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExcludedObjects + { + get { return BackingStore?.Get?>("excludedObjects"); } + set { BackingStore?.Set("excludedObjects", value); } + } +#nullable restore +#else + public List ExcludedObjects + { + get { return BackingStore?.Get>("excludedObjects"); } + set { BackingStore?.Set("excludedObjects", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AllExcludingSpecificObjectsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet"; + } + /// + /// 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.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "excludedObjects", n => { ExcludedObjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.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("excludedObjects", ExcludedObjects); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AttestationComplianceIssue.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AttestationComplianceIssue.cs new file mode 100644 index 00000000000..2dcba04b0c9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AttestationComplianceIssue.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AttestationComplianceIssue : global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue, IParsable + #pragma warning restore CS1591 + { + /// The reasons that prevented the identity from being attested. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AttestationBlockReasons + { + get { return BackingStore?.Get?>("attestationBlockReasons"); } + set { BackingStore?.Set("attestationBlockReasons", value); } + } +#nullable restore +#else + public List AttestationBlockReasons + { + get { return BackingStore?.Get>("attestationBlockReasons"); } + set { BackingStore?.Set("attestationBlockReasons", 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.Models.IdentityGovernance.AttestationComplianceIssue CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.AttestationComplianceIssue(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "attestationBlockReasons", n => { AttestationBlockReasons = 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("attestationBlockReasons", AttestationBlockReasons); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssue.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssue.cs new file mode 100644 index 00000000000..be4e5815e56 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssue.cs @@ -0,0 +1,123 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceIssue : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// A human-readable description of the compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The identifier of the lifecycle policy that generated the compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GoverningPolicyReferenceId + { + get { return BackingStore?.Get("governingPolicyReferenceId"); } + set { BackingStore?.Set("governingPolicyReferenceId", value); } + } +#nullable restore +#else + public string GoverningPolicyReferenceId + { + get { return BackingStore?.Get("governingPolicyReferenceId"); } + set { BackingStore?.Set("governingPolicyReferenceId", value); } + } +#endif + /// A code that identifies the type of compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IssueCode + { + get { return BackingStore?.Get("issueCode"); } + set { BackingStore?.Set("issueCode", value); } + } +#nullable restore +#else + public string IssueCode + { + get { return BackingStore?.Get("issueCode"); } + set { BackingStore?.Set("issueCode", value); } + } +#endif + /// The type of rule that generated the compliance issue, so callers can identify which rule caused non-compliance. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleType + { + get { return BackingStore?.Get("ruleType"); } + set { BackingStore?.Set("ruleType", value); } + } +#nullable restore +#else + public string RuleType + { + get { return BackingStore?.Get("ruleType"); } + set { BackingStore?.Set("ruleType", 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.Models.IdentityGovernance.ComplianceIssue CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.attestationComplianceIssue" => new global::Microsoft.Graph.Models.IdentityGovernance.AttestationComplianceIssue(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "description", n => { Description = n.GetStringValue(); } }, + { "governingPolicyReferenceId", n => { GoverningPolicyReferenceId = n.GetStringValue(); } }, + { "issueCode", n => { IssueCode = n.GetStringValue(); } }, + { "ruleType", n => { RuleType = 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("description", Description); + writer.WriteStringValue("governingPolicyReferenceId", GoverningPolicyReferenceId); + writer.WriteStringValue("issueCode", IssueCode); + writer.WriteStringValue("ruleType", RuleType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssueCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssueCollectionResponse.cs new file mode 100644 index 00000000000..ed85f370c14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssueCollectionResponse.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceIssueCollectionResponse : global::Microsoft.Graph.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.Models.IdentityGovernance.ComplianceIssueCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse(); + } + /// + /// 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.Models.IdentityGovernance.ComplianceIssue.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/IdentityGovernance/ComplianceState.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceState.cs new file mode 100644 index 00000000000..ca52cb86b27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceState.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ComplianceState + #pragma warning restore CS1591 + { + [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 + Compliant, + #pragma warning restore CS1591 + [EnumMember(Value = "warning")] + #pragma warning disable CS1591 + Warning, + #pragma warning restore CS1591 + [EnumMember(Value = "warningNotify")] + #pragma warning disable CS1591 + WarningNotify, + #pragma warning restore CS1591 + [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 + NonCompliant, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DeleteOnlyEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DeleteOnlyEnforcementAction.cs new file mode 100644 index 00000000000..e50eab80f38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DeleteOnlyEnforcementAction.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeleteOnlyEnforcementAction : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DeleteOnlyEnforcementAction() : base() + { + OdataType = "#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction"; + } + /// + /// 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.Models.IdentityGovernance.DeleteOnlyEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.DeleteOnlyEnforcementAction(); + } + /// + /// 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/IdentityGovernance/DisableOnlyEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableOnlyEnforcementAction.cs new file mode 100644 index 00000000000..5b8aba0ca70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableOnlyEnforcementAction.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DisableOnlyEnforcementAction : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DisableOnlyEnforcementAction() : base() + { + OdataType = "#microsoft.graph.identityGovernance.disableOnlyEnforcementAction"; + } + /// + /// 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.Models.IdentityGovernance.DisableOnlyEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.DisableOnlyEnforcementAction(); + } + /// + /// 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/IdentityGovernance/DisableThenDeleteEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableThenDeleteEnforcementAction.cs new file mode 100644 index 00000000000..33e5fe020ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableThenDeleteEnforcementAction.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DisableThenDeleteEnforcementAction : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction, IParsable + #pragma warning restore CS1591 + { + /// The number of days to wait after disabling a non-compliant identity before deleting it. + public int? DeletionGracePeriodInDays + { + get { return BackingStore?.Get("deletionGracePeriodInDays"); } + set { BackingStore?.Set("deletionGracePeriodInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public DisableThenDeleteEnforcementAction() : base() + { + OdataType = "#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction"; + } + /// + /// 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.Models.IdentityGovernance.DisableThenDeleteEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.DisableThenDeleteEnforcementAction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "deletionGracePeriodInDays", n => { DeletionGracePeriodInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("deletionGracePeriodInDays", DeletionGracePeriodInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestLifecyclePolicy.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestLifecyclePolicy.cs new file mode 100644 index 00000000000..6acdeefd44d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestLifecyclePolicy.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GuestLifecyclePolicy : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public GuestLifecyclePolicy() : base() + { + OdataType = "#microsoft.graph.identityGovernance.guestLifecyclePolicy"; + } + /// + /// 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.Models.IdentityGovernance.GuestLifecyclePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.GuestLifecyclePolicy(); + } + /// + /// 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/IdentityGovernance/IdentityLifecycle.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/IdentityLifecycle.cs new file mode 100644 index 00000000000..cf5725ddb18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/IdentityLifecycle.cs @@ -0,0 +1,96 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentityLifecycle : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ComplianceIssues + { + get { return BackingStore?.Get?>("complianceIssues"); } + set { BackingStore?.Set("complianceIssues", value); } + } +#nullable restore +#else + public List ComplianceIssues + { + get { return BackingStore?.Get>("complianceIssues"); } + set { BackingStore?.Set("complianceIssues", value); } + } +#endif + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy? EffectiveGoverningPolicy + { + get { return BackingStore?.Get("effectiveGoverningPolicy"); } + set { BackingStore?.Set("effectiveGoverningPolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy EffectiveGoverningPolicy + { + get { return BackingStore?.Get("effectiveGoverningPolicy"); } + set { BackingStore?.Set("effectiveGoverningPolicy", value); } + } +#endif + /// The date and time when the identity was last attested. This value can be null if the identity hasn't yet been attested. + public DateTimeOffset? LastAttestationDateTime + { + get { return BackingStore?.Get("lastAttestationDateTime"); } + set { BackingStore?.Set("lastAttestationDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.agentIdentityLifecycle" => new global::Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecycle(), + "#microsoft.graph.identityGovernance.userIdentityLifecycle" => new global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "complianceIssues", n => { ComplianceIssues = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue)?.AsList(); } }, + { "effectiveGoverningPolicy", n => { EffectiveGoverningPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue); } }, + { "lastAttestationDateTime", n => { LastAttestationDateTime = 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.WriteCollectionOfObjectValues("complianceIssues", ComplianceIssues); + writer.WriteObjectValue("effectiveGoverningPolicy", EffectiveGoverningPolicy); + writer.WriteDateTimeOffsetValue("lastAttestationDateTime", LastAttestationDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InactivityRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InactivityRule.cs new file mode 100644 index 00000000000..3a4d4df9e06 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InactivityRule.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InactivityRule : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The maximum number of days an identity can remain inactive before it's flagged as non-compliant by the rule. + public int? LastActivityThresholdInDays + { + get { return BackingStore?.Get("lastActivityThresholdInDays"); } + set { BackingStore?.Set("lastActivityThresholdInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public InactivityRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.inactivityRule"; + } + /// + /// 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.Models.IdentityGovernance.InactivityRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.InactivityRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "lastActivityThresholdInDays", n => { LastActivityThresholdInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("lastActivityThresholdInDays", LastActivityThresholdInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InvitationRedemptionRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InvitationRedemptionRule.cs new file mode 100644 index 00000000000..8c814576397 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InvitationRedemptionRule.cs @@ -0,0 +1,62 @@ +// +#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.Models.IdentityGovernance +{ + /// + /// Requires a pending guest invitation to be redeemed within a threshold period. Guest lifecycle policies only; adding this rule to a non-guest lifecycle policy returns HTTP 400. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InvitationRedemptionRule : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + { + /// The number of days in which the guest user must redeem their invitation, from 1 through 30. + public int? InvitationRedemptionThresholdInDays + { + get { return BackingStore?.Get("invitationRedemptionThresholdInDays"); } + set { BackingStore?.Set("invitationRedemptionThresholdInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public InvitationRedemptionRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.invitationRedemptionRule"; + } + /// + /// 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.Models.IdentityGovernance.InvitationRedemptionRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.InvitationRedemptionRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "invitationRedemptionThresholdInDays", n => { InvitationRedemptionThresholdInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("invitationRedemptionThresholdInDays", InvitationRedemptionThresholdInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicy.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicy.cs new file mode 100644 index 00000000000..c696e2dbf8a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicy.cs @@ -0,0 +1,280 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicy : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The user or service principal that created the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DirectoryObject? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DirectoryObject CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the policy was created. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The description of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The display name of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The enforcementAction property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction? EnforcementAction + { + get { return BackingStore?.Get("enforcementAction"); } + set { BackingStore?.Set("enforcementAction", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction EnforcementAction + { + get { return BackingStore?.Get("enforcementAction"); } + set { BackingStore?.Set("enforcementAction", value); } + } +#endif + /// The number of days after an identity becomes non-compliant before the enforcement action is applied. + public int? GracePeriodInDays + { + get { return BackingStore?.Get("gracePeriodInDays"); } + set { BackingStore?.Set("gracePeriodInDays", value); } + } + /// Indicates whether the policy is enabled and actively evaluated. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The user or service principal that last modified the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DirectoryObject? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DirectoryObject LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// The date and time when the policy was last modified. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The notification settings for the policy, including the offsets, in days after non-compliance, at which notifications are sent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNotificationSettings? NotificationSchedule + { + get { return BackingStore?.Get("notificationSchedule"); } + set { BackingStore?.Set("notificationSchedule", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNotificationSettings NotificationSchedule + { + get { return BackingStore?.Get("notificationSchedule"); } + set { BackingStore?.Set("notificationSchedule", value); } + } +#endif + /// The policySource property + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySource? PolicySource + { + get { return BackingStore?.Get("policySource"); } + set { BackingStore?.Set("policySource", value); } + } + /// The latest processing report for the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport? Report + { + get { return BackingStore?.Get("report"); } + set { BackingStore?.Set("report", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport Report + { + get { return BackingStore?.Get("report"); } + set { BackingStore?.Set("report", value); } + } +#endif + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Rules + { + get { return BackingStore?.Get?>("rules"); } + set { BackingStore?.Set("rules", value); } + } +#nullable restore +#else + public List Rules + { + get { return BackingStore?.Get>("rules"); } + set { BackingStore?.Set("rules", value); } + } +#endif + /// The set of subjects that the policy applies to. For example, use an allExcludingGroupsSubjectSet to exclude specific groups from evaluation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.SubjectSet? Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.SubjectSet Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#endif + /// The version number of the policy, which increments each time the policy is updated. + public int? VersionNumber + { + get { return BackingStore?.Get("versionNumber"); } + set { BackingStore?.Set("versionNumber", value); } + } + /// The collection of previous versions of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Versions + { + get { return BackingStore?.Get?>("versions"); } + set { BackingStore?.Set("versions", value); } + } +#nullable restore +#else + public List Versions + { + get { return BackingStore?.Get>("versions"); } + set { BackingStore?.Set("versions", 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.Models.IdentityGovernance.LifecyclePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy" => new global::Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecyclePolicy(), + "#microsoft.graph.identityGovernance.guestLifecyclePolicy" => new global::Microsoft.Graph.Models.IdentityGovernance.GuestLifecyclePolicy(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enforcementAction", n => { EnforcementAction = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction.CreateFromDiscriminatorValue); } }, + { "gracePeriodInDays", n => { GracePeriodInDays = n.GetIntValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "notificationSchedule", n => { NotificationSchedule = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNotificationSettings.CreateFromDiscriminatorValue); } }, + { "policySource", n => { PolicySource = n.GetEnumValue(); } }, + { "report", n => { Report = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue); } }, + { "rules", n => { Rules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue)?.AsList(); } }, + { "scope", n => { Scope = n.GetObjectValue(global::Microsoft.Graph.Models.SubjectSet.CreateFromDiscriminatorValue); } }, + { "versionNumber", n => { VersionNumber = n.GetIntValue(); } }, + { "versions", n => { Versions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.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.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("enforcementAction", EnforcementAction); + writer.WriteIntValue("gracePeriodInDays", GracePeriodInDays); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteObjectValue("notificationSchedule", NotificationSchedule); + writer.WriteEnumValue("policySource", PolicySource); + writer.WriteObjectValue("report", Report); + writer.WriteCollectionOfObjectValues("rules", Rules); + writer.WriteObjectValue("scope", Scope); + writer.WriteIntValue("versionNumber", VersionNumber); + writer.WriteCollectionOfObjectValues("versions", Versions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyAgentIdentitySubjectReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyAgentIdentitySubjectReference.cs new file mode 100644 index 00000000000..bd6977420c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyAgentIdentitySubjectReference.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyAgentIdentitySubjectReference : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyAgentIdentitySubjectReference() : base() + { + OdataType = "#microsoft.graph.identityGovernance.lifecyclePolicyAgentIdentitySubjectReference"; + } + /// + /// 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.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference(); + } + /// + /// 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/IdentityGovernance/LifecyclePolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyCollectionResponse.cs new file mode 100644 index 00000000000..261be01c08c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyCollectionResponse.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyCollectionResponse : global::Microsoft.Graph.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.Models.IdentityGovernance.LifecyclePolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse(); + } + /// + /// 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.Models.IdentityGovernance.LifecyclePolicy.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/IdentityGovernance/LifecyclePolicyComplianceStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs new file mode 100644 index 00000000000..83fc7d71f38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyComplianceStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notEvaluated")] + #pragma warning disable CS1591 + NotEvaluated, + #pragma warning restore CS1591 + [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 + Compliant, + #pragma warning restore CS1591 + [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 + NonCompliant, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs new file mode 100644 index 00000000000..cc087552a7b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyEnforcementAction : 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 LifecyclePolicyEnforcementAction() + { + 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.Models.IdentityGovernance.LifecyclePolicyEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction" => new global::Microsoft.Graph.Models.IdentityGovernance.DeleteOnlyEnforcementAction(), + "#microsoft.graph.identityGovernance.disableOnlyEnforcementAction" => new global::Microsoft.Graph.Models.IdentityGovernance.DisableOnlyEnforcementAction(), + "#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction" => new global::Microsoft.Graph.Models.IdentityGovernance.DisableThenDeleteEnforcementAction(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction(), + }; + } + /// + /// 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/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs new file mode 100644 index 00000000000..dd8bc736011 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyEnforcementActionState + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "warningStateEnabled")] + #pragma warning disable CS1591 + WarningStateEnabled, + #pragma warning restore CS1591 + [EnumMember(Value = "nonComplianceNotificationSent")] + #pragma warning disable CS1591 + NonComplianceNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "firstNotificationSent")] + #pragma warning disable CS1591 + FirstNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "secondNotificationSent")] + #pragma warning disable CS1591 + SecondNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "finalNotificationSent")] + #pragma warning disable CS1591 + FinalNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "deleted")] + #pragma warning disable CS1591 + Deleted, + #pragma warning restore CS1591 + [EnumMember(Value = "complianceRestored")] + #pragma warning disable CS1591 + ComplianceRestored, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs new file mode 100644 index 00000000000..ef16b92a0d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyEnforcementStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notRequired")] + #pragma warning disable CS1591 + NotRequired, + #pragma warning restore CS1591 + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "waiting")] + #pragma warning disable CS1591 + Waiting, + #pragma warning restore CS1591 + [EnumMember(Value = "actionDue")] + #pragma warning disable CS1591 + ActionDue, + #pragma warning restore CS1591 + [EnumMember(Value = "complete")] + #pragma warning disable CS1591 + Complete, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs new file mode 100644 index 00000000000..3ff8eff2dec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyNextEnforcementAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "nonComplianceNotification")] + #pragma warning disable CS1591 + NonComplianceNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "firstNotification")] + #pragma warning disable CS1591 + FirstNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "secondNotification")] + #pragma warning disable CS1591 + SecondNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "finalNotification")] + #pragma warning disable CS1591 + FinalNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "disable")] + #pragma warning disable CS1591 + Disable, + #pragma warning restore CS1591 + [EnumMember(Value = "disableNotification")] + #pragma warning disable CS1591 + DisableNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "delete")] + #pragma warning disable CS1591 + Delete, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs new file mode 100644 index 00000000000..04e4f436864 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyNotificationSettings : 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 email addresses used when no targeted notification recipient has a valid email address. These addresses aren't copied on every notification or used alongside a valid targeted recipient. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AdditionalFallbackRecipients + { + get { return BackingStore?.Get?>("additionalFallbackRecipients"); } + set { BackingStore?.Set("additionalFallbackRecipients", value); } + } +#nullable restore +#else + public List AdditionalFallbackRecipients + { + get { return BackingStore?.Get>("additionalFallbackRecipients"); } + set { BackingStore?.Set("additionalFallbackRecipients", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The offsets, in days after an identity becomes non-compliant, at which notifications are sent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OffsetsAfterNonComplianceInDays + { + get { return BackingStore?.Get?>("offsetsAfterNonComplianceInDays"); } + set { BackingStore?.Set("offsetsAfterNonComplianceInDays", value); } + } +#nullable restore +#else + public List OffsetsAfterNonComplianceInDays + { + get { return BackingStore?.Get>("offsetsAfterNonComplianceInDays"); } + set { BackingStore?.Set("offsetsAfterNonComplianceInDays", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyNotificationSettings() + { + 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.Models.IdentityGovernance.LifecyclePolicyNotificationSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNotificationSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalFallbackRecipients", n => { AdditionalFallbackRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offsetsAfterNonComplianceInDays", n => { OffsetsAfterNonComplianceInDays = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("additionalFallbackRecipients", AdditionalFallbackRecipients); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("offsetsAfterNonComplianceInDays", OffsetsAfterNonComplianceInDays); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfiguration.cs new file mode 100644 index 00000000000..518886650c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfiguration.cs @@ -0,0 +1,72 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyPriorityConfiguration : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The identifiers of the lifecycle policies in evaluation priority order. The first policy in the collection has the highest priority. A maximum of 10 policies are allowed per subject type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OrderedPolicyIds + { + get { return BackingStore?.Get?>("orderedPolicyIds"); } + set { BackingStore?.Set("orderedPolicyIds", value); } + } +#nullable restore +#else + public List OrderedPolicyIds + { + get { return BackingStore?.Get>("orderedPolicyIds"); } + set { BackingStore?.Set("orderedPolicyIds", value); } + } +#endif + /// The subjectType property + public global::Microsoft.Graph.Models.IdentityGovernance.SubjectType? SubjectType + { + get { return BackingStore?.Get("subjectType"); } + set { BackingStore?.Set("subjectType", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "orderedPolicyIds", n => { OrderedPolicyIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "subjectType", n => { SubjectType = 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.WriteCollectionOfPrimitiveValues("orderedPolicyIds", OrderedPolicyIds); + writer.WriteEnumValue("subjectType", SubjectType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.cs new file mode 100644 index 00000000000..47e21e961f4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyPriorityConfigurationCollectionResponse : global::Microsoft.Graph.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.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse(); + } + /// + /// 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.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.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/IdentityGovernance/LifecyclePolicyReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReference.cs new file mode 100644 index 00000000000..83eff5071df --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReference.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyReference : 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 unique identifier of the referenced lifecycle policy. +#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 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 version of the referenced lifecycle policy. + public int? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyReference() + { + 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.Models.IdentityGovernance.LifecyclePolicyReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReference(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "version", n => { Version = 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.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("version", Version); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRelationship.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRelationship.cs new file mode 100644 index 00000000000..458ddf2cfbb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRelationship.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyRelationship + #pragma warning restore CS1591 + { + [EnumMember(Value = "effective")] + #pragma warning disable CS1591 + Effective, + #pragma warning restore CS1591 + [EnumMember(Value = "inScopeButIneffective")] + #pragma warning disable CS1591 + InScopeButIneffective, + #pragma warning restore CS1591 + [EnumMember(Value = "pending")] + #pragma warning disable CS1591 + Pending, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReport.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReport.cs new file mode 100644 index 00000000000..75fe3bd15e6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReport.cs @@ -0,0 +1,98 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyReport : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The version of the lifecycle policy represented by the report. + public int? PolicyVersion + { + get { return BackingStore?.Get("policyVersion"); } + set { BackingStore?.Set("policyVersion", value); } + } + /// The scopeProcessing property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessing? ScopeProcessing + { + get { return BackingStore?.Get("scopeProcessing"); } + set { BackingStore?.Set("scopeProcessing", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessing ScopeProcessing + { + get { return BackingStore?.Get("scopeProcessing"); } + set { BackingStore?.Set("scopeProcessing", value); } + } +#endif + /// The processing results for subjects included in the report. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subjects + { + get { return BackingStore?.Get?>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#nullable restore +#else + public List Subjects + { + get { return BackingStore?.Get>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#endif + /// The number of subjects currently in scope for the policy. + public int? SubjectsInScopeCount + { + get { return BackingStore?.Get("subjectsInScopeCount"); } + set { BackingStore?.Set("subjectsInScopeCount", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "policyVersion", n => { PolicyVersion = n.GetIntValue(); } }, + { "scopeProcessing", n => { ScopeProcessing = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessing.CreateFromDiscriminatorValue); } }, + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue)?.AsList(); } }, + { "subjectsInScopeCount", n => { SubjectsInScopeCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("policyVersion", PolicyVersion); + writer.WriteObjectValue("scopeProcessing", ScopeProcessing); + writer.WriteCollectionOfObjectValues("subjects", Subjects); + writer.WriteIntValue("subjectsInScopeCount", SubjectsInScopeCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs new file mode 100644 index 00000000000..7db7bf99bef --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyRule : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The optional grace period, in days, that starts when the rule violation is first detected. The allowed range is 0 through 30. If omitted or set to null, the gracePeriodInDays value of the containing lifecycle policy applies. A value of 0 means no additional grace period. If multiple rules remain violated, the earliest rule grace-period expiry starts the policy action sequence; the policy-level grace period isn't added again. + public int? GracePeriodInDays + { + get { return BackingStore?.Get("gracePeriodInDays"); } + set { BackingStore?.Set("gracePeriodInDays", value); } + } + /// Indicates whether the rule is enabled and evaluated as part of its policy. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.accessPackageAssignmentRequiredRule" => new global::Microsoft.Graph.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule(), + "#microsoft.graph.identityGovernance.inactivityRule" => new global::Microsoft.Graph.Models.IdentityGovernance.InactivityRule(), + "#microsoft.graph.identityGovernance.invitationRedemptionRule" => new global::Microsoft.Graph.Models.IdentityGovernance.InvitationRedemptionRule(), + "#microsoft.graph.identityGovernance.periodicAttestationRule" => new global::Microsoft.Graph.Models.IdentityGovernance.PeriodicAttestationRule(), + "#microsoft.graph.identityGovernance.sponsorPresenceRule" => new global::Microsoft.Graph.Models.IdentityGovernance.SponsorPresenceRule(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "gracePeriodInDays", n => { GracePeriodInDays = n.GetIntValue(); } }, + { "isEnabled", n => { IsEnabled = 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.WriteIntValue("gracePeriodInDays", GracePeriodInDays); + writer.WriteBoolValue("isEnabled", IsEnabled); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRuleCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRuleCollectionResponse.cs new file mode 100644 index 00000000000..ccc3b003bc3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRuleCollectionResponse.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyRuleCollectionResponse : global::Microsoft.Graph.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.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse(); + } + /// + /// 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.Models.IdentityGovernance.LifecyclePolicyRule.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/IdentityGovernance/LifecyclePolicyScopeProcessing.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs new file mode 100644 index 00000000000..b3511433a23 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs @@ -0,0 +1,123 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyScopeProcessing : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the current scope-processing operation started. + public DateTimeOffset? CurrentStartedDateTime + { + get { return BackingStore?.Get("currentStartedDateTime"); } + set { BackingStore?.Set("currentStartedDateTime", value); } + } + /// The currentStatus property + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingStatus? CurrentStatus + { + get { return BackingStore?.Get("currentStatus"); } + set { BackingStore?.Set("currentStatus", value); } + } + /// The date and time when scope processing last completed successfully. + public DateTimeOffset? LastSuccessfulProcessingDateTime + { + get { return BackingStore?.Get("lastSuccessfulProcessingDateTime"); } + set { BackingStore?.Set("lastSuccessfulProcessingDateTime", value); } + } + /// The latest retained scope-processing attempt. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt? LatestAttempt + { + get { return BackingStore?.Get("latestAttempt"); } + set { BackingStore?.Set("latestAttempt", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt LatestAttempt + { + get { return BackingStore?.Get("latestAttempt"); } + set { BackingStore?.Set("latestAttempt", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyScopeProcessing() + { + 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.Models.IdentityGovernance.LifecyclePolicyScopeProcessing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessing(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "currentStartedDateTime", n => { CurrentStartedDateTime = n.GetDateTimeOffsetValue(); } }, + { "currentStatus", n => { CurrentStatus = n.GetEnumValue(); } }, + { "lastSuccessfulProcessingDateTime", n => { LastSuccessfulProcessingDateTime = n.GetDateTimeOffsetValue(); } }, + { "latestAttempt", n => { LatestAttempt = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt.CreateFromDiscriminatorValue); } }, + { "@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("currentStartedDateTime", CurrentStartedDateTime); + writer.WriteEnumValue("currentStatus", CurrentStatus); + writer.WriteDateTimeOffsetValue("lastSuccessfulProcessingDateTime", LastSuccessfulProcessingDateTime); + writer.WriteObjectValue("latestAttempt", LatestAttempt); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs new file mode 100644 index 00000000000..9cc43d753a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs @@ -0,0 +1,123 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyScopeProcessingAttempt : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the attempt completed. + public DateTimeOffset? CompletedDateTime + { + get { return BackingStore?.Get("completedDateTime"); } + set { BackingStore?.Set("completedDateTime", value); } + } + /// The error associated with an unsuccessful attempt. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PublicError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PublicError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", 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 date and time when the attempt started. + public DateTimeOffset? StartedDateTime + { + get { return BackingStore?.Get("startedDateTime"); } + set { BackingStore?.Set("startedDateTime", value); } + } + /// The status property + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttemptStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyScopeProcessingAttempt() + { + 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.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startedDateTime", n => { StartedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = 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.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime); + writer.WriteObjectValue("error", Error); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("startedDateTime", StartedDateTime); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs new file mode 100644 index 00000000000..3e52d51fbcb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyScopeProcessingAttemptStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluating")] + #pragma warning disable CS1591 + Evaluating, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "completed")] + #pragma warning disable CS1591 + Completed, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "timedOut")] + #pragma warning disable CS1591 + TimedOut, + #pragma warning restore CS1591 + [EnumMember(Value = "invalidScope")] + #pragma warning disable CS1591 + InvalidScope, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs new file mode 100644 index 00000000000..3ab17fc6979 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyScopeProcessingStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "idle")] + #pragma warning disable CS1591 + Idle, + #pragma warning restore CS1591 + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluating")] + #pragma warning disable CS1591 + Evaluating, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySource.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySource.cs new file mode 100644 index 00000000000..ccde989971a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySource.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicySource + #pragma warning restore CS1591 + { + [EnumMember(Value = "userCreated")] + #pragma warning disable CS1591 + UserCreated, + #pragma warning restore CS1591 + [EnumMember(Value = "systemDefault")] + #pragma warning disable CS1591 + SystemDefault, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs new file mode 100644 index 00000000000..59a8061e0f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs @@ -0,0 +1,97 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectCompliance : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the subject's compliance was evaluated. + public DateTimeOffset? EvaluatedDateTime + { + get { return BackingStore?.Get("evaluatedDateTime"); } + set { BackingStore?.Set("evaluatedDateTime", 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 status property + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyComplianceStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectCompliance() + { + 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.Models.IdentityGovernance.LifecyclePolicySubjectCompliance CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectCompliance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluatedDateTime", n => { EvaluatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = 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.WriteDateTimeOffsetValue("evaluatedDateTime", EvaluatedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs new file mode 100644 index 00000000000..1dc6069467f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs @@ -0,0 +1,137 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectEnforcement : 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; } + /// Indicates whether enforcement is locked. + public bool? IsLocked + { + get { return BackingStore?.Get("isLocked"); } + set { BackingStore?.Set("isLocked", value); } + } + /// Indicates whether enforcement reached a terminal state. + public bool? IsTerminal + { + get { return BackingStore?.Get("isTerminal"); } + set { BackingStore?.Set("isTerminal", value); } + } + /// The lastAction property + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementActionState? LastAction + { + get { return BackingStore?.Get("lastAction"); } + set { BackingStore?.Set("lastAction", value); } + } + /// The date and time when the last enforcement action completed. + public DateTimeOffset? LastActionDateTime + { + get { return BackingStore?.Get("lastActionDateTime"); } + set { BackingStore?.Set("lastActionDateTime", value); } + } + /// The next enforcement action. The possible values are: nonComplianceNotification, firstNotification, secondNotification, finalNotification, disable, disableNotification, delete, unknownFutureValue. + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNextEnforcementAction? NextAction + { + get { return BackingStore?.Get("nextAction"); } + set { BackingStore?.Set("nextAction", value); } + } + /// The date and time when the next enforcement action is scheduled. + public DateTimeOffset? NextActionDateTime + { + get { return BackingStore?.Get("nextActionDateTime"); } + set { BackingStore?.Set("nextActionDateTime", 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 status property + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectEnforcement() + { + 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.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isLocked", n => { IsLocked = n.GetBoolValue(); } }, + { "isTerminal", n => { IsTerminal = n.GetBoolValue(); } }, + { "lastAction", n => { LastAction = n.GetEnumValue(); } }, + { "lastActionDateTime", n => { LastActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "nextAction", n => { NextAction = n.GetEnumValue(); } }, + { "nextActionDateTime", n => { NextActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = 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.WriteBoolValue("isLocked", IsLocked); + writer.WriteBoolValue("isTerminal", IsTerminal); + writer.WriteEnumValue("lastAction", LastAction); + writer.WriteDateTimeOffsetValue("lastActionDateTime", LastActionDateTime); + writer.WriteEnumValue("nextAction", NextAction); + writer.WriteDateTimeOffsetValue("nextActionDateTime", NextActionDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs new file mode 100644 index 00000000000..cd61db2519d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs @@ -0,0 +1,105 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReference : 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 unique identifier of the subject. +#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 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 LifecyclePolicySubjectReference() + { + 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.Models.IdentityGovernance.LifecyclePolicySubjectReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.lifecyclePolicyAgentIdentitySubjectReference" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference(), + "#microsoft.graph.identityGovernance.lifecyclePolicyUserSubjectReference" => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs new file mode 100644 index 00000000000..bf8e778262f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs @@ -0,0 +1,126 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReport : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The compliance property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectCompliance? Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectCompliance Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#endif + /// A reference to the effective lifecycle policy for the subject. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReference? EffectivePolicy + { + get { return BackingStore?.Get("effectivePolicy"); } + set { BackingStore?.Set("effectivePolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReference EffectivePolicy + { + get { return BackingStore?.Get("effectivePolicy"); } + set { BackingStore?.Set("effectivePolicy", value); } + } +#endif + /// The enforcement property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement? Enforcement + { + get { return BackingStore?.Get("enforcement"); } + set { BackingStore?.Set("enforcement", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement Enforcement + { + get { return BackingStore?.Get("enforcement"); } + set { BackingStore?.Set("enforcement", value); } + } +#endif + /// The relationship property + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRelationship? Relationship + { + get { return BackingStore?.Get("relationship"); } + set { BackingStore?.Set("relationship", value); } + } + /// The subject property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference? Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", 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.Models.IdentityGovernance.LifecyclePolicySubjectReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "compliance", n => { Compliance = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectCompliance.CreateFromDiscriminatorValue); } }, + { "effectivePolicy", n => { EffectivePolicy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReference.CreateFromDiscriminatorValue); } }, + { "enforcement", n => { Enforcement = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement.CreateFromDiscriminatorValue); } }, + { "relationship", n => { Relationship = n.GetEnumValue(); } }, + { "subject", n => { Subject = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("compliance", Compliance); + writer.WriteObjectValue("effectivePolicy", EffectivePolicy); + writer.WriteObjectValue("enforcement", Enforcement); + writer.WriteEnumValue("relationship", Relationship); + writer.WriteObjectValue("subject", Subject); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReportCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReportCollectionResponse.cs new file mode 100644 index 00000000000..30a193ed6f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReportCollectionResponse.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReportCollectionResponse : global::Microsoft.Graph.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.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse(); + } + /// + /// 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.Models.IdentityGovernance.LifecyclePolicySubjectReport.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/IdentityGovernance/LifecyclePolicyUserSubjectReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyUserSubjectReference.cs new file mode 100644 index 00000000000..d7ee3260bbb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyUserSubjectReference.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyUserSubjectReference : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyUserSubjectReference() : base() + { + OdataType = "#microsoft.graph.identityGovernance.lifecyclePolicyUserSubjectReference"; + } + /// + /// 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.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference(); + } + /// + /// 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/IdentityGovernance/LifecycleWorkflowsContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs index 6859ca0ed47..81869365844 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs @@ -59,6 +59,38 @@ public partial class LifecycleWorkflowsContainer : global::Microsoft.Graph.Model get { return BackingStore?.Get("insights"); } set { BackingStore?.Set("insights", value); } } +#endif + /// The lifecycle policies for guest users and agent identities. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? LifecyclePolicies + { + get { return BackingStore?.Get?>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#nullable restore +#else + public List LifecyclePolicies + { + get { return BackingStore?.Get>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#endif + /// The ordered lifecycle policy identifiers for each subject type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? LifecyclePolicyPriorityConfigurations + { + get { return BackingStore?.Get?>("lifecyclePolicyPriorityConfigurations"); } + set { BackingStore?.Set("lifecyclePolicyPriorityConfigurations", value); } + } +#nullable restore +#else + public List LifecyclePolicyPriorityConfigurations + { + get { return BackingStore?.Get>("lifecyclePolicyPriorityConfigurations"); } + set { BackingStore?.Set("lifecyclePolicyPriorityConfigurations", value); } + } #endif /// The settings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -145,6 +177,8 @@ public override IDictionary> GetFieldDeserializers() { "customTaskExtensions", n => { CustomTaskExtensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.CustomTaskExtension.CreateFromDiscriminatorValue)?.AsList(); } }, { "deletedItems", n => { DeletedItems = n.GetObjectValue(global::Microsoft.Graph.Models.DeletedItemContainer.CreateFromDiscriminatorValue); } }, { "insights", n => { Insights = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.Insights.CreateFromDiscriminatorValue); } }, + { "lifecyclePolicies", n => { LifecyclePolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecyclePolicyPriorityConfigurations", n => { LifecyclePolicyPriorityConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.LifecycleManagementSettings.CreateFromDiscriminatorValue); } }, { "taskDefinitions", n => { TaskDefinitions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "workflowTemplates", n => { WorkflowTemplates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.WorkflowTemplate.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -162,6 +196,8 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("customTaskExtensions", CustomTaskExtensions); writer.WriteObjectValue("deletedItems", DeletedItems); writer.WriteObjectValue("insights", Insights); + writer.WriteCollectionOfObjectValues("lifecyclePolicies", LifecyclePolicies); + writer.WriteCollectionOfObjectValues("lifecyclePolicyPriorityConfigurations", LifecyclePolicyPriorityConfigurations); writer.WriteObjectValue("settings", Settings); writer.WriteCollectionOfObjectValues("taskDefinitions", TaskDefinitions); writer.WriteCollectionOfObjectValues("workflows", Workflows); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PeriodicAttestationRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PeriodicAttestationRule.cs new file mode 100644 index 00000000000..c8104e940c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PeriodicAttestationRule.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PeriodicAttestationRule : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The number of days within which an identity must be attested to remain compliant with the rule. + public int? AttestationIntervalInDays + { + get { return BackingStore?.Get("attestationIntervalInDays"); } + set { BackingStore?.Set("attestationIntervalInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public PeriodicAttestationRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.periodicAttestationRule"; + } + /// + /// 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.Models.IdentityGovernance.PeriodicAttestationRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.PeriodicAttestationRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "attestationIntervalInDays", n => { AttestationIntervalInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("attestationIntervalInDays", AttestationIntervalInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedAgentBuilderPlatformsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedAgentBuilderPlatformsSubjectSet.cs new file mode 100644 index 00000000000..88c550dc04f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedAgentBuilderPlatformsSubjectSet.cs @@ -0,0 +1,62 @@ +// +#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.Models.IdentityGovernance +{ + /// + /// Defines the scope as only agent identities created by any of the selected builder platforms. It is valid only for agent identity lifecycle policies; using it on another policy type returns HTTP 400. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SelectedAgentBuilderPlatformsSubjectSet : global::Microsoft.Graph.Models.SubjectSet, IParsable + { + /// The includedAgentBuilderPlatforms property + public global::Microsoft.Graph.Models.IdentityGovernance.AgentBuilderPlatforms? IncludedAgentBuilderPlatforms + { + get { return BackingStore?.Get("includedAgentBuilderPlatforms"); } + set { BackingStore?.Set("includedAgentBuilderPlatforms", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SelectedAgentBuilderPlatformsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.selectedAgentBuilderPlatformsSubjectSet"; + } + /// + /// 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.Models.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "includedAgentBuilderPlatforms", n => { IncludedAgentBuilderPlatforms = 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("includedAgentBuilderPlatforms", IncludedAgentBuilderPlatforms); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedObjectsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedObjectsSubjectSet.cs new file mode 100644 index 00000000000..9d73eeaf4b9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedObjectsSubjectSet.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SelectedObjectsSubjectSet : global::Microsoft.Graph.Models.SubjectSet, IParsable + #pragma warning restore CS1591 + { + /// The inScopeObjects property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InScopeObjects + { + get { return BackingStore?.Get?>("inScopeObjects"); } + set { BackingStore?.Set("inScopeObjects", value); } + } +#nullable restore +#else + public List InScopeObjects + { + get { return BackingStore?.Get>("inScopeObjects"); } + set { BackingStore?.Set("inScopeObjects", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SelectedObjectsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet"; + } + /// + /// 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.Models.IdentityGovernance.SelectedObjectsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.SelectedObjectsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "inScopeObjects", n => { InScopeObjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.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("inScopeObjects", InScopeObjects); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SponsorPresenceRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SponsorPresenceRule.cs new file mode 100644 index 00000000000..49c652af80b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SponsorPresenceRule.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SponsorPresenceRule : global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The minimum number of sponsors that an identity must have to remain compliant with the rule. + public int? MinimumSponsorCount + { + get { return BackingStore?.Get("minimumSponsorCount"); } + set { BackingStore?.Set("minimumSponsorCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SponsorPresenceRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.sponsorPresenceRule"; + } + /// + /// 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.Models.IdentityGovernance.SponsorPresenceRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.SponsorPresenceRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "minimumSponsorCount", n => { MinimumSponsorCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("minimumSponsorCount", MinimumSponsorCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SubjectType.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SubjectType.cs index d50f30c5680..8e1194095b3 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SubjectType.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SubjectType.cs @@ -13,13 +13,17 @@ public enum SubjectType #pragma warning disable CS1591 User = 1, #pragma warning restore CS1591 + [EnumMember(Value = "agentIdentity")] + #pragma warning disable CS1591 + AgentIdentity = 2, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 - UnknownFutureValue = 2, + UnknownFutureValue = 4, #pragma warning restore CS1591 [EnumMember(Value = "provisioningObject")] #pragma warning disable CS1591 - ProvisioningObject = 4, + ProvisioningObject = 8, #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserIdentityLifecycle.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserIdentityLifecycle.cs new file mode 100644 index 00000000000..d196844f44e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserIdentityLifecycle.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserIdentityLifecycle : global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle, IParsable + #pragma warning restore CS1591 + { + /// The complianceState property + public global::Microsoft.Graph.Models.IdentityGovernance.ComplianceState? ComplianceState + { + get { return BackingStore?.Get("complianceState"); } + set { BackingStore?.Set("complianceState", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UserIdentityLifecycle() : base() + { + OdataType = "#microsoft.graph.identityGovernance.userIdentityLifecycle"; + } + /// + /// 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.Models.IdentityGovernance.UserIdentityLifecycle CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "complianceState", n => { ComplianceState = 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("complianceState", ComplianceState); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/LifecyclePolicyComplianceState.cs b/src/Microsoft.Graph/Generated/Models/LifecyclePolicyComplianceState.cs new file mode 100644 index 00000000000..f404b1b735a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LifecyclePolicyComplianceState.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyComplianceState + #pragma warning restore CS1591 + { + [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 + Compliant, + #pragma warning restore CS1591 + [EnumMember(Value = "warning")] + #pragma warning disable CS1591 + Warning, + #pragma warning restore CS1591 + [EnumMember(Value = "warningNotify")] + #pragma warning disable CS1591 + WarningNotify, + #pragma warning restore CS1591 + [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 + NonCompliant, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Print.cs b/src/Microsoft.Graph/Generated/Models/Print.cs index f8419e03083..f6ea6463d9e 100644 --- a/src/Microsoft.Graph/Generated/Models/Print.cs +++ b/src/Microsoft.Graph/Generated/Models/Print.cs @@ -84,6 +84,22 @@ public string OdataType get { return BackingStore?.Get>("printers"); } set { BackingStore?.Set("printers", value); } } +#endif + /// The list of pull print printers registered in the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PullPrintPrinters + { + get { return BackingStore?.Get?>("pullPrintPrinters"); } + set { BackingStore?.Set("pullPrintPrinters", value); } + } +#nullable restore +#else + public List PullPrintPrinters + { + get { return BackingStore?.Get>("pullPrintPrinters"); } + set { BackingStore?.Set("pullPrintPrinters", value); } + } #endif /// The list of available Universal Print service endpoints. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -179,6 +195,7 @@ public virtual IDictionary> GetFieldDeserializers() { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PrintOperation.CreateFromDiscriminatorValue)?.AsList(); } }, { "printers", n => { Printers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pullPrintPrinters", n => { PullPrintPrinters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue)?.AsList(); } }, { "services", n => { Services = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PrintService.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.PrintSettings.CreateFromDiscriminatorValue); } }, { "shares", n => { Shares = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PrinterShare.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -196,6 +213,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("@odata.type", OdataType); writer.WriteCollectionOfObjectValues("operations", Operations); writer.WriteCollectionOfObjectValues("printers", Printers); + writer.WriteCollectionOfObjectValues("pullPrintPrinters", PullPrintPrinters); writer.WriteCollectionOfObjectValues("services", Services); writer.WriteObjectValue("settings", Settings); writer.WriteCollectionOfObjectValues("shares", Shares); diff --git a/src/Microsoft.Graph/Generated/Models/PrintJob.cs b/src/Microsoft.Graph/Generated/Models/PrintJob.cs index 16eb5f68bb2..f1d69415c09 100644 --- a/src/Microsoft.Graph/Generated/Models/PrintJob.cs +++ b/src/Microsoft.Graph/Generated/Models/PrintJob.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class PrintJob : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The dateTimeOffset when the job was acknowledged. Read-only. + /// The date and time when the job was acknowledged. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. public DateTimeOffset? AcknowledgedDateTime { get { return BackingStore?.Get("acknowledgedDateTime"); } @@ -50,7 +50,7 @@ public DateTimeOffset? AcknowledgedDateTime set { BackingStore?.Set("createdBy", value); } } #endif - /// The DateTimeOffset when the job was created. Read-only. + /// The date and time when the job was created. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } @@ -116,6 +116,12 @@ public string RedirectedTo set { BackingStore?.Set("redirectedTo", value); } } #endif + /// The date and time when the print job was released for printing. This property can be absent for jobs that aren't released. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. + public DateTimeOffset? ReleasedDateTime + { + get { return BackingStore?.Get("releasedDateTime"); } + set { BackingStore?.Set("releasedDateTime", value); } + } /// The status property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -175,6 +181,7 @@ public override IDictionary> GetFieldDeserializers() { "isFetchable", n => { IsFetchable = n.GetBoolValue(); } }, { "redirectedFrom", n => { RedirectedFrom = n.GetStringValue(); } }, { "redirectedTo", n => { RedirectedTo = n.GetStringValue(); } }, + { "releasedDateTime", n => { ReleasedDateTime = n.GetDateTimeOffsetValue(); } }, { "status", n => { Status = n.GetObjectValue(global::Microsoft.Graph.Models.PrintJobStatus.CreateFromDiscriminatorValue); } }, { "tasks", n => { Tasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PrintTask.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -196,6 +203,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("isFetchable", IsFetchable); writer.WriteStringValue("redirectedFrom", RedirectedFrom); writer.WriteStringValue("redirectedTo", RedirectedTo); + writer.WriteDateTimeOffsetValue("releasedDateTime", ReleasedDateTime); writer.WriteObjectValue("status", Status); writer.WriteCollectionOfObjectValues("tasks", Tasks); } diff --git a/src/Microsoft.Graph/Generated/Models/PrintJobReleaseMethods.cs b/src/Microsoft.Graph/Generated/Models/PrintJobReleaseMethods.cs new file mode 100644 index 00000000000..fe9af4c069a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PrintJobReleaseMethods.cs @@ -0,0 +1,37 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum PrintJobReleaseMethods + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "badge")] + #pragma warning disable CS1591 + Badge = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "biometrics")] + #pragma warning disable CS1591 + Biometrics = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "usernamePassword")] + #pragma warning disable CS1591 + UsernamePassword = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 32, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PrintOperation.cs b/src/Microsoft.Graph/Generated/Models/PrintOperation.cs index a6eb339c141..45a14fafab5 100644 --- a/src/Microsoft.Graph/Generated/Models/PrintOperation.cs +++ b/src/Microsoft.Graph/Generated/Models/PrintOperation.cs @@ -46,6 +46,7 @@ public DateTimeOffset? CreatedDateTime return mappingValue switch { "#microsoft.graph.printerCreateOperation" => new global::Microsoft.Graph.Models.PrinterCreateOperation(), + "#microsoft.graph.pullPrintPrinterCreateOperation" => new global::Microsoft.Graph.Models.PullPrintPrinterCreateOperation(), _ => new global::Microsoft.Graph.Models.PrintOperation(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/Printer.cs b/src/Microsoft.Graph/Generated/Models/Printer.cs index e25b20ee986..2d806f802e1 100644 --- a/src/Microsoft.Graph/Generated/Models/Printer.cs +++ b/src/Microsoft.Graph/Generated/Models/Printer.cs @@ -46,6 +46,38 @@ public DateTimeOffset? LastSeenDateTime get { return BackingStore?.Get("lastSeenDateTime"); } set { BackingStore?.Set("lastSeenDateTime", value); } } + /// The printerProvidedReleaseSupport property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PrinterProvidedReleaseSupport? PrinterProvidedReleaseSupport + { + get { return BackingStore?.Get("printerProvidedReleaseSupport"); } + set { BackingStore?.Set("printerProvidedReleaseSupport", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PrinterProvidedReleaseSupport PrinterProvidedReleaseSupport + { + get { return BackingStore?.Get("printerProvidedReleaseSupport"); } + set { BackingStore?.Set("printerProvidedReleaseSupport", value); } + } +#endif + /// The pull print printers that this printer is a member of. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PullPrintPrinters + { + get { return BackingStore?.Get?>("pullPrintPrinters"); } + set { BackingStore?.Set("pullPrintPrinters", value); } + } +#nullable restore +#else + public List PullPrintPrinters + { + get { return BackingStore?.Get>("pullPrintPrinters"); } + set { BackingStore?.Set("pullPrintPrinters", value); } + } +#endif /// The DateTimeOffset when the printer was registered. Read-only. public DateTimeOffset? RegisteredDateTime { @@ -113,6 +145,8 @@ public override IDictionary> GetFieldDeserializers() { "hasPhysicalDevice", n => { HasPhysicalDevice = n.GetBoolValue(); } }, { "isShared", n => { IsShared = n.GetBoolValue(); } }, { "lastSeenDateTime", n => { LastSeenDateTime = n.GetDateTimeOffsetValue(); } }, + { "printerProvidedReleaseSupport", n => { PrinterProvidedReleaseSupport = n.GetObjectValue(global::Microsoft.Graph.Models.PrinterProvidedReleaseSupport.CreateFromDiscriminatorValue); } }, + { "pullPrintPrinters", n => { PullPrintPrinters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue)?.AsList(); } }, { "registeredDateTime", n => { RegisteredDateTime = n.GetDateTimeOffsetValue(); } }, { "shares", n => { Shares = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PrinterShare.CreateFromDiscriminatorValue)?.AsList(); } }, { "taskTriggers", n => { TaskTriggers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PrintTaskTrigger.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -130,6 +164,8 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("hasPhysicalDevice", HasPhysicalDevice); writer.WriteBoolValue("isShared", IsShared); writer.WriteDateTimeOffsetValue("lastSeenDateTime", LastSeenDateTime); + writer.WriteObjectValue("printerProvidedReleaseSupport", PrinterProvidedReleaseSupport); + writer.WriteCollectionOfObjectValues("pullPrintPrinters", PullPrintPrinters); writer.WriteDateTimeOffsetValue("registeredDateTime", RegisteredDateTime); writer.WriteCollectionOfObjectValues("shares", Shares); writer.WriteCollectionOfObjectValues("taskTriggers", TaskTriggers); diff --git a/src/Microsoft.Graph/Generated/Models/PrinterBase.cs b/src/Microsoft.Graph/Generated/Models/PrinterBase.cs index 103d613ba25..1a2efda9968 100644 --- a/src/Microsoft.Graph/Generated/Models/PrinterBase.cs +++ b/src/Microsoft.Graph/Generated/Models/PrinterBase.cs @@ -159,6 +159,7 @@ public string Model { "#microsoft.graph.printer" => new global::Microsoft.Graph.Models.Printer(), "#microsoft.graph.printerShare" => new global::Microsoft.Graph.Models.PrinterShare(), + "#microsoft.graph.pullPrintPrinter" => new global::Microsoft.Graph.Models.PullPrintPrinter(), _ => new global::Microsoft.Graph.Models.PrinterBase(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/PrinterProvidedReleaseSupport.cs b/src/Microsoft.Graph/Generated/Models/PrinterProvidedReleaseSupport.cs new file mode 100644 index 00000000000..b39f7fe0eb0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PrinterProvidedReleaseSupport.cs @@ -0,0 +1,97 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PrinterProvidedReleaseSupport : 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; } + /// Indicates whether the physical printer supports pull printing using printer-provided job release methods. + public bool? IsPullPrintEnabled + { + get { return BackingStore?.Get("isPullPrintEnabled"); } + set { BackingStore?.Set("isPullPrintEnabled", value); } + } + /// The jobReleaseMethods property + public global::Microsoft.Graph.Models.PrintJobReleaseMethods? JobReleaseMethods + { + get { return BackingStore?.Get("jobReleaseMethods"); } + set { BackingStore?.Set("jobReleaseMethods", 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 PrinterProvidedReleaseSupport() + { + 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.Models.PrinterProvidedReleaseSupport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PrinterProvidedReleaseSupport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isPullPrintEnabled", n => { IsPullPrintEnabled = n.GetBoolValue(); } }, + { "jobReleaseMethods", n => { JobReleaseMethods = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isPullPrintEnabled", IsPullPrintEnabled); + writer.WriteEnumValue("jobReleaseMethods", JobReleaseMethods); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PrinterShare.cs b/src/Microsoft.Graph/Generated/Models/PrinterShare.cs index eed20f405c8..63fecaa30a0 100644 --- a/src/Microsoft.Graph/Generated/Models/PrinterShare.cs +++ b/src/Microsoft.Graph/Generated/Models/PrinterShare.cs @@ -56,7 +56,13 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The printer that this printer share is related to. + /// Indicates whether print jobs that are sent to this printer share are held in the cloud until a user releases them at the printer. + public bool? HoldJobsForSecureRelease + { + get { return BackingStore?.Get("holdJobsForSecureRelease"); } + set { BackingStore?.Set("holdJobsForSecureRelease", value); } + } + /// The printer associated with this printer share. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Printer? Printer @@ -71,6 +77,22 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("printer"); } set { BackingStore?.Set("printer", value); } } +#endif + /// The pull print printer that is associated with this printer share. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PullPrintPrinter? PullPrintPrinter + { + get { return BackingStore?.Get("pullPrintPrinter"); } + set { BackingStore?.Set("pullPrintPrinter", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PullPrintPrinter PullPrintPrinter + { + get { return BackingStore?.Get("pullPrintPrinter"); } + set { BackingStore?.Set("pullPrintPrinter", value); } + } #endif /// Additional data for a printer share as viewed by the signed-in user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -117,7 +139,9 @@ public override IDictionary> GetFieldDeserializers() { "allowedGroups", n => { AllowedGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue)?.AsList(); } }, { "allowedUsers", n => { AllowedUsers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue)?.AsList(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "holdJobsForSecureRelease", n => { HoldJobsForSecureRelease = n.GetBoolValue(); } }, { "printer", n => { Printer = n.GetObjectValue(global::Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue); } }, + { "pullPrintPrinter", n => { PullPrintPrinter = n.GetObjectValue(global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue); } }, { "viewPoint", n => { ViewPoint = n.GetObjectValue(global::Microsoft.Graph.Models.PrinterShareViewpoint.CreateFromDiscriminatorValue); } }, }; } @@ -133,7 +157,9 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("allowedGroups", AllowedGroups); writer.WriteCollectionOfObjectValues("allowedUsers", AllowedUsers); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteBoolValue("holdJobsForSecureRelease", HoldJobsForSecureRelease); writer.WriteObjectValue("printer", Printer); + writer.WriteObjectValue("pullPrintPrinter", PullPrintPrinter); writer.WriteObjectValue("viewPoint", ViewPoint); } } diff --git a/src/Microsoft.Graph/Generated/Models/PullPrintPrinter.cs b/src/Microsoft.Graph/Generated/Models/PullPrintPrinter.cs new file mode 100644 index 00000000000..399fca79274 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PullPrintPrinter.cs @@ -0,0 +1,105 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PullPrintPrinter : global::Microsoft.Graph.Models.PrinterBase, IParsable + #pragma warning restore CS1591 + { + /// Indicates whether every printer in the tenant is automatically a member of this pull print printer. When true, the printers collection doesn't need to be managed explicitly. + public bool? IncludeAllPrinters + { + get { return BackingStore?.Get("includeAllPrinters"); } + set { BackingStore?.Set("includeAllPrinters", value); } + } + /// The member printers at which print jobs sent to this pull print printer can be released. Use Add printer and Remove printer to manage explicit membership. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Printers + { + get { return BackingStore?.Get?>("printers"); } + set { BackingStore?.Set("printers", value); } + } +#nullable restore +#else + public List Printers + { + get { return BackingStore?.Get>("printers"); } + set { BackingStore?.Set("printers", value); } + } +#endif + /// The date and time when the pull print printer was registered. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. + public DateTimeOffset? RegisteredDateTime + { + get { return BackingStore?.Get("registeredDateTime"); } + set { BackingStore?.Set("registeredDateTime", value); } + } + /// The printer shares that are associated with this pull print printer. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Shares + { + get { return BackingStore?.Get?>("shares"); } + set { BackingStore?.Set("shares", value); } + } +#nullable restore +#else + public List Shares + { + get { return BackingStore?.Get>("shares"); } + set { BackingStore?.Set("shares", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PullPrintPrinter() : base() + { + OdataType = "#microsoft.graph.pullPrintPrinter"; + } + /// + /// 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.Models.PullPrintPrinter CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PullPrintPrinter(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "includeAllPrinters", n => { IncludeAllPrinters = n.GetBoolValue(); } }, + { "printers", n => { Printers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue)?.AsList(); } }, + { "registeredDateTime", n => { RegisteredDateTime = n.GetDateTimeOffsetValue(); } }, + { "shares", n => { Shares = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PrinterShare.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.WriteBoolValue("includeAllPrinters", IncludeAllPrinters); + writer.WriteCollectionOfObjectValues("printers", Printers); + writer.WriteDateTimeOffsetValue("registeredDateTime", RegisteredDateTime); + writer.WriteCollectionOfObjectValues("shares", Shares); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PullPrintPrinterCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/PullPrintPrinterCollectionResponse.cs new file mode 100644 index 00000000000..9848ea1e9bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PullPrintPrinterCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PullPrintPrinterCollectionResponse : global::Microsoft.Graph.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.Models.PullPrintPrinterCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PullPrintPrinterCollectionResponse(); + } + /// + /// 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.Models.PullPrintPrinter.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/PullPrintPrinterCreateOperation.cs b/src/Microsoft.Graph/Generated/Models/PullPrintPrinterCreateOperation.cs new file mode 100644 index 00000000000..15176bc59de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PullPrintPrinterCreateOperation.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PullPrintPrinterCreateOperation : global::Microsoft.Graph.Models.PrintOperation, IParsable + #pragma warning restore CS1591 + { + /// The pull print printer that this operation creates. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PullPrintPrinter? PullPrintPrinter + { + get { return BackingStore?.Get("pullPrintPrinter"); } + set { BackingStore?.Set("pullPrintPrinter", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PullPrintPrinter PullPrintPrinter + { + get { return BackingStore?.Get("pullPrintPrinter"); } + set { BackingStore?.Set("pullPrintPrinter", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PullPrintPrinterCreateOperation() : base() + { + OdataType = "#microsoft.graph.pullPrintPrinterCreateOperation"; + } + /// + /// 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.Models.PullPrintPrinterCreateOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PullPrintPrinterCreateOperation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "pullPrintPrinter", n => { PullPrintPrinter = n.GetObjectValue(global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("pullPrintPrinter", PullPrintPrinter); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ReportAction.cs b/src/Microsoft.Graph/Generated/Models/ReportAction.cs new file mode 100644 index 00000000000..07111157250 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ReportAction.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ReportAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "junk")] + #pragma warning disable CS1591 + Junk, + #pragma warning restore CS1591 + [EnumMember(Value = "notJunk")] + #pragma warning disable CS1591 + NotJunk, + #pragma warning restore CS1591 + [EnumMember(Value = "phish")] + #pragma warning disable CS1591 + Phish, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 21936366ee9..d6a82901cab 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using System.Collections.Generic; @@ -419,6 +420,22 @@ public bool? IsDisabled get { return BackingStore?.Get>("keyCredentials"); } set { BackingStore?.Set("keyCredentials", value); } } +#endif + /// The lifecycle policy state of the service principal. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle? Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } #endif /// Specifies the URL where the service provider redirects the user to Microsoft Entra ID to authenticate. Microsoft Entra ID uses the URL to launch the application from Microsoft 365 or the Microsoft Entra My Apps. When blank, Microsoft Entra ID performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Microsoft Entra My Apps, or the Microsoft Entra SSO URL. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -885,6 +902,7 @@ public override IDictionary> GetFieldDeserializers() { "info", n => { Info = n.GetObjectValue(global::Microsoft.Graph.Models.InformationalUrl.CreateFromDiscriminatorValue); } }, { "isDisabled", n => { IsDisabled = n.GetBoolValue(); } }, { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.KeyCredential.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecycle", n => { Lifecycle = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle.CreateFromDiscriminatorValue); } }, { "loginUrl", n => { LoginUrl = n.GetStringValue(); } }, { "logoutUrl", n => { LogoutUrl = n.GetStringValue(); } }, { "memberOf", n => { MemberOf = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -949,6 +967,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("info", Info); writer.WriteBoolValue("isDisabled", IsDisabled); writer.WriteCollectionOfObjectValues("keyCredentials", KeyCredentials); + writer.WriteObjectValue("lifecycle", Lifecycle); writer.WriteStringValue("loginUrl", LoginUrl); writer.WriteStringValue("logoutUrl", LogoutUrl); writer.WriteCollectionOfObjectValues("memberOf", MemberOf); diff --git a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs index 2adf5428323..c1fae79fd93 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs @@ -61,8 +61,13 @@ public SubjectSet() "#microsoft.graph.connectedOrganizationMembers" => new global::Microsoft.Graph.Models.ConnectedOrganizationMembers(), "#microsoft.graph.externalSponsors" => new global::Microsoft.Graph.Models.ExternalSponsors(), "#microsoft.graph.groupMembers" => new global::Microsoft.Graph.Models.GroupMembers(), + "#microsoft.graph.identityGovernance.allExcludingAgentBuilderPlatformsSubjectSet" => new global::Microsoft.Graph.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet(), + "#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet" => new global::Microsoft.Graph.Models.IdentityGovernance.AllExcludingGroupsSubjectSet(), + "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet" => new global::Microsoft.Graph.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet(), "#microsoft.graph.identityGovernance.groupBasedSubjectSet" => new global::Microsoft.Graph.Models.IdentityGovernance.GroupBasedSubjectSet(), "#microsoft.graph.identityGovernance.ruleBasedSubjectSet" => new global::Microsoft.Graph.Models.IdentityGovernance.RuleBasedSubjectSet(), + "#microsoft.graph.identityGovernance.selectedAgentBuilderPlatformsSubjectSet" => new global::Microsoft.Graph.Models.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet(), + "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet" => new global::Microsoft.Graph.Models.IdentityGovernance.SelectedObjectsSubjectSet(), "#microsoft.graph.internalSponsors" => new global::Microsoft.Graph.Models.InternalSponsors(), "#microsoft.graph.requestorManager" => new global::Microsoft.Graph.Models.RequestorManager(), "#microsoft.graph.singleServicePrincipal" => new global::Microsoft.Graph.Models.SingleServicePrincipal(), diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 3eeb0b21a9c..297d0b9abd4 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using System.Collections.Generic; @@ -973,6 +974,22 @@ public string LegalAgeGroupClassification get { return BackingStore?.Get>("licenseDetails"); } set { BackingStore?.Set("licenseDetails", value); } } +#endif + /// The user's lifecycle policy state, including compliance and attestation information. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle? Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } #endif /// The SMTP address for the user, for example, jeff@contoso.com. Changes to this property update the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -2151,6 +2168,7 @@ public override IDictionary> GetFieldDeserializers() { "legalAgeGroupClassification", n => { LegalAgeGroupClassification = n.GetStringValue(); } }, { "licenseAssignmentStates", n => { LicenseAssignmentStates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.LicenseAssignmentState.CreateFromDiscriminatorValue)?.AsList(); } }, { "licenseDetails", n => { LicenseDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecycle", n => { Lifecycle = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue); } }, { "mail", n => { Mail = n.GetStringValue(); } }, { "mailFolders", n => { MailFolders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, @@ -2298,6 +2316,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("legalAgeGroupClassification", LegalAgeGroupClassification); writer.WriteCollectionOfObjectValues("licenseAssignmentStates", LicenseAssignmentStates); writer.WriteCollectionOfObjectValues("licenseDetails", LicenseDetails); + writer.WriteObjectValue("lifecycle", Lifecycle); writer.WriteStringValue("mail", Mail); writer.WriteObjectValue("mailboxSettings", MailboxSettings); writer.WriteCollectionOfObjectValues("mailFolders", MailFolders); diff --git a/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs index 1f7e37799e9..4a4c37d43be 100644 --- a/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Print.Connectors; using Microsoft.Graph.Print.Operations; using Microsoft.Graph.Print.Printers; +using Microsoft.Graph.Print.PullPrintPrinters; using Microsoft.Graph.Print.Services; using Microsoft.Graph.Print.Shares; using Microsoft.Graph.Print.TaskDefinitions; @@ -39,6 +40,11 @@ public partial class PrintRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Print.Printers.PrintersRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.print entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.PullPrintPrintersRequestBuilder PullPrintPrinters + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.PullPrintPrintersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the services property of the microsoft.graph.print entity. public global::Microsoft.Graph.Print.Services.ServicesRequestBuilder Services { diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs index 2864af69437..776037c3092 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs @@ -4,6 +4,8 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Print.Printers.Item.Jobs.Count; using Microsoft.Graph.Print.Printers.Item.Jobs.Item; +using Microsoft.Graph.Print.Printers.Item.Jobs.Release; +using Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +27,16 @@ public partial class JobsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Print.Printers.Item.Jobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the release method. + public global::Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleaseRequestBuilder Release + { + get => new global::Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleaseRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the releaseWait method. + public global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder ReleaseWait + { + get => new global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the jobs property of the microsoft.graph.printerBase entity. /// The unique identifier of printJob /// A diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Release/ReleasePostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Release/ReleasePostRequestBody.cs new file mode 100644 index 00000000000..addf40bf3b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Release/ReleasePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.Print.Printers.Item.Jobs.Release +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleasePostRequestBody : 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 jobId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#nullable restore +#else + public string JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReleasePostRequestBody() + { + 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.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "jobId", n => { JobId = 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("jobId", JobId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Release/ReleaseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Release/ReleaseRequestBuilder.cs new file mode 100644 index 00000000000..e958622df88 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Release/ReleaseRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.Printers.Item.Jobs.Release +{ + /// + /// Provides operations to call the release method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReleaseRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/jobs/release", 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 ReleaseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/jobs/release", rawUrl) + { + } + /// + /// Release a printJob held in the cloud for secure release to print it at the target printer. + /// 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.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Release a printJob held in the cloud for secure release to print it at the target printer. + /// + /// 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.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody 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.Print.Printers.Item.Jobs.Release.ReleaseRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleaseRequestBuilder(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 ReleaseRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs new file mode 100644 index 00000000000..d070494ca49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleaseWaitGetResponse : global::Microsoft.Graph.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.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse(); + } + /// + /// 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.Models.PrintJob.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/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs new file mode 100644 index 00000000000..ede6c0a0f75 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.Printers.Item.Jobs.ReleaseWait +{ + /// + /// Provides operations to call the releaseWait method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseWaitRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReleaseWaitRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/jobs/releaseWait(){?%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 ReleaseWaitRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/jobs/releaseWait(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// 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 GetAsReleaseWaitGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsReleaseWaitGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// 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 + [Obsolete("This method is obsolete. Use GetAsReleaseWaitGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseWaitRequestBuilderGetQueryParameters + { + /// 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 ReleaseWaitRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitResponse.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitResponse.cs new file mode 100644 index 00000000000..c357f0cf273 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/ReleaseWait/ReleaseWaitResponse.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.Print.Printers.Item.Jobs.ReleaseWait +{ + [Obsolete("This class is obsolete. Use ReleaseWaitGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleaseWaitResponse : global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse, 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.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs index 9059bef0c2e..bd86fb934a1 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Print.Printers.Item.Connectors; using Microsoft.Graph.Print.Printers.Item.Jobs; +using Microsoft.Graph.Print.Printers.Item.PullPrintPrinters; using Microsoft.Graph.Print.Printers.Item.RestoreFactoryDefaults; using Microsoft.Graph.Print.Printers.Item.Shares; using Microsoft.Graph.Print.Printers.Item.TaskTriggers; @@ -33,6 +34,11 @@ public partial class PrinterItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Print.Printers.Item.Jobs.JobsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.printer entity. + public global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.PullPrintPrintersRequestBuilder PullPrintPrinters + { + get => new global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.PullPrintPrintersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the restoreFactoryDefaults method. public global::Microsoft.Graph.Print.Printers.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder RestoreFactoryDefaults { diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..af0103fd5ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.Printers.Item.PullPrintPrinters.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}/print/printers/{printer%2Did}/pullPrintPrinters/$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}/print/printers/{printer%2Did}/pullPrintPrinters/$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.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.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.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/Print/Printers/Item/PullPrintPrinters/Item/PullPrintPrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/Item/PullPrintPrinterItemRequestBuilder.cs new file mode 100644 index 00000000000..e6c8269d2e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/Item/PullPrintPrinterItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.Printers.Item.PullPrintPrinters.Item +{ + /// + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.printer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrinterItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PullPrintPrinterItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/pullPrintPrinters/{pullPrintPrinter%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 PullPrintPrinterItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/pullPrintPrinters/{pullPrintPrinter%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The pull print printers that this printer is a member of. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The pull print printers that this printer is a member of. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The pull print printers that this printer is a member of. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrinterItemRequestBuilderGetQueryParameters + { + /// 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 PullPrintPrinterItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/PullPrintPrintersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/PullPrintPrintersRequestBuilder.cs new file mode 100644 index 00000000000..14f43b35596 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/PullPrintPrinters/PullPrintPrintersRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count; +using Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.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.Print.Printers.Item.PullPrintPrinters +{ + /// + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.printer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrintersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.printer entity. + /// The unique identifier of pullPrintPrinter + /// A + public global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("pullPrintPrinter%2Did", position); + return new global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder(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 PullPrintPrintersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/pullPrintPrinters{?%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 PullPrintPrintersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/printers/{printer%2Did}/pullPrintPrinters{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the pullPrintPrinter objects that a printer is a member of. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PullPrintPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the pullPrintPrinter objects that a printer is a member of. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.PullPrintPrintersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.PullPrintPrintersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the pullPrintPrinter objects that a printer is a member of. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrintersRequestBuilderGetQueryParameters + { + /// 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 PullPrintPrintersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..1942344ca98 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.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}/print/pullPrintPrinters/$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}/print/pullPrintPrinters/$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.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.Print.PullPrintPrinters.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.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/Print/PullPrintPrinters/Item/Jobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0a8821a2651 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/$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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/$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.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.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.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/Print/PullPrintPrinters/Item/Jobs/Item/Abort/AbortPostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Abort/AbortPostRequestBody.cs new file mode 100644 index 00000000000..4a39d60ddac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Abort/AbortPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.Print.PullPrintPrinters.Item.Jobs.Item.Abort +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AbortPostRequestBody : 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 reason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AbortPostRequestBody() + { + 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.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reason", n => { Reason = 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("reason", Reason); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Abort/AbortRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Abort/AbortRequestBuilder.cs new file mode 100644 index 00000000000..d037e5bc90a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Abort/AbortRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Abort +{ + /// + /// Provides operations to call the abort method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AbortRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AbortRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/abort", 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 AbortRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/abort", rawUrl) + { + } + /// + /// Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. + /// Find more info here + /// + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. + /// + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody 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.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortRequestBuilder(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 AbortRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs new file mode 100644 index 00000000000..d53905aa0b4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Cancel +{ + /// + /// Provides operations to call the cancel method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CancelRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CancelRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/cancel", 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 CancelRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/cancel", rawUrl) + { + } + /// + /// Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. + /// 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 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. + /// + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.CancelRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.CancelRequestBuilder(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 CancelRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..3645b0b8f33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/$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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/$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.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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.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/Print/PullPrintPrinters/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs new file mode 100644 index 00000000000..14d1726b29c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.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.Print.PullPrintPrinters.Item.Jobs.Item.Documents +{ + /// + /// Provides operations to manage the documents property of the microsoft.graph.printJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DocumentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the documents property of the microsoft.graph.printJob entity. + /// The unique identifier of printDocument + /// A + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("printDocument%2Did", position); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder(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 DocumentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents{?%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 DocumentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get documents from print + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintDocumentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to documents for print + /// + /// 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.Models.PrintDocument body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.PrintDocument 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get documents from print + /// + /// 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 documents for print + /// + /// 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.Models.PrintDocument body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PrintDocument 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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.DocumentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.DocumentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get documents from print + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DocumentsRequestBuilderGetQueryParameters + { + /// 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 DocumentsRequestBuilderGetRequestConfiguration : 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 DocumentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.cs new file mode 100644 index 00000000000..6b01d576d05 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreateUploadSessionPostRequestBody : 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 properties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PrintDocumentUploadProperties? Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PrintDocumentUploadProperties Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CreateUploadSessionPostRequestBody() + { + 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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "properties", n => { Properties = n.GetObjectValue(global::Microsoft.Graph.Models.PrintDocumentUploadProperties.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.WriteObjectValue("properties", Properties); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs new file mode 100644 index 00000000000..87e52f9f06f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession +{ + /// + /// Provides operations to call the createUploadSession method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreateUploadSessionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreateUploadSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/createUploadSession", 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 CreateUploadSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/createUploadSession", rawUrl) + { + } + /// + /// Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. + /// + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody 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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionRequestBuilder(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 CreateUploadSessionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs new file mode 100644 index 00000000000..d64aaa023b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value; +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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item +{ + /// + /// Provides operations to manage the documents property of the microsoft.graph.printJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintDocumentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the print entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the createUploadSession method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionRequestBuilder CreateUploadSession + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionRequestBuilder(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 PrintDocumentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/{printDocument%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 PrintDocumentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property documents for print + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get documents from print + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property documents in print + /// + /// 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.Models.PrintDocument body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.PrintDocument 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property documents for print + /// + /// 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 documents from print + /// + /// 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 documents in print + /// + /// 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.Models.PrintDocument body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PrintDocument 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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder(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 PrintDocumentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get documents from print + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintDocumentItemRequestBuilderGetQueryParameters + { + /// 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 PrintDocumentItemRequestBuilderGetRequestConfiguration : 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 PrintDocumentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..f6e781904db --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value +{ + /// + /// Provides operations to manage the media for the print entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/$value", 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 ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary 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(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary 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(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream 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.SetStreamContent(body, "application/octet-stream"); + 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.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder(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 ContentRequestBuilderDeleteRequestConfiguration : 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 ContentRequestBuilderGetRequestConfiguration : 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 ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/PrintJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/PrintJobItemRequestBuilder.cs new file mode 100644 index 00000000000..1a97fdeae64 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/PrintJobItemRequestBuilder.cs @@ -0,0 +1,265 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks; +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.Print.PullPrintPrinters.Item.Jobs.Item +{ + /// + /// Provides operations to manage the jobs property of the microsoft.graph.printerBase entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintJobItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the abort method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortRequestBuilder Abort + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the cancel method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.CancelRequestBuilder Cancel + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.CancelRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the documents property of the microsoft.graph.printJob entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.DocumentsRequestBuilder Documents + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.DocumentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the redirect method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectRequestBuilder Redirect + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the start method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.StartRequestBuilder Start + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.StartRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks property of the microsoft.graph.printJob entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.TasksRequestBuilder Tasks + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.TasksRequestBuilder(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 PrintJobItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%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 PrintJobItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property jobs for print + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of jobs that are queued for printing by the printer/printerShare. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property jobs in print + /// + /// 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.Models.PrintJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.PrintJob 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property jobs for print + /// + /// 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 list of jobs that are queued for printing by the printer/printerShare. + /// + /// 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 jobs in print + /// + /// 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.Models.PrintJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PrintJob 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.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder(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 PrintJobItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The list of jobs that are queued for printing by the printer/printerShare. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintJobItemRequestBuilderGetQueryParameters + { + /// 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 PrintJobItemRequestBuilderGetRequestConfiguration : 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 PrintJobItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Redirect/RedirectPostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Redirect/RedirectPostRequestBody.cs new file mode 100644 index 00000000000..f0129c1ad6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Redirect/RedirectPostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Redirect +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RedirectPostRequestBody : 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 configuration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PrintJobConfiguration? Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PrintJobConfiguration Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#endif + /// The destinationPrinterId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DestinationPrinterId + { + get { return BackingStore?.Get("destinationPrinterId"); } + set { BackingStore?.Set("destinationPrinterId", value); } + } +#nullable restore +#else + public string DestinationPrinterId + { + get { return BackingStore?.Get("destinationPrinterId"); } + set { BackingStore?.Set("destinationPrinterId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RedirectPostRequestBody() + { + 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.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "configuration", n => { Configuration = n.GetObjectValue(global::Microsoft.Graph.Models.PrintJobConfiguration.CreateFromDiscriminatorValue); } }, + { "destinationPrinterId", n => { DestinationPrinterId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("configuration", Configuration); + writer.WriteStringValue("destinationPrinterId", DestinationPrinterId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs new file mode 100644 index 00000000000..be65033cb79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Redirect +{ + /// + /// Provides operations to call the redirect method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RedirectRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RedirectRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/redirect", 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 RedirectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/redirect", rawUrl) + { + } + /// + /// Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. + /// + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody 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.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectRequestBuilder(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 RedirectRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Start/StartRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Start/StartRequestBuilder.cs new file mode 100644 index 00000000000..23ad16a629d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Start/StartRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Start +{ + /// + /// Provides operations to call the start method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/start", 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 StartRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/start", rawUrl) + { + } + /// + /// Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJobStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. + /// + /// 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.Print.PullPrintPrinters.Item.Jobs.Item.Start.StartRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.StartRequestBuilder(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 StartRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..346000c0489 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/$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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/$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.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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.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/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs new file mode 100644 index 00000000000..01138d01a79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition +{ + /// + /// Provides operations to manage the definition property of the microsoft.graph.printTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DefinitionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DefinitionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/{printTask%2Did}/definition{?%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 DefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/{printTask%2Did}/definition{?%24expand,%24select}", rawUrl) + { + } + /// + /// The printTaskDefinition that was used to create this task. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The printTaskDefinition that was used to create this task. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.DefinitionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.DefinitionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The printTaskDefinition that was used to create this task. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DefinitionRequestBuilderGetQueryParameters + { + /// 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 DefinitionRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs new file mode 100644 index 00000000000..0fdcd8a1ab3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger; +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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item +{ + /// + /// Provides operations to manage the tasks property of the microsoft.graph.printJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintTaskItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the definition property of the microsoft.graph.printTask entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.DefinitionRequestBuilder Definition + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.DefinitionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the trigger property of the microsoft.graph.printTask entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.TriggerRequestBuilder Trigger + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.TriggerRequestBuilder(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 PrintTaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/{printTask%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 PrintTaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/{printTask%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property tasks for print + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A list of printTasks that were triggered by this print job. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property tasks in print + /// + /// 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.Models.PrintTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.PrintTask 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property tasks for print + /// + /// 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; + } + /// + /// A list of printTasks that were triggered by this print job. + /// + /// 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 tasks in print + /// + /// 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.Models.PrintTask body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PrintTask 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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder(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 PrintTaskItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A list of printTasks that were triggered by this print job. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintTaskItemRequestBuilderGetQueryParameters + { + /// 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 PrintTaskItemRequestBuilderGetRequestConfiguration : 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 PrintTaskItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs new file mode 100644 index 00000000000..596873ad554 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger +{ + /// + /// Provides operations to manage the trigger property of the microsoft.graph.printTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TriggerRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TriggerRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/{printTask%2Did}/trigger{?%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 TriggerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks/{printTask%2Did}/trigger{?%24expand,%24select}", rawUrl) + { + } + /// + /// The printTaskTrigger that triggered this task's execution. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The printTaskTrigger that triggered this task's execution. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.TriggerRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.TriggerRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The printTaskTrigger that triggered this task's execution. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TriggerRequestBuilderGetQueryParameters + { + /// 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 TriggerRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs new file mode 100644 index 00000000000..dcb3ba7c015 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks +{ + /// + /// Provides operations to manage the tasks property of the microsoft.graph.printJob entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TasksRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks property of the microsoft.graph.printJob entity. + /// The unique identifier of printTask + /// A + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("printTask%2Did", position); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder(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 TasksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks{?%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 TasksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/{printJob%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// A list of printTasks that were triggered by this print job. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to tasks for print + /// + /// 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.Models.PrintTask body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.PrintTask 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A list of printTasks that were triggered by this print job. + /// + /// 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 tasks for print + /// + /// 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.Models.PrintTask body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PrintTask 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.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.TasksRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.TasksRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// A list of printTasks that were triggered by this print job. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TasksRequestBuilderGetQueryParameters + { + /// 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 TasksRequestBuilderGetRequestConfiguration : 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 TasksRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/JobsRequestBuilder.cs new file mode 100644 index 00000000000..320da1fa206 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/JobsRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait; +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.Print.PullPrintPrinters.Item.Jobs +{ + /// + /// Provides operations to manage the jobs property of the microsoft.graph.printerBase entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class JobsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the release method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleaseRequestBuilder Release + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleaseRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the releaseWait method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder ReleaseWait + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the jobs property of the microsoft.graph.printerBase entity. + /// The unique identifier of printJob + /// A + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("printJob%2Did", position); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder(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 JobsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs{?%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 JobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The list of jobs that are queued for printing by the printer/printerShare. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to jobs for print + /// + /// 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.Models.PrintJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.PrintJob 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The list of jobs that are queued for printing by the printer/printerShare. + /// + /// 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 jobs for print + /// + /// 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.Models.PrintJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PrintJob 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.Print.PullPrintPrinters.Item.Jobs.JobsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.JobsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The list of jobs that are queued for printing by the printer/printerShare. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class JobsRequestBuilderGetQueryParameters + { + /// 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 JobsRequestBuilderGetRequestConfiguration : 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 JobsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Release/ReleasePostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Release/ReleasePostRequestBody.cs new file mode 100644 index 00000000000..df70c0dc51a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Release/ReleasePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.Print.PullPrintPrinters.Item.Jobs.Release +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleasePostRequestBody : 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 jobId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#nullable restore +#else + public string JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReleasePostRequestBody() + { + 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.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "jobId", n => { JobId = 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("jobId", JobId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Release/ReleaseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Release/ReleaseRequestBuilder.cs new file mode 100644 index 00000000000..ec4406d2125 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/Release/ReleaseRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.Release +{ + /// + /// Provides operations to call the release method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReleaseRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/release", 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 ReleaseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/release", rawUrl) + { + } + /// + /// Release a printJob held in the cloud for secure release to print it at the target printer. + /// 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.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Release a printJob held in the cloud for secure release to print it at the target printer. + /// + /// 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.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody 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.Print.PullPrintPrinters.Item.Jobs.Release.ReleaseRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleaseRequestBuilder(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 ReleaseRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs new file mode 100644 index 00000000000..32f53325e8d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleaseWaitGetResponse : global::Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse(); + } + /// + /// 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.Models.PrintJob.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/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs new file mode 100644 index 00000000000..70608dd2f4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Jobs.ReleaseWait +{ + /// + /// Provides operations to call the releaseWait method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseWaitRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReleaseWaitRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/releaseWait(){?%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 ReleaseWaitRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/jobs/releaseWait(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// 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 GetAsReleaseWaitGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsReleaseWaitGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// 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 + [Obsolete("This method is obsolete. Use GetAsReleaseWaitGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseWaitRequestBuilderGetQueryParameters + { + /// 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 ReleaseWaitRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitResponse.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitResponse.cs new file mode 100644 index 00000000000..9aa9f6bac3e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Jobs/ReleaseWait/ReleaseWaitResponse.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.Print.PullPrintPrinters.Item.Jobs.ReleaseWait +{ + [Obsolete("This class is obsolete. Use ReleaseWaitGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleaseWaitResponse : global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse, 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.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsGetResponse.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsGetResponse.cs new file mode 100644 index 00000000000..514572c8a57 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MemberSuggestionsGetResponse : global::Microsoft.Graph.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.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsGetResponse(); + } + /// + /// 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.Models.Printer.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/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsRequestBuilder.cs new file mode 100644 index 00000000000..399aa1b05ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.MemberSuggestions +{ + /// + /// Provides operations to call the memberSuggestions method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MemberSuggestionsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MemberSuggestionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/memberSuggestions(){?%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 MemberSuggestionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/memberSuggestions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of printer objects that are eligible candidates to become member printers of a pullPrintPrinter. + /// 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 GetAsMemberSuggestionsGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsMemberSuggestionsGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of printer objects that are eligible candidates to become member printers of a pullPrintPrinter. + /// 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 + [Obsolete("This method is obsolete. Use GetAsMemberSuggestionsGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of printer objects that are eligible candidates to become member printers of a pullPrintPrinter. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of printer objects that are eligible candidates to become member printers of a pullPrintPrinter. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MemberSuggestionsRequestBuilderGetQueryParameters + { + /// 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 MemberSuggestionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsResponse.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsResponse.cs new file mode 100644 index 00000000000..5b7a3130a1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/MemberSuggestions/MemberSuggestionsResponse.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.Print.PullPrintPrinters.Item.MemberSuggestions +{ + [Obsolete("This class is obsolete. Use MemberSuggestionsGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MemberSuggestionsResponse : global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsGetResponse, 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.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..9420cf743b7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Printers.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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/printers/$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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/printers/$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.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.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.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/Print/PullPrintPrinters/Item/Printers/Item/PrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/Item/PrinterItemRequestBuilder.cs new file mode 100644 index 00000000000..1d32fd1e810 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/Item/PrinterItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Printers.Item +{ + /// + /// Provides operations to manage the printers property of the microsoft.graph.pullPrintPrinter entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrinterItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PrinterItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/printers/{printer%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 PrinterItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/printers/{printer%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The member printers at which print jobs sent to this pull print printer can be released. Use Add printer and Remove printer to manage explicit membership. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The member printers at which print jobs sent to this pull print printer can be released. Use Add printer and Remove printer to manage explicit membership. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The member printers at which print jobs sent to this pull print printer can be released. Use Add printer and Remove printer to manage explicit membership. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrinterItemRequestBuilderGetQueryParameters + { + /// 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 PrinterItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/PrintersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/PrintersRequestBuilder.cs new file mode 100644 index 00000000000..c9b1871f325 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Printers/PrintersRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.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.Print.PullPrintPrinters.Item.Printers +{ + /// + /// Provides operations to manage the printers property of the microsoft.graph.pullPrintPrinter entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the printers property of the microsoft.graph.pullPrintPrinter entity. + /// The unique identifier of printer + /// A + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("printer%2Did", position); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder(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 PrintersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/printers{?%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 PrintersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/printers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The member printers at which print jobs sent to this pull print printer can be released. Use Add printer and Remove printer to manage explicit membership. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The member printers at which print jobs sent to this pull print printer can be released. Use Add printer and Remove printer to manage explicit membership. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.PrintersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.PrintersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The member printers at which print jobs sent to this pull print printer can be released. Use Add printer and Remove printer to manage explicit membership. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrintersRequestBuilderGetQueryParameters + { + /// 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 PrintersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/PullPrintPrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/PullPrintPrinterItemRequestBuilder.cs new file mode 100644 index 00000000000..d464698841f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/PullPrintPrinterItemRequestBuilder.cs @@ -0,0 +1,262 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs; +using Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Printers; +using Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Shares; +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.Print.PullPrintPrinters.Item +{ + /// + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.print entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrinterItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the jobs property of the microsoft.graph.printerBase entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.JobsRequestBuilder Jobs + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.JobsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the memberSuggestions method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsRequestBuilder MemberSuggestions + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the printers property of the microsoft.graph.pullPrintPrinter entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.PrintersRequestBuilder Printers + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.PrintersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restoreFactoryDefaults method. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder RestoreFactoryDefaults + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the shares property of the microsoft.graph.pullPrintPrinter entity. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.SharesRequestBuilder Shares + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.SharesRequestBuilder(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 PullPrintPrinterItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%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 PullPrintPrinterItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a pullPrintPrinter. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a pullPrintPrinter 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a pullPrintPrinter 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.Models.PullPrintPrinter body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.PullPrintPrinter 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a pullPrintPrinter. + /// + /// 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 pullPrintPrinter 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 pullPrintPrinter 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.Models.PullPrintPrinter body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.PullPrintPrinter 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.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder(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 PullPrintPrinterItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a pullPrintPrinter object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrinterItemRequestBuilderGetQueryParameters + { + /// 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 PullPrintPrinterItemRequestBuilderGetRequestConfiguration : 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 PullPrintPrinterItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.cs new file mode 100644 index 00000000000..f0a23f3ba6e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.RestoreFactoryDefaults +{ + /// + /// Provides operations to call the restoreFactoryDefaults method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreFactoryDefaultsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreFactoryDefaultsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/restoreFactoryDefaults", 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 RestoreFactoryDefaultsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/restoreFactoryDefaults", rawUrl) + { + } + /// + /// Restore the default settings of a pullPrintPrinter to the values specified by the manufacturer. + /// 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 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore the default settings of a pullPrintPrinter to the values specified by the manufacturer. + /// + /// 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.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder(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 RestoreFactoryDefaultsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b798d21d6d6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Shares.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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/shares/$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}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/shares/$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.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.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.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/Print/PullPrintPrinters/Item/Shares/Item/PrinterShareItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/Item/PrinterShareItemRequestBuilder.cs new file mode 100644 index 00000000000..38e5e0bff54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/Item/PrinterShareItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.PullPrintPrinters.Item.Shares.Item +{ + /// + /// Provides operations to manage the shares property of the microsoft.graph.pullPrintPrinter entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrinterShareItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PrinterShareItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/shares/{printerShare%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 PrinterShareItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/shares/{printerShare%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The printer shares that are associated with this pull print printer. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The printer shares that are associated with this pull print printer. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The printer shares that are associated with this pull print printer. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PrinterShareItemRequestBuilderGetQueryParameters + { + /// 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 PrinterShareItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/SharesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/SharesRequestBuilder.cs new file mode 100644 index 00000000000..47ad5a4a4ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/Item/Shares/SharesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count; +using Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.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.Print.PullPrintPrinters.Item.Shares +{ + /// + /// Provides operations to manage the shares property of the microsoft.graph.pullPrintPrinter entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the shares property of the microsoft.graph.pullPrintPrinter entity. + /// The unique identifier of printerShare + /// A + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("printerShare%2Did", position); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder(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 SharesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/shares{?%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 SharesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters/{pullPrintPrinter%2Did}/shares{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The printer shares that are associated with this pull print printer. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrinterShareCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The printer shares that are associated with this pull print printer. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.SharesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.SharesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The printer shares that are associated with this pull print printer. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharesRequestBuilderGetQueryParameters + { + /// 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 SharesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/PullPrintPrintersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/PullPrintPrintersRequestBuilder.cs new file mode 100644 index 00000000000..f11e5df50bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/PullPrintPrinters/PullPrintPrintersRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Print.PullPrintPrinters.Count; +using Microsoft.Graph.Print.PullPrintPrinters.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.Print.PullPrintPrinters +{ + /// + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.print entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrintersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the pullPrintPrinters property of the microsoft.graph.print entity. + /// The unique identifier of pullPrintPrinter + /// A + public global::Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("pullPrintPrinter%2Did", position); + return new global::Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder(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 PullPrintPrintersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters{?%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 PullPrintPrintersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/pullPrintPrinters{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the pullPrintPrinter objects and their properties in the tenant. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PullPrintPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new pullPrintPrinter object asynchronously. + /// 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.Models.PullPrintPrinter body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.PullPrintPrinter 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the pullPrintPrinter objects and their properties in the tenant. + /// + /// 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 pullPrintPrinter object asynchronously. + /// + /// 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.Models.PullPrintPrinter body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.PullPrintPrinter 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.Print.PullPrintPrinters.PullPrintPrintersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.PullPrintPrinters.PullPrintPrintersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the pullPrintPrinter objects and their properties in the tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrintersRequestBuilderGetQueryParameters + { + /// 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 PullPrintPrintersRequestBuilderGetRequestConfiguration : 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 PullPrintPrintersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs index eae7d3f157d..d27a989c139 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs @@ -4,6 +4,8 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Print.Shares.Item.Jobs.Count; using Microsoft.Graph.Print.Shares.Item.Jobs.Item; +using Microsoft.Graph.Print.Shares.Item.Jobs.Release; +using Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +27,16 @@ public partial class JobsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Print.Shares.Item.Jobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the release method. + public global::Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleaseRequestBuilder Release + { + get => new global::Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleaseRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the releaseWait method. + public global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder ReleaseWait + { + get => new global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the jobs property of the microsoft.graph.printerBase entity. /// The unique identifier of printJob /// A diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Release/ReleasePostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Release/ReleasePostRequestBody.cs new file mode 100644 index 00000000000..aefa7eddbe9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Release/ReleasePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#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.Print.Shares.Item.Jobs.Release +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleasePostRequestBody : 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 jobId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#nullable restore +#else + public string JobId + { + get { return BackingStore?.Get("jobId"); } + set { BackingStore?.Set("jobId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReleasePostRequestBody() + { + 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.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "jobId", n => { JobId = 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("jobId", JobId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Release/ReleaseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Release/ReleaseRequestBuilder.cs new file mode 100644 index 00000000000..d0485cae84b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Release/ReleaseRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.Shares.Item.Jobs.Release +{ + /// + /// Provides operations to call the release method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReleaseRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/jobs/release", 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 ReleaseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/jobs/release", rawUrl) + { + } + /// + /// Release a printJob held in the cloud for secure release to print it at the target printer. + /// 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.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Release a printJob held in the cloud for secure release to print it at the target printer. + /// + /// 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.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody 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.Print.Shares.Item.Jobs.Release.ReleaseRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleaseRequestBuilder(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 ReleaseRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs new file mode 100644 index 00000000000..9bdf478fa43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleaseWaitGetResponse : global::Microsoft.Graph.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.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse(); + } + /// + /// 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.Models.PrintJob.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/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs new file mode 100644 index 00000000000..aaefa7f1d5e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Print.Shares.Item.Jobs.ReleaseWait +{ + /// + /// Provides operations to call the releaseWait method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseWaitRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReleaseWaitRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/jobs/releaseWait(){?%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 ReleaseWaitRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/jobs/releaseWait(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// 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 GetAsReleaseWaitGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsReleaseWaitGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// 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 + [Obsolete("This method is obsolete. Use GetAsReleaseWaitGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer. The results include eligible jobs submitted to pullPrintPrinter resources that the specified physical printer is a member of. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReleaseWaitRequestBuilderGetQueryParameters + { + /// 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 ReleaseWaitRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitResponse.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitResponse.cs new file mode 100644 index 00000000000..ece4389879f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/ReleaseWait/ReleaseWaitResponse.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.Print.Shares.Item.Jobs.ReleaseWait +{ + [Obsolete("This class is obsolete. Use ReleaseWaitGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleaseWaitResponse : global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse, 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.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs index b5e10a88b97..f6d8a30ad20 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs @@ -35,7 +35,7 @@ public PrinterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// The printer that this printer share is related to. + /// The printer associated with this printer share. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public PrinterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The printer that this printer share is related to. + /// The printer associated with this printer share. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The printer that this printer share is related to. + /// The printer associated with this printer share. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrinterRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs index bc5c370f76e..5b45f1e4667 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Print.Shares.Item.AllowedUsers; using Microsoft.Graph.Print.Shares.Item.Jobs; using Microsoft.Graph.Print.Shares.Item.Printer; +using Microsoft.Graph.Print.Shares.Item.PullPrintPrinter; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -42,6 +43,11 @@ public partial class PrinterShareItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Print.Shares.Item.Printer.PrinterRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the pullPrintPrinter property of the microsoft.graph.printerShare entity. + public global::Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.PullPrintPrinterRequestBuilder PullPrintPrinter + { + get => new global::Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.PullPrintPrinterRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/PullPrintPrinter/PullPrintPrinterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/PullPrintPrinter/PullPrintPrinterRequestBuilder.cs new file mode 100644 index 00000000000..64f121bcf00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/PullPrintPrinter/PullPrintPrinterRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Print.Shares.Item.PullPrintPrinter +{ + /// + /// Provides operations to manage the pullPrintPrinter property of the microsoft.graph.printerShare entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrinterRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PullPrintPrinterRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/pullPrintPrinter{?%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 PullPrintPrinterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/pullPrintPrinter{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the pullPrintPrinter that is associated with a printerShare. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PullPrintPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the pullPrintPrinter that is associated with a printerShare. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.PullPrintPrinterRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.PullPrintPrinterRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the pullPrintPrinter that is associated with a printerShare. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PullPrintPrinterRequestBuilderGetQueryParameters + { + /// 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 PullPrintPrinterRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs index 0b201f94caf..e7601df7279 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -35,7 +35,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs index 9d33c020042..dca542452a2 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -35,7 +35,7 @@ public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. Before calling this API, ensure that your organization meets the following requirements: /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. Before calling this API, ensure that your organization meets the following requirements: /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. Before calling this API, ensure that your organization meets the following requirements: /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RightsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs index 2d857866cda..fbd9363ec1d 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -35,7 +35,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs new file mode 100644 index 00000000000..ad6e5c62cf9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count; +using Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.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.ServicePrincipals.Item.Lifecycle.ComplianceIssues +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// The unique identifier of complianceIssue + /// A + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("complianceIssue%2Did", position); + return new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(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 ComplianceIssuesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues{?%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 ComplianceIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetQueryParameters + { + /// 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 ComplianceIssuesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..999f91a9515 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.ServicePrincipals.Item.Lifecycle.ComplianceIssues.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}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/$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}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/$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.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.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.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/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs new file mode 100644 index 00000000000..1b1f16c4f73 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/{complianceIssue%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 ComplianceIssueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetQueryParameters + { + /// 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 ComplianceIssueItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs new file mode 100644 index 00000000000..908d09d2f37 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy +{ + /// + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/effectiveGoverningPolicy{?%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 EffectiveGoverningPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetQueryParameters + { + /// 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 EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/LifecycleRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/LifecycleRequestBuilder.cs new file mode 100644 index 00000000000..ca821857506 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/LifecycleRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues; +using Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy; +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.ServicePrincipals.Item.Lifecycle +{ + /// + /// Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder ComplianceIssues + { + get => new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder EffectiveGoverningPolicy + { + get => new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(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 LifecycleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle{?%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 LifecycleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecycle for servicePrincipals + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The lifecycle policy state of the service principal. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property lifecycle in servicePrincipals + /// + /// 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.Models.IdentityGovernance.IdentityLifecycle body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecycle for servicePrincipals + /// + /// 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 lifecycle policy state of the service principal. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property lifecycle in servicePrincipals + /// + /// 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.Models.IdentityGovernance.IdentityLifecycle body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle 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.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder(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 LifecycleRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The lifecycle policy state of the service principal. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetQueryParameters + { + /// 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 LifecycleRequestBuilderGetRequestConfiguration : 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 LifecycleRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs new file mode 100644 index 00000000000..a36764a6f6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest +{ + /// + /// Provides operations to call the attest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/microsoft.graph.identityGovernance.attest", 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 MicrosoftGraphIdentityGovernanceAttestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/microsoft.graph.identityGovernance.attest", rawUrl) + { + } + /// + /// Invoke action attest + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action attest + /// + /// 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.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(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 MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs index c0f41a4eab3..cde3db209f8 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs @@ -19,7 +19,9 @@ using Microsoft.Graph.ServicePrincipals.Item.GetMemberGroups; using Microsoft.Graph.ServicePrincipals.Item.GetMemberObjects; using Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies; +using Microsoft.Graph.ServicePrincipals.Item.Lifecycle; using Microsoft.Graph.ServicePrincipals.Item.MemberOf; +using Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest; using Microsoft.Graph.ServicePrincipals.Item.Oauth2PermissionGrants; using Microsoft.Graph.ServicePrincipals.Item.OwnedObjects; using Microsoft.Graph.ServicePrincipals.Item.Owners; @@ -127,11 +129,21 @@ public partial class ServicePrincipalItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.HomeRealmDiscoveryPoliciesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + public global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder Lifecycle + { + get => new global::Microsoft.Graph.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity. public global::Microsoft.Graph.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder MemberOf { get => new global::Microsoft.Graph.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the attest method. + public global::Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder MicrosoftGraphIdentityGovernanceAttest + { + get => new global::Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity. public global::Microsoft.Graph.ServicePrincipals.Item.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Oauth2PermissionGrants { diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs index 7aa59541e58..7dc7f0621e9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -35,7 +35,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs index 53e0263ba6c..5d0added853 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -35,7 +35,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. Before calling this API, ensure that your organization meets the following requirements: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs new file mode 100644 index 00000000000..9c043b830c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count; +using Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.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.Users.Item.Lifecycle.ComplianceIssues +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// The unique identifier of complianceIssue + /// A + public global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("complianceIssue%2Did", position); + return new global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(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 ComplianceIssuesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues{?%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 ComplianceIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetQueryParameters + { + /// 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 ComplianceIssuesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..3fc4ac7c823 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.Lifecycle.ComplianceIssues.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}/users/{user%2Did}/lifecycle/complianceIssues/$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}/users/{user%2Did}/lifecycle/complianceIssues/$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.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.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.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/Users/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs new file mode 100644 index 00000000000..2be8cc13fd9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.Users.Item.Lifecycle.ComplianceIssues.Item +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues/{complianceIssue%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 ComplianceIssueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetQueryParameters + { + /// 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 ComplianceIssueItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs new file mode 100644 index 00000000000..d74a4f53a0b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.Users.Item.Lifecycle.EffectiveGoverningPolicy +{ + /// + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/effectiveGoverningPolicy{?%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 EffectiveGoverningPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetQueryParameters + { + /// 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 EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/LifecycleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/LifecycleRequestBuilder.cs new file mode 100644 index 00000000000..0e6711d7710 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/LifecycleRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues; +using Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy; +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.Users.Item.Lifecycle +{ + /// + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder ComplianceIssues + { + get => new global::Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder EffectiveGoverningPolicy + { + get => new global::Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(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 LifecycleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle{?%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 LifecycleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecycle for users + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user's lifecycle policy state, including compliance and attestation information. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property lifecycle in users + /// + /// 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.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecycle for users + /// + /// 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 user's lifecycle policy state, including compliance and attestation information. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property lifecycle in users + /// + /// 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.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle 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.Users.Item.Lifecycle.LifecycleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Lifecycle.LifecycleRequestBuilder(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 LifecycleRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The user's lifecycle policy state, including compliance and attestation information. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetQueryParameters + { + /// 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 LifecycleRequestBuilderGetRequestConfiguration : 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 LifecycleRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 00000000000..1e126b19fbd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", 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 ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// 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.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(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 ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index 8c94633c4ff..46a86494ab9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy; +using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Move; @@ -28,6 +29,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index c4bf3f14531..417755b99e4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -13,6 +13,7 @@ using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll; +using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Send; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Value; using Microsoft.Kiota.Abstractions.Extensions; @@ -91,6 +92,11 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reportMessage method. + public global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder ReportMessage + { + get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the send method. public global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder Send { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs new file mode 100644 index 00000000000..c77be723860 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReportMessagePostRequestBody : 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 IsMessageMoveRequested property + public bool? IsMessageMoveRequested + { + get { return BackingStore?.Get("IsMessageMoveRequested"); } + set { BackingStore?.Set("IsMessageMoveRequested", value); } + } + /// The ReportAction property + public global::Microsoft.Graph.Models.ReportAction? ReportAction + { + get { return BackingStore?.Get("ReportAction"); } + set { BackingStore?.Set("ReportAction", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReportMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + IsMessageMoveRequested = false; + } + /// + /// 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.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "IsMessageMoveRequested", n => { IsMessageMoveRequested = n.GetBoolValue(); } }, + { "ReportAction", n => { ReportAction = 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.WriteBoolValue("IsMessageMoveRequested", IsMessageMoveRequested); + writer.WriteEnumValue("ReportAction", ReportAction); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs new file mode 100644 index 00000000000..4452ada1963 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage +{ + /// + /// Provides operations to call the reportMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reportMessage", 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 ReportMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reportMessage", rawUrl) + { + } + /// + /// Invoke action reportMessage + /// + /// 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.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action reportMessage + /// + /// 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.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(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 ReportMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 00000000000..7162e338479 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.MailFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/importMime", 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 ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// 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.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(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 ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs index bd56fa078e8..69b237af7f0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders; using Microsoft.Graph.Users.Item.MailFolders.Item.Copy; +using Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime; using Microsoft.Graph.Users.Item.MailFolders.Item.MessageRules; using Microsoft.Graph.Users.Item.MailFolders.Item.Messages; using Microsoft.Graph.Users.Item.MailFolders.Item.Move; @@ -34,6 +35,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Users.Item.MailFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index 60ff1253a28..a821fcba0c5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -13,6 +13,7 @@ using Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.PermanentDelete; using Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Reply; using Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll; +using Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage; using Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Send; using Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Value; using Microsoft.Kiota.Abstractions.Extensions; @@ -91,6 +92,11 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reportMessage method. + public global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder ReportMessage + { + get => new global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the send method. public global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Send.SendRequestBuilder Send { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs new file mode 100644 index 00000000000..76e243b674b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.MailFolders.Item.Messages.Item.ReportMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReportMessagePostRequestBody : 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 IsMessageMoveRequested property + public bool? IsMessageMoveRequested + { + get { return BackingStore?.Get("IsMessageMoveRequested"); } + set { BackingStore?.Set("IsMessageMoveRequested", value); } + } + /// The ReportAction property + public global::Microsoft.Graph.Models.ReportAction? ReportAction + { + get { return BackingStore?.Get("ReportAction"); } + set { BackingStore?.Set("ReportAction", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReportMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + IsMessageMoveRequested = false; + } + /// + /// 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.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "IsMessageMoveRequested", n => { IsMessageMoveRequested = n.GetBoolValue(); } }, + { "ReportAction", n => { ReportAction = 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.WriteBoolValue("IsMessageMoveRequested", IsMessageMoveRequested); + writer.WriteEnumValue("ReportAction", ReportAction); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs new file mode 100644 index 00000000000..a9e3241ce34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.MailFolders.Item.Messages.Item.ReportMessage +{ + /// + /// Provides operations to call the reportMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reportMessage", 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 ReportMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reportMessage", rawUrl) + { + } + /// + /// Invoke action reportMessage + /// + /// 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.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action reportMessage + /// + /// 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.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(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 ReportMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs index 97b5039a978..fefa0b33967 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -13,6 +13,7 @@ using Microsoft.Graph.Users.Item.Messages.Item.PermanentDelete; using Microsoft.Graph.Users.Item.Messages.Item.Reply; using Microsoft.Graph.Users.Item.Messages.Item.ReplyAll; +using Microsoft.Graph.Users.Item.Messages.Item.ReportMessage; using Microsoft.Graph.Users.Item.Messages.Item.Send; using Microsoft.Graph.Users.Item.Messages.Item.Value; using Microsoft.Kiota.Abstractions.Extensions; @@ -91,6 +92,11 @@ public partial class MessageItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the reportMessage method. + public global::Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder ReportMessage + { + get => new global::Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the send method. public global::Microsoft.Graph.Users.Item.Messages.Item.Send.SendRequestBuilder Send { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs new file mode 100644 index 00000000000..1db2560b153 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReportMessage/ReportMessagePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.Messages.Item.ReportMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReportMessagePostRequestBody : 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 IsMessageMoveRequested property + public bool? IsMessageMoveRequested + { + get { return BackingStore?.Get("IsMessageMoveRequested"); } + set { BackingStore?.Set("IsMessageMoveRequested", value); } + } + /// The ReportAction property + public global::Microsoft.Graph.Models.ReportAction? ReportAction + { + get { return BackingStore?.Get("ReportAction"); } + set { BackingStore?.Set("ReportAction", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ReportMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + IsMessageMoveRequested = false; + } + /// + /// 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.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "IsMessageMoveRequested", n => { IsMessageMoveRequested = n.GetBoolValue(); } }, + { "ReportAction", n => { ReportAction = 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.WriteBoolValue("IsMessageMoveRequested", IsMessageMoveRequested); + writer.WriteEnumValue("ReportAction", ReportAction); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs new file mode 100644 index 00000000000..3d997767aa2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReportMessage/ReportMessageRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Users.Item.Messages.Item.ReportMessage +{ + /// + /// Provides operations to call the reportMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/reportMessage", 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 ReportMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/reportMessage", rawUrl) + { + } + /// + /// Invoke action reportMessage + /// + /// 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.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action reportMessage + /// + /// 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.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody 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.Users.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder(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 ReportMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs new file mode 100644 index 00000000000..f78a4a4e75f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor +{ + /// + /// Provides operations to call the addSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.addSelfAsSponsor", 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 MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.addSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action addSelfAsSponsor + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action addSelfAsSponsor + /// + /// 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.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(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 MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs new file mode 100644 index 00000000000..aee95ba40bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.MicrosoftGraphIdentityGovernanceAttest +{ + /// + /// Provides operations to call the attest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.attest", 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 MicrosoftGraphIdentityGovernanceAttestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.attest", rawUrl) + { + } + /// + /// Invoke action attest + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action attest + /// + /// 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.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(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 MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs new file mode 100644 index 00000000000..b40d5fa2fcc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor +{ + /// + /// Provides operations to call the removeSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.removeSelfAsSponsor", 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 MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.removeSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// 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.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(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 MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 90078bcf05b..8c8e1a57496 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -45,6 +45,7 @@ using Microsoft.Graph.Users.Item.Insights; using Microsoft.Graph.Users.Item.JoinedTeams; using Microsoft.Graph.Users.Item.LicenseDetails; +using Microsoft.Graph.Users.Item.Lifecycle; using Microsoft.Graph.Users.Item.MailFolders; using Microsoft.Graph.Users.Item.MailboxSettings; using Microsoft.Graph.Users.Item.ManagedAppRegistrations; @@ -52,6 +53,9 @@ using Microsoft.Graph.Users.Item.Manager; using Microsoft.Graph.Users.Item.MemberOf; using Microsoft.Graph.Users.Item.Messages; +using Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor; +using Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest; +using Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor; using Microsoft.Graph.Users.Item.Notes; using Microsoft.Graph.Users.Item.Oauth2PermissionGrants; using Microsoft.Graph.Users.Item.OnPremisesSyncBehavior; @@ -311,6 +315,11 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.LicenseDetails.LicenseDetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Users.Item.Lifecycle.LifecycleRequestBuilder Lifecycle + { + get => new global::Microsoft.Graph.Users.Item.Lifecycle.LifecycleRequestBuilder(PathParameters, RequestAdapter); + } /// The mailboxSettings property public global::Microsoft.Graph.Users.Item.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings { @@ -346,6 +355,21 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the addSelfAsSponsor method. + public global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceAddSelfAsSponsor + { + get => new global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the attest method. + public global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder MicrosoftGraphIdentityGovernanceAttest + { + get => new global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the removeSelfAsSponsor method. + public global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor + { + get => new global::Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the notes property of the microsoft.graph.user entity. public global::Microsoft.Graph.Users.Item.Notes.NotesRequestBuilder Notes { diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index b86150fac4b..12307ebd2d0 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -84399,10 +84399,285 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsR Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DeletedItemContainer +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|lifecyclePolicies:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|workflows:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.WorkflowsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|versions:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::[LifecyclePolicyId1:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::[LifecyclePolicyId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -86575,6 +86850,321 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIde Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.WorkflowsInsightsSummary Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|versions:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::[LifecyclePolicyId1:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::[LifecyclePolicyId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::[LifecyclePolicyPriorityConfigurationId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder.lifecycleWorkflowsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder.lifecycleWorkflowsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -86588,6 +87178,8 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestB Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|deletedItems:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowsContainer Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|insights:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Insights.InsightsRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|lifecyclePolicies:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|lifecyclePolicyPriorityConfigurations:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowsContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowsContainer Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|settings:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Settings.SettingsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|taskDefinitions:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.TaskDefinitions.TaskDefinitionsRequestBuilder @@ -100858,6 +101450,67 @@ Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|PostAsyn Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.LicenseDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::[ComplianceIssueId:string]:global.Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|complianceIssues:global.Microsoft.Graph.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|effectiveGoverningPolicy:global.Microsoft.Graph.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Lifecycle.lifecycleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] @@ -100973,6 +101626,13 @@ Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::| Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -100985,6 +101645,7 @@ Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuild Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder @@ -101276,6 +101937,7 @@ Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemR Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reportMessage:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -101335,6 +101997,22 @@ Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.rep Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|IsMessageMoveRequested:bool? +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|ReportAction:global.Microsoft.Graph.Models.ReportAction? +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder.reportMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -101413,6 +102091,13 @@ Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|constructor Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -101425,6 +102110,7 @@ Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|constr Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Me.MailFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder +Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Me.MailFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Me.MailFolders.Item.Move.MoveRequestBuilder @@ -101716,6 +102402,7 @@ Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|pu Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reportMessage:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.SendRequestBuilder Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -101775,6 +102462,22 @@ Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilde Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|IsMessageMoveRequested:bool? +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|ReportAction:global.Microsoft.Graph.Models.ReportAction? +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder.reportMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.MailFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -102604,6 +103307,7 @@ Microsoft.Graph.Me.meRequestBuilder::|public|inferenceClassification:global.Micr Microsoft.Graph.Me.meRequestBuilder::|public|insights:global.Microsoft.Graph.Me.Insights.InsightsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|joinedTeams:global.Microsoft.Graph.Me.JoinedTeams.JoinedTeamsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|licenseDetails:global.Microsoft.Graph.Me.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|lifecycle:global.Microsoft.Graph.Me.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Me.MailboxSettings.MailboxSettingsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|mailFolders:global.Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|managedAppRegistrations:global.Microsoft.Graph.Me.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder @@ -102611,6 +103315,9 @@ Microsoft.Graph.Me.meRequestBuilder::|public|managedDevices:global.Microsoft.Gra Microsoft.Graph.Me.meRequestBuilder::|public|manager:global.Microsoft.Graph.Me.Manager.ManagerRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|memberOf:global.Microsoft.Graph.Me.MemberOf.MemberOfRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|messages:global.Microsoft.Graph.Me.Messages.MessagesRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|microsoftGraphIdentityGovernanceAddSelfAsSponsor:global.Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|microsoftGraphIdentityGovernanceAttest:global.Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|microsoftGraphIdentityGovernanceRemoveSelfAsSponsor:global.Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|notes:global.Microsoft.Graph.Me.Notes.NotesRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|oauth2PermissionGrants:global.Microsoft.Graph.Me.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|onenote:global.Microsoft.Graph.Me.Onenote.OnenoteRequestBuilder @@ -102887,6 +103594,7 @@ Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|PatchAsync(b Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Me.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Me.Messages.Item.Reply.ReplyRequestBuilder Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|reportMessage:global.Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Me.Messages.Item.Send.SendRequestBuilder Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -102946,6 +103654,22 @@ Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|constr Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|IsMessageMoveRequested:bool? +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|ReportAction:global.Microsoft.Graph.Models.ReportAction? +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessageRequestBuilder.reportMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -102989,6 +103713,27 @@ Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|PostAsync(body:globa Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Messages.MessagesRequestBuilder +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder.microsoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Me.Notes.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Notes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.Notes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -109167,6 +109912,10 @@ Microsoft.Graph.Models.agentIdentity::|public|AgentIdentityBlueprintId:string Microsoft.Graph.Models.agentIdentity::|public|constructor():void Microsoft.Graph.Models.agentIdentity::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.agentIdentity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.agentIdentity::|public|LifecyclePolicyComplianceState:global.Microsoft.Graph.Models.LifecyclePolicyComplianceState? +Microsoft.Graph.Models.agentIdentity::|public|LifecyclePolicyComplianceStateLastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.agentIdentity::|public|LifecyclePolicyComplianceStateReason:string +Microsoft.Graph.Models.agentIdentity::|public|LifecyclePolicyNonComplianceDisablementDateTime:DateTimeOffset? Microsoft.Graph.Models.agentIdentity::|public|ManagerApplications:List Microsoft.Graph.Models.agentIdentity::|public|OdataType:string Microsoft.Graph.Models.agentIdentity::|public|Serialize(writer:ISerializationWriter):void @@ -109183,6 +109932,10 @@ Microsoft.Graph.Models.agentIdentityBlueprint::|static|public|CreateFromDiscrimi Microsoft.Graph.Models.agentIdentityBlueprintPrincipal-->global.Microsoft.Graph.Models.ServicePrincipal Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|constructor():void Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyComplianceState:global.Microsoft.Graph.Models.LifecyclePolicyComplianceState? +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyComplianceStateLastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyComplianceStateReason:string +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyNonComplianceDisablementDateTime:DateTimeOffset? Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|ManagerApplications:List Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|OdataType:string Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|Serialize(writer:ISerializationWriter):void @@ -111477,9 +112230,18 @@ Microsoft.Graph.Models.authenticationFlowsPolicy::|public|SelfServiceSignUp:glob Microsoft.Graph.Models.authenticationFlowsPolicy::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.authenticationFlowsPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AuthenticationFlowsPolicy Microsoft.Graph.Models.authenticationFlow~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.authenticationInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.authenticationInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.authenticationInfo::|public|constructor():void +Microsoft.Graph.Models.authenticationInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.authenticationInfo::|public|OdataType:string +Microsoft.Graph.Models.authenticationInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.authenticationInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AuthenticationInfo +Microsoft.Graph.Models.authenticationInfo~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.authenticationMethod-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.authenticationMethod::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.authenticationMethod::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.authenticationMethod::|public|LastUsedDateTime:DateTimeOffset? Microsoft.Graph.Models.authenticationMethod::|public|OdataType:string Microsoft.Graph.Models.authenticationMethod::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.authenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AuthenticationMethod @@ -114312,6 +115074,15 @@ Microsoft.Graph.Models.clientCertificateAuthentication::|public|GetFieldDeserial Microsoft.Graph.Models.clientCertificateAuthentication::|public|OdataType:string Microsoft.Graph.Models.clientCertificateAuthentication::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.clientCertificateAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClientCertificateAuthentication +Microsoft.Graph.Models.clientCredentialAuthenticationInfo-->global.Microsoft.Graph.Models.AuthenticationInfo +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|public|AccessTokenUrl:string +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|public|ClientId:string +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|public|constructor():void +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|public|OdataType:string +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|public|SecretName:string +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.clientCredentialAuthenticationInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClientCredentialAuthenticationInfo Microsoft.Graph.Models.clonableTeamParts::0000-apps Microsoft.Graph.Models.clonableTeamParts::0001-tabs Microsoft.Graph.Models.clonableTeamParts::0002-settings @@ -115701,7 +116472,8 @@ Microsoft.Graph.Models.connectionStatus::0003-blocked Microsoft.Graph.Models.connectionStatus::0004-failed Microsoft.Graph.Models.connectionStatus::0005-unknownFutureValue Microsoft.Graph.Models.connectorType::0000-sapIag -Microsoft.Graph.Models.connectorType::0001-unknownFutureValue +Microsoft.Graph.Models.connectorType::0001-sapAc +Microsoft.Graph.Models.connectorType::0002-unknownFutureValue Microsoft.Graph.Models.contact-->global.Microsoft.Graph.Models.OutlookItem Microsoft.Graph.Models.contact::|public|AssistantName:string Microsoft.Graph.Models.contact::|public|Birthday:DateTimeOffset? @@ -116045,6 +116817,7 @@ Microsoft.Graph.Models.copilotPackage::|public|ManifestId:string Microsoft.Graph.Models.copilotPackage::|public|ManifestVersion:string Microsoft.Graph.Models.copilotPackage::|public|OdataType:string Microsoft.Graph.Models.copilotPackage::|public|OwnerId:string +Microsoft.Graph.Models.copilotPackage::|public|Owners:List Microsoft.Graph.Models.copilotPackage::|public|Platform:string Microsoft.Graph.Models.copilotPackage::|public|Publisher:string Microsoft.Graph.Models.copilotPackage::|public|RequestStatus:global.Microsoft.Graph.Models.CopilotPackageRequestStatus? @@ -117236,6 +118009,7 @@ Microsoft.Graph.Models.deletedChatCollectionResponse::|public|Value:Listglobal.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.deletedItemContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.deletedItemContainer::|public|LifecyclePolicies:List Microsoft.Graph.Models.deletedItemContainer::|public|OdataType:string Microsoft.Graph.Models.deletedItemContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.deletedItemContainer::|public|Workflows:List @@ -121204,6 +121978,18 @@ Microsoft.Graph.Models.externalOriginResourceConnectorCollectionResponse::|publi Microsoft.Graph.Models.externalOriginResourceConnectorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.externalOriginResourceConnectorCollectionResponse::|public|Value:List Microsoft.Graph.Models.externalOriginResourceConnectorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExternalOriginResourceConnectorCollectionResponse +Microsoft.Graph.Models.externalSapAcConnectionInfo-->global.Microsoft.Graph.Models.ConnectionInfo +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|AuthenticationInfo:global.Microsoft.Graph.Models.AuthenticationInfo +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|constructor():void +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|KeyVaultName:string +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|OdataType:string +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|ResourceGroup:string +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|SubscriptionId:string +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|SystemId:string +Microsoft.Graph.Models.externalSapAcConnectionInfo::|public|UserIdentifier:string +Microsoft.Graph.Models.externalSapAcConnectionInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExternalSapAcConnectionInfo Microsoft.Graph.Models.externalSponsors-->global.Microsoft.Graph.Models.SubjectSet Microsoft.Graph.Models.externalSponsors::|public|constructor():void Microsoft.Graph.Models.externalSponsors::|public|GetFieldDeserializers():IDictionary> @@ -121952,6 +122738,7 @@ Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|static Microsoft.Graph.Models.granularRestoreArtifactBase-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.granularRestoreArtifactBase::|public|BrowseSessionId:string Microsoft.Graph.Models.granularRestoreArtifactBase::|public|CompletionDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|DestinationType:global.Microsoft.Graph.Models.DestinationType? Microsoft.Graph.Models.granularRestoreArtifactBase::|public|Error:global.Microsoft.Graph.Models.PublicError Microsoft.Graph.Models.granularRestoreArtifactBase::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.granularRestoreArtifactBase::|public|OdataType:string @@ -122334,6 +123121,12 @@ Microsoft.Graph.Models.identityCustomUserFlowAttribute::|public|GetFieldDeserial Microsoft.Graph.Models.identityCustomUserFlowAttribute::|public|OdataType:string Microsoft.Graph.Models.identityCustomUserFlowAttribute::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.identityCustomUserFlowAttribute::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityCustomUserFlowAttribute +Microsoft.Graph.Models.IdentityGovernance.accessPackageAssignmentRequiredRule-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule Microsoft.Graph.Models.IdentityGovernance.activateGroupScope-->global.Microsoft.Graph.Models.IdentityGovernance.ActivationScope Microsoft.Graph.Models.IdentityGovernance.activateGroupScope::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.activateGroupScope::|public|GetFieldDeserializers():IDictionary> @@ -122379,6 +123172,48 @@ Microsoft.Graph.Models.IdentityGovernance.activationTaskScopeType::0002-unknownF Microsoft.Graph.Models.IdentityGovernance.activationUserScopeType::0000-allUsers Microsoft.Graph.Models.IdentityGovernance.activationUserScopeType::0001-failedUsers Microsoft.Graph.Models.IdentityGovernance.activationUserScopeType::0002-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.agentBuilderPlatforms::0000-microsoftCopilotStudio +Microsoft.Graph.Models.IdentityGovernance.agentBuilderPlatforms::0001-foundry +Microsoft.Graph.Models.IdentityGovernance.agentBuilderPlatforms::0002-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecycle-->global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecycle::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecycle::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecycle::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecycle::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecycle::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecycle +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecyclePolicy-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AgentIdentityLifecyclePolicy +Microsoft.Graph.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet-->global.Microsoft.Graph.Models.SubjectSet +Microsoft.Graph.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|ExcludedAgentBuilderPlatforms:global.Microsoft.Graph.Models.IdentityGovernance.AgentBuilderPlatforms? +Microsoft.Graph.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet +Microsoft.Graph.Models.IdentityGovernance.allExcludingGroupsSubjectSet-->global.Microsoft.Graph.Models.SubjectSet +Microsoft.Graph.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|ExcludedGroups:List +Microsoft.Graph.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AllExcludingGroupsSubjectSet +Microsoft.Graph.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet-->global.Microsoft.Graph.Models.SubjectSet +Microsoft.Graph.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|ExcludedObjects:List +Microsoft.Graph.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet +Microsoft.Graph.Models.IdentityGovernance.attestationComplianceIssue-->global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Models.IdentityGovernance.attestationComplianceIssue::|public|AttestationBlockReasons:List +Microsoft.Graph.Models.IdentityGovernance.attestationComplianceIssue::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.attestationComplianceIssue::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.attestationComplianceIssue::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.attestationComplianceIssue::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AttestationComplianceIssue Microsoft.Graph.Models.IdentityGovernance.attributeChangeTrigger-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger Microsoft.Graph.Models.IdentityGovernance.attributeChangeTrigger::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.attributeChangeTrigger::|public|GetFieldDeserializers():IDictionary> @@ -122422,6 +123257,25 @@ Microsoft.Graph.Models.IdentityGovernance.cancelScope::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.cancelScope::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.cancelScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.CancelScope Microsoft.Graph.Models.IdentityGovernance.cancelScope~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.complianceIssue-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|public|Description:string +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|public|GoverningPolicyReferenceId:string +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|public|IssueCode:string +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|public|RuleType:string +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.complianceIssue::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Models.IdentityGovernance.complianceIssueCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.IdentityGovernance.complianceIssueCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.complianceIssueCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.complianceIssueCollectionResponse::|public|Value:List +Microsoft.Graph.Models.IdentityGovernance.complianceIssueCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.Models.IdentityGovernance.complianceState::0000-compliant +Microsoft.Graph.Models.IdentityGovernance.complianceState::0001-warning +Microsoft.Graph.Models.IdentityGovernance.complianceState::0002-warningNotify +Microsoft.Graph.Models.IdentityGovernance.complianceState::0003-nonCompliant +Microsoft.Graph.Models.IdentityGovernance.complianceState::0004-unknownFutureValue Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition-->global.Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|public|GetFieldDeserializers():IDictionary> @@ -122487,6 +123341,12 @@ Microsoft.Graph.Models.IdentityGovernance.customTaskExtensionResponseData::|publ Microsoft.Graph.Models.IdentityGovernance.customTaskExtensionResponseData::|public|StatusReasons:List Microsoft.Graph.Models.IdentityGovernance.customTaskExtensionResponseData::|public|TargetSubject:global.Microsoft.Graph.Models.IdentityGovernance.WorkflowSubject Microsoft.Graph.Models.IdentityGovernance.customTaskExtensionResponseData::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.CustomTaskExtensionResponseData +Microsoft.Graph.Models.IdentityGovernance.deleteOnlyEnforcementAction-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.deleteOnlyEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.DeleteOnlyEnforcementAction Microsoft.Graph.Models.IdentityGovernance.directoryObjectWorkflowSubject-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowSubject Microsoft.Graph.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|DirectoryObject:global.Microsoft.Graph.Models.DirectoryObject @@ -122494,6 +123354,19 @@ Microsoft.Graph.Models.IdentityGovernance.directoryObjectWorkflowSubject::|publi Microsoft.Graph.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.directoryObjectWorkflowSubject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.DirectoryObjectWorkflowSubject +Microsoft.Graph.Models.IdentityGovernance.disableOnlyEnforcementAction-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.disableOnlyEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.DisableOnlyEnforcementAction +Microsoft.Graph.Models.IdentityGovernance.disableThenDeleteEnforcementAction-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|DeletionGracePeriodInDays:int? +Microsoft.Graph.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.DisableThenDeleteEnforcementAction Microsoft.Graph.Models.IdentityGovernance.groupBasedSubjectSet-->global.Microsoft.Graph.Models.SubjectSet Microsoft.Graph.Models.IdentityGovernance.groupBasedSubjectSet::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.groupBasedSubjectSet::|public|GetFieldDeserializers():IDictionary> @@ -122501,6 +123374,12 @@ Microsoft.Graph.Models.IdentityGovernance.groupBasedSubjectSet::|public|Groups:L Microsoft.Graph.Models.IdentityGovernance.groupBasedSubjectSet::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.groupBasedSubjectSet::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.groupBasedSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.GroupBasedSubjectSet +Microsoft.Graph.Models.IdentityGovernance.guestLifecyclePolicy-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Models.IdentityGovernance.guestLifecyclePolicy::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.guestLifecyclePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.guestLifecyclePolicy::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.guestLifecyclePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.guestLifecyclePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.GuestLifecyclePolicy Microsoft.Graph.Models.IdentityGovernance.guestSponsorTrigger-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger Microsoft.Graph.Models.IdentityGovernance.guestSponsorTrigger::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.guestSponsorTrigger::|public|GetFieldDeserializers():IDictionary> @@ -122523,11 +123402,33 @@ Microsoft.Graph.Models.IdentityGovernance.identityGovernance::|public|Serialize( Microsoft.Graph.Models.IdentityGovernance.identityGovernance::|public|TermsOfUse:global.Microsoft.Graph.Models.TermsOfUseContainer Microsoft.Graph.Models.IdentityGovernance.identityGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.IdentityGovernance Microsoft.Graph.Models.IdentityGovernance.identityGovernance~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle::|public|ComplianceIssues:List +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle::|public|EffectiveGoverningPolicy:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle::|public|LastAttestationDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.identityLifecycle::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Models.IdentityGovernance.inactivityRule-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Models.IdentityGovernance.inactivityRule::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.inactivityRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.inactivityRule::|public|LastActivityThresholdInDays:int? +Microsoft.Graph.Models.IdentityGovernance.inactivityRule::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.inactivityRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.inactivityRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.InactivityRule Microsoft.Graph.Models.IdentityGovernance.insights-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.IdentityGovernance.insights::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.IdentityGovernance.insights::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.insights::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.insights::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.Insights +Microsoft.Graph.Models.IdentityGovernance.invitationRedemptionRule-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Models.IdentityGovernance.invitationRedemptionRule::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.invitationRedemptionRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.invitationRedemptionRule::|public|InvitationRedemptionThresholdInDays:int? +Microsoft.Graph.Models.IdentityGovernance.invitationRedemptionRule::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.invitationRedemptionRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.invitationRedemptionRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.InvitationRedemptionRule Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|EmailSettings:global.Microsoft.Graph.Models.EmailSettings Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|GetFieldDeserializers():IDictionary> @@ -122536,6 +123437,228 @@ Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|Q Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|WorkflowScheduleIntervalInHours:int? Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecycleManagementSettings +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|CreatedBy:global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|Description:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|DisplayName:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|EnforcementAction:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|GracePeriodInDays:int? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|IsEnabled:bool? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|LastModifiedBy:global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|NotificationSchedule:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNotificationSettings +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|PolicySource:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySource? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|Report:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|Rules:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|Scope:global.Microsoft.Graph.Models.SubjectSet +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|VersionNumber:int? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|public|Versions:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|public|Value:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0000-notEvaluated +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0001-compliant +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0002-nonCompliant +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0003-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0000-none +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0001-warningStateEnabled +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0002-nonComplianceNotificationSent +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0003-firstNotificationSent +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0004-secondNotificationSent +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0005-finalNotificationSent +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0006-disabled +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0007-deleted +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0008-complianceRestored +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0009-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0000-notRequired +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0001-notStarted +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0002-processing +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0003-waiting +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0004-actionDue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0005-complete +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0006-unknown +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0007-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0000-nonComplianceNotification +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0001-firstNotification +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0002-secondNotification +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0003-finalNotification +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0004-disable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0005-disableNotification +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0006-delete +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0007-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|AdditionalFallbackRecipients:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|OffsetsAfterNonComplianceInDays:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNotificationSettings +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyNotificationSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|OrderedPolicyIds:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|SubjectType:global.Microsoft.Graph.Models.IdentityGovernance.SubjectType? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|public|Value:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|Id:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|public|Version:int? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReference +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReference~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRelationship::0000-effective +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRelationship::0001-inScopeButIneffective +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRelationship::0002-pending +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRelationship::0003-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|public|PolicyVersion:int? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|public|ScopeProcessing:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessing +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|public|Subjects:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|public|SubjectsInScopeCount:int? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRule-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRule::|public|GracePeriodInDays:int? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRule::|public|IsEnabled:bool? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRule::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|public|Value:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|CurrentStartedDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|CurrentStatus:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingStatus? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|LastSuccessfulProcessingDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|LatestAttempt:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessing +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|CompletedDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|Error:global.Microsoft.Graph.Models.PublicError +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|StartedDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|Status:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttemptStatus? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0000-notStarted +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0001-evaluating +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0002-processing +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0003-completed +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0004-failed +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0005-timedOut +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0006-invalidScope +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0007-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0000-idle +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0001-notStarted +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0002-evaluating +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0003-processing +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0004-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyScopeProcessing~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySource::0000-userCreated +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySource::0001-systemDefault +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySource::0002-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|EvaluatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|Status:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyComplianceStatus? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectCompliance +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectCompliance~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|IsLocked:bool? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|IsTerminal:bool? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|LastAction:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementActionState? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|LastActionDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|NextAction:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyNextEnforcementAction? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|NextActionDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|Status:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyEnforcementStatus? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|Id:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReference~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Compliance:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectCompliance +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|EffectivePolicy:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyReference +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Enforcement:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Relationship:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRelationship? +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Subject:global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|public|Value:List +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference Microsoft.Graph.Models.IdentityGovernance.lifecycleTaskCategory::0000-joiner Microsoft.Graph.Models.IdentityGovernance.lifecycleTaskCategory::0001-leaver Microsoft.Graph.Models.IdentityGovernance.lifecycleTaskCategory::0002-unknownFutureValue @@ -122560,6 +123683,8 @@ Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|C Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|DeletedItems:global.Microsoft.Graph.Models.DeletedItemContainer Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|Insights:global.Microsoft.Graph.Models.IdentityGovernance.Insights +Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|LifecyclePolicies:List +Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|LifecyclePolicyPriorityConfigurations:List Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|Settings:global.Microsoft.Graph.Models.IdentityGovernance.LifecycleManagementSettings @@ -122626,6 +123751,13 @@ Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|p Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|Percentage:int? Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.PercentageBasedQuarantineCondition +Microsoft.Graph.Models.IdentityGovernance.periodicAttestationRule-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Models.IdentityGovernance.periodicAttestationRule::|public|AttestationIntervalInDays:int? +Microsoft.Graph.Models.IdentityGovernance.periodicAttestationRule::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.periodicAttestationRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.periodicAttestationRule::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.periodicAttestationRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.periodicAttestationRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.PeriodicAttestationRule Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|AdditionalData:IDictionary Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|BackingStore:IBackingStore Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|constructor():void @@ -122734,6 +123866,27 @@ Microsoft.Graph.Models.IdentityGovernance.runSummary::|public|TotalTasks:int? Microsoft.Graph.Models.IdentityGovernance.runSummary::|public|TotalUsers:int? Microsoft.Graph.Models.IdentityGovernance.runSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.RunSummary Microsoft.Graph.Models.IdentityGovernance.runSummary~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet-->global.Microsoft.Graph.Models.SubjectSet +Microsoft.Graph.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|IncludedAgentBuilderPlatforms:global.Microsoft.Graph.Models.IdentityGovernance.AgentBuilderPlatforms? +Microsoft.Graph.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.selectedAgentBuilderPlatformsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.SelectedAgentBuilderPlatformsSubjectSet +Microsoft.Graph.Models.IdentityGovernance.selectedObjectsSubjectSet-->global.Microsoft.Graph.Models.SubjectSet +Microsoft.Graph.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|InScopeObjects:List +Microsoft.Graph.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.selectedObjectsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.SelectedObjectsSubjectSet +Microsoft.Graph.Models.IdentityGovernance.sponsorPresenceRule-->global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Models.IdentityGovernance.sponsorPresenceRule::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.sponsorPresenceRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.sponsorPresenceRule::|public|MinimumSponsorCount:int? +Microsoft.Graph.Models.IdentityGovernance.sponsorPresenceRule::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.sponsorPresenceRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.sponsorPresenceRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.SponsorPresenceRule Microsoft.Graph.Models.IdentityGovernance.subjectProcessingResult-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.IdentityGovernance.subjectProcessingResult::|public|CompletedDateTime:DateTimeOffset? Microsoft.Graph.Models.IdentityGovernance.subjectProcessingResult::|public|FailedTasksCount:int? @@ -122771,8 +123924,9 @@ Microsoft.Graph.Models.IdentityGovernance.subjectSummary::|public|TotalTasks:int Microsoft.Graph.Models.IdentityGovernance.subjectSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.SubjectSummary Microsoft.Graph.Models.IdentityGovernance.subjectSummary~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.IdentityGovernance.subjectType::0000-user -Microsoft.Graph.Models.IdentityGovernance.subjectType::0001-unknownFutureValue -Microsoft.Graph.Models.IdentityGovernance.subjectType::0002-provisioningObject +Microsoft.Graph.Models.IdentityGovernance.subjectType::0001-agentIdentity +Microsoft.Graph.Models.IdentityGovernance.subjectType::0002-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.subjectType::0003-provisioningObject Microsoft.Graph.Models.IdentityGovernance.taskCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.IdentityGovernance.taskCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.IdentityGovernance.taskCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -122928,6 +124082,13 @@ Microsoft.Graph.Models.IdentityGovernance.triggerAttribute::|public|OdataType:st Microsoft.Graph.Models.IdentityGovernance.triggerAttribute::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.triggerAttribute::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.TriggerAttribute Microsoft.Graph.Models.IdentityGovernance.triggerAttribute~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.userIdentityLifecycle-->global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Models.IdentityGovernance.userIdentityLifecycle::|public|ComplianceState:global.Microsoft.Graph.Models.IdentityGovernance.ComplianceState? +Microsoft.Graph.Models.IdentityGovernance.userIdentityLifecycle::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.userIdentityLifecycle::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.userIdentityLifecycle::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.userIdentityLifecycle::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.userIdentityLifecycle::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.userInactivityTrigger::|public|GetFieldDeserializers():IDictionary> @@ -124616,6 +125777,11 @@ Microsoft.Graph.Models.licenseUnitsDetail::|public|Suspended:int? Microsoft.Graph.Models.licenseUnitsDetail::|public|Warning:int? Microsoft.Graph.Models.licenseUnitsDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.LicenseUnitsDetail Microsoft.Graph.Models.licenseUnitsDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.lifecyclePolicyComplianceState::0000-compliant +Microsoft.Graph.Models.lifecyclePolicyComplianceState::0001-warning +Microsoft.Graph.Models.lifecyclePolicyComplianceState::0002-warningNotify +Microsoft.Graph.Models.lifecyclePolicyComplianceState::0003-nonCompliant +Microsoft.Graph.Models.lifecyclePolicyComplianceState::0004-unknownFutureValue Microsoft.Graph.Models.linkedResource-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.linkedResource::|public|ApplicationName:string Microsoft.Graph.Models.linkedResource::|public|DisplayName:string @@ -129937,6 +131103,7 @@ Microsoft.Graph.Models.print::|public|GetFieldDeserializers():IDictionary Microsoft.Graph.Models.print::|public|Printers:List +Microsoft.Graph.Models.print::|public|PullPrintPrinters:List Microsoft.Graph.Models.print::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.print::|public|Services:List Microsoft.Graph.Models.print::|public|Settings:global.Microsoft.Graph.Models.PrintSettings @@ -130012,6 +131179,8 @@ Microsoft.Graph.Models.printer::|public|HasPhysicalDevice:bool? Microsoft.Graph.Models.printer::|public|IsShared:bool? Microsoft.Graph.Models.printer::|public|LastSeenDateTime:DateTimeOffset? Microsoft.Graph.Models.printer::|public|OdataType:string +Microsoft.Graph.Models.printer::|public|PrinterProvidedReleaseSupport:global.Microsoft.Graph.Models.PrinterProvidedReleaseSupport +Microsoft.Graph.Models.printer::|public|PullPrintPrinters:List Microsoft.Graph.Models.printer::|public|RegisteredDateTime:DateTimeOffset? Microsoft.Graph.Models.printer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.printer::|public|Shares:List @@ -130970,6 +132139,16 @@ Microsoft.Graph.Models.printerProcessingStateDetail::0822-wrapperUnderTemperatur Microsoft.Graph.Models.printerProcessingStateDetail::0823-wrapperUnrecoverableFailure Microsoft.Graph.Models.printerProcessingStateDetail::0824-wrapperUnrecoverableStorageError Microsoft.Graph.Models.printerProcessingStateDetail::0825-wrapperWarmingUp +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|constructor():void +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|IsPullPrintEnabled:bool? +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|JobReleaseMethods:global.Microsoft.Graph.Models.PrintJobReleaseMethods? +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|OdataType:string +Microsoft.Graph.Models.printerProvidedReleaseSupport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.printerProvidedReleaseSupport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PrinterProvidedReleaseSupport +Microsoft.Graph.Models.printerProvidedReleaseSupport~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.printerShare-->global.Microsoft.Graph.Models.PrinterBase Microsoft.Graph.Models.printerShare::|public|AllowAllUsers:bool? Microsoft.Graph.Models.printerShare::|public|AllowedGroups:List @@ -130977,8 +132156,10 @@ Microsoft.Graph.Models.printerShare::|public|AllowedUsers:List> +Microsoft.Graph.Models.printerShare::|public|HoldJobsForSecureRelease:bool? Microsoft.Graph.Models.printerShare::|public|OdataType:string Microsoft.Graph.Models.printerShare::|public|Printer:global.Microsoft.Graph.Models.Printer +Microsoft.Graph.Models.printerShare::|public|PullPrintPrinter:global.Microsoft.Graph.Models.PullPrintPrinter Microsoft.Graph.Models.printerShare::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.printerShare::|public|ViewPoint:global.Microsoft.Graph.Models.PrinterShareViewpoint Microsoft.Graph.Models.printerShare::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PrinterShare @@ -131087,6 +132268,7 @@ Microsoft.Graph.Models.printJob::|public|IsFetchable:bool? Microsoft.Graph.Models.printJob::|public|OdataType:string Microsoft.Graph.Models.printJob::|public|RedirectedFrom:string Microsoft.Graph.Models.printJob::|public|RedirectedTo:string +Microsoft.Graph.Models.printJob::|public|ReleasedDateTime:DateTimeOffset? Microsoft.Graph.Models.printJob::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.printJob::|public|Status:global.Microsoft.Graph.Models.PrintJobStatus Microsoft.Graph.Models.printJob::|public|Tasks:List @@ -131132,6 +132314,12 @@ Microsoft.Graph.Models.printJobProcessingState::0005-completed Microsoft.Graph.Models.printJobProcessingState::0006-canceled Microsoft.Graph.Models.printJobProcessingState::0007-aborted Microsoft.Graph.Models.printJobProcessingState::0008-unknownFutureValue +Microsoft.Graph.Models.printJobReleaseMethods::0000-none +Microsoft.Graph.Models.printJobReleaseMethods::0001-unknown +Microsoft.Graph.Models.printJobReleaseMethods::0002-badge +Microsoft.Graph.Models.printJobReleaseMethods::0003-biometrics +Microsoft.Graph.Models.printJobReleaseMethods::0004-usernamePassword +Microsoft.Graph.Models.printJobReleaseMethods::0005-unknownFutureValue Microsoft.Graph.Models.printJobStateDetail::0000-uploadPending Microsoft.Graph.Models.printJobStateDetail::0001-transforming Microsoft.Graph.Models.printJobStateDetail::0002-completedSuccessfully @@ -132073,6 +133261,28 @@ Microsoft.Graph.Models.publicKeyInfrastructureRoot::|public|GetFieldDeserializer Microsoft.Graph.Models.publicKeyInfrastructureRoot::|public|OdataType:string Microsoft.Graph.Models.publicKeyInfrastructureRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.publicKeyInfrastructureRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PublicKeyInfrastructureRoot +Microsoft.Graph.Models.pullPrintPrinter-->global.Microsoft.Graph.Models.PrinterBase +Microsoft.Graph.Models.pullPrintPrinter::|public|constructor():void +Microsoft.Graph.Models.pullPrintPrinter::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.pullPrintPrinter::|public|IncludeAllPrinters:bool? +Microsoft.Graph.Models.pullPrintPrinter::|public|OdataType:string +Microsoft.Graph.Models.pullPrintPrinter::|public|Printers:List +Microsoft.Graph.Models.pullPrintPrinter::|public|RegisteredDateTime:DateTimeOffset? +Microsoft.Graph.Models.pullPrintPrinter::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.pullPrintPrinter::|public|Shares:List +Microsoft.Graph.Models.pullPrintPrinter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PullPrintPrinter +Microsoft.Graph.Models.pullPrintPrinterCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.pullPrintPrinterCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.pullPrintPrinterCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.pullPrintPrinterCollectionResponse::|public|Value:List +Microsoft.Graph.Models.pullPrintPrinterCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PullPrintPrinterCollectionResponse +Microsoft.Graph.Models.pullPrintPrinterCreateOperation-->global.Microsoft.Graph.Models.PrintOperation +Microsoft.Graph.Models.pullPrintPrinterCreateOperation::|public|constructor():void +Microsoft.Graph.Models.pullPrintPrinterCreateOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.pullPrintPrinterCreateOperation::|public|OdataType:string +Microsoft.Graph.Models.pullPrintPrinterCreateOperation::|public|PullPrintPrinter:global.Microsoft.Graph.Models.PullPrintPrinter +Microsoft.Graph.Models.pullPrintPrinterCreateOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.pullPrintPrinterCreateOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PullPrintPrinterCreateOperation Microsoft.Graph.Models.qrCode-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.qrCode::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.qrCode::|public|ExpireDateTime:DateTimeOffset? @@ -132815,6 +134025,11 @@ Microsoft.Graph.Models.report::|public|GetFieldDeserializers():IDictionary Microsoft.Graph.Models.reportRoot::|public|AuthenticationMethods:global.Microsoft.Graph.Models.AuthenticationMethodsRoot Microsoft.Graph.Models.reportRoot::|public|BackingStore:IBackingStore @@ -141291,6 +142506,7 @@ Microsoft.Graph.Models.servicePrincipal::|public|HomeRealmDiscoveryPolicies:List Microsoft.Graph.Models.servicePrincipal::|public|Info:global.Microsoft.Graph.Models.InformationalUrl Microsoft.Graph.Models.servicePrincipal::|public|IsDisabled:bool? Microsoft.Graph.Models.servicePrincipal::|public|KeyCredentials:List +Microsoft.Graph.Models.servicePrincipal::|public|Lifecycle:global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle Microsoft.Graph.Models.servicePrincipal::|public|LoginUrl:string Microsoft.Graph.Models.servicePrincipal::|public|LogoutUrl:string Microsoft.Graph.Models.servicePrincipal::|public|MemberOf:List @@ -145771,6 +146987,7 @@ Microsoft.Graph.Models.user::|public|LastPasswordChangeDateTime:DateTimeOffset? Microsoft.Graph.Models.user::|public|LegalAgeGroupClassification:string Microsoft.Graph.Models.user::|public|LicenseAssignmentStates:List Microsoft.Graph.Models.user::|public|LicenseDetails:List +Microsoft.Graph.Models.user::|public|Lifecycle:global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle Microsoft.Graph.Models.user::|public|Mail:string Microsoft.Graph.Models.user::|public|MailboxSettings:global.Microsoft.Graph.Models.MailboxSettings Microsoft.Graph.Models.user::|public|MailFolders:List @@ -154468,9 +155685,49 @@ Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|constructor Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|Count:global.Microsoft.Graph.Print.Printers.Item.Jobs.Count.CountRequestBuilder Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJobCollectionResponse Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|release:global.Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleaseRequestBuilder +Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|releaseWait:global.Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Printers.Item.Jobs.jobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Printers.Item.Jobs.JobsRequestBuilder +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody::|public|constructor():void +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody::|public|JobId:string +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releasePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releaseRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releaseRequestBuilder.releaseRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releaseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releaseRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releaseRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releaseRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleasePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Printers.Item.Jobs.Release.releaseRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Printers.Item.Jobs.Release.ReleaseRequestBuilder +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|Value:List +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|GetAsReleaseWaitGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitResponse +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitResponse-->global.Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.releaseWaitResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.Printers.Item.Jobs.ReleaseWait.ReleaseWaitResponse Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder.PrinterItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder.PrinterItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -154484,6 +155741,7 @@ Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|DeleteAsy Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Printer Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|jobs:global.Microsoft.Graph.Print.Printers.Item.Jobs.JobsRequestBuilder Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Printer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Printer +Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|pullPrintPrinters:global.Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.PullPrintPrintersRequestBuilder Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|restoreFactoryDefaults:global.Microsoft.Graph.Print.Printers.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|shares:global.Microsoft.Graph.Print.Printers.Item.Shares.SharesRequestBuilder Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|taskTriggers:global.Microsoft.Graph.Print.Printers.Item.TaskTriggers.TaskTriggersRequestBuilder @@ -154491,6 +155749,41 @@ Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|ToDeleteR Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Printer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Printers.Item.PrinterItemRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PullPrintPrinter +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder::[PullPrintPrinterId:string]:global.Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|Count:global.Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.Count.CountRequestBuilder +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PullPrintPrinterCollectionResponse +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Printers.Item.PullPrintPrinters.PullPrintPrintersRequestBuilder Microsoft.Graph.Print.Printers.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Print.Printers.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder.restoreFactoryDefaultsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Print.Printers.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -154620,12 +155913,435 @@ Microsoft.Graph.Print.printRequestBuilder::|public|GetAsync(requestConfiguration Microsoft.Graph.Print.printRequestBuilder::|public|operations:global.Microsoft.Graph.Print.Operations.OperationsRequestBuilder Microsoft.Graph.Print.printRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Print; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Print Microsoft.Graph.Print.printRequestBuilder::|public|printers:global.Microsoft.Graph.Print.Printers.PrintersRequestBuilder +Microsoft.Graph.Print.printRequestBuilder::|public|pullPrintPrinters:global.Microsoft.Graph.Print.PullPrintPrinters.PullPrintPrintersRequestBuilder Microsoft.Graph.Print.printRequestBuilder::|public|services:global.Microsoft.Graph.Print.Services.ServicesRequestBuilder Microsoft.Graph.Print.printRequestBuilder::|public|shares:global.Microsoft.Graph.Print.Shares.SharesRequestBuilder Microsoft.Graph.Print.printRequestBuilder::|public|taskDefinitions:global.Microsoft.Graph.Print.TaskDefinitions.TaskDefinitionsRequestBuilder Microsoft.Graph.Print.printRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.printRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Print; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.printRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PrintRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody::|public|constructor():void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody::|public|Reason:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortRequestBuilder.abortRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.abortRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.cancelRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.cancelRequestBuilder.cancelRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.cancelRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.cancelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.cancelRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.cancelRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.cancelRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.CancelRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder.documentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::[PrintDocumentId:string]:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|Count:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintDocumentCollectionResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PrintDocument; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintDocument +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PrintDocument; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.documentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.DocumentsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody::|public|constructor():void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody::|public|Properties:global.Microsoft.Graph.Models.PrintDocumentUploadProperties +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionRequestBuilder.createUploadSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UploadSession +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.createUploadSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder.PrintDocumentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder.PrintDocumentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder.PrintDocumentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder.PrintDocumentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder.PrintDocumentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|createUploadSession:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.CreateUploadSession.CreateUploadSessionRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintDocument +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PrintDocument; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintDocument +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PrintDocument; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.PrintDocumentItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder.PrintJobItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder.PrintJobItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder.PrintJobItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder.PrintJobItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder.PrintJobItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|abort:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Abort.AbortRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|cancel:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Cancel.CancelRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|documents:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Documents.DocumentsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|redirect:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|start:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.StartRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.TasksRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|public|Configuration:global.Microsoft.Graph.Models.PrintJobConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|public|constructor():void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|public|DestinationPrinterId:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectRequestBuilder.redirectRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.redirectRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Redirect.RedirectRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.startRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.startRequestBuilder.startRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.startRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.startRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.startRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJobStatus +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.startRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.startRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Start.StartRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder.definitionRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder.definitionRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder.definitionRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintTaskDefinition +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.definitionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.DefinitionRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder.PrintTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder.PrintTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder.PrintTaskItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder.PrintTaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder.PrintTaskItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|definition:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Definition.DefinitionRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintTask +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PrintTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintTask +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PrintTask; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|trigger:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.TriggerRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder.triggerRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder.triggerRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder.triggerRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintTaskTrigger +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.triggerRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.Trigger.TriggerRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::[PrintTaskId:string]:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Item.PrintTaskItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|Count:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintTaskCollectionResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PrintTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintTask +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PrintTask; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.Tasks.TasksRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder.jobsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::[PrintJobId:string]:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Item.PrintJobItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|Count:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJobCollectionResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|release:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|releaseWait:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.jobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.JobsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody::|public|constructor():void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody::|public|JobId:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releasePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releaseRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releaseRequestBuilder.releaseRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releaseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releaseRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releaseRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releaseRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleasePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.releaseRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.Release.ReleaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|Value:List +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|GetAsReleaseWaitGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitResponse-->global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.releaseWaitResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.ReleaseWait.ReleaseWaitResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsGetResponse::|public|Value:List +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsGetResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder.memberSuggestionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder::|public|GetAsMemberSuggestionsGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsGetResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsResponse-->global.Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsGetResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.memberSuggestionsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder.PrinterItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder.PrinterItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder.PrinterItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Printer +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder.printersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder::[PrinterId:string]:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Item.PrinterItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder::|public|Count:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrinterCollectionResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.printersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.PrintersRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder.PullPrintPrinterItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PullPrintPrinter +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|jobs:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Jobs.JobsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|memberSuggestions:global.Microsoft.Graph.Print.PullPrintPrinters.Item.MemberSuggestions.MemberSuggestionsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PullPrintPrinter; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PullPrintPrinter +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|printers:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Printers.PrintersRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|restoreFactoryDefaults:global.Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|shares:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.SharesRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PullPrintPrinter; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder.restoreFactoryDefaultsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.restoreFactoryDefaultsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.RestoreFactoryDefaults.RestoreFactoryDefaultsRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder.PrinterShareItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder.PrinterShareItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder.PrinterShareItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrinterShare +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder.sharesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder::[PrinterShareId:string]:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Item.PrinterShareItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder::|public|Count:global.Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrinterShareCollectionResponse +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.sharesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.Item.Shares.SharesRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder.pullPrintPrintersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::[PullPrintPrinterId:string]:global.Microsoft.Graph.Print.PullPrintPrinters.Item.PullPrintPrinterItemRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|Count:global.Microsoft.Graph.Print.PullPrintPrinters.Count.CountRequestBuilder +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PullPrintPrinterCollectionResponse +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PullPrintPrinter; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PullPrintPrinter +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PullPrintPrinter; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.PullPrintPrinters.pullPrintPrintersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.PullPrintPrinters.PullPrintPrintersRequestBuilder Microsoft.Graph.Print.Services.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Print.Services.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Print.Services.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -155135,9 +156851,49 @@ Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|constructor(r Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|Count:global.Microsoft.Graph.Print.Shares.Item.Jobs.Count.CountRequestBuilder Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJobCollectionResponse Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|release:global.Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleaseRequestBuilder +Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|releaseWait:global.Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.PrintJob; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Shares.Item.Jobs.jobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Shares.Item.Jobs.JobsRequestBuilder +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody::|public|constructor():void +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody::|public|JobId:string +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releasePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releaseRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releaseRequestBuilder.releaseRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releaseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releaseRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releaseRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrintJob +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releaseRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleasePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Shares.Item.Jobs.Release.releaseRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Shares.Item.Jobs.Release.ReleaseRequestBuilder +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|public|Value:List +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder.releaseWaitRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|GetAsReleaseWaitGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitResponse +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitRequestBuilder +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitResponse-->global.Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitGetResponse +Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.releaseWaitResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Print.Shares.Item.Jobs.ReleaseWait.ReleaseWaitResponse Microsoft.Graph.Print.Shares.Item.Printer.printerRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Print.Shares.Item.Printer.printerRequestBuilder.printerRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Print.Shares.Item.Printer.printerRequestBuilder.printerRequestBuilderGetQueryParameters::|public|Select:string[] @@ -155162,10 +156918,20 @@ Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|GetAsy Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|jobs:global.Microsoft.Graph.Print.Shares.Item.Jobs.JobsRequestBuilder Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PrinterShare; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PrinterShare Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|printer:global.Microsoft.Graph.Print.Shares.Item.Printer.PrinterRequestBuilder +Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|pullPrintPrinter:global.Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.PullPrintPrinterRequestBuilder Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.PrinterShare; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Shares.Item.PrinterShareItemRequestBuilder +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder.pullPrintPrinterRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder.pullPrintPrinterRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder.pullPrintPrinterRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PullPrintPrinter +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.pullPrintPrinterRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Print.Shares.Item.PullPrintPrinter.PullPrintPrinterRequestBuilder Microsoft.Graph.Print.Shares.sharesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Print.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Print.Shares.sharesRequestBuilder.sharesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -165834,6 +167600,67 @@ Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.Ref.RefRequest Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.Ref.RefRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::[ComplianceIssueId:string]:global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|Count:global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|complianceIssues:global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|effectiveGoverningPolicy:global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityGovernance.IdentityLifecycle; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.ServicePrincipals.Item.MemberOf.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.ServicePrincipals.Item.MemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.ServicePrincipals.Item.MemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -165977,6 +167804,13 @@ Microsoft.Graph.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|public| Microsoft.Graph.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|public|graphGroup:global.Microsoft.Graph.ServicePrincipals.Item.MemberOf.GraphGroup.GraphGroupRequestBuilder Microsoft.Graph.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder.microsoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder Microsoft.Graph.ServicePrincipals.Item.Oauth2PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.ServicePrincipals.Item.Oauth2PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.ServicePrincipals.Item.Oauth2PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -166599,7 +168433,9 @@ Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|publ Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|getMemberGroups:global.Microsoft.Graph.ServicePrincipals.Item.GetMemberGroups.GetMemberGroupsRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|getMemberObjects:global.Microsoft.Graph.ServicePrincipals.Item.GetMemberObjects.GetMemberObjectsRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|homeRealmDiscoveryPolicies:global.Microsoft.Graph.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.HomeRealmDiscoveryPoliciesRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|lifecycle:global.Microsoft.Graph.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|memberOf:global.Microsoft.Graph.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|microsoftGraphIdentityGovernanceAttest:global.Microsoft.Graph.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|oauth2PermissionGrants:global.Microsoft.Graph.ServicePrincipals.Item.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|ownedObjects:global.Microsoft.Graph.ServicePrincipals.Item.OwnedObjects.OwnedObjectsRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|owners:global.Microsoft.Graph.ServicePrincipals.Item.Owners.OwnersRequestBuilder @@ -198207,6 +200043,67 @@ Microsoft.Graph.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|public| Microsoft.Graph.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.LicenseDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::[ComplianceIssueId:string]:global.Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|complianceIssues:global.Microsoft.Graph.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|effectiveGoverningPolicy:global.Microsoft.Graph.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Users.Item.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Users.Item.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] @@ -198320,6 +200217,13 @@ Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBu Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -198332,6 +200236,7 @@ Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequ Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder @@ -198623,6 +200528,7 @@ Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Mess Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Reply.ReplyRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reportMessage:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.SendRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -198682,6 +200588,22 @@ Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Repl Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|IsMessageMoveRequested:bool? +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|ReportAction:global.Microsoft.Graph.Models.ReportAction? +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder.reportMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -198760,6 +200682,13 @@ Microsoft.Graph.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|public|con Microsoft.Graph.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder Microsoft.Graph.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -198773,6 +200702,7 @@ Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|publi Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Users.Item.MailFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailFolder +Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Users.Item.MailFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Users.Item.MailFolders.Item.Move.MoveRequestBuilder @@ -199064,6 +200994,7 @@ Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuil Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Reply.ReplyRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|reportMessage:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Send.SendRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -199123,6 +201054,22 @@ Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.replyAllReque Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|IsMessageMoveRequested:bool? +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|ReportAction:global.Microsoft.Graph.Models.ReportAction? +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder.reportMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.MailFolders.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -200140,6 +202087,7 @@ Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|Patc Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Users.Item.Messages.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|reply:global.Microsoft.Graph.Users.Item.Messages.Item.Reply.ReplyRequestBuilder Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|replyAll:global.Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|reportMessage:global.Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|send:global.Microsoft.Graph.Users.Item.Messages.Item.Send.SendRequestBuilder Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Messages.Item.MessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -200199,6 +202147,22 @@ Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|publi Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.ReplyAllPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.replyAllRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Messages.Item.ReplyAll.ReplyAllRequestBuilder +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|IsMessageMoveRequested:bool? +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|ReportAction:global.Microsoft.Graph.Models.ReportAction? +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder.reportMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Message +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.reportMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Messages.Item.ReportMessage.ReportMessageRequestBuilder Microsoft.Graph.Users.Item.Messages.Item.Send.sendRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Messages.Item.Send.sendRequestBuilder.sendRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.Messages.Item.Send.sendRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -200241,6 +202205,27 @@ Microsoft.Graph.Users.Item.Messages.messagesRequestBuilder::|public|PostAsync(bo Microsoft.Graph.Users.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Message; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder.microsoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Users.Item.Notes.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Notes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.Notes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -205229,6 +207214,7 @@ Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|inferenceClassificati Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|insights:global.Microsoft.Graph.Users.Item.Insights.InsightsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|joinedTeams:global.Microsoft.Graph.Users.Item.JoinedTeams.JoinedTeamsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|licenseDetails:global.Microsoft.Graph.Users.Item.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|lifecycle:global.Microsoft.Graph.Users.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Users.Item.MailboxSettings.MailboxSettingsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|mailFolders:global.Microsoft.Graph.Users.Item.MailFolders.MailFoldersRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|managedAppRegistrations:global.Microsoft.Graph.Users.Item.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder @@ -205236,6 +207222,9 @@ Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|managedDevices:global Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|manager:global.Microsoft.Graph.Users.Item.Manager.ManagerRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|memberOf:global.Microsoft.Graph.Users.Item.MemberOf.MemberOfRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|messages:global.Microsoft.Graph.Users.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|microsoftGraphIdentityGovernanceAddSelfAsSponsor:global.Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|microsoftGraphIdentityGovernanceAttest:global.Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRemoveSelfAsSponsor:global.Microsoft.Graph.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|notes:global.Microsoft.Graph.Users.Item.Notes.NotesRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|oauth2PermissionGrants:global.Microsoft.Graph.Users.Item.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|onenote:global.Microsoft.Graph.Users.Item.Onenote.OnenoteRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index a6123cd85cc..ef269851b0c 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "CF1B252CB49BBC835775DCE3515EF50C47F80258F8E4AC873D64D994A1D3D86CFE887F7758F358BFC5807332D1C77A5FB5D29ED9BF071387842735C3F595ECF2", + "descriptionHash": "ED70DCC2C31A535B7E79240ECCA1492D6AD2E8D41BCE03B0BBC1B09AB8DD8497DFDA80648A0D655DD35AB4F7BDBF4FB9BCF2516E3A27D6582066BFEAD18B1A90", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.38.0", + "kiotaVersion": "1.39.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph",