diff --git a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index e8d3aee9eb7..2af4519fa2f 100644 --- a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs index 656bbc502c8..4f7529377ed 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs @@ -35,7 +35,7 @@ public AddKeyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. + /// Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public AddKeyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.KeyCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. + /// Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs new file mode 100644 index 00000000000..1ffd82ec4db --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmCompromisedPostRequestBody : 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 requestIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? RequestIds + { + get { return BackingStore?.Get?>("requestIds"); } + set { BackingStore?.Set("requestIds", value); } + } +#nullable restore +#else + public List RequestIds + { + get { return BackingStore?.Get>("requestIds"); } + set { BackingStore?.Set("requestIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmCompromisedPostRequestBody() + { + 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.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "requestIds", n => { RequestIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("requestIds", RequestIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs new file mode 100644 index 00000000000..f6a2e0e72a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised +{ + /// + /// Provides operations to call the confirmCompromised method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmCompromisedRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmCompromisedRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/auditLogs/signIns/confirmCompromised", 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 ConfirmCompromisedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/auditLogs/signIns/confirmCompromised", rawUrl) + { + } + /// + /// Mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. + /// + /// 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.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedRequestBuilder(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 ConfirmCompromisedRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafePostRequestBody.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafePostRequestBody.cs new file mode 100644 index 00000000000..1503abf181e --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfirmSafePostRequestBody : 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 requestIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? RequestIds + { + get { return BackingStore?.Get?>("requestIds"); } + set { BackingStore?.Set("requestIds", value); } + } +#nullable restore +#else + public List RequestIds + { + get { return BackingStore?.Get>("requestIds"); } + set { BackingStore?.Set("requestIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ConfirmSafePostRequestBody() + { + 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.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "requestIds", n => { RequestIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("requestIds", RequestIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilder.cs new file mode 100644 index 00000000000..932e8809e3c --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/ConfirmSafe/ConfirmSafeRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe +{ + /// + /// Provides operations to call the confirmSafe method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmSafeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmSafeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/auditLogs/signIns/confirmSafe", 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 ConfirmSafeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/auditLogs/signIns/confirmSafe", rawUrl) + { + } + /// + /// Mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. + /// + /// 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.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuditLogs.SignIns.ConfirmSafe.ConfirmSafeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafeRequestBuilder(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 ConfirmSafeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Dismiss/DismissPostRequestBody.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Dismiss/DismissPostRequestBody.cs new file mode 100644 index 00000000000..6c2722d88bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Dismiss/DismissPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AuditLogs.SignIns.Dismiss +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DismissPostRequestBody : 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 requestIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? RequestIds + { + get { return BackingStore?.Get?>("requestIds"); } + set { BackingStore?.Set("requestIds", value); } + } +#nullable restore +#else + public List RequestIds + { + get { return BackingStore?.Get>("requestIds"); } + set { BackingStore?.Set("requestIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DismissPostRequestBody() + { + 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.AuditLogs.SignIns.Dismiss.DismissPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "requestIds", n => { RequestIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("requestIds", RequestIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilder.cs new file mode 100644 index 00000000000..72ba1164b38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Dismiss/DismissRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AuditLogs.SignIns.Dismiss +{ + /// + /// Provides operations to call the dismiss method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DismissRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DismissRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/auditLogs/signIns/dismiss", 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 DismissRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/auditLogs/signIns/dismiss", rawUrl) + { + } + /// + /// Mark an event in Microsoft Entra sign-in logs as dismissed. For details about investigating Identity Protection risks, see How to investigate risk. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Mark an event in Microsoft Entra sign-in logs as dismissed. For details about investigating Identity Protection risks, see How to investigate risk. + /// + /// 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.AuditLogs.SignIns.Dismiss.DismissPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuditLogs.SignIns.Dismiss.DismissRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissRequestBuilder(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 DismissRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs index 21f86e3edee..cf813f27f2a 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs @@ -1,6 +1,9 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised; +using Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe; using Microsoft.Graph.AuditLogs.SignIns.Count; +using Microsoft.Graph.AuditLogs.SignIns.Dismiss; using Microsoft.Graph.AuditLogs.SignIns.Item; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -20,11 +23,26 @@ namespace Microsoft.Graph.AuditLogs.SignIns [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SignInsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the confirmCompromised method. + public global::Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedRequestBuilder ConfirmCompromised + { + get => new global::Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirmSafe method. + public global::Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafeRequestBuilder ConfirmSafe + { + get => new global::Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the dismiss method. + public global::Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissRequestBuilder Dismiss + { + get => new global::Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity. /// The unique identifier of signIn /// A diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs index c3696c46462..3019f21f44b 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Send a new chatMessage in the specified channel or a chat. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 697c85c2139..b6a053d60ca 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteObjectValue("recipient", Recipient); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index f097afb10cf..0ca899a8e4c 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs index 16a5badf7c4..7b882babb0e 100644 --- a/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs @@ -66,7 +66,7 @@ public partial class ContactsRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ContactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public ContactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", pathParameters) { } /// @@ -74,7 +74,7 @@ public ContactsRequestBuilder(Dictionary pathParameters, IReques /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public ContactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public ContactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", rawUrl) { } /// @@ -102,31 +102,6 @@ public ContactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add new entity to contacts - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.Models.OrgContact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.Models.OrgContact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// /// Get the list of organizational contacts for this organization. /// /// A @@ -146,28 +121,6 @@ public RequestInformation ToGetRequestInformation(Action - /// Add new entity to contacts - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OrgContact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OrgContact body, Action> requestConfiguration = default) - { -#endif - _ = body ?? 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 @@ -235,9 +188,6 @@ public partial class ContactsRequestBuilderGetQueryParameters [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; } @@ -250,14 +200,6 @@ public partial class ContactsRequestBuilderGetQueryParameters public partial class ContactsRequestBuilderGetRequestConfiguration : 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 ContactsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } } } #pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index f2656a080c1..244f48d5761 100644 --- a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs index 745217cc7b1..0bee8983392 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs @@ -101,28 +101,6 @@ public OrgContactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Delete entity from contacts - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// /// Get the properties and relationships of an organizational contact. /// Find more info here /// @@ -147,50 +125,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update entity in contacts - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.Models.OrgContact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.Models.OrgContact body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete entity from contacts - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// /// Get the properties and relationships of an organizational contact. /// /// A @@ -210,28 +144,6 @@ public RequestInformation ToGetRequestInformation(Action - /// Update entity in contacts - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OrgContact body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OrgContact body, Action> requestConfiguration = default) - { -#endif - _ = body ?? 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 @@ -241,14 +153,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode return new global::Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder(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 OrgContactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// /// Get the properties and relationships of an organizational contact. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] @@ -283,14 +187,6 @@ public partial class OrgContactItemRequestBuilderGetQueryParameters public partial class OrgContactItemRequestBuilderGetRequestConfiguration : 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 OrgContactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } } } #pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 16357ce2928..d15899b5204 100644 --- a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index 986b929bccc..099d5152962 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -126,7 +126,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -150,7 +150,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 1d709a789d2..21976de7648 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -63,8 +63,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsInformationProtection object. - /// Find more info here + /// Read properties and relationships of the managedAppConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsInformationProtection object. + /// Read properties and relationships of the managedAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -189,7 +189,7 @@ public partial class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read properties and relationships of the windowsInformationProtection object. + /// Read properties and relationships of the managedAppConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 5c5d3b67748..69f12423afd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index f8c1e3db894..66de324c1f0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the windowsInformationProtection objects. - /// Find more info here + /// List properties and relationships of the managedAppConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windowsInformationProtection objects. + /// List properties and relationships of the managedAppConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppPolicies.ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windowsInformationProtection objects. + /// List properties and relationships of the managedAppConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index f5abb3f982b..81eab1d45e6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index e71e0944982..6ac4acfd073 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index c878d34d973..e61314f6134 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -75,8 +75,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppRegistration object. - /// Find more info here + /// Read properties and relationships of the androidManagedAppRegistration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -143,7 +143,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppRegistration object. + /// Read properties and relationships of the androidManagedAppRegistration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -201,7 +201,7 @@ public partial class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the managedAppRegistration object. + /// Read properties and relationships of the androidManagedAppRegistration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppRegistrationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index ddc4c6e32de..a22129d7dd6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -60,8 +60,8 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// List properties and relationships of the iosManagedAppRegistration objects. - /// Find more info here + /// List properties and relationships of the androidManagedAppRegistration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosManagedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosManagedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppRegistrationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs index 1157db7ad13..895b67bd9e8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppStatus object. - /// Find more info here + /// Read properties and relationships of the managedAppStatusRaw object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppStatus object. + /// Read properties and relationships of the managedAppStatusRaw object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read properties and relationships of the managedAppStatus object. + /// Read properties and relationships of the managedAppStatusRaw object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppStatusItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs index 373b86368d7..c6e88a5f1d5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the managedAppStatus objects. - /// Find more info here + /// List properties and relationships of the managedAppStatusRaw objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppStatus objects. + /// List properties and relationships of the managedAppStatusRaw objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppStatuses.ManagedAppStatusesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppStatus objects. + /// List properties and relationships of the managedAppStatusRaw objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppStatusesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index 5d92308132f..59c29474e3e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosVppEBookAssignment object. - /// Find more info here + /// Read properties and relationships of the managedEBookAssignment object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a iosVppEBookAssignment object. - /// Find more info here + /// Update the properties of a managedEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosVppEBookAssignment object. + /// Read properties and relationships of the managedEBookAssignment object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a iosVppEBookAssignment object. + /// Update the properties of a managedEBookAssignment object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the iosVppEBookAssignment object. + /// Read properties and relationships of the managedEBookAssignment object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs index bbc1c18d815..e93b6ff31d0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedEBooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List properties and relationships of the managedEBook objects. - /// Find more info here + /// List properties and relationships of the iosVppEBook objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public ManagedEBooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedEBook objects. + /// List properties and relationships of the iosVppEBook objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedEBooks.ManagedEBooksRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedEBook objects. + /// List properties and relationships of the iosVppEBook objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedEBooksRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs index e1062f6f1d2..82bb6bccc65 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -163,7 +163,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -221,7 +221,7 @@ public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderDelete { } /// - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index 7e35093fafe..d19eecfe7c4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -149,8 +149,8 @@ public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Deletes a managedIOSStoreApp. - /// Find more info here + /// Deletes a iosiPadOSWebClip. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -172,8 +172,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsMobileMSI object. - /// Find more info here + /// Read properties and relationships of the iosLobApp object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -196,8 +196,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsWebApp object. - /// Find more info here + /// Update the properties of a iosVppApp object. + /// Find more info here /// /// A /// The request body @@ -222,7 +222,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a managedIOSStoreApp. + /// Deletes a iosiPadOSWebClip. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +241,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsMobileMSI object. + /// Read properties and relationships of the iosLobApp object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +260,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsWebApp object. + /// Update the properties of a iosVppApp object. /// /// A /// The request body @@ -299,7 +299,7 @@ public partial class MobileAppItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Read properties and relationships of the windowsMobileMSI object. + /// Read properties and relationships of the iosLobApp object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index 45eeaa60562..252da953825 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -150,8 +150,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List properties and relationships of the managedAndroidStoreApp objects. - /// Find more info here + /// List properties and relationships of the macOSLobApp objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -174,8 +174,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new managedAndroidLobApp object. - /// Find more info here + /// Create a new macOSLobApp object. + /// Find more info here /// /// A /// The request body @@ -200,7 +200,7 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAndroidStoreApp objects. + /// List properties and relationships of the macOSLobApp objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -219,7 +219,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new managedAndroidLobApp object. + /// Create a new macOSLobApp object. /// /// A /// The request body @@ -250,7 +250,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.MobileAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAndroidStoreApp objects. + /// List properties and relationships of the macOSLobApp objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 980ecbe0be3..22e9d7ef332 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// List properties and relationships of the androidWorkProfileCompliancePolicy objects. - /// Find more info here + /// List properties and relationships of the macOSCompliancePolicy objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windows81CompliancePolicy object. - /// Find more info here + /// Create a new androidCompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the androidWorkProfileCompliancePolicy objects. + /// List properties and relationships of the macOSCompliancePolicy objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windows81CompliancePolicy object. + /// Create a new androidCompliancePolicy object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceCompliancePolicies.DeviceCompliancePoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the androidWorkProfileCompliancePolicy objects. + /// List properties and relationships of the macOSCompliancePolicy objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceCompliancePoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index 0e7e8a2a367..ebed8cfab73 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -89,8 +89,8 @@ public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a iosCompliancePolicy. - /// Find more info here + /// Deletes a androidWorkProfileCompliancePolicy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,8 +112,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceCompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the windows81CompliancePolicy object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -162,7 +162,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a iosCompliancePolicy. + /// Deletes a androidWorkProfileCompliancePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceCompliancePolicy object. + /// Read properties and relationships of the windows81CompliancePolicy object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -239,7 +239,7 @@ public partial class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the deviceCompliancePolicy object. + /// Read properties and relationships of the windows81CompliancePolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index 2e1fde964ae..b070544013e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// List properties and relationships of the windows10GeneralConfiguration objects. - /// Find more info here + /// List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windowsPhone81CustomConfiguration object. - /// Find more info here + /// Create a new macOSGeneralDeviceConfiguration object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windows10GeneralConfiguration objects. + /// List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windowsPhone81CustomConfiguration object. + /// Create a new macOSGeneralDeviceConfiguration object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceConfigurations.DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windows10GeneralConfiguration objects. + /// List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index 345e2c106e1..7495a40ac32 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -78,8 +78,8 @@ public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Deletes a windows10GeneralConfiguration. - /// Find more info here + /// Deletes a windows10CustomConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -101,8 +101,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosCustomConfiguration object. - /// Find more info here + /// Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action - /// Update the properties of a windows10GeneralConfiguration object. - /// Find more info here + /// Update the properties of a macOSCustomConfiguration object. + /// Find more info here /// /// A /// The request body @@ -161,7 +161,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a windows10GeneralConfiguration. + /// Deletes a windows10CustomConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosCustomConfiguration object. + /// Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windows10GeneralConfiguration object. + /// Update the properties of a macOSCustomConfiguration object. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class DeviceConfigurationItemRequestBuilderDeleteRequestConfigura { } /// - /// Read properties and relationships of the iosCustomConfiguration object. + /// Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index cccca78f8c7..713c0e93b90 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt { } /// - /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. - /// Find more info here + /// List properties and relationships of the deviceEnrollmentConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + /// List properties and relationships of the deviceEnrollmentConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceEnrollmentConfigurations.DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + /// List properties and relationships of the deviceEnrollmentConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index 8810aad0f9e..19a61247984 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -53,8 +53,8 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(string rawUrl, IRequestAd { } /// - /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. - /// Find more info here + /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Find more info here /// /// A /// The request body @@ -126,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,7 +164,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. /// /// A /// The request body @@ -203,7 +203,7 @@ public partial class DeviceEnrollmentConfigurationItemRequestBuilderDeleteReques { } /// - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 13894264c68..4ffa30b4a0a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -392,7 +392,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Read properties and relationships of the deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -426,7 +426,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Update the properties of a deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 84555d3c630..3f7aaf0dd54 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -41,8 +41,8 @@ public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Deletes a deviceAndAppManagementRoleDefinition. - /// Find more info here + /// Deletes a roleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. - /// Find more info here + /// Read properties and relationships of the roleDefinition object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceAndAppManagementRoleDefinition object. - /// Find more info here + /// Update the properties of a roleDefinition object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceAndAppManagementRoleDefinition. + /// Deletes a roleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -133,7 +133,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + /// Read properties and relationships of the roleDefinition object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceAndAppManagementRoleDefinition object. + /// Update the properties of a roleDefinition object. /// /// A /// The request body @@ -191,7 +191,7 @@ public partial class RoleDefinitionItemRequestBuilderDeleteRequestConfiguration { } /// - /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + /// Read properties and relationships of the roleDefinition object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RoleDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index eb48980a6a0..9ccdc4de713 100644 --- a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 0ed51cfc482..ae263ca5442 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 30349b2641a..42ce3214beb 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index f56ea563f40..9ce38431c43 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 31e53d09bbd..255bbede131 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs index 5c4c2319b68..8e4876e6bf0 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs @@ -35,7 +35,7 @@ public VerifyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Validates the ownership of the domain. + /// Validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public VerifyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Validates the ownership of the domain. + /// Validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs index 9ed945786c7..47303026d51 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs @@ -35,7 +35,7 @@ public CreateLinkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. + /// Create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public CreateLinkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. + /// Create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs index d520dfca972..3abbbec50b6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. + /// Restore a driveItem that has been deleted and is currently in the recycle bin. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. + /// Restore a driveItem that has been deleted and is currently in the recycle bin. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 20b5cd67330..8105210adb6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -81,8 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. - /// Find more info here + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + /// Find more info here /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 896cb31e06b..11841eb686b 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs index 4ac48b86095..4fc8bd9b6af 100644 --- a/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs @@ -78,7 +78,7 @@ public GroupSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + /// Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. /// Find more info here /// /// A @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + /// Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index a732c7aee6c..d237fbe1b33 100644 --- a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 3d0ba1f2ac2..1ef4baf386d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -78,8 +78,8 @@ public ConversationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use reply thread or reply post to further post to that conversation. - /// Find more info here + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use reply thread or reply post to further post to that conversation. + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index e65d4c4c07a..5559ddb44ef 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -42,7 +42,7 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Delete conversation. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs index c60a0a42bc8..186d46e8da6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs @@ -78,7 +78,7 @@ public SettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + /// Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. /// Find more info here /// /// A @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + /// Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 62c5edf52f9..2d4299a25ce 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteObjectValue("recipient", Recipient); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index 0c4e4a358aa..3a199b4e810 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -70,8 +70,8 @@ public async Task DeleteAsync(Action - /// Get a thread object. - /// Find more info here + /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -139,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a thread object. + /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +197,7 @@ public partial class ConversationThreadItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get a thread object. + /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationThreadItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs index 74c419b5efd..ee06d8bf9d1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -54,8 +54,8 @@ public PostsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. - /// Find more info here + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,7 +78,7 @@ public PostsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PostsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index 1bf1fb45a3e..8ff00f1b707 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -35,8 +35,8 @@ public NamedLocationItemRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Delete a namedLocation object. - /// Find more info here + /// Delete an ipNamedLocation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a countryNamedLocation object. - /// Find more info here + /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a countryNamedLocation object. - /// Find more info here + /// Update the properties of an ipNamedLocation object. + /// Find more info here /// /// A /// The request body @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a namedLocation object. + /// Delete an ipNamedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a countryNamedLocation object. + /// Retrieve the properties and relationships of an ipNamedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a countryNamedLocation object. + /// Update the properties of an ipNamedLocation object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class NamedLocationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of a countryNamedLocation object. + /// Retrieve the properties and relationships of an ipNamedLocation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class NamedLocationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 947869285ba..a83372be3ae 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. - /// Find more info here + /// Retrieve the properties and relationships of an accessPackage object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -169,7 +169,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -227,7 +227,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index a34e2b1270b..c3573ad76e9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public CustomCalloutExtensionItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: - /// Find more info here + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +185,7 @@ public partial class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfig { } /// - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index d71dc4fd232..e583dd92780 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. - /// Find more info here + /// Retrieve the properties and relationships of an agreement object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Retrieve the properties and relationships of an agreement object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class AgreementItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Retrieve the properties and relationships of an agreement object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 07d1e7cb1f8..3f4c0201d05 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteObjectValue("recipient", Recipient); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs new file mode 100644 index 00000000000..cbb11136060 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.Activities +{ + /// + /// Provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivitiesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder ContentActivities + { + get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder(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 ActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities{?%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 ActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property activities for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivitiesContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property activities in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ActivitiesContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ActivitiesContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivitiesContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property activities for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + /// + /// 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 activities in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ActivitiesContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ActivitiesContainer body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder(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 ActivitiesRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivitiesRequestBuilderGetQueryParameters + { + /// 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 ActivitiesRequestBuilderGetRequestConfiguration : 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 ActivitiesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs new file mode 100644 index 00000000000..cca55324410 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count; +using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities +{ + /// + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivitiesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + /// The unique identifier of contentActivity + /// A + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("contentActivity%2Did", position); + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder(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 ContentActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities{?%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 ContentActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Collection of activity logs related to content processing. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a content activity for the signed-in user. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of activity logs related to content processing. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a content activity for the signed-in user. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Collection of activity logs related to content processing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivitiesRequestBuilderGetQueryParameters + { + /// 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 ContentActivitiesRequestBuilderGetRequestConfiguration : 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 ContentActivitiesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b467d4ffa43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs new file mode 100644 index 00000000000..a5143222f4e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item +{ + /// + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivityItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentActivityItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%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 ContentActivityItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property contentActivities for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of activity logs related to content processing. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property contentActivities in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property contentActivities for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Collection of activity logs related to content processing. + /// + /// 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 contentActivities in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder(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 ContentActivityItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of activity logs related to content processing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivityItemRequestBuilderGetQueryParameters + { + /// 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 ContentActivityItemRequestBuilderGetRequestConfiguration : 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 ContentActivityItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs new file mode 100644 index 00000000000..274cb7634dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DataSecurityAndGovernance.Activities; +using Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent; +using Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance +{ + /// + /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataSecurityAndGovernanceRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder Activities + { + get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the processContent method. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder ProcessContent + { + get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder ProtectionScopes + { + get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(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 DataSecurityAndGovernanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance{?%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 DataSecurityAndGovernanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dataSecurityAndGovernance for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The data security and governance settings for the user. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dataSecurityAndGovernance in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dataSecurityAndGovernance for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The data security and governance settings for the user. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property dataSecurityAndGovernance in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(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 DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The data security and governance settings for the user. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataSecurityAndGovernanceRequestBuilderGetQueryParameters + { + /// 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 DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration : 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 DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs new file mode 100644 index 00000000000..8ec28b7afd2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentPostRequestBody : 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 contentToProcess property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ProcessContentRequest? ContentToProcess + { + get { return BackingStore?.Get("contentToProcess"); } + set { BackingStore?.Set("contentToProcess", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ProcessContentRequest ContentToProcess + { + get { return BackingStore?.Get("contentToProcess"); } + set { BackingStore?.Set("contentToProcess", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentPostRequestBody() + { + 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.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "contentToProcess", n => { ContentToProcess = n.GetObjectValue(global::Microsoft.Graph.Models.ProcessContentRequest.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("contentToProcess", ContentToProcess); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs new file mode 100644 index 00000000000..2445443a477 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent +{ + /// + /// Provides operations to call the processContent method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProcessContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProcessContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/processContent", 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 ProcessContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/processContent", rawUrl) + { + } + /// + /// Process content against data protection policies in the context of the current, or specified, user. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProcessContentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Process content against data protection policies in the context of the current, or specified, user. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder(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 ProcessContentRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs new file mode 100644 index 00000000000..3c7d9f8837f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// 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 deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#endif + /// The integratedAppMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata? IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#endif + /// The locations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The pivotOn property + public global::Microsoft.Graph.Models.PolicyPivotProperty? PivotOn + { + get { return BackingStore?.Get("pivotOn"); } + set { BackingStore?.Set("pivotOn", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ComputePostRequestBody() + { + 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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, + { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pivotOn", n => { PivotOn = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("activities", Activities); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); + writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteEnumValue("pivotOn", PivotOn); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs new file mode 100644 index 00000000000..2dc781c8a50 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyUserScope.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs new file mode 100644 index 00000000000..bdc9dbd22b7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + /// + /// Provides operations to call the compute method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes/compute", 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 ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes/compute", rawUrl) + { + } + /// + /// Invoke action compute + /// + /// 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 PostAsComputePostResponseAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsComputePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ComputeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs new file mode 100644 index 00000000000..a95e2da67f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [Obsolete("This class is obsolete. Use ComputePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeResponse : global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse, 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.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs new file mode 100644 index 00000000000..6a0f27485f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes +{ + /// + /// Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProtectionScopesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the compute method. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Compute + { + get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ProtectionScopesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes{?%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 ProtectionScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property protectionScopes for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get protectionScopes from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property protectionScopes in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property protectionScopes for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get protectionScopes from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 protectionScopes in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(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 ProtectionScopesRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get protectionScopes from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProtectionScopesRequestBuilderGetQueryParameters + { + /// 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 ProtectionScopesRequestBuilderGetRequestConfiguration : 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 ProtectionScopesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs index fb8624e069a..4c179f68758 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 679b6a8a483..828ca3b87df 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteObjectValue("recipient", Recipient); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index e76565a8a5e..219fd552cee 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -84,8 +84,8 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// Find more info here + /// Create a new mailSearchFolder in the specified user's mailbox. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + /// Create a new mailSearchFolder in the specified user's mailbox. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 5c3de2745d1..75e60f79398 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -17,6 +17,7 @@ using Microsoft.Graph.Me.ContactFolders; using Microsoft.Graph.Me.Contacts; using Microsoft.Graph.Me.CreatedObjects; +using Microsoft.Graph.Me.DataSecurityAndGovernance; using Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents; using Microsoft.Graph.Me.DirectReports; using Microsoft.Graph.Me.Drive; @@ -179,6 +180,11 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.CreatedObjects.CreatedObjectsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder DataSecurityAndGovernance + { + get => new global::Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. public global::Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder DeviceManagementTroubleshootingEvents { diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 56356aa0d5b..cce32d9934a 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -60,8 +60,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AttachmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 5666bacf22c..6134c87a397 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -113,8 +113,8 @@ public MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Delete a message in the specified user's mailbox, or delete a relationship of the message. - /// Find more info here + /// Delete eventMessage. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -136,8 +136,8 @@ public async Task DeleteAsync(Action - /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. - /// Find more info here + /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -160,8 +160,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an eventMessage object. - /// Find more info here + /// Update the properties of a message object. + /// Find more info here /// /// A /// The request body @@ -186,7 +186,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a message in the specified user's mailbox, or delete a relationship of the message. + /// Delete eventMessage. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -205,7 +205,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -224,7 +224,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// The request body @@ -263,7 +263,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index 4cd03c99b02..e1ee388da34 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -34,8 +34,8 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete a message in the specified user's mailbox, or delete a relationship of the message. - /// Find more info here + /// Delete eventMessage. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -81,8 +81,8 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an eventMessage object. - /// Find more info here + /// Update the properties of a message object. + /// Find more info here /// /// A /// Binary request body @@ -107,7 +107,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a message in the specified user's mailbox, or delete a relationship of the message. + /// Delete eventMessage. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// Binary request body diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 42f63762677..e5db260c25a 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -136,6 +152,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, { "templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -151,6 +168,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteStringValue("teamsAppId", TeamsAppId); writer.WriteCollectionOfObjectValues("templateParameters", TemplateParameters); diff --git a/src/Microsoft.Graph/Generated/Models/ActivitiesContainer.cs b/src/Microsoft.Graph/Generated/Models/ActivitiesContainer.cs new file mode 100644 index 00000000000..56280a954be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActivitiesContainer.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActivitiesContainer : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Collection of activity logs related to content processing. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ContentActivities + { + get { return BackingStore?.Get?>("contentActivities"); } + set { BackingStore?.Set("contentActivities", value); } + } +#nullable restore +#else + public List ContentActivities + { + get { return BackingStore?.Get>("contentActivities"); } + set { BackingStore?.Set("contentActivities", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ActivitiesContainer CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ActivitiesContainer(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "contentActivities", n => { ContentActivities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("contentActivities", ContentActivities); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ActivityMetadata.cs b/src/Microsoft.Graph/Generated/Models/ActivityMetadata.cs new file mode 100644 index 00000000000..4aec36dc8e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActivityMetadata.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActivityMetadata : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activity property + public global::Microsoft.Graph.Models.UserActivityType? Activity + { + get { return BackingStore?.Get("activity"); } + set { BackingStore?.Set("activity", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ActivityMetadata() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ActivityMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ActivityMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activity", n => { Activity = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("activity", Activity); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionPlugin.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionPlugin.cs new file mode 100644 index 00000000000..88f7c3bc28a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionPlugin.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteractionPlugin : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The unique identifier of the plugin. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", value); } + } +#nullable restore +#else + public string Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", value); } + } +#endif + /// The display name of the plugin. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The version of the plugin used. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#nullable restore +#else + public string Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AiInteractionPlugin() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.AiInteractionPlugin CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AiInteractionPlugin(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "identifier", n => { Identifier = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("identifier", Identifier); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("version", Version); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BinaryContent.cs b/src/Microsoft.Graph/Generated/Models/BinaryContent.cs new file mode 100644 index 00000000000..81a8fc23090 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BinaryContent.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BinaryContent : global::Microsoft.Graph.Models.ContentBase, IParsable + #pragma warning restore CS1591 + { + /// The binary content, encoded as a Base64 string. Inherited from contentBase. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#nullable restore +#else + public byte[] Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BinaryContent() : base() + { + OdataType = "#microsoft.graph.binaryContent"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.BinaryContent CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BinaryContent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "data", n => { Data = n.GetByteArrayValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteByteArrayValue("data", Data); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ClassifcationErrorBase.cs b/src/Microsoft.Graph/Generated/Models/ClassifcationErrorBase.cs new file mode 100644 index 00000000000..d477d57e4fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClassifcationErrorBase.cs @@ -0,0 +1,159 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClassifcationErrorBase : 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; } + /// A service-defined error code string. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif + /// Contains more specific, potentially internal error details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ClassificationInnerError? InnerError + { + get { return BackingStore?.Get("innerError"); } + set { BackingStore?.Set("innerError", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ClassificationInnerError InnerError + { + get { return BackingStore?.Get("innerError"); } + set { BackingStore?.Set("innerError", value); } + } +#endif + /// A human-readable representation of the error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Message + { + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } + } +#nullable restore +#else + public string Message + { + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The target of the error (for example, the specific property or item causing the issue). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Target + { + get { return BackingStore?.Get("target"); } + set { BackingStore?.Set("target", value); } + } +#nullable restore +#else + public string Target + { + get { return BackingStore?.Get("target"); } + set { BackingStore?.Set("target", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClassifcationErrorBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ClassifcationErrorBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.classificationError" => new global::Microsoft.Graph.Models.ClassificationError(), + "#microsoft.graph.processingError" => new global::Microsoft.Graph.Models.ProcessingError(), + _ => new global::Microsoft.Graph.Models.ClassifcationErrorBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "code", n => { Code = n.GetStringValue(); } }, + { "innerError", n => { InnerError = n.GetObjectValue(global::Microsoft.Graph.Models.ClassificationInnerError.CreateFromDiscriminatorValue); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "target", n => { Target = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("code", Code); + writer.WriteObjectValue("innerError", InnerError); + writer.WriteStringValue("message", Message); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("target", Target); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ClassificationError.cs b/src/Microsoft.Graph/Generated/Models/ClassificationError.cs new file mode 100644 index 00000000000..9647ea8e15d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClassificationError.cs @@ -0,0 +1,69 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClassificationError : global::Microsoft.Graph.Models.ClassifcationErrorBase, IParsable + #pragma warning restore CS1591 + { + /// A collection of more specific errors contributing to the overall error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Details + { + get { return BackingStore?.Get?>("details"); } + set { BackingStore?.Set("details", value); } + } +#nullable restore +#else + public List Details + { + get { return BackingStore?.Get>("details"); } + set { BackingStore?.Set("details", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ClassificationError CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.processingError" => new global::Microsoft.Graph.Models.ProcessingError(), + _ => new global::Microsoft.Graph.Models.ClassificationError(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "details", n => { Details = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ClassifcationErrorBase.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("details", Details); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ClassificationInnerError.cs b/src/Microsoft.Graph/Generated/Models/ClassificationInnerError.cs new file mode 100644 index 00000000000..36471bbc6a3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClassificationInnerError.cs @@ -0,0 +1,143 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClassificationInnerError : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activity ID associated with the request that generated the error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ActivityId + { + get { return BackingStore?.Get("activityId"); } + set { BackingStore?.Set("activityId", value); } + } +#nullable restore +#else + public string ActivityId + { + get { return BackingStore?.Get("activityId"); } + set { BackingStore?.Set("activityId", value); } + } +#endif + /// 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 client request ID, if provided by the caller. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientRequestId + { + get { return BackingStore?.Get("clientRequestId"); } + set { BackingStore?.Set("clientRequestId", value); } + } +#nullable restore +#else + public string ClientRequestId + { + get { return BackingStore?.Get("clientRequestId"); } + set { BackingStore?.Set("clientRequestId", value); } + } +#endif + /// A more specific, potentially internal, error code string. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif + /// The date and time the inner error occurred. + public DateTimeOffset? ErrorDateTime + { + get { return BackingStore?.Get("errorDateTime"); } + set { BackingStore?.Set("errorDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClassificationInnerError() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ClassificationInnerError CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ClassificationInnerError(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activityId", n => { ActivityId = n.GetStringValue(); } }, + { "clientRequestId", n => { ClientRequestId = n.GetStringValue(); } }, + { "code", n => { Code = n.GetStringValue(); } }, + { "errorDateTime", n => { ErrorDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("activityId", ActivityId); + writer.WriteStringValue("clientRequestId", ClientRequestId); + writer.WriteStringValue("code", Code); + writer.WriteDateTimeOffsetValue("errorDateTime", ErrorDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ContentActivity.cs b/src/Microsoft.Graph/Generated/Models/ContentActivity.cs new file mode 100644 index 00000000000..15b60877dfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentActivity.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ContentActivity : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The contentMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ProcessContentRequest? ContentMetadata + { + get { return BackingStore?.Get("contentMetadata"); } + set { BackingStore?.Set("contentMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ProcessContentRequest ContentMetadata + { + get { return BackingStore?.Get("contentMetadata"); } + set { BackingStore?.Set("contentMetadata", value); } + } +#endif + /// The scope identified from computed protection scopes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ScopeIdentifier + { + get { return BackingStore?.Get("scopeIdentifier"); } + set { BackingStore?.Set("scopeIdentifier", value); } + } +#nullable restore +#else + public string ScopeIdentifier + { + get { return BackingStore?.Get("scopeIdentifier"); } + set { BackingStore?.Set("scopeIdentifier", value); } + } +#endif + /// ID of the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ContentActivity CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ContentActivity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "contentMetadata", n => { ContentMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.ProcessContentRequest.CreateFromDiscriminatorValue); } }, + { "scopeIdentifier", n => { ScopeIdentifier = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("contentMetadata", ContentMetadata); + writer.WriteStringValue("scopeIdentifier", ScopeIdentifier); + writer.WriteStringValue("userId", UserId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ContentActivityCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ContentActivityCollectionResponse.cs new file mode 100644 index 00000000000..082b24c9006 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentActivityCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ContentActivityCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ContentActivityCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ContentActivityCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ContentBase.cs b/src/Microsoft.Graph/Generated/Models/ContentBase.cs new file mode 100644 index 00000000000..0e0398c04e3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentBase.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ContentBase : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ContentBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ContentBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.binaryContent" => new global::Microsoft.Graph.Models.BinaryContent(), + "#microsoft.graph.textContent" => new global::Microsoft.Graph.Models.TextContent(), + _ => new global::Microsoft.Graph.Models.ContentBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ContentProcessingErrorType.cs b/src/Microsoft.Graph/Generated/Models/ContentProcessingErrorType.cs new file mode 100644 index 00000000000..ed8c53adb4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentProcessingErrorType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ContentProcessingErrorType + #pragma warning restore CS1591 + { + [EnumMember(Value = "transient")] + #pragma warning disable CS1591 + Transient, + #pragma warning restore CS1591 + [EnumMember(Value = "permanent")] + #pragma warning disable CS1591 + Permanent, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CustomMetadataDictionary.cs b/src/Microsoft.Graph/Generated/Models/CustomMetadataDictionary.cs new file mode 100644 index 00000000000..1bac30c3943 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomMetadataDictionary.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomMetadataDictionary : global::Microsoft.Graph.Models.Dictionary, 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.Models.CustomMetadataDictionary CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CustomMetadataDictionary(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DataSecurityAndGovernance.cs b/src/Microsoft.Graph/Generated/Models/DataSecurityAndGovernance.cs new file mode 100644 index 00000000000..0c0fa64737b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DataSecurityAndGovernance.cs @@ -0,0 +1,52 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DataSecurityAndGovernance : global::Microsoft.Graph.Models.Entity, 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.Models.DataSecurityAndGovernance CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.tenantDataSecurityAndGovernance" => new global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance(), + "#microsoft.graph.userDataSecurityAndGovernance" => new global::Microsoft.Graph.Models.UserDataSecurityAndGovernance(), + _ => new global::Microsoft.Graph.Models.DataSecurityAndGovernance(), + }; + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeviceMetadata.cs b/src/Microsoft.Graph/Generated/Models/DeviceMetadata.cs new file mode 100644 index 00000000000..95a0d46d9d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceMetadata.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeviceMetadata : 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; } + /// Optional. The general type of the device (for example, 'Managed', 'Unmanaged'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceType + { + get { return BackingStore?.Get("deviceType"); } + set { BackingStore?.Set("deviceType", value); } + } +#nullable restore +#else + public string DeviceType + { + get { return BackingStore?.Get("deviceType"); } + set { BackingStore?.Set("deviceType", value); } + } +#endif + /// The Internet Protocol (IP) address of the device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IpAddress + { + get { return BackingStore?.Get("ipAddress"); } + set { BackingStore?.Set("ipAddress", value); } + } +#nullable restore +#else + public string IpAddress + { + get { return BackingStore?.Get("ipAddress"); } + set { BackingStore?.Set("ipAddress", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Details about the operating system platform and version. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OperatingSystemSpecifications? OperatingSystemSpecifications + { + get { return BackingStore?.Get("operatingSystemSpecifications"); } + set { BackingStore?.Set("operatingSystemSpecifications", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OperatingSystemSpecifications OperatingSystemSpecifications + { + get { return BackingStore?.Get("operatingSystemSpecifications"); } + set { BackingStore?.Set("operatingSystemSpecifications", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeviceMetadata() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.DeviceMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DeviceMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "deviceType", n => { DeviceType = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operatingSystemSpecifications", n => { OperatingSystemSpecifications = n.GetObjectValue(global::Microsoft.Graph.Models.OperatingSystemSpecifications.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("deviceType", DeviceType); + writer.WriteStringValue("ipAddress", IpAddress); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("operatingSystemSpecifications", OperatingSystemSpecifications); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Dictionary.cs b/src/Microsoft.Graph/Generated/Models/Dictionary.cs index 5f6f32e6d26..a7f31e03a66 100644 --- a/src/Microsoft.Graph/Generated/Models/Dictionary.cs +++ b/src/Microsoft.Graph/Generated/Models/Dictionary.cs @@ -56,6 +56,7 @@ public Dictionary() var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.customMetadataDictionary" => new global::Microsoft.Graph.Models.CustomMetadataDictionary(), "#microsoft.graph.fileStorageContainerCustomPropertyDictionary" => new global::Microsoft.Graph.Models.FileStorageContainerCustomPropertyDictionary(), "#microsoft.graph.resultTemplateDictionary" => new global::Microsoft.Graph.Models.ResultTemplateDictionary(), _ => new global::Microsoft.Graph.Models.Dictionary(), diff --git a/src/Microsoft.Graph/Generated/Models/DlpAction.cs b/src/Microsoft.Graph/Generated/Models/DlpAction.cs new file mode 100644 index 00000000000..4257056b7eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DlpAction.cs @@ -0,0 +1,60 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DlpAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "notifyUser")] + #pragma warning disable CS1591 + NotifyUser, + #pragma warning restore CS1591 + [EnumMember(Value = "blockAccess")] + #pragma warning disable CS1591 + BlockAccess, + #pragma warning restore CS1591 + [EnumMember(Value = "deviceRestriction")] + #pragma warning disable CS1591 + DeviceRestriction, + #pragma warning restore CS1591 + [EnumMember(Value = "browserRestriction")] + #pragma warning disable CS1591 + BrowserRestriction, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "restrictAccess")] + #pragma warning disable CS1591 + RestrictAccess, + #pragma warning restore CS1591 + [EnumMember(Value = "generateAlert")] + #pragma warning disable CS1591 + GenerateAlert, + #pragma warning restore CS1591 + [EnumMember(Value = "generateIncidentReportAction")] + #pragma warning disable CS1591 + GenerateIncidentReportAction, + #pragma warning restore CS1591 + [EnumMember(Value = "sPBlockAnonymousAccess")] + #pragma warning disable CS1591 + SPBlockAnonymousAccess, + #pragma warning restore CS1591 + [EnumMember(Value = "sPRuntimeAccessControl")] + #pragma warning disable CS1591 + SPRuntimeAccessControl, + #pragma warning restore CS1591 + [EnumMember(Value = "sPSharingNotifyUser")] + #pragma warning disable CS1591 + SPSharingNotifyUser, + #pragma warning restore CS1591 + [EnumMember(Value = "sPSharingGenerateIncidentReport")] + #pragma warning disable CS1591 + SPSharingGenerateIncidentReport, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DlpActionInfo.cs b/src/Microsoft.Graph/Generated/Models/DlpActionInfo.cs new file mode 100644 index 00000000000..15ad708b804 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DlpActionInfo.cs @@ -0,0 +1,95 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DlpActionInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The type of DLP action. Possible value is restrictAccessAction. + public global::Microsoft.Graph.Models.DlpAction? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DlpActionInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.DlpActionInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.restrictAccessAction" => new global::Microsoft.Graph.Models.RestrictAccessAction(), + "#microsoft.graph.restrictAccessActionBase" => new global::Microsoft.Graph.Models.RestrictAccessActionBase(), + _ => new global::Microsoft.Graph.Models.DlpActionInfo(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "action", n => { Action = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("action", Action); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index abe7fd436a3..ccdecb05aac 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -106,6 +106,7 @@ public Entity() "#microsoft.graph.accessReviewScheduleDefinition" => new global::Microsoft.Graph.Models.AccessReviewScheduleDefinition(), "#microsoft.graph.accessReviewSet" => new global::Microsoft.Graph.Models.AccessReviewSet(), "#microsoft.graph.accessReviewStage" => new global::Microsoft.Graph.Models.AccessReviewStage(), + "#microsoft.graph.activitiesContainer" => new global::Microsoft.Graph.Models.ActivitiesContainer(), "#microsoft.graph.activityBasedTimeoutPolicy" => new global::Microsoft.Graph.Models.ActivityBasedTimeoutPolicy(), "#microsoft.graph.activityHistoryItem" => new global::Microsoft.Graph.Models.ActivityHistoryItem(), "#microsoft.graph.addLargeGalleryViewOperation" => new global::Microsoft.Graph.Models.AddLargeGalleryViewOperation(), @@ -249,6 +250,7 @@ public Entity() "#microsoft.graph.connectedOrganization" => new global::Microsoft.Graph.Models.ConnectedOrganization(), "#microsoft.graph.contact" => new global::Microsoft.Graph.Models.Contact(), "#microsoft.graph.contactFolder" => new global::Microsoft.Graph.Models.ContactFolder(), + "#microsoft.graph.contentActivity" => new global::Microsoft.Graph.Models.ContentActivity(), "#microsoft.graph.contentSharingSession" => new global::Microsoft.Graph.Models.ContentSharingSession(), "#microsoft.graph.contentType" => new global::Microsoft.Graph.Models.ContentType(), "#microsoft.graph.contract" => new global::Microsoft.Graph.Models.Contract(), @@ -266,6 +268,7 @@ public Entity() "#microsoft.graph.customExtensionStageSetting" => new global::Microsoft.Graph.Models.CustomExtensionStageSetting(), "#microsoft.graph.customSecurityAttributeDefinition" => new global::Microsoft.Graph.Models.CustomSecurityAttributeDefinition(), "#microsoft.graph.dataPolicyOperation" => new global::Microsoft.Graph.Models.DataPolicyOperation(), + "#microsoft.graph.dataSecurityAndGovernance" => new global::Microsoft.Graph.Models.DataSecurityAndGovernance(), "#microsoft.graph.dayNote" => new global::Microsoft.Graph.Models.DayNote(), "#microsoft.graph.defaultManagedAppProtection" => new global::Microsoft.Graph.Models.DefaultManagedAppProtection(), "#microsoft.graph.delegatedAdminAccessAssignment" => new global::Microsoft.Graph.Models.DelegatedAdminAccessAssignment(), @@ -472,6 +475,7 @@ public Entity() "#microsoft.graph.itemAttachment" => new global::Microsoft.Graph.Models.ItemAttachment(), "#microsoft.graph.itemInsights" => new global::Microsoft.Graph.Models.ItemInsights(), "#microsoft.graph.itemRetentionLabel" => new global::Microsoft.Graph.Models.ItemRetentionLabel(), + "#microsoft.graph.labelContentRight" => new global::Microsoft.Graph.Models.LabelContentRight(), "#microsoft.graph.landingPage" => new global::Microsoft.Graph.Models.LandingPage(), "#microsoft.graph.landingPageDetail" => new global::Microsoft.Graph.Models.LandingPageDetail(), "#microsoft.graph.learningAssignment" => new global::Microsoft.Graph.Models.LearningAssignment(), @@ -876,6 +880,8 @@ public Entity() "#microsoft.graph.temporaryAccessPassAuthenticationMethod" => new global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod(), "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethodConfiguration(), "#microsoft.graph.tenantAppManagementPolicy" => new global::Microsoft.Graph.Models.TenantAppManagementPolicy(), + "#microsoft.graph.tenantDataSecurityAndGovernance" => new global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance(), + "#microsoft.graph.tenantProtectionScopeContainer" => new global::Microsoft.Graph.Models.TenantProtectionScopeContainer(), "#microsoft.graph.termsAndConditions" => new global::Microsoft.Graph.Models.TermsAndConditions(), "#microsoft.graph.termsAndConditionsAcceptanceStatus" => new global::Microsoft.Graph.Models.TermsAndConditionsAcceptanceStatus(), "#microsoft.graph.termsAndConditionsAssignment" => new global::Microsoft.Graph.Models.TermsAndConditionsAssignment(), @@ -925,10 +931,12 @@ public Entity() "#microsoft.graph.unmuteParticipantOperation" => new global::Microsoft.Graph.Models.UnmuteParticipantOperation(), "#microsoft.graph.updateRecordingStatusOperation" => new global::Microsoft.Graph.Models.UpdateRecordingStatusOperation(), "#microsoft.graph.urlAssessmentRequest" => new global::Microsoft.Graph.Models.UrlAssessmentRequest(), + "#microsoft.graph.usageRightsIncluded" => new global::Microsoft.Graph.Models.UsageRightsIncluded(), "#microsoft.graph.usedInsight" => new global::Microsoft.Graph.Models.UsedInsight(), "#microsoft.graph.user" => new global::Microsoft.Graph.Models.User(), "#microsoft.graph.userActivity" => new global::Microsoft.Graph.Models.UserActivity(), "#microsoft.graph.userConsentRequest" => new global::Microsoft.Graph.Models.UserConsentRequest(), + "#microsoft.graph.userDataSecurityAndGovernance" => new global::Microsoft.Graph.Models.UserDataSecurityAndGovernance(), "#microsoft.graph.userExperienceAnalyticsAppHealthApplicationPerformance" => new global::Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthApplicationPerformance(), "#microsoft.graph.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails" => new global::Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails(), "#microsoft.graph.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId" => new global::Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId(), @@ -957,6 +965,7 @@ public Entity() "#microsoft.graph.userFlowLanguagePage" => new global::Microsoft.Graph.Models.UserFlowLanguagePage(), "#microsoft.graph.userInsightsSettings" => new global::Microsoft.Graph.Models.UserInsightsSettings(), "#microsoft.graph.userInstallStateSummary" => new global::Microsoft.Graph.Models.UserInstallStateSummary(), + "#microsoft.graph.userProtectionScopeContainer" => new global::Microsoft.Graph.Models.UserProtectionScopeContainer(), "#microsoft.graph.userRegistrationDetails" => new global::Microsoft.Graph.Models.UserRegistrationDetails(), "#microsoft.graph.userScopeTeamsAppInstallation" => new global::Microsoft.Graph.Models.UserScopeTeamsAppInstallation(), "#microsoft.graph.userSettings" => new global::Microsoft.Graph.Models.UserSettings(), diff --git a/src/Microsoft.Graph/Generated/Models/ExecutionMode.cs b/src/Microsoft.Graph/Generated/Models/ExecutionMode.cs new file mode 100644 index 00000000000..d92cb27ce2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExecutionMode.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ExecutionMode + #pragma warning restore CS1591 + { + [EnumMember(Value = "evaluateInline")] + #pragma warning disable CS1591 + EvaluateInline, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluateOffline")] + #pragma warning disable CS1591 + EvaluateOffline, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/GroupScope.cs b/src/Microsoft.Graph/Generated/Models/GroupScope.cs new file mode 100644 index 00000000000..ee9814a0c30 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GroupScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GroupScope : global::Microsoft.Graph.Models.ScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public GroupScope() : base() + { + OdataType = "#microsoft.graph.groupScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.GroupScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GroupScope(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IntegratedApplicationMetadata.cs b/src/Microsoft.Graph/Generated/Models/IntegratedApplicationMetadata.cs new file mode 100644 index 00000000000..ef51fb40951 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IntegratedApplicationMetadata.cs @@ -0,0 +1,122 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IntegratedApplicationMetadata : 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 name of the integrated application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The version number of the integrated application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#nullable restore +#else + public string Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public IntegratedApplicationMetadata() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.IntegratedApplicationMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.protectedApplicationMetadata" => new global::Microsoft.Graph.Models.ProtectedApplicationMetadata(), + _ => new global::Microsoft.Graph.Models.IntegratedApplicationMetadata(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("version", Version); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/LabelContentRight.cs b/src/Microsoft.Graph/Generated/Models/LabelContentRight.cs new file mode 100644 index 00000000000..af2572c1372 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LabelContentRight.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LabelContentRight : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The content identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Cid + { + get { return BackingStore?.Get("cid"); } + set { BackingStore?.Set("cid", value); } + } +#nullable restore +#else + public string Cid + { + get { return BackingStore?.Get("cid"); } + set { BackingStore?.Set("cid", value); } + } +#endif + /// The content format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Format + { + get { return BackingStore?.Get("format"); } + set { BackingStore?.Set("format", value); } + } +#nullable restore +#else + public string Format + { + get { return BackingStore?.Get("format"); } + set { BackingStore?.Set("format", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.LabelContentRight CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.LabelContentRight(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "cid", n => { Cid = n.GetStringValue(); } }, + { "format", n => { Format = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("cid", Cid); + writer.WriteStringValue("format", Format); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OperatingSystemSpecifications.cs b/src/Microsoft.Graph/Generated/Models/OperatingSystemSpecifications.cs new file mode 100644 index 00000000000..86a732395a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OperatingSystemSpecifications.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OperatingSystemSpecifications : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The platform of the operating system (for example, 'Windows'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OperatingSystemPlatform + { + get { return BackingStore?.Get("operatingSystemPlatform"); } + set { BackingStore?.Set("operatingSystemPlatform", value); } + } +#nullable restore +#else + public string OperatingSystemPlatform + { + get { return BackingStore?.Get("operatingSystemPlatform"); } + set { BackingStore?.Set("operatingSystemPlatform", value); } + } +#endif + /// The version string of the operating system. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OperatingSystemVersion + { + get { return BackingStore?.Get("operatingSystemVersion"); } + set { BackingStore?.Set("operatingSystemVersion", value); } + } +#nullable restore +#else + public string OperatingSystemVersion + { + get { return BackingStore?.Get("operatingSystemVersion"); } + set { BackingStore?.Set("operatingSystemVersion", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OperatingSystemSpecifications() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.OperatingSystemSpecifications CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OperatingSystemSpecifications(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operatingSystemPlatform", n => { OperatingSystemPlatform = n.GetStringValue(); } }, + { "operatingSystemVersion", n => { OperatingSystemVersion = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("operatingSystemPlatform", OperatingSystemPlatform); + writer.WriteStringValue("operatingSystemVersion", OperatingSystemVersion); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyBinding.cs b/src/Microsoft.Graph/Generated/Models/PolicyBinding.cs new file mode 100644 index 00000000000..4999d1fa272 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyBinding.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyBinding : 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; } + /// Specifies the users or groups to be explicitly excluded from this policy scope. Can be null or empty. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Exclusions + { + get { return BackingStore?.Get?>("exclusions"); } + set { BackingStore?.Set("exclusions", value); } + } +#nullable restore +#else + public List Exclusions + { + get { return BackingStore?.Get>("exclusions"); } + set { BackingStore?.Set("exclusions", value); } + } +#endif + /// Specifies the users or groups to be included in this policy scope. Often set to tenantScope for 'All users'. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Inclusions + { + get { return BackingStore?.Get?>("inclusions"); } + set { BackingStore?.Set("inclusions", value); } + } +#nullable restore +#else + public List Inclusions + { + get { return BackingStore?.Get>("inclusions"); } + set { BackingStore?.Set("inclusions", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyBinding() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.PolicyBinding CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PolicyBinding(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "exclusions", n => { Exclusions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ScopeBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "inclusions", n => { Inclusions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ScopeBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("exclusions", Exclusions); + writer.WriteCollectionOfObjectValues("inclusions", Inclusions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyLocation.cs b/src/Microsoft.Graph/Generated/Models/PolicyLocation.cs new file mode 100644 index 00000000000..8d13a2b0ca8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyLocation.cs @@ -0,0 +1,106 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyLocation : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The actual value representing the location. Location value is specific for concretetype of the policyLocation - policyLocationDomain, policyLocationUrl, or policyLocationApplication (for example, 'contoso.com', 'https://partner.contoso.com/upload', '83ef198a-0396-4893-9d4f-d36efbffcaaa'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public string Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyLocation() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.PolicyLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.policyLocationApplication" => new global::Microsoft.Graph.Models.PolicyLocationApplication(), + "#microsoft.graph.policyLocationDomain" => new global::Microsoft.Graph.Models.PolicyLocationDomain(), + "#microsoft.graph.policyLocationUrl" => new global::Microsoft.Graph.Models.PolicyLocationUrl(), + _ => new global::Microsoft.Graph.Models.PolicyLocation(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyLocationApplication.cs b/src/Microsoft.Graph/Generated/Models/PolicyLocationApplication.cs new file mode 100644 index 00000000000..738e8f4e20b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyLocationApplication.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyLocationApplication : global::Microsoft.Graph.Models.PolicyLocation, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public PolicyLocationApplication() : base() + { + OdataType = "#microsoft.graph.policyLocationApplication"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.PolicyLocationApplication CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PolicyLocationApplication(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyLocationDomain.cs b/src/Microsoft.Graph/Generated/Models/PolicyLocationDomain.cs new file mode 100644 index 00000000000..5a95400bfa3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyLocationDomain.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyLocationDomain : global::Microsoft.Graph.Models.PolicyLocation, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public PolicyLocationDomain() : base() + { + OdataType = "#microsoft.graph.policyLocationDomain"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.PolicyLocationDomain CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PolicyLocationDomain(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyLocationUrl.cs b/src/Microsoft.Graph/Generated/Models/PolicyLocationUrl.cs new file mode 100644 index 00000000000..bbc9b33aa98 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyLocationUrl.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyLocationUrl : global::Microsoft.Graph.Models.PolicyLocation, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public PolicyLocationUrl() : base() + { + OdataType = "#microsoft.graph.policyLocationUrl"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.PolicyLocationUrl CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PolicyLocationUrl(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyPivotProperty.cs b/src/Microsoft.Graph/Generated/Models/PolicyPivotProperty.cs new file mode 100644 index 00000000000..b257473f825 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyPivotProperty.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PolicyPivotProperty + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "activity")] + #pragma warning disable CS1591 + Activity, + #pragma warning restore CS1591 + [EnumMember(Value = "location")] + #pragma warning disable CS1591 + Location, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs b/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs new file mode 100644 index 00000000000..759657a3da0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs @@ -0,0 +1,139 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyScopeBase : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// 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 executionMode property + public global::Microsoft.Graph.Models.ExecutionMode? ExecutionMode + { + get { return BackingStore?.Get("executionMode"); } + set { BackingStore?.Set("executionMode", value); } + } + /// The locations (like domains or URLs) to be protected. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The enforcement actions to take if the policy conditions are met within this scope. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PolicyActions + { + get { return BackingStore?.Get?>("policyActions"); } + set { BackingStore?.Set("policyActions", value); } + } +#nullable restore +#else + public List PolicyActions + { + get { return BackingStore?.Get>("policyActions"); } + set { BackingStore?.Set("policyActions", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyScopeBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.PolicyScopeBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.policyTenantScope" => new global::Microsoft.Graph.Models.PolicyTenantScope(), + "#microsoft.graph.policyUserScope" => new global::Microsoft.Graph.Models.PolicyUserScope(), + _ => new global::Microsoft.Graph.Models.PolicyScopeBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "executionMode", n => { ExecutionMode = n.GetEnumValue(); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyActions", n => { PolicyActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DlpActionInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("activities", Activities); + writer.WriteEnumValue("executionMode", ExecutionMode); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("policyActions", PolicyActions); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyTenantScope.cs b/src/Microsoft.Graph/Generated/Models/PolicyTenantScope.cs new file mode 100644 index 00000000000..9426c5fe9d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyTenantScope.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyTenantScope : global::Microsoft.Graph.Models.PolicyScopeBase, IParsable + #pragma warning restore CS1591 + { + /// Specifies the users and groups included in or excluded from this tenant-level policy scope. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PolicyBinding? PolicyScope + { + get { return BackingStore?.Get("policyScope"); } + set { BackingStore?.Set("policyScope", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PolicyBinding PolicyScope + { + get { return BackingStore?.Get("policyScope"); } + set { BackingStore?.Set("policyScope", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyTenantScope() : base() + { + OdataType = "#microsoft.graph.policyTenantScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.PolicyTenantScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PolicyTenantScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "policyScope", n => { PolicyScope = n.GetObjectValue(global::Microsoft.Graph.Models.PolicyBinding.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("policyScope", PolicyScope); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyUserScope.cs b/src/Microsoft.Graph/Generated/Models/PolicyUserScope.cs new file mode 100644 index 00000000000..c22b1a6e4c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyUserScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyUserScope : global::Microsoft.Graph.Models.PolicyScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public PolicyUserScope() : base() + { + OdataType = "#microsoft.graph.policyUserScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.PolicyUserScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PolicyUserScope(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentBatchRequest.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentBatchRequest.cs new file mode 100644 index 00000000000..567946d5405 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentBatchRequest.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentBatchRequest : 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 contentToProcess property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ProcessContentRequest? ContentToProcess + { + get { return BackingStore?.Get("contentToProcess"); } + set { BackingStore?.Set("contentToProcess", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ProcessContentRequest ContentToProcess + { + get { return BackingStore?.Get("contentToProcess"); } + set { BackingStore?.Set("contentToProcess", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// A unique identifier provided by the client to correlate this specific request item within the batch. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RequestId + { + get { return BackingStore?.Get("requestId"); } + set { BackingStore?.Set("requestId", value); } + } +#nullable restore +#else + public string RequestId + { + get { return BackingStore?.Get("requestId"); } + set { BackingStore?.Set("requestId", value); } + } +#endif + /// The unique identifier (Object ID or UPN) of the user in whose context the content should be processed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentBatchRequest() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ProcessContentBatchRequest CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProcessContentBatchRequest(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "contentToProcess", n => { ContentToProcess = n.GetObjectValue(global::Microsoft.Graph.Models.ProcessContentRequest.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "requestId", n => { RequestId = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("contentToProcess", ContentToProcess); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("requestId", RequestId); + writer.WriteStringValue("userId", UserId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs new file mode 100644 index 00000000000..9c21eb53354 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs @@ -0,0 +1,199 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentMetadataBase : 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; } + /// Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ContentBase? Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ContentBase Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#endif + /// An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#nullable restore +#else + public string CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#endif + /// Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time). + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", value); } + } +#nullable restore +#else + public string Identifier + { + get { return BackingStore?.Get("identifier"); } + set { BackingStore?.Set("identifier", value); } + } +#endif + /// Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits). + public bool? IsTruncated + { + get { return BackingStore?.Get("isTruncated"); } + set { BackingStore?.Set("isTruncated", value); } + } + /// The length of the original content in bytes. + public long? Length + { + get { return BackingStore?.Get("length"); } + set { BackingStore?.Set("length", value); } + } + /// Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime. + public DateTimeOffset? ModifiedDateTime + { + get { return BackingStore?.Get("modifiedDateTime"); } + set { BackingStore?.Set("modifiedDateTime", value); } + } + /// Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. + public long? SequenceNumber + { + get { return BackingStore?.Get("sequenceNumber"); } + set { BackingStore?.Set("sequenceNumber", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentMetadataBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ProcessContentMetadataBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.processConversationMetadata" => new global::Microsoft.Graph.Models.ProcessConversationMetadata(), + "#microsoft.graph.processFileMetadata" => new global::Microsoft.Graph.Models.ProcessFileMetadata(), + _ => new global::Microsoft.Graph.Models.ProcessContentMetadataBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "content", n => { Content = n.GetObjectValue(global::Microsoft.Graph.Models.ContentBase.CreateFromDiscriminatorValue); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "identifier", n => { Identifier = n.GetStringValue(); } }, + { "isTruncated", n => { IsTruncated = n.GetBoolValue(); } }, + { "length", n => { Length = n.GetLongValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sequenceNumber", n => { SequenceNumber = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("content", Content); + writer.WriteStringValue("correlationId", CorrelationId); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("identifier", Identifier); + writer.WriteBoolValue("isTruncated", IsTruncated); + writer.WriteLongValue("length", Length); + writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteLongValue("sequenceNumber", SequenceNumber); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs new file mode 100644 index 00000000000..ef01ed22f1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentRequest.cs @@ -0,0 +1,171 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentRequest : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activityMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ActivityMetadata? ActivityMetadata + { + get { return BackingStore?.Get("activityMetadata"); } + set { BackingStore?.Set("activityMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ActivityMetadata ActivityMetadata + { + get { return BackingStore?.Get("activityMetadata"); } + set { BackingStore?.Set("activityMetadata", value); } + } +#endif + /// 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; } + /// A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ContentEntries + { + get { return BackingStore?.Get?>("contentEntries"); } + set { BackingStore?.Set("contentEntries", value); } + } +#nullable restore +#else + public List ContentEntries + { + get { return BackingStore?.Get>("contentEntries"); } + set { BackingStore?.Set("contentEntries", value); } + } +#endif + /// The deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#endif + /// The integratedAppMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata? IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Metadata about the protected application making the request. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ProtectedApplicationMetadata? ProtectedAppMetadata + { + get { return BackingStore?.Get("protectedAppMetadata"); } + set { BackingStore?.Set("protectedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ProtectedApplicationMetadata ProtectedAppMetadata + { + get { return BackingStore?.Get("protectedAppMetadata"); } + set { BackingStore?.Set("protectedAppMetadata", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentRequest() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ProcessContentRequest CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProcessContentRequest(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activityMetadata", n => { ActivityMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.ActivityMetadata.CreateFromDiscriminatorValue); } }, + { "contentEntries", n => { ContentEntries = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProcessContentMetadataBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, + { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "protectedAppMetadata", n => { ProtectedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.ProtectedApplicationMetadata.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("activityMetadata", ActivityMetadata); + writer.WriteCollectionOfObjectValues("contentEntries", ContentEntries); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); + writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("protectedAppMetadata", ProtectedAppMetadata); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentResponse.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentResponse.cs new file mode 100644 index 00000000000..266a7401b38 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentResponse.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentResponse : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policy action supported in for this resource type is restrictAccess. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PolicyActions + { + get { return BackingStore?.Get?>("policyActions"); } + set { BackingStore?.Set("policyActions", value); } + } +#nullable restore +#else + public List PolicyActions + { + get { return BackingStore?.Get>("policyActions"); } + set { BackingStore?.Set("policyActions", value); } + } +#endif + /// A collection of errors encountered during the content processing. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProcessingErrors + { + get { return BackingStore?.Get?>("processingErrors"); } + set { BackingStore?.Set("processingErrors", value); } + } +#nullable restore +#else + public List ProcessingErrors + { + get { return BackingStore?.Get>("processingErrors"); } + set { BackingStore?.Set("processingErrors", value); } + } +#endif + /// The protectionScopeState property + public global::Microsoft.Graph.Models.ProtectionScopeState? ProtectionScopeState + { + get { return BackingStore?.Get("protectionScopeState"); } + set { BackingStore?.Set("protectionScopeState", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ProcessContentResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProcessContentResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyActions", n => { PolicyActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DlpActionInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + { "processingErrors", n => { ProcessingErrors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProcessingError.CreateFromDiscriminatorValue)?.AsList(); } }, + { "protectionScopeState", n => { ProtectionScopeState = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("policyActions", PolicyActions); + writer.WriteCollectionOfObjectValues("processingErrors", ProcessingErrors); + writer.WriteEnumValue("protectionScopeState", ProtectionScopeState); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentResponses.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentResponses.cs new file mode 100644 index 00000000000..276254e4086 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentResponses.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentResponses : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The unique identifier that matches the requestId provided in the corresponding processContentBatchRequest. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RequestId + { + get { return BackingStore?.Get("requestId"); } + set { BackingStore?.Set("requestId", value); } + } +#nullable restore +#else + public string RequestId + { + get { return BackingStore?.Get("requestId"); } + set { BackingStore?.Set("requestId", value); } + } +#endif + /// The results property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ProcessContentResponse? Results + { + get { return BackingStore?.Get("results"); } + set { BackingStore?.Set("results", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ProcessContentResponse Results + { + get { return BackingStore?.Get("results"); } + set { BackingStore?.Set("results", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentResponses() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ProcessContentResponses CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProcessContentResponses(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "requestId", n => { RequestId = n.GetStringValue(); } }, + { "results", n => { Results = n.GetObjectValue(global::Microsoft.Graph.Models.ProcessContentResponse.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("requestId", RequestId); + writer.WriteObjectValue("results", Results); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessConversationMetadata.cs b/src/Microsoft.Graph/Generated/Models/ProcessConversationMetadata.cs new file mode 100644 index 00000000000..20f662c0c34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessConversationMetadata.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessConversationMetadata : global::Microsoft.Graph.Models.ProcessContentMetadataBase, IParsable + #pragma warning restore CS1591 + { + /// List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AccessedResources + { + get { return BackingStore?.Get?>("accessedResources"); } + set { BackingStore?.Set("accessedResources", value); } + } +#nullable restore +#else + public List AccessedResources + { + get { return BackingStore?.Get>("accessedResources"); } + set { BackingStore?.Set("accessedResources", value); } + } +#endif + /// Identifier of the parent message in a threaded conversation, if applicable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentMessageId + { + get { return BackingStore?.Get("parentMessageId"); } + set { BackingStore?.Set("parentMessageId", value); } + } +#nullable restore +#else + public string ParentMessageId + { + get { return BackingStore?.Get("parentMessageId"); } + set { BackingStore?.Set("parentMessageId", value); } + } +#endif + /// List of plugins used during the generation of this message (relevant for AI/bot interactions). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Plugins + { + get { return BackingStore?.Get?>("plugins"); } + set { BackingStore?.Set("plugins", value); } + } +#nullable restore +#else + public List Plugins + { + get { return BackingStore?.Get>("plugins"); } + set { BackingStore?.Set("plugins", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessConversationMetadata() : base() + { + OdataType = "#microsoft.graph.processConversationMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ProcessConversationMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProcessConversationMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "accessedResources", n => { AccessedResources = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "parentMessageId", n => { ParentMessageId = n.GetStringValue(); } }, + { "plugins", n => { Plugins = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AiInteractionPlugin.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("accessedResources", AccessedResources); + writer.WriteStringValue("parentMessageId", ParentMessageId); + writer.WriteCollectionOfObjectValues("plugins", Plugins); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessFileMetadata.cs b/src/Microsoft.Graph/Generated/Models/ProcessFileMetadata.cs new file mode 100644 index 00000000000..3c6d8d3ec44 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessFileMetadata.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessFileMetadata : global::Microsoft.Graph.Models.ProcessContentMetadataBase, IParsable + #pragma warning restore CS1591 + { + /// A dictionary containing custom metadata associated with the file, potentially extracted by the calling application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CustomMetadataDictionary? CustomProperties + { + get { return BackingStore?.Get("customProperties"); } + set { BackingStore?.Set("customProperties", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CustomMetadataDictionary CustomProperties + { + get { return BackingStore?.Get("customProperties"); } + set { BackingStore?.Set("customProperties", value); } + } +#endif + /// The unique identifier (for example, Entra User ID or UPN) of the owner of the file. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerId + { + get { return BackingStore?.Get("ownerId"); } + set { BackingStore?.Set("ownerId", value); } + } +#nullable restore +#else + public string OwnerId + { + get { return BackingStore?.Get("ownerId"); } + set { BackingStore?.Set("ownerId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessFileMetadata() : base() + { + OdataType = "#microsoft.graph.processFileMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ProcessFileMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProcessFileMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "customProperties", n => { CustomProperties = n.GetObjectValue(global::Microsoft.Graph.Models.CustomMetadataDictionary.CreateFromDiscriminatorValue); } }, + { "ownerId", n => { OwnerId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("customProperties", CustomProperties); + writer.WriteStringValue("ownerId", OwnerId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProcessingError.cs b/src/Microsoft.Graph/Generated/Models/ProcessingError.cs new file mode 100644 index 00000000000..9e3096a4369 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProcessingError.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessingError : global::Microsoft.Graph.Models.ClassificationError, IParsable + #pragma warning restore CS1591 + { + /// The errorType property + public global::Microsoft.Graph.Models.ContentProcessingErrorType? ErrorType + { + get { return BackingStore?.Get("errorType"); } + set { BackingStore?.Set("errorType", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ProcessingError CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProcessingError(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "errorType", n => { ErrorType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("errorType", ErrorType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs b/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs new file mode 100644 index 00000000000..a236ac31615 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProtectedApplicationMetadata.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProtectedApplicationMetadata : global::Microsoft.Graph.Models.IntegratedApplicationMetadata, IParsable + #pragma warning restore CS1591 + { + /// The client (application) ID of the Microsoft Entra application. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PolicyLocation? ApplicationLocation + { + get { return BackingStore?.Get("applicationLocation"); } + set { BackingStore?.Set("applicationLocation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PolicyLocation ApplicationLocation + { + get { return BackingStore?.Get("applicationLocation"); } + set { BackingStore?.Set("applicationLocation", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProtectedApplicationMetadata() : base() + { + OdataType = "#microsoft.graph.protectedApplicationMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ProtectedApplicationMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProtectedApplicationMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "applicationLocation", n => { ApplicationLocation = n.GetObjectValue(global::Microsoft.Graph.Models.PolicyLocation.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("applicationLocation", ApplicationLocation); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionScopeState.cs b/src/Microsoft.Graph/Generated/Models/ProtectionScopeState.cs new file mode 100644 index 00000000000..8d4bedfc62e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProtectionScopeState.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ProtectionScopeState + #pragma warning restore CS1591 + { + [EnumMember(Value = "notModified")] + #pragma warning disable CS1591 + NotModified, + #pragma warning restore CS1591 + [EnumMember(Value = "modified")] + #pragma warning disable CS1591 + Modified, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/RestrictAccessAction.cs b/src/Microsoft.Graph/Generated/Models/RestrictAccessAction.cs new file mode 100644 index 00000000000..da1cbaca2f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RestrictAccessAction.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestrictAccessAction : global::Microsoft.Graph.Models.RestrictAccessActionBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public RestrictAccessAction() : base() + { + OdataType = "#microsoft.graph.restrictAccessAction"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.RestrictAccessAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RestrictAccessAction(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RestrictAccessActionBase.cs b/src/Microsoft.Graph/Generated/Models/RestrictAccessActionBase.cs new file mode 100644 index 00000000000..a100ac4ffec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RestrictAccessActionBase.cs @@ -0,0 +1,59 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestrictAccessActionBase : global::Microsoft.Graph.Models.DlpActionInfo, IParsable + #pragma warning restore CS1591 + { + /// Action for the app to take. The possible values are: warn, audit, block. + public global::Microsoft.Graph.Models.RestrictionAction? RestrictionAction + { + get { return BackingStore?.Get("restrictionAction"); } + set { BackingStore?.Set("restrictionAction", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.RestrictAccessActionBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.restrictAccessAction" => new global::Microsoft.Graph.Models.RestrictAccessAction(), + _ => new global::Microsoft.Graph.Models.RestrictAccessActionBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "restrictionAction", n => { RestrictionAction = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("restrictionAction", RestrictionAction); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RestrictionAction.cs b/src/Microsoft.Graph/Generated/Models/RestrictionAction.cs new file mode 100644 index 00000000000..2259f72fc8e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RestrictionAction.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RestrictionAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "warn")] + #pragma warning disable CS1591 + Warn, + #pragma warning restore CS1591 + [EnumMember(Value = "audit")] + #pragma warning disable CS1591 + Audit, + #pragma warning restore CS1591 + [EnumMember(Value = "block")] + #pragma warning disable CS1591 + Block, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ScopeBase.cs b/src/Microsoft.Graph/Generated/Models/ScopeBase.cs new file mode 100644 index 00000000000..01adb4cd94e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ScopeBase.cs @@ -0,0 +1,106 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ScopeBase : 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 identifier for the scope. This could be a user ID, group ID, or a keyword like 'All' for tenant scope. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Identity + { + get { return BackingStore?.Get("identity"); } + set { BackingStore?.Set("identity", value); } + } +#nullable restore +#else + public string Identity + { + get { return BackingStore?.Get("identity"); } + set { BackingStore?.Set("identity", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ScopeBase() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ScopeBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.groupScope" => new global::Microsoft.Graph.Models.GroupScope(), + "#microsoft.graph.tenantScope" => new global::Microsoft.Graph.Models.TenantScope(), + "#microsoft.graph.userScope" => new global::Microsoft.Graph.Models.UserScope(), + _ => new global::Microsoft.Graph.Models.ScopeBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "identity", n => { Identity = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("identity", Identity); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Security.cs b/src/Microsoft.Graph/Generated/Models/Security/Security.cs index 930da5737d3..b50770b0c93 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Security.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Security.cs @@ -75,6 +75,22 @@ public partial class Security : global::Microsoft.Graph.Models.Entity, IParsable get { return BackingStore?.Get("cases"); } set { BackingStore?.Set("cases", value); } } +#endif + /// The dataSecurityAndGovernance property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance? DataSecurityAndGovernance + { + get { return BackingStore?.Get("dataSecurityAndGovernance"); } + set { BackingStore?.Set("dataSecurityAndGovernance", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance DataSecurityAndGovernance + { + get { return BackingStore?.Get("dataSecurityAndGovernance"); } + set { BackingStore?.Set("dataSecurityAndGovernance", value); } + } #endif /// A container for security identities APIs. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -242,6 +258,7 @@ public override IDictionary> GetFieldDeserializers() { "alerts_v2", n => { AlertsV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.Alert.CreateFromDiscriminatorValue)?.AsList(); } }, { "attackSimulation", n => { AttackSimulation = n.GetObjectValue(global::Microsoft.Graph.Models.AttackSimulationRoot.CreateFromDiscriminatorValue); } }, { "cases", n => { Cases = n.GetObjectValue(global::Microsoft.Graph.Models.Security.CasesRoot.CreateFromDiscriminatorValue); } }, + { "dataSecurityAndGovernance", n => { DataSecurityAndGovernance = n.GetObjectValue(global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance.CreateFromDiscriminatorValue); } }, { "identities", n => { Identities = n.GetObjectValue(global::Microsoft.Graph.Models.Security.IdentityContainer.CreateFromDiscriminatorValue); } }, { "incidents", n => { Incidents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.Incident.CreateFromDiscriminatorValue)?.AsList(); } }, { "labels", n => { Labels = n.GetObjectValue(global::Microsoft.Graph.Models.Security.LabelsRoot.CreateFromDiscriminatorValue); } }, @@ -265,6 +282,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("alerts_v2", AlertsV2); writer.WriteObjectValue("attackSimulation", AttackSimulation); writer.WriteObjectValue("cases", Cases); + writer.WriteObjectValue("dataSecurityAndGovernance", DataSecurityAndGovernance); writer.WriteObjectValue("identities", Identities); writer.WriteCollectionOfObjectValues("incidents", Incidents); writer.WriteObjectValue("labels", Labels); diff --git a/src/Microsoft.Graph/Generated/Models/TenantDataSecurityAndGovernance.cs b/src/Microsoft.Graph/Generated/Models/TenantDataSecurityAndGovernance.cs new file mode 100644 index 00000000000..55e23c16ff5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TenantDataSecurityAndGovernance.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TenantDataSecurityAndGovernance : global::Microsoft.Graph.Models.DataSecurityAndGovernance, IParsable + #pragma warning restore CS1591 + { + /// The protectionScopes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TenantProtectionScopeContainer? ProtectionScopes + { + get { return BackingStore?.Get("protectionScopes"); } + set { BackingStore?.Set("protectionScopes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TenantProtectionScopeContainer ProtectionScopes + { + get { return BackingStore?.Get("protectionScopes"); } + set { BackingStore?.Set("protectionScopes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TenantDataSecurityAndGovernance() : base() + { + OdataType = "#microsoft.graph.tenantDataSecurityAndGovernance"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "protectionScopes", n => { ProtectionScopes = n.GetObjectValue(global::Microsoft.Graph.Models.TenantProtectionScopeContainer.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("protectionScopes", ProtectionScopes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TenantProtectionScopeContainer.cs b/src/Microsoft.Graph/Generated/Models/TenantProtectionScopeContainer.cs new file mode 100644 index 00000000000..066ccc2dd1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TenantProtectionScopeContainer.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TenantProtectionScopeContainer : global::Microsoft.Graph.Models.Entity, 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.Models.TenantProtectionScopeContainer CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TenantProtectionScopeContainer(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TenantScope.cs b/src/Microsoft.Graph/Generated/Models/TenantScope.cs new file mode 100644 index 00000000000..79bd4c9c137 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TenantScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TenantScope : global::Microsoft.Graph.Models.ScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public TenantScope() : base() + { + OdataType = "#microsoft.graph.tenantScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TenantScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TenantScope(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TextContent.cs b/src/Microsoft.Graph/Generated/Models/TextContent.cs new file mode 100644 index 00000000000..827591a31a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TextContent.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TextContent : global::Microsoft.Graph.Models.ContentBase, IParsable + #pragma warning restore CS1591 + { + /// The text content data. Inherits properties from contentBase. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#nullable restore +#else + public string Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TextContent() : base() + { + OdataType = "#microsoft.graph.textContent"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TextContent CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TextContent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "data", n => { Data = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("data", Data); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UploadSession.cs b/src/Microsoft.Graph/Generated/Models/UploadSession.cs index 2e5cafc2231..4fb57fa4b8a 100644 --- a/src/Microsoft.Graph/Generated/Models/UploadSession.cs +++ b/src/Microsoft.Graph/Generated/Models/UploadSession.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. + /// The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. Each fragment uploaded during the session extends the expiration time. public DateTimeOffset? ExpirationDateTime { get { return BackingStore?.Get("expirationDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/UsageRights.cs b/src/Microsoft.Graph/Generated/Models/UsageRights.cs new file mode 100644 index 00000000000..a41d78512da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UsageRights.cs @@ -0,0 +1,97 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum UsageRights + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "docEdit")] + #pragma warning disable CS1591 + DocEdit = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "edit")] + #pragma warning disable CS1591 + Edit = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "comment")] + #pragma warning disable CS1591 + Comment = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "export")] + #pragma warning disable CS1591 + Export = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "forward")] + #pragma warning disable CS1591 + Forward = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "owner")] + #pragma warning disable CS1591 + Owner = 64, + #pragma warning restore CS1591 + [EnumMember(Value = "print")] + #pragma warning disable CS1591 + Print = 128, + #pragma warning restore CS1591 + [EnumMember(Value = "reply")] + #pragma warning disable CS1591 + Reply = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "replyAll")] + #pragma warning disable CS1591 + ReplyAll = 512, + #pragma warning restore CS1591 + [EnumMember(Value = "view")] + #pragma warning disable CS1591 + View = 1024, + #pragma warning restore CS1591 + [EnumMember(Value = "extract")] + #pragma warning disable CS1591 + Extract = 2048, + #pragma warning restore CS1591 + [EnumMember(Value = "viewRightsData")] + #pragma warning disable CS1591 + ViewRightsData = 4096, + #pragma warning restore CS1591 + [EnumMember(Value = "editRightsData")] + #pragma warning disable CS1591 + EditRightsData = 8192, + #pragma warning restore CS1591 + [EnumMember(Value = "objModel")] + #pragma warning disable CS1591 + ObjModel = 16384, + #pragma warning restore CS1591 + [EnumMember(Value = "accessDenied")] + #pragma warning disable CS1591 + AccessDenied = 32768, + #pragma warning restore CS1591 + [EnumMember(Value = "userDefinedProtectionTypeNotSupportedException")] + #pragma warning disable CS1591 + UserDefinedProtectionTypeNotSupportedException = 65536, + #pragma warning restore CS1591 + [EnumMember(Value = "encryptedProtectionTypeNotSupportedException")] + #pragma warning disable CS1591 + EncryptedProtectionTypeNotSupportedException = 131072, + #pragma warning restore CS1591 + [EnumMember(Value = "purviewClaimsChallengeNotSupportedException")] + #pragma warning disable CS1591 + PurviewClaimsChallengeNotSupportedException = 262144, + #pragma warning restore CS1591 + [EnumMember(Value = "exception")] + #pragma warning disable CS1591 + Exception = 524288, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 1048576, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UsageRightsIncluded.cs b/src/Microsoft.Graph/Generated/Models/UsageRightsIncluded.cs new file mode 100644 index 00000000000..7084520c1c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UsageRightsIncluded.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UsageRightsIncluded : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The email of owner label rights. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerEmail + { + get { return BackingStore?.Get("ownerEmail"); } + set { BackingStore?.Set("ownerEmail", value); } + } +#nullable restore +#else + public string OwnerEmail + { + get { return BackingStore?.Get("ownerEmail"); } + set { BackingStore?.Set("ownerEmail", value); } + } +#endif + /// The email of user with label user rights. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserEmail + { + get { return BackingStore?.Get("userEmail"); } + set { BackingStore?.Set("userEmail", value); } + } +#nullable restore +#else + public string UserEmail + { + get { return BackingStore?.Get("userEmail"); } + set { BackingStore?.Set("userEmail", value); } + } +#endif + /// The value property + public global::Microsoft.Graph.Models.UsageRights? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.UsageRightsIncluded CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UsageRightsIncluded(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "ownerEmail", n => { OwnerEmail = n.GetStringValue(); } }, + { "userEmail", n => { UserEmail = n.GetStringValue(); } }, + { "value", n => { Value = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("ownerEmail", OwnerEmail); + writer.WriteStringValue("userEmail", UserEmail); + writer.WriteEnumValue("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 95fffe2b95b..70ab53c8f2c 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -430,6 +430,22 @@ public string CreationType get { return BackingStore?.Get("customSecurityAttributes"); } set { BackingStore?.Set("customSecurityAttributes", value); } } +#endif + /// The data security and governance settings for the user. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.UserDataSecurityAndGovernance? DataSecurityAndGovernance + { + get { return BackingStore?.Get("dataSecurityAndGovernance"); } + set { BackingStore?.Set("dataSecurityAndGovernance", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.UserDataSecurityAndGovernance DataSecurityAndGovernance + { + get { return BackingStore?.Get("dataSecurityAndGovernance"); } + set { BackingStore?.Set("dataSecurityAndGovernance", value); } + } #endif /// The name of the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -1980,6 +1996,7 @@ public override IDictionary> GetFieldDeserializers() { "createdObjects", n => { CreatedObjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, { "creationType", n => { CreationType = n.GetStringValue(); } }, { "customSecurityAttributes", n => { CustomSecurityAttributes = n.GetObjectValue(global::Microsoft.Graph.Models.CustomSecurityAttributeValue.CreateFromDiscriminatorValue); } }, + { "dataSecurityAndGovernance", n => { DataSecurityAndGovernance = n.GetObjectValue(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance.CreateFromDiscriminatorValue); } }, { "department", n => { Department = n.GetStringValue(); } }, { "deviceEnrollmentLimit", n => { DeviceEnrollmentLimit = n.GetIntValue(); } }, { "deviceManagementTroubleshootingEvents", n => { DeviceManagementTroubleshootingEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -2119,6 +2136,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("createdObjects", CreatedObjects); writer.WriteStringValue("creationType", CreationType); writer.WriteObjectValue("customSecurityAttributes", CustomSecurityAttributes); + writer.WriteObjectValue("dataSecurityAndGovernance", DataSecurityAndGovernance); writer.WriteStringValue("department", Department); writer.WriteIntValue("deviceEnrollmentLimit", DeviceEnrollmentLimit); writer.WriteCollectionOfObjectValues("deviceManagementTroubleshootingEvents", DeviceManagementTroubleshootingEvents); diff --git a/src/Microsoft.Graph/Generated/Models/UserActivityType.cs b/src/Microsoft.Graph/Generated/Models/UserActivityType.cs new file mode 100644 index 00000000000..685d5d8d804 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserActivityType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum UserActivityType + #pragma warning restore CS1591 + { + [EnumMember(Value = "uploadText")] + #pragma warning disable CS1591 + UploadText, + #pragma warning restore CS1591 + [EnumMember(Value = "uploadFile")] + #pragma warning disable CS1591 + UploadFile, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadText")] + #pragma warning disable CS1591 + DownloadText, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadFile")] + #pragma warning disable CS1591 + DownloadFile, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UserActivityTypes.cs b/src/Microsoft.Graph/Generated/Models/UserActivityTypes.cs new file mode 100644 index 00000000000..d4d4a4a0656 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserActivityTypes.cs @@ -0,0 +1,37 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum UserActivityTypes + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "uploadText")] + #pragma warning disable CS1591 + UploadText = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "uploadFile")] + #pragma warning disable CS1591 + UploadFile = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadText")] + #pragma warning disable CS1591 + DownloadText = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "downloadFile")] + #pragma warning disable CS1591 + DownloadFile = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 32, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UserDataSecurityAndGovernance.cs b/src/Microsoft.Graph/Generated/Models/UserDataSecurityAndGovernance.cs new file mode 100644 index 00000000000..a002332fc9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserDataSecurityAndGovernance.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserDataSecurityAndGovernance : global::Microsoft.Graph.Models.DataSecurityAndGovernance, IParsable + #pragma warning restore CS1591 + { + /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ActivitiesContainer? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ActivitiesContainer Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } +#endif + /// The protectionScopes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.UserProtectionScopeContainer? ProtectionScopes + { + get { return BackingStore?.Get("protectionScopes"); } + set { BackingStore?.Set("protectionScopes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.UserProtectionScopeContainer ProtectionScopes + { + get { return BackingStore?.Get("protectionScopes"); } + set { BackingStore?.Set("protectionScopes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UserDataSecurityAndGovernance() : base() + { + OdataType = "#microsoft.graph.userDataSecurityAndGovernance"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.UserDataSecurityAndGovernance CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UserDataSecurityAndGovernance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "activities", n => { Activities = n.GetObjectValue(global::Microsoft.Graph.Models.ActivitiesContainer.CreateFromDiscriminatorValue); } }, + { "protectionScopes", n => { ProtectionScopes = n.GetObjectValue(global::Microsoft.Graph.Models.UserProtectionScopeContainer.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("activities", Activities); + writer.WriteObjectValue("protectionScopes", ProtectionScopes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UserProtectionScopeContainer.cs b/src/Microsoft.Graph/Generated/Models/UserProtectionScopeContainer.cs new file mode 100644 index 00000000000..c7770462f41 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserProtectionScopeContainer.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserProtectionScopeContainer : global::Microsoft.Graph.Models.Entity, 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.Models.UserProtectionScopeContainer CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UserProtectionScopeContainer(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UserScope.cs b/src/Microsoft.Graph/Generated/Models/UserScope.cs new file mode 100644 index 00000000000..fa5b6360373 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserScope.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserScope : global::Microsoft.Graph.Models.ScopeBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public UserScope() : base() + { + OdataType = "#microsoft.graph.userScope"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.UserScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.UserScope(); + } + /// + /// 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) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs index bacc8a665b4..65d4e208915 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs @@ -19,67 +19,67 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Represents the worksheet protection option of allowing using auto filter feature. + /// Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. public bool? AllowAutoFilter { get { return BackingStore?.Get("allowAutoFilter"); } set { BackingStore?.Set("allowAutoFilter", value); } } - /// Represents the worksheet protection option of allowing deleting columns. + /// Indicates whether the worksheet protection option to allow deleting columns is enabled. public bool? AllowDeleteColumns { get { return BackingStore?.Get("allowDeleteColumns"); } set { BackingStore?.Set("allowDeleteColumns", value); } } - /// Represents the worksheet protection option of allowing deleting rows. + /// Indicates whether the worksheet protection option to allow deleting rows is enabled. public bool? AllowDeleteRows { get { return BackingStore?.Get("allowDeleteRows"); } set { BackingStore?.Set("allowDeleteRows", value); } } - /// Represents the worksheet protection option of allowing formatting cells. + /// Indicates whether the worksheet protection option to allow formatting cells is enabled. public bool? AllowFormatCells { get { return BackingStore?.Get("allowFormatCells"); } set { BackingStore?.Set("allowFormatCells", value); } } - /// Represents the worksheet protection option of allowing formatting columns. + /// Indicates whether the worksheet protection option to allow formatting columns is enabled. public bool? AllowFormatColumns { get { return BackingStore?.Get("allowFormatColumns"); } set { BackingStore?.Set("allowFormatColumns", value); } } - /// Represents the worksheet protection option of allowing formatting rows. + /// Indicates whether the worksheet protection option to allow formatting rows is enabled. public bool? AllowFormatRows { get { return BackingStore?.Get("allowFormatRows"); } set { BackingStore?.Set("allowFormatRows", value); } } - /// Represents the worksheet protection option of allowing inserting columns. + /// Indicates whether the worksheet protection option to allow inserting columns is enabled. public bool? AllowInsertColumns { get { return BackingStore?.Get("allowInsertColumns"); } set { BackingStore?.Set("allowInsertColumns", value); } } - /// Represents the worksheet protection option of allowing inserting hyperlinks. + /// Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. public bool? AllowInsertHyperlinks { get { return BackingStore?.Get("allowInsertHyperlinks"); } set { BackingStore?.Set("allowInsertHyperlinks", value); } } - /// Represents the worksheet protection option of allowing inserting rows. + /// Indicates whether the worksheet protection option to allow inserting rows is enabled. public bool? AllowInsertRows { get { return BackingStore?.Get("allowInsertRows"); } set { BackingStore?.Set("allowInsertRows", value); } } - /// Represents the worksheet protection option of allowing using pivot table feature. + /// Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. public bool? AllowPivotTables { get { return BackingStore?.Get("allowPivotTables"); } set { BackingStore?.Set("allowPivotTables", value); } } - /// Represents the worksheet protection option of allowing using sort feature. + /// Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. public bool? AllowSort { get { return BackingStore?.Get("allowSort"); } diff --git a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index eafa6af8db8..885f2a3697f 100644 --- a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs index 181da8e8a7d..876f3745780 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs @@ -111,8 +111,8 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. - /// Find more info here + /// Read properties and relationships of the organization object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + /// Read properties and relationships of the organization object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -238,7 +238,7 @@ public partial class OrganizationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + /// Read properties and relationships of the organization object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index f902904958c..cc8a37c53f4 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -78,8 +78,8 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// List properties and relationships of the organization objects. - /// Find more info here + /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. There's only one organization object in the collection. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -177,7 +177,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Organization.OrganizationRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. There's only one organization object in the collection. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 737277aa8ae..d7631edc5cc 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index c6983af56ed..2c95bdf9416 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. - /// Find more info here + /// Update the user synchronization policy of a partner-specific configuration. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Update the user synchronization policy of a partner-specific configuration. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs new file mode 100644 index 00000000000..e33d0d712ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync; +using Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes; +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.Security.DataSecurityAndGovernance +{ + /// + /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataSecurityAndGovernanceRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the processContentAsync method. + public global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncRequestBuilder ProcessContentAsync + { + get => new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity. + public global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder ProtectionScopes + { + get => new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(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 DataSecurityAndGovernanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance{?%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 DataSecurityAndGovernanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dataSecurityAndGovernance for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get dataSecurityAndGovernance from security + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dataSecurityAndGovernance in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dataSecurityAndGovernance for security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get dataSecurityAndGovernance from security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 dataSecurityAndGovernance in security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(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 DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get dataSecurityAndGovernance from security + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataSecurityAndGovernanceRequestBuilderGetQueryParameters + { + /// 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 DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration : 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 DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.cs new file mode 100644 index 00000000000..64080517b35 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentAsyncPostRequestBody : 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 processContentRequests property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProcessContentRequests + { + get { return BackingStore?.Get?>("processContentRequests"); } + set { BackingStore?.Set("processContentRequests", value); } + } +#nullable restore +#else + public List ProcessContentRequests + { + get { return BackingStore?.Get>("processContentRequests"); } + set { BackingStore?.Set("processContentRequests", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentAsyncPostRequestBody() + { + 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.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "processContentRequests", n => { ProcessContentRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProcessContentBatchRequest.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("processContentRequests", ProcessContentRequests); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.cs new file mode 100644 index 00000000000..f3fd15a5845 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentAsyncPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProcessContentResponses.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.cs new file mode 100644 index 00000000000..1c72abce65a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync +{ + /// + /// Provides operations to call the processContentAsync method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProcessContentAsyncRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProcessContentAsyncRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/processContentAsync", 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 ProcessContentAsyncRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/processContentAsync", rawUrl) + { + } + /// + /// Invoke action processContentAsync + /// + /// 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 PostAsProcessContentAsyncPostResponseAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsProcessContentAsyncPostResponseAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action processContentAsync + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsProcessContentAsyncPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action processContentAsync + /// + /// 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.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncRequestBuilder(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 ProcessContentAsyncRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncResponse.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncResponse.cs new file mode 100644 index 00000000000..d12e1e11e7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncResponse.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.Security.DataSecurityAndGovernance.ProcessContentAsync +{ + [Obsolete("This class is obsolete. Use ProcessContentAsyncPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentAsyncResponse : global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse, 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.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs new file mode 100644 index 00000000000..d35327bf044 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// 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 deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#endif + /// The integratedAppMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata? IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#endif + /// The locations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The pivotOn property + public global::Microsoft.Graph.Models.PolicyPivotProperty? PivotOn + { + get { return BackingStore?.Get("pivotOn"); } + set { BackingStore?.Set("pivotOn", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ComputePostRequestBody() + { + 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.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, + { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pivotOn", n => { PivotOn = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("activities", Activities); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); + writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteEnumValue("pivotOn", PivotOn); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs new file mode 100644 index 00000000000..daef735ebe6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyTenantScope.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs new file mode 100644 index 00000000000..807b527bb15 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + /// + /// Provides operations to call the compute method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute", 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 ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute", rawUrl) + { + } + /// + /// Invoke action compute + /// + /// 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 PostAsComputePostResponseAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsComputePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// 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.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ComputeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs new file mode 100644 index 00000000000..9ba96548bd7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.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.Security.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [Obsolete("This class is obsolete. Use ComputePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeResponse : global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse, 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.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs new file mode 100644 index 00000000000..da2f8774a40 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute; +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.Security.DataSecurityAndGovernance.ProtectionScopes +{ + /// + /// Provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProtectionScopesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the compute method. + public global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Compute + { + get => new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ProtectionScopesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes{?%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 ProtectionScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property protectionScopes for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Container for actions related to computing tenant-wide data protection scopes. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TenantProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property protectionScopes in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TenantProtectionScopeContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TenantProtectionScopeContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TenantProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property protectionScopes for security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Container for actions related to computing tenant-wide data protection scopes. + /// + /// 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 protectionScopes in security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TenantProtectionScopeContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TenantProtectionScopeContainer body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Security.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(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 ProtectionScopesRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Container for actions related to computing tenant-wide data protection scopes. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProtectionScopesRequestBuilderGetQueryParameters + { + /// 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 ProtectionScopesRequestBuilderGetRequestConfiguration : 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 ProtectionScopesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index 4594927dbcd..382e6eb01fd 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Security.Alerts_v2; using Microsoft.Graph.Security.AttackSimulation; using Microsoft.Graph.Security.Cases; +using Microsoft.Graph.Security.DataSecurityAndGovernance; using Microsoft.Graph.Security.Identities; using Microsoft.Graph.Security.Incidents; using Microsoft.Graph.Security.Labels; @@ -52,6 +53,11 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Security.Cases.CasesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. + public global::Microsoft.Graph.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder DataSecurityAndGovernance + { + get => new global::Microsoft.Graph.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the identities property of the microsoft.graph.security entity. public global::Microsoft.Graph.Security.Identities.IdentitiesRequestBuilder Identities { diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index e6a17ed3bea..7eabeb5da8c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs index e9c735d1b9e..ec6891c7742 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs @@ -35,7 +35,7 @@ public AddKeyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. + /// Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don't have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won't be able to use this service action. Update servicePrincipal can be used to perform an update instead. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public AddKeyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.KeyCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. + /// Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don't have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won't be able to use this service action. Update servicePrincipal can be used to perform an update instead. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 1ed1cda92af..942a4deb640 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -105,8 +105,8 @@ public async Task DeleteAsync(Action - /// Get a list of rich long-running operations associated with a list. - /// Find more info here + /// Returns the metadata for a list. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -173,7 +173,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -231,7 +231,7 @@ public partial class ListItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get a list of rich long-running operations associated with a list. + /// Returns the metadata for a list. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ListItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index 047d4e1dbc9..48b3f1b9544 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -78,8 +78,8 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. - /// Find more info here + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SitesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 4d2987bbbec..cbb270ff3ac 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -35,8 +35,8 @@ public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs index 58adb3076fd..3e00204db8a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -90,8 +90,8 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add a conversationMember to a channel. - /// Find more info here + /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Find more info here /// /// A /// The request body @@ -135,7 +135,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a conversationMember to a channel. + /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index b5b622cf863..99c818b7124 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteObjectValue("recipient", Recipient); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.cs index 63496c992d5..586544822f7 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteCollectionOfObjectValues("recipients", Recipients); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 2f9b90e51d2..059ed8d161b 100644 --- a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -34,7 +34,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap { } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 20394fbdad8..759cd15ed09 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteObjectValue("recipient", Recipient); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs new file mode 100644 index 00000000000..0833297e2c9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities +{ + /// + /// Provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivitiesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder ContentActivities + { + get => new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder(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 ActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities{?%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 ActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property activities for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivitiesContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property activities in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ActivitiesContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ActivitiesContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ActivitiesContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property activities for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + /// + /// 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 activities in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ActivitiesContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ActivitiesContainer body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder(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 ActivitiesRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivitiesRequestBuilderGetQueryParameters + { + /// 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 ActivitiesRequestBuilderGetRequestConfiguration : 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 ActivitiesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs new file mode 100644 index 00000000000..de945a444d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities +{ + /// + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivitiesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + /// The unique identifier of contentActivity + /// A + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("contentActivity%2Did", position); + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder(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 ContentActivitiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities{?%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 ContentActivitiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Collection of activity logs related to content processing. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to contentActivities for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of activity logs related to content processing. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to contentActivities for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Collection of activity logs related to content processing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivitiesRequestBuilderGetQueryParameters + { + /// 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 ContentActivitiesRequestBuilderGetRequestConfiguration : 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 ContentActivitiesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..12a186810dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs new file mode 100644 index 00000000000..bd7ada81500 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item +{ + /// + /// Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivityItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentActivityItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%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 ContentActivityItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property contentActivities for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of activity logs related to content processing. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property contentActivities in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ContentActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property contentActivities for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Collection of activity logs related to content processing. + /// + /// 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 contentActivities in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ContentActivity body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder(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 ContentActivityItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of activity logs related to content processing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentActivityItemRequestBuilderGetQueryParameters + { + /// 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 ContentActivityItemRequestBuilderGetRequestConfiguration : 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 ContentActivityItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs new file mode 100644 index 00000000000..8a2ce0c391f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance +{ + /// + /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataSecurityAndGovernanceRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder Activities + { + get => new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the processContent method. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder ProcessContent + { + get => new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder ProtectionScopes + { + get => new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(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 DataSecurityAndGovernanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance{?%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 DataSecurityAndGovernanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dataSecurityAndGovernance for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The data security and governance settings for the user. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dataSecurityAndGovernance in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserDataSecurityAndGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dataSecurityAndGovernance for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The data security and governance settings for the user. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property dataSecurityAndGovernance in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserDataSecurityAndGovernance body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(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 DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The data security and governance settings for the user. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataSecurityAndGovernanceRequestBuilderGetQueryParameters + { + /// 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 DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration : 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 DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs new file mode 100644 index 00000000000..cf37eeee00b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProcessContentPostRequestBody : 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 contentToProcess property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ProcessContentRequest? ContentToProcess + { + get { return BackingStore?.Get("contentToProcess"); } + set { BackingStore?.Set("contentToProcess", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ProcessContentRequest ContentToProcess + { + get { return BackingStore?.Get("contentToProcess"); } + set { BackingStore?.Set("contentToProcess", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProcessContentPostRequestBody() + { + 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.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "contentToProcess", n => { ContentToProcess = n.GetObjectValue(global::Microsoft.Graph.Models.ProcessContentRequest.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("contentToProcess", ContentToProcess); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs new file mode 100644 index 00000000000..685f2165a37 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent +{ + /// + /// Provides operations to call the processContent method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProcessContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProcessContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/processContent", 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 ProcessContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/processContent", rawUrl) + { + } + /// + /// Process content against data protection policies in the context of the current, or specified, user. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProcessContentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Process content against data protection policies in the context of the current, or specified, user. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder(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 ProcessContentRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs new file mode 100644 index 00000000000..f31e37f65ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostRequestBody.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activities property + public global::Microsoft.Graph.Models.UserActivityTypes? Activities + { + get { return BackingStore?.Get("activities"); } + set { BackingStore?.Set("activities", value); } + } + /// 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 deviceMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.DeviceMetadata? DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.DeviceMetadata DeviceMetadata + { + get { return BackingStore?.Get("deviceMetadata"); } + set { BackingStore?.Set("deviceMetadata", value); } + } +#endif + /// The integratedAppMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata? IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IntegratedApplicationMetadata IntegratedAppMetadata + { + get { return BackingStore?.Get("integratedAppMetadata"); } + set { BackingStore?.Set("integratedAppMetadata", value); } + } +#endif + /// The locations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Locations + { + get { return BackingStore?.Get?>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#nullable restore +#else + public List Locations + { + get { return BackingStore?.Get>("locations"); } + set { BackingStore?.Set("locations", value); } + } +#endif + /// The pivotOn property + public global::Microsoft.Graph.Models.PolicyPivotProperty? PivotOn + { + get { return BackingStore?.Get("pivotOn"); } + set { BackingStore?.Set("pivotOn", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ComputePostRequestBody() + { + 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.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activities", n => { Activities = n.GetEnumValue(); } }, + { "deviceMetadata", n => { DeviceMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.DeviceMetadata.CreateFromDiscriminatorValue); } }, + { "integratedAppMetadata", n => { IntegratedAppMetadata = n.GetObjectValue(global::Microsoft.Graph.Models.IntegratedApplicationMetadata.CreateFromDiscriminatorValue); } }, + { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pivotOn", n => { PivotOn = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("activities", Activities); + writer.WriteObjectValue("deviceMetadata", DeviceMetadata); + writer.WriteObjectValue("integratedAppMetadata", IntegratedAppMetadata); + writer.WriteCollectionOfObjectValues("locations", Locations); + writer.WriteEnumValue("pivotOn", PivotOn); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs new file mode 100644 index 00000000000..8c378cfcea0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputePostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PolicyUserScope.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs new file mode 100644 index 00000000000..ecf5417d4e4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + /// + /// Provides operations to call the compute method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes/compute", 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 ComputeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes/compute", rawUrl) + { + } + /// + /// Invoke action compute + /// + /// 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 PostAsComputePostResponseAsync(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsComputePostResponseAsync(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsComputePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action compute + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ComputeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.cs new file mode 100644 index 00000000000..9abc8f5ca17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/Compute/ComputeResponse.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.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute +{ + [Obsolete("This class is obsolete. Use ComputePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeResponse : global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse, 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.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs new file mode 100644 index 00000000000..f6c2aab4b2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes +{ + /// + /// Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProtectionScopesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the compute method. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder Compute + { + get => new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder(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 ProtectionScopesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes{?%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 ProtectionScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property protectionScopes for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get protectionScopes from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property protectionScopes in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserProtectionScopeContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property protectionScopes for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get protectionScopes from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 protectionScopes in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UserProtectionScopeContainer body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder(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 ProtectionScopesRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get protectionScopes from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProtectionScopesRequestBuilderGetQueryParameters + { + /// 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 ProtectionScopesRequestBuilderGetRequestConfiguration : 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 ProtectionScopesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index 164e5e72c6b..73b98f3cf50 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,6 +168,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Models.TeamworkNotificationRecipient.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, @@ -168,6 +185,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteObjectValue("recipient", Recipient); writer.WriteStringValue("teamsAppId", TeamsAppId); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index 50bfa4b8f23..bc25f2f806a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Get a user's presence information. - /// Find more info here + /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -155,7 +155,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a user's presence information. + /// Set a presence status message for a user. An optional expiration date and time can be supplied. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +213,7 @@ public partial class PresenceRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get a user's presence information. + /// Set a presence status message for a user. An optional expiration date and time can be supplied. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs index df5a9ee4fdc..cc504715e50 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.cs @@ -44,6 +44,22 @@ public long? ChainId get { return BackingStore?.Get("chainId"); } set { BackingStore?.Set("chainId", value); } } + /// The iconId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#nullable restore +#else + public string IconId + { + get { return BackingStore?.Get("iconId"); } + set { BackingStore?.Set("iconId", value); } + } +#endif /// The previewText property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -136,6 +152,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "activityType", n => { ActivityType = n.GetStringValue(); } }, { "chainId", n => { ChainId = n.GetLongValue(); } }, + { "iconId", n => { IconId = n.GetStringValue(); } }, { "previewText", n => { PreviewText = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, { "templateParameters", n => { TemplateParameters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -151,6 +168,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("activityType", ActivityType); writer.WriteLongValue("chainId", ChainId); + writer.WriteStringValue("iconId", IconId); writer.WriteObjectValue("previewText", PreviewText); writer.WriteStringValue("teamsAppId", TeamsAppId); writer.WriteCollectionOfObjectValues("templateParameters", TemplateParameters); diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 572e2b92645..94ae9390f21 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -19,6 +19,7 @@ using Microsoft.Graph.Users.Item.ContactFolders; using Microsoft.Graph.Users.Item.Contacts; using Microsoft.Graph.Users.Item.CreatedObjects; +using Microsoft.Graph.Users.Item.DataSecurityAndGovernance; using Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents; using Microsoft.Graph.Users.Item.DirectReports; using Microsoft.Graph.Users.Item.Drive; @@ -179,6 +180,11 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.CreatedObjects.CreatedObjectsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder DataSecurityAndGovernance + { + get => new global::Microsoft.Graph.Users.Item.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. public global::Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder DeviceManagementTroubleshootingEvents { @@ -481,8 +487,8 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. - /// Find more info here + /// Deletes a user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -541,7 +547,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -578,7 +584,7 @@ public async Task DeleteAsync(Action - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Deletes a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs index af19d14b4cd..5cf80da637c 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -78,8 +78,8 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve a list of user objects. - /// Find more info here + /// List properties and relationships of the user objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,8 +102,8 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. - /// Find more info here + /// Create a new user object. + /// Find more info here /// /// A /// The request body @@ -128,7 +128,7 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of user objects. + /// List properties and relationships of the user objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. + /// Create a new user object. /// /// A /// The request body @@ -178,7 +178,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.UsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of user objects. + /// List properties and relationships of the user objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UsersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs index 5bf9c088d03..3ccadf50700 100644 --- a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs @@ -37,8 +37,8 @@ public UsersWithUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. - /// Find more info here + /// Deletes a user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Deletes a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index d8ada6d6681..e74a05dc4ac 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -2838,6 +2838,36 @@ Microsoft.Graph.AuditLogs.Provisioning.provisioningRequestBuilder::|public|PostA Microsoft.Graph.AuditLogs.Provisioning.provisioningRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.AuditLogs.Provisioning.provisioningRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ProvisioningObjectSummary; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.AuditLogs.Provisioning.provisioningRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AuditLogs.Provisioning.ProvisioningRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody::|public|constructor():void +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody::|public|RequestIds:List +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedRequestBuilder.confirmCompromisedRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.confirmCompromisedRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody::|public|constructor():void +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody::|public|RequestIds:List +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafeRequestBuilder.confirmSafeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.confirmSafeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafeRequestBuilder Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -2847,6 +2877,21 @@ Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder::|public|constructor Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody::|public|constructor():void +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody::|public|RequestIds:List +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissPostRequestBody +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissRequestBuilder.dismissRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AuditLogs.SignIns.Dismiss.dismissRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissRequestBuilder Microsoft.Graph.AuditLogs.SignIns.Item.SignInItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.AuditLogs.SignIns.Item.SignInItemRequestBuilder.SignInItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.AuditLogs.SignIns.Item.SignInItemRequestBuilder.SignInItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -2874,9 +2919,12 @@ Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder.signInsRequestBuilderGet Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder.signInsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder.signInsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::[SignInId:string]:global.Microsoft.Graph.AuditLogs.SignIns.Item.SignInItemRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|confirmCompromised:global.Microsoft.Graph.AuditLogs.SignIns.ConfirmCompromised.ConfirmCompromisedRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|confirmSafe:global.Microsoft.Graph.AuditLogs.SignIns.ConfirmSafe.ConfirmSafeRequestBuilder Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|Count:global.Microsoft.Graph.AuditLogs.SignIns.Count.CountRequestBuilder +Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|dismiss:global.Microsoft.Graph.AuditLogs.SignIns.Dismiss.DismissRequestBuilder Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SignInCollectionResponse Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SignIn; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SignIn Microsoft.Graph.AuditLogs.SignIns.signInsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -3898,6 +3946,7 @@ Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPost Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient Microsoft.Graph.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -5728,10 +5777,8 @@ Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryPa Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Orderby:string[] Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Search:string Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Skip:int? Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderGetQueryParameters::|public|Top:int? Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Contacts.contactsRequestBuilder.contactsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Contacts.contactsRequestBuilder::[OrgContactId:string]:global.Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder Microsoft.Graph.Contacts.contactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Contacts.contactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void @@ -5740,9 +5787,7 @@ Microsoft.Graph.Contacts.contactsRequestBuilder::|public|delta:global.Microsoft. Microsoft.Graph.Contacts.contactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OrgContactCollectionResponse Microsoft.Graph.Contacts.contactsRequestBuilder::|public|getAvailableExtensionProperties:global.Microsoft.Graph.Contacts.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder Microsoft.Graph.Contacts.contactsRequestBuilder::|public|getByIds:global.Microsoft.Graph.Contacts.GetByIds.GetByIdsRequestBuilder -Microsoft.Graph.Contacts.contactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OrgContact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OrgContact Microsoft.Graph.Contacts.contactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Contacts.contactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OrgContact; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Contacts.contactsRequestBuilder::|public|validateProperties:global.Microsoft.Graph.Contacts.ValidateProperties.ValidatePropertiesRequestBuilder Microsoft.Graph.Contacts.contactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Contacts.ContactsRequestBuilder Microsoft.Graph.Contacts.Count.CountRequestBuilder-->BaseRequestBuilder @@ -6140,29 +6185,23 @@ Microsoft.Graph.Contacts.Item.MemberOf.memberOfRequestBuilder::|public|graphGrou Microsoft.Graph.Contacts.Item.MemberOf.memberOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Contacts.Item.MemberOf.memberOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Contacts.Item.MemberOf.MemberOfRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|checkMemberGroups:global.Microsoft.Graph.Contacts.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|checkMemberObjects:global.Microsoft.Graph.Contacts.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|directReports:global.Microsoft.Graph.Contacts.Item.DirectReports.DirectReportsRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OrgContact Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|getMemberGroups:global.Microsoft.Graph.Contacts.Item.GetMemberGroups.GetMemberGroupsRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|getMemberObjects:global.Microsoft.Graph.Contacts.Item.GetMemberObjects.GetMemberObjectsRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|manager:global.Microsoft.Graph.Contacts.Item.Manager.ManagerRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|memberOf:global.Microsoft.Graph.Contacts.Item.MemberOf.MemberOfRequestBuilder -Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OrgContact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OrgContact Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|restore:global.Microsoft.Graph.Contacts.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|retryServiceProvisioning:global.Microsoft.Graph.Contacts.Item.RetryServiceProvisioning.RetryServiceProvisioningRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Contacts.Item.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder -Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OrgContact; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|transitiveMemberOf:global.Microsoft.Graph.Contacts.Item.TransitiveMemberOf.TransitiveMemberOfRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder @@ -61618,6 +61657,7 @@ Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificati Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient Microsoft.Graph.Groups.Item.Team.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -79033,6 +79073,7 @@ Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationP Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient Microsoft.Graph.Me.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -79893,6 +79934,142 @@ Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincip Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServicePrincipal Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|contentActivities:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivitiesContainer +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ActivitiesContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivitiesContainer +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ActivitiesContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::[ContentActivityId:string]:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivityCollectionResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|activities:global.Microsoft.Graph.Me.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserDataSecurityAndGovernance +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserDataSecurityAndGovernance; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserDataSecurityAndGovernance +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|processContent:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserDataSecurityAndGovernance; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|ContentToProcess:global.Microsoft.Graph.Models.ProcessContentRequest +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder.processContentRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProcessContentResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Activities:global.Microsoft.Graph.Models.UserActivityTypes? +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|DeviceMetadata:global.Microsoft.Graph.Models.DeviceMetadata +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|IntegratedAppMetadata:global.Microsoft.Graph.Models.IntegratedApplicationMetadata +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Locations:List +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|PivotOn:global.Microsoft.Graph.Models.PolicyPivotProperty? +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Value:List +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder.computeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsComputePostResponseAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse-->global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|compute:global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserProtectionScopeContainer +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserProtectionScopeContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserProtectionScopeContainer +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserProtectionScopeContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -83795,6 +83972,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotific Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient Microsoft.Graph.Me.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -85740,6 +85918,7 @@ Microsoft.Graph.Me.meRequestBuilder::|public|constructor(rawUrl:string; requestA Microsoft.Graph.Me.meRequestBuilder::|public|contactFolders:global.Microsoft.Graph.Me.ContactFolders.ContactFoldersRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|contacts:global.Microsoft.Graph.Me.Contacts.ContactsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|createdObjects:global.Microsoft.Graph.Me.CreatedObjects.CreatedObjectsRequestBuilder +Microsoft.Graph.Me.meRequestBuilder::|public|dataSecurityAndGovernance:global.Microsoft.Graph.Me.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|deviceManagementTroubleshootingEvents:global.Microsoft.Graph.Me.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|directReports:global.Microsoft.Graph.Me.DirectReports.DirectReportsRequestBuilder Microsoft.Graph.Me.meRequestBuilder::|public|drive:global.Microsoft.Graph.Me.Drive.DriveRequestBuilder @@ -89903,6 +90082,7 @@ Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPos Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Me.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TeamsAppId:string @@ -91463,6 +91643,12 @@ Microsoft.Graph.Models.actionState::0003-active Microsoft.Graph.Models.actionState::0004-done Microsoft.Graph.Models.actionState::0005-failed Microsoft.Graph.Models.actionState::0006-notSupported +Microsoft.Graph.Models.activitiesContainer-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.activitiesContainer::|public|ContentActivities:List +Microsoft.Graph.Models.activitiesContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.activitiesContainer::|public|OdataType:string +Microsoft.Graph.Models.activitiesContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.activitiesContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ActivitiesContainer Microsoft.Graph.Models.activityBasedTimeoutPolicy-->global.Microsoft.Graph.Models.StsPolicy Microsoft.Graph.Models.activityBasedTimeoutPolicy::|public|constructor():void Microsoft.Graph.Models.activityBasedTimeoutPolicy::|public|GetFieldDeserializers():IDictionary> @@ -91497,6 +91683,15 @@ Microsoft.Graph.Models.activityHistoryItemCollectionResponse::|public|GetFieldDe Microsoft.Graph.Models.activityHistoryItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.activityHistoryItemCollectionResponse::|public|Value:List Microsoft.Graph.Models.activityHistoryItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ActivityHistoryItemCollectionResponse +Microsoft.Graph.Models.activityMetadata::|public|Activity:global.Microsoft.Graph.Models.UserActivityType? +Microsoft.Graph.Models.activityMetadata::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.activityMetadata::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.activityMetadata::|public|constructor():void +Microsoft.Graph.Models.activityMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.activityMetadata::|public|OdataType:string +Microsoft.Graph.Models.activityMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.activityMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ActivityMetadata +Microsoft.Graph.Models.activityMetadata~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.activityType::0000-signin Microsoft.Graph.Models.activityType::0001-user Microsoft.Graph.Models.activityType::0002-unknownFutureValue @@ -91755,6 +91950,17 @@ Microsoft.Graph.Models.aiInteractionMentionedIdentitySet::|public|OdataType:stri Microsoft.Graph.Models.aiInteractionMentionedIdentitySet::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.aiInteractionMentionedIdentitySet::|public|Tag:global.Microsoft.Graph.Models.TeamworkTagIdentity Microsoft.Graph.Models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AiInteractionMentionedIdentitySet +Microsoft.Graph.Models.aiInteractionPlugin::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.aiInteractionPlugin::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.aiInteractionPlugin::|public|constructor():void +Microsoft.Graph.Models.aiInteractionPlugin::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.aiInteractionPlugin::|public|Identifier:string +Microsoft.Graph.Models.aiInteractionPlugin::|public|Name:string +Microsoft.Graph.Models.aiInteractionPlugin::|public|OdataType:string +Microsoft.Graph.Models.aiInteractionPlugin::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.aiInteractionPlugin::|public|Version:string +Microsoft.Graph.Models.aiInteractionPlugin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AiInteractionPlugin +Microsoft.Graph.Models.aiInteractionPlugin~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.aiInteractionType::0000-userPrompt Microsoft.Graph.Models.aiInteractionType::0001-aiResponse Microsoft.Graph.Models.aiInteractionType::0002-unknownFutureValue @@ -93936,6 +94142,13 @@ Microsoft.Graph.Models.basicAuthentication::|public|Password:string Microsoft.Graph.Models.basicAuthentication::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.basicAuthentication::|public|Username:string Microsoft.Graph.Models.basicAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BasicAuthentication +Microsoft.Graph.Models.binaryContent-->global.Microsoft.Graph.Models.ContentBase +Microsoft.Graph.Models.binaryContent::|public|constructor():void +Microsoft.Graph.Models.binaryContent::|public|Data:byte[] +Microsoft.Graph.Models.binaryContent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.binaryContent::|public|OdataType:string +Microsoft.Graph.Models.binaryContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.binaryContent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BinaryContent Microsoft.Graph.Models.binaryOperator::0000-or Microsoft.Graph.Models.binaryOperator::0001-and Microsoft.Graph.Models.bitlocker-->global.Microsoft.Graph.Models.Entity @@ -95878,6 +96091,36 @@ Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|GetFieldDe Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|Value:List Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClaimsMappingPolicyCollectionResponse +Microsoft.Graph.Models.classifcationErrorBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.classifcationErrorBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.classifcationErrorBase::|public|Code:string +Microsoft.Graph.Models.classifcationErrorBase::|public|constructor():void +Microsoft.Graph.Models.classifcationErrorBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.classifcationErrorBase::|public|InnerError:global.Microsoft.Graph.Models.ClassificationInnerError +Microsoft.Graph.Models.classifcationErrorBase::|public|Message:string +Microsoft.Graph.Models.classifcationErrorBase::|public|OdataType:string +Microsoft.Graph.Models.classifcationErrorBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.classifcationErrorBase::|public|Target:string +Microsoft.Graph.Models.classifcationErrorBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClassifcationErrorBase +Microsoft.Graph.Models.classifcationErrorBase~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.classificationError-->global.Microsoft.Graph.Models.ClassifcationErrorBase +Microsoft.Graph.Models.classificationError::|public|Details:List +Microsoft.Graph.Models.classificationError::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.classificationError::|public|OdataType:string +Microsoft.Graph.Models.classificationError::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.classificationError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClassificationError +Microsoft.Graph.Models.classificationInnerError::|public|ActivityId:string +Microsoft.Graph.Models.classificationInnerError::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.classificationInnerError::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.classificationInnerError::|public|ClientRequestId:string +Microsoft.Graph.Models.classificationInnerError::|public|Code:string +Microsoft.Graph.Models.classificationInnerError::|public|constructor():void +Microsoft.Graph.Models.classificationInnerError::|public|ErrorDateTime:DateTimeOffset? +Microsoft.Graph.Models.classificationInnerError::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.classificationInnerError::|public|OdataType:string +Microsoft.Graph.Models.classificationInnerError::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.classificationInnerError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClassificationInnerError +Microsoft.Graph.Models.classificationInnerError~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.clickSource::0000-unknown Microsoft.Graph.Models.clickSource::0001-qrCode Microsoft.Graph.Models.clickSource::0002-phishingUrl @@ -97142,6 +97385,19 @@ Microsoft.Graph.Models.containerFilter::|public|OdataType:string Microsoft.Graph.Models.containerFilter::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.containerFilter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ContainerFilter Microsoft.Graph.Models.containerFilter~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.contentActivity-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.contentActivity::|public|ContentMetadata:global.Microsoft.Graph.Models.ProcessContentRequest +Microsoft.Graph.Models.contentActivity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.contentActivity::|public|OdataType:string +Microsoft.Graph.Models.contentActivity::|public|ScopeIdentifier:string +Microsoft.Graph.Models.contentActivity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.contentActivity::|public|UserId:string +Microsoft.Graph.Models.contentActivity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ContentActivity +Microsoft.Graph.Models.contentActivityCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.contentActivityCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.contentActivityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.contentActivityCollectionResponse::|public|Value:List +Microsoft.Graph.Models.contentActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ContentActivityCollectionResponse Microsoft.Graph.Models.contentApprovalStatusColumn::|public|AdditionalData:IDictionary Microsoft.Graph.Models.contentApprovalStatusColumn::|public|BackingStore:IBackingStore Microsoft.Graph.Models.contentApprovalStatusColumn::|public|constructor():void @@ -97150,6 +97406,14 @@ Microsoft.Graph.Models.contentApprovalStatusColumn::|public|OdataType:string Microsoft.Graph.Models.contentApprovalStatusColumn::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.contentApprovalStatusColumn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ContentApprovalStatusColumn Microsoft.Graph.Models.contentApprovalStatusColumn~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.contentBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.contentBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.contentBase::|public|constructor():void +Microsoft.Graph.Models.contentBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.contentBase::|public|OdataType:string +Microsoft.Graph.Models.contentBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.contentBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ContentBase +Microsoft.Graph.Models.contentBase~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.contentCustomization::|public|AdditionalData:IDictionary Microsoft.Graph.Models.contentCustomization::|public|AttributeCollection:List Microsoft.Graph.Models.contentCustomization::|public|AttributeCollectionRelativeUrl:string @@ -97162,6 +97426,9 @@ Microsoft.Graph.Models.contentCustomization::|public|RegistrationCampaignRelativ Microsoft.Graph.Models.contentCustomization::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.contentCustomization::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ContentCustomization Microsoft.Graph.Models.contentCustomization~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.contentProcessingErrorType::0000-transient +Microsoft.Graph.Models.contentProcessingErrorType::0001-permanent +Microsoft.Graph.Models.contentProcessingErrorType::0002-unknownFutureValue Microsoft.Graph.Models.contentSharingSession-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.contentSharingSession::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.contentSharingSession::|public|OdataType:string @@ -97629,6 +97896,11 @@ Microsoft.Graph.Models.customExtensionStageSettingCollectionResponse::|public|Ge Microsoft.Graph.Models.customExtensionStageSettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.customExtensionStageSettingCollectionResponse::|public|Value:List Microsoft.Graph.Models.customExtensionStageSettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CustomExtensionStageSettingCollectionResponse +Microsoft.Graph.Models.customMetadataDictionary-->global.Microsoft.Graph.Models.Dictionary +Microsoft.Graph.Models.customMetadataDictionary::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.customMetadataDictionary::|public|OdataType:string +Microsoft.Graph.Models.customMetadataDictionary::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.customMetadataDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CustomMetadataDictionary Microsoft.Graph.Models.customSecurityAttributeDefinition-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.customSecurityAttributeDefinition::|public|AllowedValues:List Microsoft.Graph.Models.customSecurityAttributeDefinition::|public|AttributeSet:string @@ -97697,6 +97969,11 @@ Microsoft.Graph.Models.dataPolicyOperationStatus::0001-running Microsoft.Graph.Models.dataPolicyOperationStatus::0002-complete Microsoft.Graph.Models.dataPolicyOperationStatus::0003-failed Microsoft.Graph.Models.dataPolicyOperationStatus::0004-unknownFutureValue +Microsoft.Graph.Models.dataSecurityAndGovernance-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.dataSecurityAndGovernance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.dataSecurityAndGovernance::|public|OdataType:string +Microsoft.Graph.Models.dataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.dataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DataSecurityAndGovernance Microsoft.Graph.Models.dataSubject::|public|AdditionalData:IDictionary Microsoft.Graph.Models.dataSubject::|public|BackingStore:IBackingStore Microsoft.Graph.Models.dataSubject::|public|constructor():void @@ -99054,6 +99331,17 @@ Microsoft.Graph.Models.deviceManagementTroubleshootingEventCollectionResponse::| Microsoft.Graph.Models.deviceManagementTroubleshootingEventCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.deviceManagementTroubleshootingEventCollectionResponse::|public|Value:List Microsoft.Graph.Models.deviceManagementTroubleshootingEventCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DeviceManagementTroubleshootingEventCollectionResponse +Microsoft.Graph.Models.deviceMetadata::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.deviceMetadata::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.deviceMetadata::|public|constructor():void +Microsoft.Graph.Models.deviceMetadata::|public|DeviceType:string +Microsoft.Graph.Models.deviceMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.deviceMetadata::|public|IpAddress:string +Microsoft.Graph.Models.deviceMetadata::|public|OdataType:string +Microsoft.Graph.Models.deviceMetadata::|public|OperatingSystemSpecifications:global.Microsoft.Graph.Models.OperatingSystemSpecifications +Microsoft.Graph.Models.deviceMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.deviceMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DeviceMetadata +Microsoft.Graph.Models.deviceMetadata~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.deviceOperatingSystemSummary::|public|AdditionalData:IDictionary Microsoft.Graph.Models.deviceOperatingSystemSummary::|public|AndroidCorporateWorkProfileCount:int? Microsoft.Graph.Models.deviceOperatingSystemSummary::|public|AndroidCount:int? @@ -99294,6 +99582,27 @@ Microsoft.Graph.Models.displayNameLocalization::|public|OdataType:string Microsoft.Graph.Models.displayNameLocalization::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.displayNameLocalization::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DisplayNameLocalization Microsoft.Graph.Models.displayNameLocalization~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.dlpAction::0000-notifyUser +Microsoft.Graph.Models.dlpAction::0001-blockAccess +Microsoft.Graph.Models.dlpAction::0002-deviceRestriction +Microsoft.Graph.Models.dlpAction::0003-browserRestriction +Microsoft.Graph.Models.dlpAction::0004-unknownFutureValue +Microsoft.Graph.Models.dlpAction::0005-restrictAccess +Microsoft.Graph.Models.dlpAction::0006-generateAlert +Microsoft.Graph.Models.dlpAction::0007-generateIncidentReportAction +Microsoft.Graph.Models.dlpAction::0008-sPBlockAnonymousAccess +Microsoft.Graph.Models.dlpAction::0009-sPRuntimeAccessControl +Microsoft.Graph.Models.dlpAction::0010-sPSharingNotifyUser +Microsoft.Graph.Models.dlpAction::0011-sPSharingGenerateIncidentReport +Microsoft.Graph.Models.dlpActionInfo::|public|Action:global.Microsoft.Graph.Models.DlpAction? +Microsoft.Graph.Models.dlpActionInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.dlpActionInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.dlpActionInfo::|public|constructor():void +Microsoft.Graph.Models.dlpActionInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.dlpActionInfo::|public|OdataType:string +Microsoft.Graph.Models.dlpActionInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.dlpActionInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DlpActionInfo +Microsoft.Graph.Models.dlpActionInfo~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.documentSet::|public|AdditionalData:IDictionary Microsoft.Graph.Models.documentSet::|public|AllowedContentTypes:List Microsoft.Graph.Models.documentSet::|public|BackingStore:IBackingStore @@ -100805,6 +101114,9 @@ Microsoft.Graph.Models.exclusionGroupAssignmentTarget::|public|GetFieldDeseriali Microsoft.Graph.Models.exclusionGroupAssignmentTarget::|public|OdataType:string Microsoft.Graph.Models.exclusionGroupAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.exclusionGroupAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExclusionGroupAssignmentTarget +Microsoft.Graph.Models.executionMode::0000-evaluateInline +Microsoft.Graph.Models.executionMode::0001-evaluateOffline +Microsoft.Graph.Models.executionMode::0002-unknownFutureValue Microsoft.Graph.Models.expirationPattern::|public|AdditionalData:IDictionary Microsoft.Graph.Models.expirationPattern::|public|BackingStore:IBackingStore Microsoft.Graph.Models.expirationPattern::|public|constructor():void @@ -101759,6 +102071,12 @@ Microsoft.Graph.Models.groupPeerOutlierRecommendationInsightSettings::|public|Ge Microsoft.Graph.Models.groupPeerOutlierRecommendationInsightSettings::|public|OdataType:string Microsoft.Graph.Models.groupPeerOutlierRecommendationInsightSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.groupPeerOutlierRecommendationInsightSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GroupPeerOutlierRecommendationInsightSettings +Microsoft.Graph.Models.groupScope-->global.Microsoft.Graph.Models.ScopeBase +Microsoft.Graph.Models.groupScope::|public|constructor():void +Microsoft.Graph.Models.groupScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.groupScope::|public|OdataType:string +Microsoft.Graph.Models.groupScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.groupScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GroupScope Microsoft.Graph.Models.groupSetting-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.groupSetting::|public|DisplayName:string Microsoft.Graph.Models.groupSetting::|public|GetFieldDeserializers():IDictionary> @@ -102789,6 +103107,16 @@ Microsoft.Graph.Models.integerRange::|public|Serialize(writer:ISerializationWrit Microsoft.Graph.Models.integerRange::|public|Start:long? Microsoft.Graph.Models.integerRange::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IntegerRange Microsoft.Graph.Models.integerRange~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.integratedApplicationMetadata::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.integratedApplicationMetadata::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.integratedApplicationMetadata::|public|constructor():void +Microsoft.Graph.Models.integratedApplicationMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.integratedApplicationMetadata::|public|Name:string +Microsoft.Graph.Models.integratedApplicationMetadata::|public|OdataType:string +Microsoft.Graph.Models.integratedApplicationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.integratedApplicationMetadata::|public|Version:string +Microsoft.Graph.Models.integratedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IntegratedApplicationMetadata +Microsoft.Graph.Models.integratedApplicationMetadata~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.internalDomainFederation-->global.Microsoft.Graph.Models.SamlOrWsFedProvider Microsoft.Graph.Models.internalDomainFederation::|public|ActiveSignInUri:string Microsoft.Graph.Models.internalDomainFederation::|public|constructor():void @@ -103634,6 +103962,13 @@ Microsoft.Graph.Models.keyValuePair::|public|Value:string Microsoft.Graph.Models.keyValuePair::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.KeyValuePair Microsoft.Graph.Models.keyValuePair~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.keyValue~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.labelContentRight-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.labelContentRight::|public|Cid:string +Microsoft.Graph.Models.labelContentRight::|public|Format:string +Microsoft.Graph.Models.labelContentRight::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.labelContentRight::|public|OdataType:string +Microsoft.Graph.Models.labelContentRight::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.labelContentRight::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.LabelContentRight Microsoft.Graph.Models.landingPage-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.landingPage::|public|CreatedBy:global.Microsoft.Graph.Models.EmailIdentity Microsoft.Graph.Models.landingPage::|public|CreatedDateTime:DateTimeOffset? @@ -106899,6 +107234,16 @@ Microsoft.Graph.Models.openTypeExtension::|public|GetFieldDeserializers():IDicti Microsoft.Graph.Models.openTypeExtension::|public|OdataType:string Microsoft.Graph.Models.openTypeExtension::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.openTypeExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OpenTypeExtension +Microsoft.Graph.Models.operatingSystemSpecifications::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.operatingSystemSpecifications::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.operatingSystemSpecifications::|public|constructor():void +Microsoft.Graph.Models.operatingSystemSpecifications::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.operatingSystemSpecifications::|public|OdataType:string +Microsoft.Graph.Models.operatingSystemSpecifications::|public|OperatingSystemPlatform:string +Microsoft.Graph.Models.operatingSystemSpecifications::|public|OperatingSystemVersion:string +Microsoft.Graph.Models.operatingSystemSpecifications::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.operatingSystemSpecifications::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OperatingSystemSpecifications +Microsoft.Graph.Models.operatingSystemSpecifications~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.operatingSystemUpgradeEligibility::0000-upgraded Microsoft.Graph.Models.operatingSystemUpgradeEligibility::0001-unknown Microsoft.Graph.Models.operatingSystemUpgradeEligibility::0002-notCapable @@ -108120,6 +108465,47 @@ Microsoft.Graph.Models.policyBase::|public|GetFieldDeserializers():IDictionary +Microsoft.Graph.Models.policyBinding::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.policyBinding::|public|constructor():void +Microsoft.Graph.Models.policyBinding::|public|Exclusions:List +Microsoft.Graph.Models.policyBinding::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyBinding::|public|Inclusions:List +Microsoft.Graph.Models.policyBinding::|public|OdataType:string +Microsoft.Graph.Models.policyBinding::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyBinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyBinding +Microsoft.Graph.Models.policyBinding~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.policyLocation::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.policyLocation::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.policyLocation::|public|constructor():void +Microsoft.Graph.Models.policyLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyLocation::|public|OdataType:string +Microsoft.Graph.Models.policyLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyLocation::|public|Value:string +Microsoft.Graph.Models.policyLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyLocation +Microsoft.Graph.Models.policyLocationApplication-->global.Microsoft.Graph.Models.PolicyLocation +Microsoft.Graph.Models.policyLocationApplication::|public|constructor():void +Microsoft.Graph.Models.policyLocationApplication::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyLocationApplication::|public|OdataType:string +Microsoft.Graph.Models.policyLocationApplication::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyLocationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyLocationApplication +Microsoft.Graph.Models.policyLocationDomain-->global.Microsoft.Graph.Models.PolicyLocation +Microsoft.Graph.Models.policyLocationDomain::|public|constructor():void +Microsoft.Graph.Models.policyLocationDomain::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyLocationDomain::|public|OdataType:string +Microsoft.Graph.Models.policyLocationDomain::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyLocationDomain::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyLocationDomain +Microsoft.Graph.Models.policyLocationUrl-->global.Microsoft.Graph.Models.PolicyLocation +Microsoft.Graph.Models.policyLocationUrl::|public|constructor():void +Microsoft.Graph.Models.policyLocationUrl::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyLocationUrl::|public|OdataType:string +Microsoft.Graph.Models.policyLocationUrl::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyLocationUrl::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyLocationUrl +Microsoft.Graph.Models.policyLocation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.policyPivotProperty::0000-none +Microsoft.Graph.Models.policyPivotProperty::0001-activity +Microsoft.Graph.Models.policyPivotProperty::0002-location +Microsoft.Graph.Models.policyPivotProperty::0003-unknownFutureValue Microsoft.Graph.Models.policyPlatformType::0000-android Microsoft.Graph.Models.policyPlatformType::0001-androidForWork Microsoft.Graph.Models.policyPlatformType::0002-iOS @@ -108153,6 +108539,18 @@ Microsoft.Graph.Models.policyRoot::|public|Serialize(writer:ISerializationWriter Microsoft.Graph.Models.policyRoot::|public|TokenIssuancePolicies:List Microsoft.Graph.Models.policyRoot::|public|TokenLifetimePolicies:List Microsoft.Graph.Models.policyRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyRoot +Microsoft.Graph.Models.policyScopeBase::|public|Activities:global.Microsoft.Graph.Models.UserActivityTypes? +Microsoft.Graph.Models.policyScopeBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.policyScopeBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.policyScopeBase::|public|constructor():void +Microsoft.Graph.Models.policyScopeBase::|public|ExecutionMode:global.Microsoft.Graph.Models.ExecutionMode? +Microsoft.Graph.Models.policyScopeBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyScopeBase::|public|Locations:List +Microsoft.Graph.Models.policyScopeBase::|public|OdataType:string +Microsoft.Graph.Models.policyScopeBase::|public|PolicyActions:List +Microsoft.Graph.Models.policyScopeBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyScopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyScopeBase +Microsoft.Graph.Models.policyScopeBase~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.policyTemplate-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.policyTemplate::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.policyTemplate::|public|MultiTenantOrganizationIdentitySynchronization:global.Microsoft.Graph.Models.MultiTenantOrganizationIdentitySyncPolicyTemplate @@ -108160,6 +108558,19 @@ Microsoft.Graph.Models.policyTemplate::|public|MultiTenantOrganizationPartnerCon Microsoft.Graph.Models.policyTemplate::|public|OdataType:string Microsoft.Graph.Models.policyTemplate::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.policyTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyTemplate +Microsoft.Graph.Models.policyTenantScope-->global.Microsoft.Graph.Models.PolicyScopeBase +Microsoft.Graph.Models.policyTenantScope::|public|constructor():void +Microsoft.Graph.Models.policyTenantScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyTenantScope::|public|OdataType:string +Microsoft.Graph.Models.policyTenantScope::|public|PolicyScope:global.Microsoft.Graph.Models.PolicyBinding +Microsoft.Graph.Models.policyTenantScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyTenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyTenantScope +Microsoft.Graph.Models.policyUserScope-->global.Microsoft.Graph.Models.PolicyScopeBase +Microsoft.Graph.Models.policyUserScope::|public|constructor():void +Microsoft.Graph.Models.policyUserScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.policyUserScope::|public|OdataType:string +Microsoft.Graph.Models.policyUserScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.policyUserScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PolicyUserScope Microsoft.Graph.Models.positiveReinforcementNotification-->global.Microsoft.Graph.Models.BaseEndUserNotification Microsoft.Graph.Models.positiveReinforcementNotification::|public|constructor():void Microsoft.Graph.Models.positiveReinforcementNotification::|public|DeliveryPreference:global.Microsoft.Graph.Models.NotificationDeliveryPreference? @@ -109859,6 +110270,91 @@ Microsoft.Graph.Models.process::|public|Path:string Microsoft.Graph.Models.process::|public|ProcessId:int? Microsoft.Graph.Models.process::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.process::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Process +Microsoft.Graph.Models.processContentBatchRequest::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.processContentBatchRequest::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.processContentBatchRequest::|public|constructor():void +Microsoft.Graph.Models.processContentBatchRequest::|public|ContentToProcess:global.Microsoft.Graph.Models.ProcessContentRequest +Microsoft.Graph.Models.processContentBatchRequest::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processContentBatchRequest::|public|OdataType:string +Microsoft.Graph.Models.processContentBatchRequest::|public|RequestId:string +Microsoft.Graph.Models.processContentBatchRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processContentBatchRequest::|public|UserId:string +Microsoft.Graph.Models.processContentBatchRequest::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessContentBatchRequest +Microsoft.Graph.Models.processContentBatchRequest~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.processContentMetadataBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.processContentMetadataBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.processContentMetadataBase::|public|constructor():void +Microsoft.Graph.Models.processContentMetadataBase::|public|Content:global.Microsoft.Graph.Models.ContentBase +Microsoft.Graph.Models.processContentMetadataBase::|public|CorrelationId:string +Microsoft.Graph.Models.processContentMetadataBase::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.processContentMetadataBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processContentMetadataBase::|public|Identifier:string +Microsoft.Graph.Models.processContentMetadataBase::|public|IsTruncated:bool? +Microsoft.Graph.Models.processContentMetadataBase::|public|Length:long? +Microsoft.Graph.Models.processContentMetadataBase::|public|ModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.processContentMetadataBase::|public|Name:string +Microsoft.Graph.Models.processContentMetadataBase::|public|OdataType:string +Microsoft.Graph.Models.processContentMetadataBase::|public|SequenceNumber:long? +Microsoft.Graph.Models.processContentMetadataBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processContentMetadataBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessContentMetadataBase +Microsoft.Graph.Models.processContentMetadataBase~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.processContentRequest::|public|ActivityMetadata:global.Microsoft.Graph.Models.ActivityMetadata +Microsoft.Graph.Models.processContentRequest::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.processContentRequest::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.processContentRequest::|public|constructor():void +Microsoft.Graph.Models.processContentRequest::|public|ContentEntries:List +Microsoft.Graph.Models.processContentRequest::|public|DeviceMetadata:global.Microsoft.Graph.Models.DeviceMetadata +Microsoft.Graph.Models.processContentRequest::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processContentRequest::|public|IntegratedAppMetadata:global.Microsoft.Graph.Models.IntegratedApplicationMetadata +Microsoft.Graph.Models.processContentRequest::|public|OdataType:string +Microsoft.Graph.Models.processContentRequest::|public|ProtectedAppMetadata:global.Microsoft.Graph.Models.ProtectedApplicationMetadata +Microsoft.Graph.Models.processContentRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processContentRequest::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessContentRequest +Microsoft.Graph.Models.processContentRequest~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.processContentResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.processContentResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.processContentResponse::|public|constructor():void +Microsoft.Graph.Models.processContentResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processContentResponse::|public|OdataType:string +Microsoft.Graph.Models.processContentResponse::|public|PolicyActions:List +Microsoft.Graph.Models.processContentResponse::|public|ProcessingErrors:List +Microsoft.Graph.Models.processContentResponse::|public|ProtectionScopeState:global.Microsoft.Graph.Models.ProtectionScopeState? +Microsoft.Graph.Models.processContentResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processContentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessContentResponse +Microsoft.Graph.Models.processContentResponses::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.processContentResponses::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.processContentResponses::|public|constructor():void +Microsoft.Graph.Models.processContentResponses::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processContentResponses::|public|OdataType:string +Microsoft.Graph.Models.processContentResponses::|public|RequestId:string +Microsoft.Graph.Models.processContentResponses::|public|Results:global.Microsoft.Graph.Models.ProcessContentResponse +Microsoft.Graph.Models.processContentResponses::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processContentResponses::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessContentResponses +Microsoft.Graph.Models.processContentResponses~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.processContentResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.processConversationMetadata-->global.Microsoft.Graph.Models.ProcessContentMetadataBase +Microsoft.Graph.Models.processConversationMetadata::|public|AccessedResources:List +Microsoft.Graph.Models.processConversationMetadata::|public|constructor():void +Microsoft.Graph.Models.processConversationMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processConversationMetadata::|public|OdataType:string +Microsoft.Graph.Models.processConversationMetadata::|public|ParentMessageId:string +Microsoft.Graph.Models.processConversationMetadata::|public|Plugins:List +Microsoft.Graph.Models.processConversationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processConversationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessConversationMetadata +Microsoft.Graph.Models.processFileMetadata-->global.Microsoft.Graph.Models.ProcessContentMetadataBase +Microsoft.Graph.Models.processFileMetadata::|public|constructor():void +Microsoft.Graph.Models.processFileMetadata::|public|CustomProperties:global.Microsoft.Graph.Models.CustomMetadataDictionary +Microsoft.Graph.Models.processFileMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processFileMetadata::|public|OdataType:string +Microsoft.Graph.Models.processFileMetadata::|public|OwnerId:string +Microsoft.Graph.Models.processFileMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processFileMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessFileMetadata +Microsoft.Graph.Models.processingError-->global.Microsoft.Graph.Models.ClassificationError +Microsoft.Graph.Models.processingError::|public|ErrorType:global.Microsoft.Graph.Models.ContentProcessingErrorType? +Microsoft.Graph.Models.processingError::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.processingError::|public|OdataType:string +Microsoft.Graph.Models.processingError::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.processingError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProcessingError Microsoft.Graph.Models.processIntegrityLevel::0000-unknown Microsoft.Graph.Models.processIntegrityLevel::0001-untrusted Microsoft.Graph.Models.processIntegrityLevel::0002-low @@ -109919,6 +110415,13 @@ Microsoft.Graph.Models.pronounsSettings::|public|IsEnabledInOrganization:bool? Microsoft.Graph.Models.pronounsSettings::|public|OdataType:string Microsoft.Graph.Models.pronounsSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.pronounsSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PronounsSettings +Microsoft.Graph.Models.protectedApplicationMetadata-->global.Microsoft.Graph.Models.IntegratedApplicationMetadata +Microsoft.Graph.Models.protectedApplicationMetadata::|public|ApplicationLocation:global.Microsoft.Graph.Models.PolicyLocation +Microsoft.Graph.Models.protectedApplicationMetadata::|public|constructor():void +Microsoft.Graph.Models.protectedApplicationMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.protectedApplicationMetadata::|public|OdataType:string +Microsoft.Graph.Models.protectedApplicationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.protectedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProtectedApplicationMetadata Microsoft.Graph.Models.protectionPolicyBase-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.protectionPolicyBase::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet Microsoft.Graph.Models.protectionPolicyBase::|public|CreatedDateTime:DateTimeOffset? @@ -109958,6 +110461,9 @@ Microsoft.Graph.Models.protectionRuleStatus::0001-active Microsoft.Graph.Models.protectionRuleStatus::0002-completed Microsoft.Graph.Models.protectionRuleStatus::0003-completedWithErrors Microsoft.Graph.Models.protectionRuleStatus::0004-unknownFutureValue +Microsoft.Graph.Models.protectionScopeState::0000-notModified +Microsoft.Graph.Models.protectionScopeState::0001-modified +Microsoft.Graph.Models.protectionScopeState::0002-unknownFutureValue Microsoft.Graph.Models.protectionUnitBase-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.protectionUnitBase::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet Microsoft.Graph.Models.protectionUnitBase::|public|CreatedDateTime:DateTimeOffset? @@ -111025,6 +111531,21 @@ Microsoft.Graph.Models.restoreSessionStatus::0003-completedWithError Microsoft.Graph.Models.restoreSessionStatus::0004-completed Microsoft.Graph.Models.restoreSessionStatus::0005-unknownFutureValue Microsoft.Graph.Models.restoreSessionStatus::0006-failed +Microsoft.Graph.Models.restrictAccessAction-->global.Microsoft.Graph.Models.RestrictAccessActionBase +Microsoft.Graph.Models.restrictAccessAction::|public|constructor():void +Microsoft.Graph.Models.restrictAccessAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.restrictAccessAction::|public|OdataType:string +Microsoft.Graph.Models.restrictAccessAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.restrictAccessAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RestrictAccessAction +Microsoft.Graph.Models.restrictAccessActionBase-->global.Microsoft.Graph.Models.DlpActionInfo +Microsoft.Graph.Models.restrictAccessActionBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.restrictAccessActionBase::|public|OdataType:string +Microsoft.Graph.Models.restrictAccessActionBase::|public|RestrictionAction:global.Microsoft.Graph.Models.RestrictionAction? +Microsoft.Graph.Models.restrictAccessActionBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.restrictAccessActionBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RestrictAccessActionBase +Microsoft.Graph.Models.restrictionAction::0000-warn +Microsoft.Graph.Models.restrictionAction::0001-audit +Microsoft.Graph.Models.restrictionAction::0002-block Microsoft.Graph.Models.resultInfo::|public|AdditionalData:IDictionary Microsoft.Graph.Models.resultInfo::|public|BackingStore:IBackingStore Microsoft.Graph.Models.resultInfo::|public|Code:int? @@ -111598,6 +112119,15 @@ Microsoft.Graph.Models.schemaExtensionCollectionResponse::|public|GetFieldDeseri Microsoft.Graph.Models.schemaExtensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.schemaExtensionCollectionResponse::|public|Value:List Microsoft.Graph.Models.schemaExtensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SchemaExtensionCollectionResponse +Microsoft.Graph.Models.scopeBase::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.scopeBase::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.scopeBase::|public|constructor():void +Microsoft.Graph.Models.scopeBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.scopeBase::|public|Identity:string +Microsoft.Graph.Models.scopeBase::|public|OdataType:string +Microsoft.Graph.Models.scopeBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.scopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ScopeBase +Microsoft.Graph.Models.scopeBase~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.scopedRoleMembership-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.scopedRoleMembership::|public|AdministrativeUnitId:string Microsoft.Graph.Models.scopedRoleMembership::|public|GetFieldDeserializers():IDictionary> @@ -113982,6 +114512,7 @@ Microsoft.Graph.Models.Security.security::|public|Alerts:List Microsoft.Graph.Models.Security.security::|public|AttackSimulation:global.Microsoft.Graph.Models.AttackSimulationRoot Microsoft.Graph.Models.Security.security::|public|Cases:global.Microsoft.Graph.Models.Security.CasesRoot +Microsoft.Graph.Models.Security.security::|public|DataSecurityAndGovernance:global.Microsoft.Graph.Models.TenantDataSecurityAndGovernance Microsoft.Graph.Models.Security.security::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.security::|public|Identities:global.Microsoft.Graph.Models.Security.IdentityContainer Microsoft.Graph.Models.Security.security::|public|Incidents:List @@ -117298,6 +117829,13 @@ Microsoft.Graph.Models.tenantAppManagementPolicy::|public|OdataType:string Microsoft.Graph.Models.tenantAppManagementPolicy::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.tenantAppManagementPolicy::|public|ServicePrincipalRestrictions:global.Microsoft.Graph.Models.AppManagementServicePrincipalConfiguration Microsoft.Graph.Models.tenantAppManagementPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TenantAppManagementPolicy +Microsoft.Graph.Models.tenantDataSecurityAndGovernance-->global.Microsoft.Graph.Models.DataSecurityAndGovernance +Microsoft.Graph.Models.tenantDataSecurityAndGovernance::|public|constructor():void +Microsoft.Graph.Models.tenantDataSecurityAndGovernance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.tenantDataSecurityAndGovernance::|public|OdataType:string +Microsoft.Graph.Models.tenantDataSecurityAndGovernance::|public|ProtectionScopes:global.Microsoft.Graph.Models.TenantProtectionScopeContainer +Microsoft.Graph.Models.tenantDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.tenantDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TenantDataSecurityAndGovernance Microsoft.Graph.Models.tenantInformation::|public|AdditionalData:IDictionary Microsoft.Graph.Models.tenantInformation::|public|BackingStore:IBackingStore Microsoft.Graph.Models.tenantInformation::|public|constructor():void @@ -117310,6 +117848,11 @@ Microsoft.Graph.Models.tenantInformation::|public|Serialize(writer:ISerializatio Microsoft.Graph.Models.tenantInformation::|public|TenantId:string Microsoft.Graph.Models.tenantInformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TenantInformation Microsoft.Graph.Models.tenantInformation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.tenantProtectionScopeContainer-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.tenantProtectionScopeContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.tenantProtectionScopeContainer::|public|OdataType:string +Microsoft.Graph.Models.tenantProtectionScopeContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.tenantProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TenantProtectionScopeContainer Microsoft.Graph.Models.tenantRelationship::|public|AdditionalData:IDictionary Microsoft.Graph.Models.tenantRelationship::|public|BackingStore:IBackingStore Microsoft.Graph.Models.tenantRelationship::|public|constructor():void @@ -117321,6 +117864,12 @@ Microsoft.Graph.Models.tenantRelationship::|public|OdataType:string Microsoft.Graph.Models.tenantRelationship::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.tenantRelationship::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TenantRelationship Microsoft.Graph.Models.tenantRelationship~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.tenantScope-->global.Microsoft.Graph.Models.ScopeBase +Microsoft.Graph.Models.tenantScope::|public|constructor():void +Microsoft.Graph.Models.tenantScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.tenantScope::|public|OdataType:string +Microsoft.Graph.Models.tenantScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.tenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TenantScope Microsoft.Graph.Models.termColumn::|public|AdditionalData:IDictionary Microsoft.Graph.Models.termColumn::|public|AllowMultipleValues:bool? Microsoft.Graph.Models.termColumn::|public|BackingStore:IBackingStore @@ -117527,6 +118076,13 @@ Microsoft.Graph.Models.textColumn::|public|Serialize(writer:ISerializationWriter Microsoft.Graph.Models.textColumn::|public|TextType:string Microsoft.Graph.Models.textColumn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TextColumn Microsoft.Graph.Models.textColumn~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.textContent-->global.Microsoft.Graph.Models.ContentBase +Microsoft.Graph.Models.textContent::|public|constructor():void +Microsoft.Graph.Models.textContent::|public|Data:string +Microsoft.Graph.Models.textContent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.textContent::|public|OdataType:string +Microsoft.Graph.Models.textContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.textContent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TextContent Microsoft.Graph.Models.textWebPart-->global.Microsoft.Graph.Models.WebPart Microsoft.Graph.Models.textWebPart::|public|constructor():void Microsoft.Graph.Models.textWebPart::|public|GetFieldDeserializers():IDictionary> @@ -118536,6 +119092,35 @@ Microsoft.Graph.Models.usageDetails::|public|OdataType:string Microsoft.Graph.Models.usageDetails::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.usageDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UsageDetails Microsoft.Graph.Models.usageDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.usageRights::0000-unknown +Microsoft.Graph.Models.usageRights::0001-docEdit +Microsoft.Graph.Models.usageRights::0002-edit +Microsoft.Graph.Models.usageRights::0003-comment +Microsoft.Graph.Models.usageRights::0004-export +Microsoft.Graph.Models.usageRights::0005-forward +Microsoft.Graph.Models.usageRights::0006-owner +Microsoft.Graph.Models.usageRights::0007-print +Microsoft.Graph.Models.usageRights::0008-reply +Microsoft.Graph.Models.usageRights::0009-replyAll +Microsoft.Graph.Models.usageRights::0010-view +Microsoft.Graph.Models.usageRights::0011-extract +Microsoft.Graph.Models.usageRights::0012-viewRightsData +Microsoft.Graph.Models.usageRights::0013-editRightsData +Microsoft.Graph.Models.usageRights::0014-objModel +Microsoft.Graph.Models.usageRights::0015-accessDenied +Microsoft.Graph.Models.usageRights::0016-userDefinedProtectionTypeNotSupportedException +Microsoft.Graph.Models.usageRights::0017-encryptedProtectionTypeNotSupportedException +Microsoft.Graph.Models.usageRights::0018-purviewClaimsChallengeNotSupportedException +Microsoft.Graph.Models.usageRights::0019-exception +Microsoft.Graph.Models.usageRights::0020-unknownFutureValue +Microsoft.Graph.Models.usageRightsIncluded-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.usageRightsIncluded::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.usageRightsIncluded::|public|OdataType:string +Microsoft.Graph.Models.usageRightsIncluded::|public|OwnerEmail:string +Microsoft.Graph.Models.usageRightsIncluded::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.usageRightsIncluded::|public|UserEmail:string +Microsoft.Graph.Models.usageRightsIncluded::|public|Value:global.Microsoft.Graph.Models.UsageRights? +Microsoft.Graph.Models.usageRightsIncluded::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UsageRightsIncluded Microsoft.Graph.Models.usedInsight-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.usedInsight::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.usedInsight::|public|LastUsed:global.Microsoft.Graph.Models.UsageDetails @@ -118580,6 +119165,7 @@ Microsoft.Graph.Models.user::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.user::|public|CreatedObjects:List Microsoft.Graph.Models.user::|public|CreationType:string Microsoft.Graph.Models.user::|public|CustomSecurityAttributes:global.Microsoft.Graph.Models.CustomSecurityAttributeValue +Microsoft.Graph.Models.user::|public|DataSecurityAndGovernance:global.Microsoft.Graph.Models.UserDataSecurityAndGovernance Microsoft.Graph.Models.user::|public|Department:string Microsoft.Graph.Models.user::|public|DeviceEnrollmentLimit:int? Microsoft.Graph.Models.user::|public|DeviceManagementTroubleshootingEvents:List @@ -118714,6 +119300,17 @@ Microsoft.Graph.Models.userActivityCollectionResponse::|public|GetFieldDeseriali Microsoft.Graph.Models.userActivityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.userActivityCollectionResponse::|public|Value:List Microsoft.Graph.Models.userActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserActivityCollectionResponse +Microsoft.Graph.Models.userActivityType::0000-uploadText +Microsoft.Graph.Models.userActivityType::0001-uploadFile +Microsoft.Graph.Models.userActivityType::0002-downloadText +Microsoft.Graph.Models.userActivityType::0003-downloadFile +Microsoft.Graph.Models.userActivityType::0004-unknownFutureValue +Microsoft.Graph.Models.userActivityTypes::0000-none +Microsoft.Graph.Models.userActivityTypes::0001-uploadText +Microsoft.Graph.Models.userActivityTypes::0002-uploadFile +Microsoft.Graph.Models.userActivityTypes::0003-downloadText +Microsoft.Graph.Models.userActivityTypes::0004-downloadFile +Microsoft.Graph.Models.userActivityTypes::0005-unknownFutureValue Microsoft.Graph.Models.userAttributeValuesItem::|public|AdditionalData:IDictionary Microsoft.Graph.Models.userAttributeValuesItem::|public|BackingStore:IBackingStore Microsoft.Graph.Models.userAttributeValuesItem::|public|constructor():void @@ -118742,6 +119339,14 @@ Microsoft.Graph.Models.userConsentRequestCollectionResponse::|public|GetFieldDes Microsoft.Graph.Models.userConsentRequestCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.userConsentRequestCollectionResponse::|public|Value:List Microsoft.Graph.Models.userConsentRequestCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserConsentRequestCollectionResponse +Microsoft.Graph.Models.userDataSecurityAndGovernance-->global.Microsoft.Graph.Models.DataSecurityAndGovernance +Microsoft.Graph.Models.userDataSecurityAndGovernance::|public|Activities:global.Microsoft.Graph.Models.ActivitiesContainer +Microsoft.Graph.Models.userDataSecurityAndGovernance::|public|constructor():void +Microsoft.Graph.Models.userDataSecurityAndGovernance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.userDataSecurityAndGovernance::|public|OdataType:string +Microsoft.Graph.Models.userDataSecurityAndGovernance::|public|ProtectionScopes:global.Microsoft.Graph.Models.UserProtectionScopeContainer +Microsoft.Graph.Models.userDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.userDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserDataSecurityAndGovernance Microsoft.Graph.Models.userDefaultAuthenticationMethod::0000-push Microsoft.Graph.Models.userDefaultAuthenticationMethod::0001-oath Microsoft.Graph.Models.userDefaultAuthenticationMethod::0002-voiceMobile @@ -119380,6 +119985,11 @@ Microsoft.Graph.Models.userPrint::|public|RecentPrinterShares:ListIAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.userProtectionScopeContainer-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.userProtectionScopeContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.userProtectionScopeContainer::|public|OdataType:string +Microsoft.Graph.Models.userProtectionScopeContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.userProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserProtectionScopeContainer Microsoft.Graph.Models.userPurpose::0000-user Microsoft.Graph.Models.userPurpose::0001-linked Microsoft.Graph.Models.userPurpose::0002-shared @@ -119456,6 +120066,12 @@ Microsoft.Graph.Models.userRegistrationMethodSummary::|public|UserRoles:global.M Microsoft.Graph.Models.userRegistrationMethodSummary::|public|UserTypes:global.Microsoft.Graph.Models.IncludedUserTypes? Microsoft.Graph.Models.userRegistrationMethodSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserRegistrationMethodSummary Microsoft.Graph.Models.userRegistrationMethodSummary~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.userScope-->global.Microsoft.Graph.Models.ScopeBase +Microsoft.Graph.Models.userScope::|public|constructor():void +Microsoft.Graph.Models.userScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.userScope::|public|OdataType:string +Microsoft.Graph.Models.userScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.userScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserScope Microsoft.Graph.Models.userScopeTeamsAppInstallation-->global.Microsoft.Graph.Models.TeamsAppInstallation Microsoft.Graph.Models.userScopeTeamsAppInstallation::|public|Chat:global.Microsoft.Graph.Models.Chat Microsoft.Graph.Models.userScopeTeamsAppInstallation::|public|constructor():void @@ -132449,6 +133065,89 @@ Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|pu Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.EdiscoveryReviewTag; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.TagsRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TenantDataSecurityAndGovernance +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TenantDataSecurityAndGovernance; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TenantDataSecurityAndGovernance +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|processContentAsync:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TenantDataSecurityAndGovernance; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody::|public|constructor():void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody::|public|ProcessContentRequests:List +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostResponse::|public|Value:List +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder.processContentAsyncRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder::|public|PostAsProcessContentAsyncPostResponseAsync(body:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncResponse-->global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncPostResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.processContentAsyncResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProcessContentAsync.ProcessContentAsyncResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Activities:global.Microsoft.Graph.Models.UserActivityTypes? +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|constructor():void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|DeviceMetadata:global.Microsoft.Graph.Models.DeviceMetadata +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|IntegratedAppMetadata:global.Microsoft.Graph.Models.IntegratedApplicationMetadata +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Locations:List +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|PivotOn:global.Microsoft.Graph.Models.PolicyPivotProperty? +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Value:List +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder.computeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsComputePostResponseAsync(body:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse-->global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|compute:global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TenantProtectionScopeContainer +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TenantProtectionScopeContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TenantProtectionScopeContainer +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TenantProtectionScopeContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder Microsoft.Graph.Security.Identities.HealthIssues.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.Identities.HealthIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Security.Identities.HealthIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -133278,6 +133977,7 @@ Microsoft.Graph.Security.securityRequestBuilder::|public|attackSimulation:global Microsoft.Graph.Security.securityRequestBuilder::|public|cases:global.Microsoft.Graph.Security.Cases.CasesRequestBuilder Microsoft.Graph.Security.securityRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.securityRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.securityRequestBuilder::|public|dataSecurityAndGovernance:global.Microsoft.Graph.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder Microsoft.Graph.Security.securityRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.Security Microsoft.Graph.Security.securityRequestBuilder::|public|identities:global.Microsoft.Graph.Security.Identities.IdentitiesRequestBuilder Microsoft.Graph.Security.securityRequestBuilder::|public|incidents:global.Microsoft.Graph.Security.Incidents.IncidentsRequestBuilder @@ -154563,6 +155263,7 @@ Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPost Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient Microsoft.Graph.Teams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -155781,6 +156482,7 @@ Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotifi Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|ChainId:long? Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|constructor():void Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|IconId:string Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|Recipients:List Microsoft.Graph.Teamwork.SendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -159538,6 +160240,7 @@ Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotif Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -160398,6 +161101,142 @@ Microsoft.Graph.Users.Item.CreatedObjects.Item.GraphServicePrincipal.graphServic Microsoft.Graph.Users.Item.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServicePrincipal Microsoft.Graph.Users.Item.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.CreatedObjects.Item.GraphServicePrincipal.graphServicePrincipalRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.CreatedObjects.Item.GraphServicePrincipal.GraphServicePrincipalRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder.activitiesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|contentActivities:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivitiesContainer +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ActivitiesContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ActivitiesContainer +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ActivitiesContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.activitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder.contentActivitiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::[ContentActivityId:string]:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivityCollectionResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.contentActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.ContentActivitiesRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder.ContentActivityItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ContentActivity +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ContentActivity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ContentActivities.Item.ContentActivityItemRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|activities:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.Activities.ActivitiesRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserDataSecurityAndGovernance +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserDataSecurityAndGovernance; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserDataSecurityAndGovernance +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|processContent:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserDataSecurityAndGovernance; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|ContentToProcess:global.Microsoft.Graph.Models.ProcessContentRequest +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder.processContentRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProcessContentResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.processContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProcessContent.ProcessContentRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Activities:global.Microsoft.Graph.Models.UserActivityTypes? +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|DeviceMetadata:global.Microsoft.Graph.Models.DeviceMetadata +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|IntegratedAppMetadata:global.Microsoft.Graph.Models.IntegratedApplicationMetadata +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Locations:List +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|PivotOn:global.Microsoft.Graph.Models.PolicyPivotProperty? +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|public|Value:List +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder.computeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsComputePostResponseAsync(body:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse-->global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputePostResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.computeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeResponse +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder.protectionScopesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|compute:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.Compute.ComputeRequestBuilder +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserProtectionScopeContainer +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserProtectionScopeContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserProtectionScopeContainer +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.UserProtectionScopeContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -164300,6 +165139,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivit Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Recipient:global.Microsoft.Graph.Models.TeamworkNotificationRecipient Microsoft.Graph.Users.Item.JoinedTeams.Item.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -170318,6 +171158,7 @@ Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotific Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|ChainId:long? Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|constructor():void Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|IconId:string Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|PreviewText:global.Microsoft.Graph.Models.ItemBody Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification.sendActivityNotificationPostRequestBody::|public|TeamsAppId:string @@ -171004,6 +171845,7 @@ Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|constructor(rawUrl:st Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|contactFolders:global.Microsoft.Graph.Users.Item.ContactFolders.ContactFoldersRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|contacts:global.Microsoft.Graph.Users.Item.Contacts.ContactsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|createdObjects:global.Microsoft.Graph.Users.Item.CreatedObjects.CreatedObjectsRequestBuilder +Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|dataSecurityAndGovernance:global.Microsoft.Graph.Users.Item.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|deviceManagementTroubleshootingEvents:global.Microsoft.Graph.Users.Item.DeviceManagementTroubleshootingEvents.DeviceManagementTroubleshootingEventsRequestBuilder Microsoft.Graph.Users.Item.UserItemRequestBuilder::|public|directReports:global.Microsoft.Graph.Users.Item.DirectReports.DirectReportsRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index f06733d494c..50967b614cd 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "B3CB01E6FE03FEA57ECB4BD1F64AC89F31F9918DFE3EB5B1903588C18A1CB938EF21E1CC3968DD0F85080755140F8272705310BD941C5935FEE55D251F4FACCF", + "descriptionHash": "1D65FC42B095E3FAD3BC89C455CEC6BE217B4EB2B32F39F6EA68F4E267FEE6C63E7AB9F7B0525D96858E9809D8220763FB0156CC63E60F3787204D5392FEFA30", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.28.0",