diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/AndroidAppConfigurationSchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/AndroidAppConfigurationSchemaRequestBuilder.cs
new file mode 100644
index 000000000000..e57510f0e0e6
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/AndroidAppConfigurationSchemaRequestBuilder.cs
@@ -0,0 +1,235 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema
+{
+ ///
+ /// Provides operations to manage the androidAppConfigurationSchema property of the microsoft.graph.deviceManagement entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AndroidAppConfigurationSchemaRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to call the retrieveSchema method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaRequestBuilder RetrieveSchema
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaRequestBuilder(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 AndroidAppConfigurationSchemaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidAppConfigurationSchema{?%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 AndroidAppConfigurationSchemaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidAppConfigurationSchema{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property androidAppConfigurationSchema for deviceManagement
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Android App Configurations Schema entity.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property androidAppConfigurationSchema in deviceManagement
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property androidAppConfigurationSchema for deviceManagement
+ ///
+ /// 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;
+ }
+ ///
+ /// Android App Configurations Schema entity.
+ ///
+ /// 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 androidAppConfigurationSchema in deviceManagement
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.AndroidAppConfigurationSchemaRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.AndroidAppConfigurationSchemaRequestBuilder(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 AndroidAppConfigurationSchemaRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Android App Configurations Schema entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AndroidAppConfigurationSchemaRequestBuilderGetQueryParameters
+ {
+ /// 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 AndroidAppConfigurationSchemaRequestBuilderGetRequestConfiguration : 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 AndroidAppConfigurationSchemaRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/RetrieveSchema/RetrieveSchemaPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/RetrieveSchema/RetrieveSchemaPostRequestBody.cs
new file mode 100644
index 000000000000..fe1a9b01f202
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/RetrieveSchema/RetrieveSchemaPostRequestBody.cs
@@ -0,0 +1,82 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RetrieveSchemaPostRequestBody : 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 requestDetail property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaRequestDetail? RequestDetail
+ {
+ get { return BackingStore?.Get("requestDetail"); }
+ set { BackingStore?.Set("requestDetail", value); }
+ }
+#nullable restore
+#else
+ public global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaRequestDetail RequestDetail
+ {
+ get { return BackingStore?.Get("requestDetail"); }
+ set { BackingStore?.Set("requestDetail", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public RetrieveSchemaPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "requestDetail", n => { RequestDetail = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaRequestDetail.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("requestDetail", RequestDetail);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/RetrieveSchema/RetrieveSchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/RetrieveSchema/RetrieveSchemaRequestBuilder.cs
new file mode 100644
index 000000000000..5972fdeef4ef
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidAppConfigurationSchema/RetrieveSchema/RetrieveSchemaRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema
+{
+ ///
+ /// Provides operations to call the retrieveSchema method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrieveSchemaRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RetrieveSchemaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidAppConfigurationSchema/retrieveSchema", 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 RetrieveSchemaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidAppConfigurationSchema/retrieveSchema", rawUrl)
+ {
+ }
+ ///
+ /// Retrieves the managed application configurations schema for the specified Android app.
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Retrieves the managed application configurations schema for the specified Android app.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.RetrieveSchema.RetrieveSchemaRequestBuilder(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 RetrieveSchemaRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Activate/ActivatePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Activate/ActivatePostRequestBody.cs
new file mode 100644
index 000000000000..7440383c3a83
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Activate/ActivatePostRequestBody.cs
@@ -0,0 +1,71 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class ActivatePostRequestBody : 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 certificationAuthorityVersion property
+ public int? CertificationAuthorityVersion
+ {
+ get { return BackingStore?.Get("certificationAuthorityVersion"); }
+ set { BackingStore?.Set("certificationAuthorityVersion", value); }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public ActivatePostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivatePostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "certificationAuthorityVersion", n => { CertificationAuthorityVersion = n.GetIntValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("certificationAuthorityVersion", CertificationAuthorityVersion);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Activate/ActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Activate/ActivateRequestBuilder.cs
new file mode 100644
index 000000000000..48b03e22c7fd
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Activate/ActivateRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate
+{
+ ///
+ /// Provides operations to call the activate method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ActivateRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ActivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/activate", 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 ActivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/activate", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action activate
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudCertificationAuthority.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action activate
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivatePostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivatePostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivateRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivateRequestBuilder(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 ActivateRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/ActiveVersion/ActiveVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/ActiveVersion/ActiveVersionRequestBuilder.cs
new file mode 100644
index 000000000000..53f3ec98a0f0
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/ActiveVersion/ActiveVersionRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ActiveVersion
+{
+ ///
+ /// Provides operations to manage the activeVersion property of the microsoft.graph.cloudCertificationAuthority entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ActiveVersionRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ActiveVersionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/activeVersion{?%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 ActiveVersionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/activeVersion{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// The currently active certification authority version. This navigation property provides direct access to the active version's details including certificate information, URLs, and validity periods. The active version is automatically included in the default response when retrieving a certification authority entity without requiring $expand. Read-only.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudCertificationAuthorityVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The currently active certification authority version. This navigation property provides direct access to the active version's details including certificate information, URLs, and validity periods. The active version is automatically included in the default response when retrieving a certification authority entity without requiring $expand. Read-only.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ActiveVersion.ActiveVersionRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ActiveVersion.ActiveVersionRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The currently active certification authority version. This navigation property provides direct access to the active version's details including certificate information, URLs, and validity periods. The active version is automatically included in the default response when retrieving a certification authority entity without requiring $expand. Read-only.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ActiveVersionRequestBuilderGetQueryParameters
+ {
+ /// 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 ActiveVersionRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/ChangeCloudCertificationAuthorityStatus/ChangeCloudCertificationAuthorityStatusPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/ChangeCloudCertificationAuthorityStatus/ChangeCloudCertificationAuthorityStatusPostRequestBody.cs
index d14168956ef2..a94ea23abfb4 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/ChangeCloudCertificationAuthorityStatus/ChangeCloudCertificationAuthorityStatusPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/ChangeCloudCertificationAuthorityStatus/ChangeCloudCertificationAuthorityStatusPostRequestBody.cs
@@ -22,7 +22,7 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
- /// Enum type of possible certification authority statuses. These statuses indicate whether a certification authority is currently able to issue certificates or temporarily paused or permanently revoked.
+ /// Enum type of possible certification authority statuses. These statuses indicate whether a certification authority is currently able to issue certificates, temporarily paused, pending signing, revoked, or expired.
public global::Microsoft.Graph.Beta.Models.CloudCertificationAuthorityStatus? CertificationAuthorityStatus
{
get { return BackingStore?.Get("certificationAuthorityStatus"); }
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/CloudCertificationAuthorityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/CloudCertificationAuthorityItemRequestBuilder.cs
index f771192ba2ee..d8c88a89255c 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/CloudCertificationAuthorityItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/CloudCertificationAuthorityItemRequestBuilder.cs
@@ -1,17 +1,23 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate;
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ActiveVersion;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ChangeCloudCertificationAuthorityStatus;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.CloudCertificationAuthorityLeafCertificate;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetAllCloudCertificationAuthority;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetAllCloudCertificationAuthorityLeafCertificates;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthority;
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersion;
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.PatchCloudCertificationAuthority;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.PostCloudCertificationAuthority;
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Renew;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.RevokeCloudCertificationAuthorityCertificate;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.RevokeLeafCertificate;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.RevokeLeafCertificateBySerialNumber;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.SearchCloudCertificationAuthorityLeafCertificateBySerialNumber;
using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.UploadExternallySignedCertificationAuthorityCertificate;
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -30,6 +36,16 @@ namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class CloudCertificationAuthorityItemRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to call the activate method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivateRequestBuilder Activate
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Activate.ActivateRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the activeVersion property of the microsoft.graph.cloudCertificationAuthority entity.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ActiveVersion.ActiveVersionRequestBuilder ActiveVersion
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ActiveVersion.ActiveVersionRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the changeCloudCertificationAuthorityStatus method.
public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.ChangeCloudCertificationAuthorityStatus.ChangeCloudCertificationAuthorityStatusRequestBuilder ChangeCloudCertificationAuthorityStatus
{
@@ -55,6 +71,16 @@ public partial class CloudCertificationAuthorityItemRequestBuilder : BaseRequest
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthority.GetCloudCertificationAuthorityRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the getCloudCertificationAuthorityVersion method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersion.GetCloudCertificationAuthorityVersionRequestBuilder GetCloudCertificationAuthorityVersion
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersion.GetCloudCertificationAuthorityVersionRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the getCloudCertificationAuthorityVersions method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsRequestBuilder GetCloudCertificationAuthorityVersions
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the patchCloudCertificationAuthority method.
public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.PatchCloudCertificationAuthority.PatchCloudCertificationAuthorityRequestBuilder PatchCloudCertificationAuthority
{
@@ -65,6 +91,11 @@ public partial class CloudCertificationAuthorityItemRequestBuilder : BaseRequest
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.PostCloudCertificationAuthority.PostCloudCertificationAuthorityRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the renew method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Renew.RenewRequestBuilder Renew
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Renew.RenewRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the revokeCloudCertificationAuthorityCertificate method.
public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.RevokeCloudCertificationAuthorityCertificate.RevokeCloudCertificationAuthorityCertificateRequestBuilder RevokeCloudCertificationAuthorityCertificate
{
@@ -90,6 +121,11 @@ public partial class CloudCertificationAuthorityItemRequestBuilder : BaseRequest
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.UploadExternallySignedCertificationAuthorityCertificate.UploadExternallySignedCertificationAuthorityCertificateRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the versions property of the microsoft.graph.cloudCertificationAuthority entity.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.VersionsRequestBuilder Versions
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.VersionsRequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersion/GetCloudCertificationAuthorityVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersion/GetCloudCertificationAuthorityVersionRequestBuilder.cs
new file mode 100644
index 000000000000..f4df77067ff2
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersion/GetCloudCertificationAuthorityVersionRequestBuilder.cs
@@ -0,0 +1,98 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersion
+{
+ ///
+ /// Provides operations to call the getCloudCertificationAuthorityVersion method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GetCloudCertificationAuthorityVersionRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public GetCloudCertificationAuthorityVersionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/getCloudCertificationAuthorityVersion", 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 GetCloudCertificationAuthorityVersionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/getCloudCertificationAuthorityVersion", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action getCloudCertificationAuthorityVersion
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudCertificationAuthorityVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action getCloudCertificationAuthorityVersion
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersion.GetCloudCertificationAuthorityVersionRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersion.GetCloudCertificationAuthorityVersionRequestBuilder(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 GetCloudCertificationAuthorityVersionRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsPostResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsPostResponse.cs
new file mode 100644
index 000000000000..c8a1affb2476
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsPostResponse.cs
@@ -0,0 +1,65 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetCloudCertificationAuthorityVersionsPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable
+ #pragma warning restore CS1591
+ {
+ /// The value property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Value
+ {
+ get { return BackingStore?.Get?>("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#nullable restore
+#else
+ public List Value
+ {
+ get { return BackingStore?.Get>("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#endif
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsPostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudCertificationAuthorityVersion.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/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsRequestBuilder.cs
new file mode 100644
index 000000000000..d663f36c37c2
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsRequestBuilder.cs
@@ -0,0 +1,121 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions
+{
+ ///
+ /// Provides operations to call the getCloudCertificationAuthorityVersions method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GetCloudCertificationAuthorityVersionsRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public GetCloudCertificationAuthorityVersionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/getCloudCertificationAuthorityVersions", 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 GetCloudCertificationAuthorityVersionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/getCloudCertificationAuthorityVersions", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action getCloudCertificationAuthorityVersions
+ ///
+ /// 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 PostAsGetCloudCertificationAuthorityVersionsPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsGetCloudCertificationAuthorityVersionsPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action getCloudCertificationAuthorityVersions
+ ///
+ /// 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 PostAsGetCloudCertificationAuthorityVersionsPostResponseAsync instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action getCloudCertificationAuthorityVersions
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsRequestBuilder(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 GetCloudCertificationAuthorityVersionsRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsResponse.cs
new file mode 100644
index 000000000000..b95774a3e571
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/GetCloudCertificationAuthorityVersions/GetCloudCertificationAuthorityVersionsResponse.cs
@@ -0,0 +1,28 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions
+{
+ [Obsolete("This class is obsolete. Use GetCloudCertificationAuthorityVersionsPostResponse instead.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class GetCloudCertificationAuthorityVersionsResponse : global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsPostResponse, IParsable
+ #pragma warning restore CS1591
+ {
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.GetCloudCertificationAuthorityVersions.GetCloudCertificationAuthorityVersionsResponse();
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Renew/RenewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Renew/RenewRequestBuilder.cs
new file mode 100644
index 000000000000..3f7d463a0de5
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Renew/RenewRequestBuilder.cs
@@ -0,0 +1,96 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Renew
+{
+ ///
+ /// Provides operations to call the renew method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RenewRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RenewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/renew", 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 RenewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/renew", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action renew
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action renew
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Renew.RenewRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Renew.RenewRequestBuilder(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 RenewRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..06a69b55fd73
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.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}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/versions/$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}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/versions/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.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/DeviceManagement/CloudCertificationAuthority/Item/Versions/Item/CloudCertificationAuthorityVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/Item/CloudCertificationAuthorityVersionItemRequestBuilder.cs
new file mode 100644
index 000000000000..e7bdc3e15b41
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/Item/CloudCertificationAuthorityVersionItemRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Item
+{
+ ///
+ /// Provides operations to manage the versions property of the microsoft.graph.cloudCertificationAuthority entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudCertificationAuthorityVersionItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CloudCertificationAuthorityVersionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/versions/{cloudCertificationAuthorityVersion%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 CloudCertificationAuthorityVersionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/versions/{cloudCertificationAuthorityVersion%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// The collection of all certification authority versions, including active, staged, retired, and expired versions. This navigation property provides access to the full version history of the certification authority. Use $expand=versions to include this collection in the response. Read-only.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudCertificationAuthorityVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The collection of all certification authority versions, including active, staged, retired, and expired versions. This navigation property provides access to the full version history of the certification authority. Use $expand=versions to include this collection in the response. Read-only.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Item.CloudCertificationAuthorityVersionItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Item.CloudCertificationAuthorityVersionItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The collection of all certification authority versions, including active, staged, retired, and expired versions. This navigation property provides access to the full version history of the certification authority. Use $expand=versions to include this collection in the response. Read-only.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudCertificationAuthorityVersionItemRequestBuilderGetQueryParameters
+ {
+ /// 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 CloudCertificationAuthorityVersionItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/VersionsRequestBuilder.cs
new file mode 100644
index 000000000000..1891260d3391
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthority/Item/Versions/VersionsRequestBuilder.cs
@@ -0,0 +1,183 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Count;
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions
+{
+ ///
+ /// Provides operations to manage the versions property of the microsoft.graph.cloudCertificationAuthority entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class VersionsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the versions property of the microsoft.graph.cloudCertificationAuthority entity.
+ /// The unique identifier of cloudCertificationAuthorityVersion
+ /// A
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Item.CloudCertificationAuthorityVersionItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("cloudCertificationAuthorityVersion%2Did", position);
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.Item.CloudCertificationAuthorityVersionItemRequestBuilder(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}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%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}/deviceManagement/cloudCertificationAuthority/{cloudCertificationAuthority%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// The collection of all certification authority versions, including active, staged, retired, and expired versions. This navigation property provides access to the full version history of the certification authority. Use $expand=versions to include this collection in the response. Read-only.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudCertificationAuthorityVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The collection of all certification authority versions, including active, staged, retired, and expired versions. This navigation property provides access to the full version history of the certification authority. Use $expand=versions to include this collection in the response. Read-only.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.VersionsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthority.Item.Versions.VersionsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The collection of all certification authority versions, including active, staged, retired, and expired versions. This navigation property provides access to the full version history of the certification authority. Use $expand=versions to include this collection in the response. Read-only.
+ ///
+ [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/DeviceManagement/CloudCertificationAuthorityLeafCertificate/Item/CloudCertificationAuthorityLeafCertificateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthorityLeafCertificate/Item/CloudCertificationAuthorityLeafCertificateItemRequestBuilder.cs
index b536e69efa37..913b11fbedea 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthorityLeafCertificate/Item/CloudCertificationAuthorityLeafCertificateItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthorityLeafCertificate/Item/CloudCertificationAuthorityLeafCertificateItemRequestBuilder.cs
@@ -1,5 +1,6 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthorityLeafCertificate.Item.CloudCertificationAuthorityVersion;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthorityLeafC
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class CloudCertificationAuthorityLeafCertificateItemRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to manage the cloudCertificationAuthorityVersion property of the microsoft.graph.cloudCertificationAuthorityLeafCertificate entity.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthorityLeafCertificate.Item.CloudCertificationAuthorityVersion.CloudCertificationAuthorityVersionRequestBuilder CloudCertificationAuthorityVersion
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthorityLeafCertificate.Item.CloudCertificationAuthorityVersion.CloudCertificationAuthorityVersionRequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthorityLeafCertificate/Item/CloudCertificationAuthorityVersion/CloudCertificationAuthorityVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthorityLeafCertificate/Item/CloudCertificationAuthorityVersion/CloudCertificationAuthorityVersionRequestBuilder.cs
new file mode 100644
index 000000000000..e9efb3ca99ff
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/CloudCertificationAuthorityLeafCertificate/Item/CloudCertificationAuthorityVersion/CloudCertificationAuthorityVersionRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthorityLeafCertificate.Item.CloudCertificationAuthorityVersion
+{
+ ///
+ /// Provides operations to manage the cloudCertificationAuthorityVersion property of the microsoft.graph.cloudCertificationAuthorityLeafCertificate entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudCertificationAuthorityVersionRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CloudCertificationAuthorityVersionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthorityLeafCertificate/{cloudCertificationAuthorityLeafCertificate%2Did}/cloudCertificationAuthorityVersion{?%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 CloudCertificationAuthorityVersionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/cloudCertificationAuthorityLeafCertificate/{cloudCertificationAuthorityLeafCertificate%2Did}/cloudCertificationAuthorityVersion{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// The certification authority version that issued this leaf certificate. Read-only.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudCertificationAuthorityVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The certification authority version that issued this leaf certificate. Read-only.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthorityLeafCertificate.Item.CloudCertificationAuthorityVersion.CloudCertificationAuthorityVersionRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.CloudCertificationAuthorityLeafCertificate.Item.CloudCertificationAuthorityVersion.CloudCertificationAuthorityVersionRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The certification authority version that issued this leaf certificate. Read-only.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudCertificationAuthorityVersionRequestBuilderGetQueryParameters
+ {
+ /// 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 CloudCertificationAuthorityVersionRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
index 6157a8f77721..26f3e0a8ae96 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
@@ -1,6 +1,7 @@
//
#pragma warning disable CS0618
using Microsoft.Graph.Beta.DeviceManagement.AdvancedThreatProtectionOnboardingStateSummary;
+using Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema;
using Microsoft.Graph.Beta.DeviceManagement.AndroidDeviceOwnerEnrollmentProfiles;
using Microsoft.Graph.Beta.DeviceManagement.AndroidForWorkAppConfigurationSchemas;
using Microsoft.Graph.Beta.DeviceManagement.AndroidForWorkEnrollmentProfiles;
@@ -215,6 +216,11 @@ public partial class DeviceManagementRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.AdvancedThreatProtectionOnboardingStateSummary.AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the androidAppConfigurationSchema property of the microsoft.graph.deviceManagement entity.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.AndroidAppConfigurationSchemaRequestBuilder AndroidAppConfigurationSchema
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidAppConfigurationSchema.AndroidAppConfigurationSchemaRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the androidDeviceOwnerEnrollmentProfiles property of the microsoft.graph.deviceManagement entity.
public global::Microsoft.Graph.Beta.DeviceManagement.AndroidDeviceOwnerEnrollmentProfiles.AndroidDeviceOwnerEnrollmentProfilesRequestBuilder AndroidDeviceOwnerEnrollmentProfiles
{
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/CancelProcessingPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/CancelProcessingPostRequestBody.cs
new file mode 100644
index 000000000000..03e7fbe60f81
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/CancelProcessingPostRequestBody.cs
@@ -0,0 +1,82 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.IdentityGovernance;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class CancelProcessingPostRequestBody : 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 scope property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.Beta.Models.IdentityGovernance.CancelScope? Scope
+ {
+ get { return BackingStore?.Get("scope"); }
+ set { BackingStore?.Set("scope", value); }
+ }
+#nullable restore
+#else
+ public global::Microsoft.Graph.Beta.Models.IdentityGovernance.CancelScope Scope
+ {
+ get { return BackingStore?.Get("scope"); }
+ set { BackingStore?.Set("scope", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public CancelProcessingPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "scope", n => { Scope = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.CancelScope.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("scope", Scope);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder.cs
new file mode 100644
index 000000000000..b37c8ad12a14
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder.cs
@@ -0,0 +1,104 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing
+{
+ ///
+ /// Provides operations to call the cancelProcessing method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.cancelProcessing", 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 MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.cancelProcessing", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action cancelProcessing
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action cancelProcessing
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody 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.
+ [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")]
+ public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(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 MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs
index 4237364e0d06..cd26b414d451 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs
@@ -6,6 +6,7 @@
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope;
+using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow;
@@ -64,6 +65,11 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the cancelProcessing method.
+ public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder MicrosoftGraphIdentityGovernanceCancelProcessing
+ {
+ get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the createNewVersion method.
public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder MicrosoftGraphIdentityGovernanceCreateNewVersion
{
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/CancelProcessingPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/CancelProcessingPostRequestBody.cs
new file mode 100644
index 000000000000..5cfb23ba0e19
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/CancelProcessingPostRequestBody.cs
@@ -0,0 +1,82 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.IdentityGovernance;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class CancelProcessingPostRequestBody : 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 scope property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.Beta.Models.IdentityGovernance.CancelScope? Scope
+ {
+ get { return BackingStore?.Get("scope"); }
+ set { BackingStore?.Set("scope", value); }
+ }
+#nullable restore
+#else
+ public global::Microsoft.Graph.Beta.Models.IdentityGovernance.CancelScope Scope
+ {
+ get { return BackingStore?.Get("scope"); }
+ set { BackingStore?.Set("scope", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public CancelProcessingPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "scope", n => { Scope = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.CancelScope.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("scope", Scope);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder.cs
new file mode 100644
index 000000000000..7d784e73eb95
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCancelProcessing/MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder.cs
@@ -0,0 +1,104 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing
+{
+ ///
+ /// Provides operations to call the cancelProcessing method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.cancelProcessing", 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 MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.cancelProcessing", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action cancelProcessing
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action cancelProcessing
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.CancelProcessingPostRequestBody 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.
+ [Obsolete(" as of 2025-11/PrivatePreview:cancelWorkflows on 2025-10-28 and will be removed 2026-10-28")]
+ public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(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 MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs
index e38b2c7a9810..dfbab2010ce4 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs
@@ -6,6 +6,7 @@
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope;
+using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures;
using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow;
@@ -64,6 +65,11 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the cancelProcessing method.
+ public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder MicrosoftGraphIdentityGovernanceCancelProcessing
+ {
+ get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCancelProcessing.MicrosoftGraphIdentityGovernanceCancelProcessingRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the createNewVersion method.
public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder MicrosoftGraphIdentityGovernanceCreateNewVersion
{
diff --git a/src/Microsoft.Graph/Generated/Models/AndroidAppConfigurationSchema.cs b/src/Microsoft.Graph/Generated/Models/AndroidAppConfigurationSchema.cs
new file mode 100644
index 000000000000..176dccf6de29
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AndroidAppConfigurationSchema.cs
@@ -0,0 +1,101 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Models
+{
+ ///
+ /// Schema describing an Android application's custom configurations.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AndroidAppConfigurationSchema : global::Microsoft.Graph.Beta.Models.Entity, IParsable
+ {
+ /// UTF8 encoded byte array containing example JSON string conforming to this schema that demonstrates how to set the configuration for this app
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public byte[]? ExampleJson
+ {
+ get { return BackingStore?.Get("exampleJson"); }
+ set { BackingStore?.Set("exampleJson", value); }
+ }
+#nullable restore
+#else
+ public byte[] ExampleJson
+ {
+ get { return BackingStore?.Get("exampleJson"); }
+ set { BackingStore?.Set("exampleJson", value); }
+ }
+#endif
+ /// Collection of items each representing a named configuration option in the schema. It contains a flat list of all configuration.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? NestedSchemaItems
+ {
+ get { return BackingStore?.Get?>("nestedSchemaItems"); }
+ set { BackingStore?.Set("nestedSchemaItems", value); }
+ }
+#nullable restore
+#else
+ public List NestedSchemaItems
+ {
+ get { return BackingStore?.Get>("nestedSchemaItems"); }
+ set { BackingStore?.Set("nestedSchemaItems", value); }
+ }
+#endif
+ /// Collection of items each representing a named configuration option in the schema. It only contains the root-level configuration.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? SchemaItems
+ {
+ get { return BackingStore?.Get?>("schemaItems"); }
+ set { BackingStore?.Set("schemaItems", value); }
+ }
+#nullable restore
+#else
+ public List SchemaItems
+ {
+ get { return BackingStore?.Get>("schemaItems"); }
+ set { BackingStore?.Set("schemaItems", value); }
+ }
+#endif
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "exampleJson", n => { ExampleJson = n.GetByteArrayValue(); } },
+ { "nestedSchemaItems", n => { NestedSchemaItems = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "schemaItems", n => { SchemaItems = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType.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.WriteByteArrayValue("exampleJson", ExampleJson);
+ writer.WriteCollectionOfObjectValues("nestedSchemaItems", NestedSchemaItems);
+ writer.WriteCollectionOfObjectValues("schemaItems", SchemaItems);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerVpnConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerVpnConfiguration.cs
index a10763fb4a7a..6f3690cf8df1 100644
--- a/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerVpnConfiguration.cs
+++ b/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerVpnConfiguration.cs
@@ -94,6 +94,22 @@ public bool? AlwaysOnLockdown
get { return BackingStore?.Get("identityCertificate"); }
set { BackingStore?.Set("identityCertificate", value); }
}
+#endif
+ /// List of app package names that will be able to access the network directly when VPN is in lockdown mode but not connected.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? LockdownExclusionList
+ {
+ get { return BackingStore?.Get?>("lockdownExclusionList"); }
+ set { BackingStore?.Set("lockdownExclusionList", value); }
+ }
+#nullable restore
+#else
+ public List LockdownExclusionList
+ {
+ get { return BackingStore?.Get>("lockdownExclusionList"); }
+ set { BackingStore?.Set("lockdownExclusionList", value); }
+ }
#endif
/// Microsoft Tunnel site ID.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -207,6 +223,7 @@ public override IDictionary> GetFieldDeserializers()
{ "customKeyValueData", n => { CustomKeyValueData = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } },
{ "derivedCredentialSettings", n => { DerivedCredentialSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceManagementDerivedCredentialSettings.CreateFromDiscriminatorValue); } },
{ "identityCertificate", n => { IdentityCertificate = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AndroidDeviceOwnerCertificateProfileBase.CreateFromDiscriminatorValue); } },
+ { "lockdownExclusionList", n => { LockdownExclusionList = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
{ "microsoftTunnelSiteId", n => { MicrosoftTunnelSiteId = n.GetStringValue(); } },
{ "proxyExclusionList", n => { ProxyExclusionList = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
{ "proxyServer", n => { ProxyServer = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.VpnProxyServer.CreateFromDiscriminatorValue); } },
@@ -229,6 +246,7 @@ public override void Serialize(ISerializationWriter writer)
writer.WriteCollectionOfObjectValues("customKeyValueData", CustomKeyValueData);
writer.WriteObjectValue("derivedCredentialSettings", DerivedCredentialSettings);
writer.WriteObjectValue("identityCertificate", IdentityCertificate);
+ writer.WriteCollectionOfPrimitiveValues("lockdownExclusionList", LockdownExclusionList);
writer.WriteStringValue("microsoftTunnelSiteId", MicrosoftTunnelSiteId);
writer.WriteCollectionOfPrimitiveValues("proxyExclusionList", ProxyExclusionList);
writer.WriteObjectValue("proxyServer", ProxyServer);
diff --git a/src/Microsoft.Graph/Generated/Models/AndroidLobAppConfigurationSchemaRequestDetail.cs b/src/Microsoft.Graph/Generated/Models/AndroidLobAppConfigurationSchemaRequestDetail.cs
new file mode 100644
index 000000000000..1f8257785c58
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AndroidLobAppConfigurationSchemaRequestDetail.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.Beta.Models
+{
+ ///
+ /// The request parameter for requesting Android LOB app configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AndroidLobAppConfigurationSchemaRequestDetail : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaRequestDetail, IParsable
+ {
+ /// The application policy ID of the Android LOB app
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? AppId
+ {
+ get { return BackingStore?.Get("appId"); }
+ set { BackingStore?.Set("appId", value); }
+ }
+#nullable restore
+#else
+ public string AppId
+ {
+ get { return BackingStore?.Get("appId"); }
+ set { BackingStore?.Set("appId", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AndroidLobAppConfigurationSchemaRequestDetail() : base()
+ {
+ OdataType = "#microsoft.graph.androidLobAppConfigurationSchemaRequestDetail";
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AndroidLobAppConfigurationSchemaRequestDetail CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AndroidLobAppConfigurationSchemaRequestDetail();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "appId", n => { AppId = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteStringValue("appId", AppId);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBooleanType.cs b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBooleanType.cs
new file mode 100644
index 000000000000..19acb498f774
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBooleanType.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.Beta.Models
+{
+ ///
+ /// Boolean configuration item inside an Android application's custom configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AppConfigurationSchemaItemBooleanType : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType, IParsable
+ {
+ /// Default value, if specified by the app developer
+ public bool? DefaultValue
+ {
+ get { return BackingStore?.Get("defaultValue"); }
+ set { BackingStore?.Set("defaultValue", value); }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AppConfigurationSchemaItemBooleanType() : base()
+ {
+ OdataType = "#microsoft.graph.appConfigurationSchemaItemBooleanType";
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemBooleanType CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemBooleanType();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "defaultValue", n => { DefaultValue = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteBoolValue("defaultValue", DefaultValue);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBundleArray.cs b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBundleArray.cs
new file mode 100644
index 000000000000..b705e3d91cef
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBundleArray.cs
@@ -0,0 +1,54 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Models
+{
+ ///
+ /// Bundle array configuration item inside an Android application's custom configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AppConfigurationSchemaItemBundleArray : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType, IParsable
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AppConfigurationSchemaItemBundleArray() : base()
+ {
+ OdataType = "#microsoft.graph.appConfigurationSchemaItemBundleArray";
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemBundleArray CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemBundleArray();
+ }
+ ///
+ /// 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/AppConfigurationSchemaItemBundleType.cs b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBundleType.cs
new file mode 100644
index 000000000000..3459486dc75b
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemBundleType.cs
@@ -0,0 +1,54 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Models
+{
+ ///
+ /// Bundle configuration item inside an Android application's custom configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AppConfigurationSchemaItemBundleType : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType, IParsable
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AppConfigurationSchemaItemBundleType() : base()
+ {
+ OdataType = "#microsoft.graph.appConfigurationSchemaItemBundleType";
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemBundleType CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemBundleType();
+ }
+ ///
+ /// 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/AppConfigurationSchemaItemChoiceType.cs b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemChoiceType.cs
new file mode 100644
index 000000000000..67c00b8d990c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemChoiceType.cs
@@ -0,0 +1,90 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Models
+{
+ ///
+ /// Choice configuration item inside an Android application's custom configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AppConfigurationSchemaItemChoiceType : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType, IParsable
+ {
+ /// Default value, if specified by the app developer
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DefaultValue
+ {
+ get { return BackingStore?.Get("defaultValue"); }
+ set { BackingStore?.Set("defaultValue", value); }
+ }
+#nullable restore
+#else
+ public string DefaultValue
+ {
+ get { return BackingStore?.Get("defaultValue"); }
+ set { BackingStore?.Set("defaultValue", value); }
+ }
+#endif
+ /// List of human readable name/value pairs for the valid values that can be set for this item
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Selections
+ {
+ get { return BackingStore?.Get?>("selections"); }
+ set { BackingStore?.Set("selections", value); }
+ }
+#nullable restore
+#else
+ public List Selections
+ {
+ get { return BackingStore?.Get>("selections"); }
+ set { BackingStore?.Set("selections", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AppConfigurationSchemaItemChoiceType() : base()
+ {
+ OdataType = "#microsoft.graph.appConfigurationSchemaItemChoiceType";
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemChoiceType CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemChoiceType();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "defaultValue", n => { DefaultValue = n.GetStringValue(); } },
+ { "selections", n => { Selections = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteStringValue("defaultValue", DefaultValue);
+ writer.WriteCollectionOfObjectValues("selections", Selections);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemHiddenType.cs b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemHiddenType.cs
new file mode 100644
index 000000000000..298b680a8dfd
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemHiddenType.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.Beta.Models
+{
+ ///
+ /// Hidden configuration item inside an Android application's custom configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AppConfigurationSchemaItemHiddenType : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType, IParsable
+ {
+ /// Default value, if specified by the app developer
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DefaultValue
+ {
+ get { return BackingStore?.Get("defaultValue"); }
+ set { BackingStore?.Set("defaultValue", value); }
+ }
+#nullable restore
+#else
+ public string DefaultValue
+ {
+ get { return BackingStore?.Get("defaultValue"); }
+ set { BackingStore?.Set("defaultValue", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AppConfigurationSchemaItemHiddenType() : base()
+ {
+ OdataType = "#microsoft.graph.appConfigurationSchemaItemHiddenType";
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemHiddenType CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemHiddenType();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "defaultValue", n => { DefaultValue = 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("defaultValue", DefaultValue);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemIntegerType.cs b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemIntegerType.cs
new file mode 100644
index 000000000000..1aae6f179a45
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemIntegerType.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.Beta.Models
+{
+ ///
+ /// Integer configuration item inside an Android application's custom configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AppConfigurationSchemaItemIntegerType : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType, IParsable
+ {
+ /// Default value, if specified by the app developer. Valid values 0 to 2147483647
+ public int? DefaultValue
+ {
+ get { return BackingStore?.Get("defaultValue"); }
+ set { BackingStore?.Set("defaultValue", value); }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AppConfigurationSchemaItemIntegerType() : base()
+ {
+ OdataType = "#microsoft.graph.appConfigurationSchemaItemIntegerType";
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemIntegerType CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemIntegerType();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "defaultValue", n => { DefaultValue = 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("defaultValue", DefaultValue);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemMultiselectType.cs b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemMultiselectType.cs
new file mode 100644
index 000000000000..d614b900c623
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AppConfigurationSchemaItemMultiselectType.cs
@@ -0,0 +1,90 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Models
+{
+ ///
+ /// Multiselect configuration item inside an Android application's custom configuration schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AppConfigurationSchemaItemMultiselectType : global::Microsoft.Graph.Beta.Models.AppConfigurationSchemaItemType, IParsable
+ {
+ /// Default value, if specified by the app developer
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? DefaultValue
+ {
+ get { return BackingStore?.Get?>("defaultValue"); }
+ set { BackingStore?.Set("defaultValue", value); }
+ }
+#nullable restore
+#else
+ public List